/* ===================================================
   RelicRoute Marketing Site — Styles
   Brand: Heritage green, bronze, parchment
   Fonts: Cormorant Garamond (display), Inter (body)
   =================================================== */

/* --- Custom Properties --- */
:root {
  --relic-green: #0C331B;
  --brand-bronze: #C9965C;
  --deep-bronze: #B6844F;
  --moss-green: #1E4A2A;
  --parchment: #F4E6CF;
  --charcoal-earth: #2B241D;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1140px;
  --header-height: 72px;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal-earth);
  background: var(--relic-green);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--brand-bronze);
  border-radius: 6px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
  text-align: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-bronze {
  background: var(--brand-bronze);
  color: var(--relic-green);
  border-color: var(--brand-bronze);
}

.btn-bronze:hover {
  background: var(--deep-bronze);
  border-color: var(--deep-bronze);
}

.btn-store {
  background: transparent;
  color: var(--parchment);
  border-color: var(--brand-bronze);
  font-size: 0.9rem;
  padding: 14px 24px;
}

.btn-store:hover {
  background: var(--brand-bronze);
  color: var(--relic-green);
}

.btn-store svg {
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* --- Contour Background Texture --- */
.contour-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23C9965C' stroke-width='1'%3E%3Cellipse cx='200' cy='200' rx='180' ry='120'/%3E%3Cellipse cx='200' cy='200' rx='150' ry='95'/%3E%3Cellipse cx='200' cy='200' rx='120' ry='72'/%3E%3Cellipse cx='200' cy='200' rx='90' ry='50'/%3E%3Cellipse cx='200' cy='200' rx='60' ry='30'/%3E%3Cellipse cx='200' cy='200' rx='30' ry='14'/%3E%3Cellipse cx='100' cy='320' rx='90' ry='60'/%3E%3Cellipse cx='100' cy='320' rx='60' ry='38'/%3E%3Cellipse cx='100' cy='320' rx='30' ry='16'/%3E%3Cellipse cx='320' cy='80' rx='70' ry='50'/%3E%3Cellipse cx='320' cy='80' rx='42' ry='28'/%3E%3Cellipse cx='320' cy='80' rx='16' ry='10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 400px 400px;
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(12, 51, 27, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(12, 51, 27, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--parchment);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--brand-bronze);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--parchment);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  position: absolute;
  left: 4px;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  content: '';
  top: -7px;
}

.hamburger::after {
  content: '';
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  background: var(--relic-green);
  padding: calc(var(--header-height) + 80px) 0 100px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  color: var(--brand-bronze);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--parchment);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-quote {
  border-left: 3px solid var(--brand-bronze);
  padding-left: 20px;
  display: inline-block;
  text-align: left;
}

.hero-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--parchment);
  opacity: 0.8;
  line-height: 1.6;
}

/* --- Hero Screenshots --- */
.hero-screenshots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-top: 56px;
}

.phone-frame {
  width: 180px;
  flex-shrink: 0;
}

.phone-frame--featured {
  width: 210px;
}

.screenshot-placeholder {
  aspect-ratio: 9 / 19;
  background: var(--moss-green);
  border: 2px solid rgba(201, 150, 92, 0.25);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brand-bronze);
  padding: 20px;
  text-align: center;
}

.screenshot-placeholder span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.7;
}

.screenshot-placeholder svg {
  opacity: 0.5;
}

.screenshot-placeholder--light {
  background: var(--white);
  border-color: rgba(43, 36, 29, 0.12);
  color: var(--charcoal-earth);
}

/* ===================================================
   PROBLEM / SOLUTION
   =================================================== */
.problem-solution {
  background: var(--parchment);
  padding: 100px 0;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--charcoal-earth);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-heading--light {
  color: var(--brand-bronze);
}

.problem-solution-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.problem-solution-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--charcoal-earth);
}

.problem-solution-body p:last-child {
  margin-bottom: 0;
}

