:root {
  --fixibly-navy: #123959;
  --fixibly-orange: #fc7221;
  --fixibly-bg: #f9f9f9;
  --fixibly-font: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

body {
  font-family: var(--fixibly-font);
  background-color: var(--fixibly-bg);
  color: var(--fixibly-navy);
  margin: 0;
  padding: 0;
}

/* Layout wrapper to push footer down */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.site-header {
  background-color: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 56px;
  display: block;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 24px;
}

.nav-left {
  flex: 1;
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
  flex: 1;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: var(--fixibly-navy);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--fixibly-orange);
}

/* Footer */
footer {
  padding: 2rem 1rem;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 0.9rem;
}

a.button {
  background: var(--fixibly-orange);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

a.button:hover {
  background: #e14d1e;
}

/* Homepage specific sections */

.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--fixibly-navy);
}

.hero .subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #444;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 3rem 1rem;
  background-color: #fff;
}

.feature {
  flex: 1 1 250px;
  max-width: 300px;
  padding: 1rem;
  border-left: 4px solid var(--fixibly-orange);
  background-color: #fdfdfd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--fixibly-navy);
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.demo {
  padding: 3rem 1rem;
  background-color: #fafafa;
}

.demo pre {
  background-color: #f1f1f1;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 6px;
  font-size: 0.9rem;
}

.how-it-works {
  padding: 5rem 1rem;
  background-color: #f0f6fb;
  text-align: center;
  border-top: 1px solid #dcecf7;
  border-bottom: 1px solid #dcecf7;
}

.how-it-works h2 {
  color: var(--fixibly-navy);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.step {
  flex: 1 1 220px;
  max-width: 280px;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  background-color: var(--fixibly-orange);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fafafa;
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #777;
}

.cta {
  padding: 4rem 1rem;
  text-align: center;
  background: #fff0e8;
  color: #222;
  border-top: 1px solid #ffe1d3;
}

.cta .button {
  margin-top: 1rem;
  display: inline-block;
}

/* -------- Pricing Styles -------- */

.pricing-card {
  flex: 1 1 280px;
  max-width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* -------- Enhanced Mobile Navigation -------- */

#hamburger {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  background: none;
  border: none;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: white;
  border-top: 1px solid #eee;
  padding: 1rem;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.3s ease-out;
  z-index: 999;
}

.mobile-nav.show {
  display: flex;
}

.mobile-nav a {
  color: var(--fixibly-navy);
  text-decoration: none;
  font-weight: 500;
  margin: 0.8rem 0;
  padding-left: 1rem;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--fixibly-orange);
}

#close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  #hamburger {
    display: block;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }
}