.problem-solution-body strong {
  color: var(--relic-green);
}

/* ===================================================
   FEATURES
   =================================================== */
.features {
  position: relative;
  background: var(--relic-green);
  padding: 100px 0;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

.feature-card {
  background: var(--moss-green);
  border: 1px solid rgba(201, 150, 92, 0.15);
  border-radius: 12px;
  padding: 36px 32px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 150, 92, 0.35);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-bronze);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--parchment);
  opacity: 0.85;
}

/* ===================================================
   APP PREVIEW
   =================================================== */
.app-preview {
  background: var(--parchment);
  padding: 100px 0;
}

.app-preview-sub {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--charcoal-earth);
  opacity: 0.85;
  max-width: 600px;
  margin: -20px auto 48px;
}

.app-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.preview-item {
  text-align: center;
}

.preview-phone {
  max-width: 240px;
  margin: 0 auto 20px;
}

.preview-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal-earth);
  margin-bottom: 8px;
}

.preview-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--charcoal-earth);
  opacity: 0.75;
  max-width: 280px;
  margin: 0 auto;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-it-works {
  background: var(--parchment);
  padding: 100px 0;
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.step {
  text-align: center;
  max-width: 320px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--relic-green);
  color: var(--brand-bronze);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--charcoal-earth);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal-earth);
  opacity: 0.85;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}

/* ===================================================
   PRICING / CTA
   =================================================== */
.pricing {
  position: relative;
  background: var(--relic-green);
  padding: 100px 0;
  overflow: hidden;
}

.pricing-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.pricing-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--parchment);
  opacity: 0.9;
  margin-bottom: 40px;
}

.pricing-body strong {
  color: var(--brand-bronze);
}

.pricing-ctas {
  display: flex;
  justify-content: center;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--charcoal-earth);
  padding: 48px 0 32px;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--parchment);
  opacity: 0.6;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--parchment);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--brand-bronze);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--parchment);
  opacity: 0.35;
}

/* ===================================================
   SCROLL REVEAL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger feature cards */
.feature-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.feature-card.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Stagger steps */
.step.reveal:nth-child(2) { transition-delay: 0.15s; }
.step.reveal:nth-child(3) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================================
   PAGE HERO (Contact & Help pages)
   =================================================== */
.page-hero {
  position: relative;
  background: var(--relic-green);
  padding: calc(var(--header-height) + 80px) 0 60px;
  overflow: hidden;
  text-align: center;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.page-hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--brand-bronze);
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--parchment);
  opacity: 0.85;
  line-height: 1.7;
}

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-section {
  background: var(--parchment);
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--charcoal-earth);
  margin-bottom: 32px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-earth);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border: 2px solid rgba(43, 36, 29, 0.15);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal-earth);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-bronze);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%232B241D' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 8px;
}

/* Contact Info Sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(43, 36, 29, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
}

.contact-info-icon {
  margin-bottom: 12px;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal-earth);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--charcoal-earth);
  opacity: 0.8;
}

.contact-info-card a {
  color: var(--brand-bronze);
  font-weight: 600;
  transition: opacity 0.2s;
}

.contact-info-card a:hover {
  opacity: 0.8;
}

.contact-email-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.05rem;
  color: var(--brand-bronze);
  font-weight: 600;
  border-bottom: 2px solid var(--brand-bronze);
  padding-bottom: 2px;
}

/* ===================================================
   HELP GUIDES PAGE
   =================================================== */
.help-section {
  background: var(--parchment);
  padding: 48px 0 100px;
}

/* Platform Tabs */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border: 2px solid rgba(43, 36, 29, 0.15);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal-earth);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.platform-tab:hover {
  border-color: var(--brand-bronze);
}

.platform-tab.active {
  background: var(--relic-green);
  color: var(--brand-bronze);
  border-color: var(--relic-green);
}

.platform-tab.active svg {
  stroke: var(--brand-bronze);
}

/* Help Intro */
.help-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid rgba(43, 36, 29, 0.08);
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal-earth);
}

.help-intro ul {
  padding-left: 20px;
  margin: 12px 0;
  list-style: disc;
}

.help-intro li {
  margin-bottom: 6px;
}

.help-intro p:last-child {
  margin-bottom: 0;
}

/* Platform Content */
.platform-content {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}

.platform-content.active {
  display: block;
}

/* Help Categories */
.help-category {
  margin-bottom: 40px;
}

.help-category-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--charcoal-earth);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-bronze);
}

/* Accordion Articles */
.help-article {
  background: var(--white);
  border: 1px solid rgba(43, 36, 29, 0.08);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.help-article-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.help-article-toggle:hover {
  background: rgba(201, 150, 92, 0.06);
}

.help-article-toggle h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal-earth);
  margin: 0;
  flex: 1;
  padding-right: 12px;
}

.help-chevron {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
  color: var(--brand-bronze);
}

.help-article-toggle[aria-expanded="true"] .help-chevron {
  transform: rotate(180deg);
}

.help-article-body {
  display: none;
  padding: 0 20px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal-earth);
}

.help-article-toggle[aria-expanded="true"] + .help-article-body {
  display: block;
}

.help-article-body ol,
.help-article-body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.help-article-body ol {
  list-style: decimal;
}

.help-article-body ul {
  list-style: disc;
}

.help-article-body li {
  margin-bottom: 6px;
}

.help-article-body p {
  margin-bottom: 12px;
}

.help-article-body p:last-child {
  margin-bottom: 0;
}

.help-article-body strong {
  color: var(--relic-green);
}

/* Help CTA */
.help-cta {
  text-align: center;
  padding: 60px 0 0;
  margin-top: 40px;
  border-top: 1px solid rgba(43, 36, 29, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.help-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--charcoal-earth);
  margin-bottom: 12px;
}

.help-cta p {
  font-size: 1rem;
  color: var(--charcoal-earth);
  opacity: 0.8;
  margin-bottom: 28px;
}

.help-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  color: var(--charcoal-earth);
  border: 2px solid var(--brand-bronze);
}

.btn-outline:hover {
  background: var(--brand-bronze);
  color: var(--relic-green);
}

/* ===================================================
   FOCUS STYLES (Accessibility)
   =================================================== */
:focus-visible {
  outline: 2px solid var(--brand-bronze);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ===================================================
   RESPONSIVE — Tablet (768px+)
   =================================================== */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .app-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .step-connector {
    transform: none;
    margin-top: 40px;
  }

  .step {
    flex: 1;
    max-width: 280px;
  }
}

/* ===================================================
   RESPONSIVE — Desktop (1024px+)
   =================================================== */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .hero {
    padding: calc(var(--header-height) + 100px) 0 120px;
  }

  .problem-solution,
  .features,
  .app-preview,
  .how-it-works,
  .pricing {
    padding: 120px 0;
  }

  .app-preview-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .step {
    max-width: 320px;
  }
}

/* ===================================================
   RESPONSIVE — Mobile (below 768px)
   =================================================== */
@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--relic-green);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(201, 150, 92, 0.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0.3s;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 48px) 0 64px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    width: 100%;
    max-width: 300px;
  }

  .hero-quote {
    margin-top: 8px;
  }

  .hero-screenshots {
    gap: 12px;
    margin-top: 40px;
  }

  .phone-frame {
    width: 120px;
  }

  .phone-frame--featured {
    width: 140px;
  }

  .screenshot-placeholder {
    border-radius: 16px;
    padding: 12px;
  }

  .screenshot-placeholder span {
    font-size: 0.65rem;
  }

  .screenshot-placeholder svg {
    width: 32px;
    height: 32px;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .step-connector svg {
    width: 24px;
    height: 16px;
  }
}
