/* ═══════════════════════════════════════════════════
   DELIGHTMAKER — MAIN CSS
   Landing page styles
   ═══════════════════════════════════════════════════ */


/* ── VARIABLES ────────────────────────────────────── */
:root {
  /* Core brand colors — Pâtisserie (warm artisan bakery) */
  --coral:        #C4621D;   /* rich cinnamon — primary action */
  --coral-dark:   #A34E14;
  --coral-light:  #FDF0E6;   /* warm peach tint */
  --yellow:       #D4982A;   /* warm honey gold — secondary */
  --yellow-light: #FEF6E4;   /* light honey tint */

  /* Warm artisan palette */
  --chocolate:    #2C1A0E;   /* espresso brown — sidebar */
  --choc-soft:    #3D2415;
  --caramel:      #8B5E3C;   /* warm caramel accent */
  --caramel-light: #F5EDE0;  /* light caramel tint */
  --honey:        #D4982A;   /* honey gold */
  --cream:        #F5EDE0;   /* warm cream raised surface */
  --cream-dark:   #EFE3D0;   /* slightly deeper cream */
  --vanilla:      #FFFFFF;   /* card surface */

  /* Neutrals */
  --dark:         #1A1008;   /* warm near-black text */
  --dark-soft:    #4A3020;   /* secondary warm text */
  --gray:         #8B7260;   /* warm mid gray */
  --gray-light:   #E8DDD0;   /* warm light dividers */
  --bg:           #FDF7EE;   /* warm parchment background */
  --white:        #FFFFFF;
  --green:        #5B8C5A;   /* sage green */
  --green-light:  #EEF5ED;   /* light sage tint */

  /* Typography */
  --font-head:   'Libre Baskerville', Georgia, serif;
  --font-body:   'Nunito', system-ui, sans-serif;
  --font-script: 'Alex Brush', cursive;

  /* Spacing */
  --section-pad: 100px 0;
  --container:   1200px;

  /* Shadows — warm & natural */
  --shadow-sm:   0 2px 12px rgba(44,26,14,0.08);
  --shadow-md:   0 8px 32px rgba(44,26,14,0.12);
  --shadow-lg:   0 20px 60px rgba(44,26,14,0.18);
  --shadow-warm: 0 8px 30px rgba(196,98,29,0.2);

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── WARM GRAIN OVERLAY ───────────────────────────── */
/* Subtle parchment grain texture */
body::before {
  content:  '';
  position: fixed;
  inset:    0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.028'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size:   200px 200px;
  pointer-events: none;
  z-index: 0;
}

/* ── GLOBAL KEYFRAMES ─────────────────────────────── */
@keyframes warm-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(196,98,29,0.3); }
  50%       { box-shadow: 0 4px 32px rgba(196,98,29,0.52),
                          0 0  48px rgba(212,152,42,0.14); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fade-right {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer-sweep {
  from { left: -80%; }
  to   { left: 140%; }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  33%       { transform: translate(20px, -32px) scale(1.08); opacity: 1; }
  66%       { transform: translate(-16px, 20px) scale(0.94); opacity: 0.75; }
}

@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(196,98,29,0)); }
  50%       { filter: drop-shadow(0 0 10px rgba(196,98,29,0.45)); }
}

/* ── NEW ANIMATIONS ───────────────────────────────── */
/* Sliding highlight for active nav */
@keyframes nav-slide-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Subtle bounce for notification badge */
@keyframes badge-pop {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.22); }
  70%       { transform: scale(0.92); }
}

/* Warm breathe for KPI featured card */
@keyframes warm-breathe {
  0%, 100% { box-shadow: 0 4px 20px rgba(196,98,29,0.08); }
  50%       { box-shadow: 0 8px 40px rgba(196,98,29,0.16), 0 0 0 1px rgba(212,152,42,0.12); }
}

/* Gentle float for decorative elements */
@keyframes gentle-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

/* Page section fade in from bottom */
@keyframes section-enter {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Top border stripe grow on hover */
@keyframes stripe-grow {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

body > * {
  position: relative;
  z-index:  1;
}


/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse at 8% 6%, rgba(212,152,42,0.07) 0%, transparent 42%),
    radial-gradient(ellipse at 92% 88%, rgba(196,98,29,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 55% 50%, rgba(139,94,60,0.03) 0%, transparent 55%),
    var(--bg);
  color:       var(--dark);
  line-height: 1.6;
  overflow-x:  hidden;
}

img {
  max-width: 100%;
  display:   block;
}

a {
  text-decoration: none;
  color:           inherit;
  transition:      var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor:  pointer;
  border:  none;
  outline: none;
  font-family: var(--font-body);
}

input, select, textarea {
  font-family: var(--font-body);
  outline: none;
}


/* ── UTILITY CLASSES ──────────────────────────────── */
.container {
  max-width:     var(--container);
  margin:        0 auto;
  padding:       0 24px;
}

.section-label {
  display:        inline-block;
  font-size:      0.75rem;
  font-weight:    600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--coral);
  background:     var(--coral-light);
  padding:        6px 14px;
  border-radius:  100px;
  margin-bottom:  16px;
}

.section-headline {
  font-family:   var(--font-head);
  font-size:     clamp(2rem, 4vw, 3rem);
  font-weight:   700;
  color:         var(--dark);
  line-height:   1.2;
  margin-bottom: 16px;
}

.section-headline em {
  font-family: var(--font-script);
  font-style:  normal;
  color:       var(--coral);
}

.section-subtext {
  font-size:     1.05rem;
  color:         var(--gray);
  max-width:     560px;
  margin-bottom: 48px;
  line-height:   1.7;
}

/* Scroll reveal */
.problem-card,
.step,
.feature-card,
.bakery-card,
.faq-item {
  opacity:    0;
  transform:  translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.problem-card.revealed,
.step.revealed,
.feature-card.revealed,
.bakery-card.revealed,
.faq-item.revealed {
  opacity:   1;
  transform: translateY(0);
}


/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  padding:       12px 24px;
  border-radius: 100px;
  font-size:     0.95rem;
  font-weight:   600;
  transition:    var(--transition);
  white-space:   nowrap;
}

.btn-primary {
  background:  linear-gradient(135deg, #C4621D 0%, #A34E14 100%);
  color:       #FFFFFF;
  box-shadow:  0 4px 16px rgba(196,98,29,0.32);
  font-weight: 700;
  letter-spacing: 0.02em;
  animation:   warm-pulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
  background:  linear-gradient(135deg, #D4741C 0%, #C4621D 100%);
  transform:   translateY(-3px) scale(1.02);
  box-shadow:  0 10px 30px rgba(196,98,29,0.45);
  animation:   none;
}

.btn-primary:active {
  transform:  translateY(-1px) scale(0.99);
  box-shadow: 0 4px 12px rgba(196,98,29,0.25);
  animation:  none;
}

.btn-ghost {
  background:   transparent;
  color:        var(--dark);
  border:       2px solid rgba(44,26,14,0.14);
  font-weight:  600;
}

.btn-ghost:hover {
  background:   var(--cream);
  border-color: var(--caramel);
  color:        var(--dark);
  transform:    translateY(-2px);
}

.btn-outline {
  background: transparent;
  color:      var(--coral);
  border:     2px solid var(--coral);
}

.btn-outline:hover {
  background: var(--coral);
  color:      var(--white);
  transform:  translateY(-2px);
}

.btn-large {
  padding:   16px 32px;
  font-size: 1rem;
}

.btn-full {
  width:           100%;
  justify-content: center;
}


/* ── NAVBAR ───────────────────────────────────────── */
.navbar {
  position:         fixed;
  top:              0;
  left:             0;
  right:            0;
  z-index:          1000;
  padding:          16px 0;
  transition:       var(--transition);
}

.navbar.scrolled {
  background:  var(--white);
  box-shadow:  var(--shadow-sm);
  padding:     12px 0;
}

.nav-container {
  max-width:      var(--container);
  margin:         0 auto;
  padding:        0 24px;
  display:        flex;
  align-items:    center;
  justify-content: space-between;
}

/* Logo placeholder */
.logo-placeholder {
  display:     flex;
  align-items: center;
  gap:         8px;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-family: var(--font-head);
  font-size:   1.3rem;
  font-weight: 700;
  color:       var(--dark);
}

.navbar:not(.scrolled) .logo-text {
  color: var(--white);
}

.nav-logo:hover .logo-text {
  color: var(--coral);
}

/* Nav links */
.nav-links {
  display:     flex;
  align-items: center;
  gap:         32px;
}

.nav-links a {
  font-size:   0.9rem;
  font-weight: 500;
  color:       var(--dark);
  transition:  var(--transition);
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.9);
}

.nav-links a:hover {
  color: var(--coral);
}

.nav-login {
  padding:       8px 16px;
  border-radius: 100px;
  border:        2px solid rgba(45,45,45,0.15);
}

.navbar:not(.scrolled) .nav-login {
  border-color: rgba(255,255,255,0.4);
}

.nav-login:hover {
  border-color:    var(--coral) !important;
  color:           var(--coral) !important;
  background:      var(--white);
}

/* Hamburger */
.hamburger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  background:     none;
  padding:        4px;
}

.hamburger span {
  display:          block;
  width:            24px;
  height:           2px;
  background:       var(--dark);
  border-radius:    2px;
  transition:       var(--transition);
}

.navbar:not(.scrolled) .hamburger span {
  background: var(--white);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height:       100vh;
  background:       linear-gradient(
                      150deg,
                      #2C1A0E 0%,
                      #3D2415 40%,
                      #4A2C18 70%,
                      #2C1A0E 100%
                    );
  display:          flex;
  flex-direction:   column;
  justify-content:  center;
  position:         relative;
  overflow:         hidden;
  padding:          120px 0 80px;
}

/* Decorative background blobs */
.hero::before {
  content:       '';
  position:      absolute;
  top:           -20%;
  right:         -10%;
  width:         600px;
  height:        600px;
  background:    radial-gradient(
                   circle,
                   rgba(196,98,29,0.22) 0%,
                   transparent 65%
                 );
  border-radius: 50%;
  animation:     float-orb 14s ease-in-out infinite;
}

.hero::after {
  content:       '';
  position:      absolute;
  bottom:        -15%;
  left:          -8%;
  width:         500px;
  height:        500px;
  background:    radial-gradient(
                   circle,
                   rgba(212,152,42,0.14) 0%,
                   transparent 65%
                 );
  border-radius: 50%;
  animation:     float-orb 18s ease-in-out infinite reverse 3s;
}

.hero-container {
  max-width:   var(--container);
  margin:      0 auto;
  padding:     0 24px;
  display:     grid;
  grid-template-columns: 1fr 1fr;
  gap:         60px;
  align-items: center;
  position:    relative;
  z-index:     1;
}

/* Hero tag */
.hero-tag {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  background:    rgba(255,255,255,0.1);
  border:        1px solid rgba(255,255,255,0.2);
  color:         rgba(255,255,255,0.9);
  padding:       8px 16px;
  border-radius: 100px;
  font-size:     0.8rem;
  font-weight:   500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

/* Hero headline */
.hero-headline {
  font-family:   var(--font-head);
  font-size:     clamp(2.5rem, 5vw, 3.8rem);
  font-weight:   700;
  color:         var(--white);
  line-height:   1.15;
  margin-bottom: 24px;
}

.hero-headline em {
  font-family: var(--font-script);
  font-style:  normal;
  color:       var(--yellow);
  font-size:   1.1em;
}

/* Hero subtext */
.hero-subtext {
  font-size:     1.1rem;
  color:         rgba(255,255,255,0.75);
  line-height:   1.7;
  margin-bottom: 36px;
  max-width:     480px;
}

/* Hero actions */
.hero-actions {
  display:     flex;
  gap:         16px;
  flex-wrap:   wrap;
  margin-bottom: 32px;
}

.hero-actions .btn-ghost {
  color:       rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}

.hero-actions .btn-ghost:hover {
  background:   rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color:        var(--white);
}

/* Hero trust badges */
.hero-trust {
  display:   flex;
  gap:       24px;
  flex-wrap: wrap;
}

.hero-trust span {
  font-size:  0.85rem;
  color:      rgba(255,255,255,0.65);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height:   500px;
}

/* Image placeholder */
.hero-image-placeholder {
  width:           100%;
  height:          380px;
  background:      rgba(255,255,255,0.05);
  border:          2px dashed rgba(255,255,255,0.2);
  border-radius:   var(--radius-xl);
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             12px;
  color:           rgba(255,255,255,0.4);
  font-size:       0.9rem;
}

.hero-image-placeholder span {
  font-size: 4rem;
}

/* Floating cards */
.floating-card {
  position:      absolute;
  background:    var(--white);
  border-radius: var(--radius-md);
  box-shadow:    var(--shadow-lg);
  padding:       16px;
  animation:     float 3s ease-in-out infinite;
}

.card-one {
  bottom:      40px;
  left:        -30px;
  display:     flex;
  align-items: center;
  gap:         12px;
  min-width:   220px;
}

.card-two {
  top:          40px;
  right:        -20px;
  text-align:   center;
  animation-delay: 1.5s;
}

.card-icon {
  font-size:     2rem;
  flex-shrink:   0;
}

.card-title {
  font-weight:   700;
  font-size:     0.9rem;
  color:         var(--dark);
  margin-bottom: 2px;
}

.card-sub {
  font-size: 0.8rem;
  color:     var(--gray);
}

.card-badge {
  display:       inline-block;
  background:    var(--green-light);
  color:         #2e7d32;
  font-size:     0.75rem;
  font-weight:   600;
  padding:       3px 10px;
  border-radius: 100px;
  margin-top:    6px;
}

.card-stat {
  font-family:   var(--font-head);
  font-size:     2.5rem;
  font-weight:   700;
  color:         var(--coral);
  line-height:   1;
}

.card-stat-label {
  font-size:  0.8rem;
  color:      var(--gray);
  margin-top: 4px;
  line-height: 1.4;
}

@keyframes float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-10px); }
}

/* Scroll indicator */
.scroll-indicator {
  position:        absolute;
  bottom:          32px;
  left:            50%;
  transform:       translateX(-50%);
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             6px;
  color:           rgba(255,255,255,0.4);
  font-size:       0.75rem;
  animation:       bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);    }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ── SOCIAL PROOF ─────────────────────────────────── */
.social-proof {
  background:    var(--white);
  padding:       48px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.proof-label {
  text-align:    center;
  font-size:     0.8rem;
  font-weight:   600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:         var(--gray);
  margin-bottom: 24px;
}

.proof-logos {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             48px;
  flex-wrap:       wrap;
}

.proof-logo-placeholder {
  background:    var(--gray-light);
  color:         var(--gray);
  padding:       12px 28px;
  border-radius: var(--radius-sm);
  font-weight:   600;
  font-size:     0.85rem;
  letter-spacing: 0.05em;
}


/* ── PROBLEM SECTION ──────────────────────────────── */
.problem {
  padding:    var(--section-pad);
  background: var(--bg);
  text-align: center;
}

.problem-cards {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
  margin-top:            48px;
  text-align:            left;
}

.problem-card {
  background:    var(--white);
  border-radius: var(--radius-lg);
  padding:       36px;
  box-shadow:    var(--shadow-sm);
  border:        1px solid rgba(0,0,0,0.05);
  transition:    var(--transition);
}

.problem-card:hover {
  transform:  translateY(-4px);
  box-shadow: var(--shadow-md);
}

.problem-emoji {
  font-size:     2.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-family:   var(--font-head);
  font-size:     1.15rem;
  font-weight:   700;
  color:         var(--dark);
  margin-bottom: 12px;
  line-height:   1.3;
}

.problem-card p {
  font-size:   0.95rem;
  color:       var(--gray);
  line-height: 1.7;
}


/* ── HOW IT WORKS ─────────────────────────────────── */
.how-it-works {
  padding:    var(--section-pad);
  background: var(--white);
}

.how-it-works .section-headline,
.how-it-works .section-label {
  text-align: center;
}

.how-it-works .section-headline {
  margin: 0 auto 60px;
}

.steps {
  display:        flex;
  flex-direction: column;
  gap:            80px;
  margin-top:     60px;
}

.step {
  display:     grid;
  grid-template-columns: 80px 1fr 1fr;
  gap:         40px;
  align-items: center;
}

.step-reverse {
  direction: rtl;
}

.step-reverse > * {
  direction: ltr;
}

.step-number {
  font-family: var(--font-head);
  font-size:   4rem;
  font-weight: 700;
  color:       var(--coral-light);
  line-height: 1;
}

.step-icon {
  font-size:     2rem;
  margin-bottom: 16px;
}

.step-content h3 {
  font-family:   var(--font-head);
  font-size:     1.6rem;
  font-weight:   700;
  color:         var(--dark);
  margin-bottom: 12px;
}

.step-content p {
  font-size:   1rem;
  color:       var(--gray);
  line-height: 1.7;
  max-width:   380px;
}

/* UI Mockups */
.ui-mockup {
  background:    var(--white);
  border-radius: var(--radius-md);
  box-shadow:    var(--shadow-md);
  overflow:      hidden;
  border:        1px solid rgba(0,0,0,0.08);
}

.mockup-bar {
  background: var(--gray-light);
  padding:    12px 16px;
  display:    flex;
  gap:        6px;
}

.mockup-bar span {
  width:         10px;
  height:        10px;
  border-radius: 50%;
  background:    #ddd;
  display:       block;
}

.mockup-bar span:nth-child(1) { background: #FF5F57; }
.mockup-bar span:nth-child(2) { background: #FFBD2E; }
.mockup-bar span:nth-child(3) { background: #28C840; }

.mockup-content {
  padding: 20px;
}

/* CSV mockup */
.csv-header {
  display:               grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:                   8px;
  font-size:             0.75rem;
  font-weight:           700;
  color:                 var(--gray);
  text-transform:        uppercase;
  letter-spacing:        0.05em;
  padding-bottom:        8px;
  border-bottom:         2px solid var(--gray-light);
  margin-bottom:         8px;
}

.csv-row {
  display:               grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:                   8px;
  padding:               8px 0;
  font-size:             0.85rem;
  border-bottom:         1px solid var(--gray-light);
}

.csv-row.valid {
  color: var(--dark);
}

.csv-upload-btn {
  margin-top:    12px;
  background:    var(--green-light);
  color:         #2e7d32;
  padding:       10px;
  border-radius: var(--radius-sm);
  font-size:     0.85rem;
  font-weight:   600;
  text-align:    center;
}

/* Rules mockup */
.rule-row {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         10px 0;
  border-bottom:   1px solid var(--gray-light);
  font-size:       0.9rem;
}

.rule-event {
  font-weight: 600;
  color:       var(--dark);
}

.rule-treat {
  color:     var(--gray);
  font-size: 0.85rem;
}

.rule-toggle {
  background:    var(--green);
  color:         var(--white);
  padding:       4px 10px;
  border-radius: 100px;
  font-size:     0.75rem;
  font-weight:   700;
}

/* Email mockup */
.email-from {
  font-size:     0.8rem;
  color:         var(--gray);
  margin-bottom: 6px;
}

.email-subject {
  font-weight:   700;
  font-size:     0.95rem;
  color:         var(--dark);
  margin-bottom: 10px;
}

.email-body {
  font-size:     0.85rem;
  color:         var(--gray);
  margin-bottom: 16px;
  line-height:   1.5;
}

.email-approve-btn {
  background:    var(--coral);
  color:         var(--white);
  padding:       10px 20px;
  border-radius: 100px;
  font-size:     0.85rem;
  font-weight:   600;
  border:        none;
  cursor:        pointer;
  width:         100%;
  transition:    var(--transition);
}

.email-approve-btn:hover {
  background: var(--coral-dark);
}


/* ── FEATURES ─────────────────────────────────────── */
.features {
  padding:    var(--section-pad);
  background: var(--bg);
}

.features .section-headline,
.features .section-label {
  text-align: center;
}

.features-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
  margin-top:            48px;
}

.feature-card {
  background:    var(--white);
  border-radius: var(--radius-lg);
  padding:       36px;
  border:        1px solid rgba(0,0,0,0.05);
  transition:    var(--transition);
}

.feature-card:hover {
  transform:  translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--coral-light);
}

.feature-icon {
  font-size:     2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family:   var(--font-head);
  font-size:     1.1rem;
  font-weight:   700;
  color:         var(--dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size:   0.9rem;
  color:       var(--gray);
  line-height: 1.7;
}


/* ── BAKERIES ─────────────────────────────────────── */
.bakeries {
  padding:    var(--section-pad);
  background: var(--dark);
}

.bakeries .section-label {
  background: rgba(255,107,107,0.2);
  color:      var(--coral);
}

.bakeries .section-headline {
  color: var(--white);
}

.bakeries .section-subtext {
  color: rgba(255,255,255,0.6);
}

.bakery-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   20px;
  margin-top:            48px;
}

.bakery-card {
  background:    rgba(255,255,255,0.05);
  border:        1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding:       28px;
  transition:    var(--transition);
}

.bakery-card:hover {
  background:   rgba(255,255,255,0.08);
  border-color: var(--coral);
  transform:    translateY(-4px);
}

.bakery-logo-placeholder {
  width:           56px;
  height:          56px;
  background:      rgba(255,107,107,0.2);
  border-radius:   var(--radius-sm);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-weight:     700;
  font-size:       1rem;
  color:           var(--coral);
  margin-bottom:   16px;
}

.bakery-card h3 {
  font-family:   var(--font-head);
  font-size:     1rem;
  font-weight:   700;
  color:         var(--white);
  margin-bottom: 6px;
}

.bakery-specialty {
  font-size:     0.8rem;
  color:         var(--yellow);
  margin-bottom: 10px;
  font-weight:   500;
}

.bakery-desc {
  font-size:     0.85rem;
  color:         rgba(255,255,255,0.55);
  line-height:   1.6;
  margin-bottom: 16px;
}

.bakery-badge {
  display:       inline-block;
  padding:       4px 12px;
  border-radius: 100px;
  font-size:     0.75rem;
  font-weight:   600;
  background:    rgba(107,203,119,0.15);
  color:         var(--green);
}

.bakery-badge.premium {
  background: rgba(255,217,61,0.15);
  color:      var(--yellow);
}

.bakery-badge.allergen {
  background: rgba(255,107,107,0.15);
  color:      var(--coral);
}


/* ── FAQ ──────────────────────────────────────────── */
.faq {
  padding:    var(--section-pad);
  background: var(--bg);
}

.faq .section-headline,
.faq .section-label {
  text-align: center;
}

.faq-list {
  max-width:  700px;
  margin:     48px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width:           100%;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         22px 0;
  font-size:       1rem;
  font-weight:     600;
  color:           var(--dark);
  background:      none;
  text-align:      left;
  gap:             16px;
  transition:      var(--transition);
}

.faq-question:hover {
  color: var(--coral);
}

.faq-arrow {
  font-size:   1.1rem;
  flex-shrink: 0;
  transition:  var(--transition);
  color:       var(--gray);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color:     var(--coral);
}

.faq-answer {
  max-height:  0;
  overflow:    hidden;
  transition:  max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding:     0 0 22px;
  font-size:   0.95rem;
  color:       var(--gray);
  line-height: 1.7;
}


/* ── DEMO CTA ─────────────────────────────────────── */
.demo-cta {
  padding:    var(--section-pad);
  background: linear-gradient(
                135deg,
                var(--coral) 0%,
                #ff8e53 100%
              );
}

.cta-content {
  max-width:  700px;
  margin:     0 auto;
  text-align: center;
}

.cta-content h2 {
  font-family:   var(--font-head);
  font-size:     clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight:   700;
  color:         var(--white);
  margin-bottom: 16px;
  line-height:   1.2;
}

.cta-content > p {
  font-size:     1.05rem;
  color:         rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height:   1.6;
}

/* Demo form */
.demo-form {
  background:    var(--white);
  border-radius: var(--radius-xl);
  padding:       36px;
  text-align:    left;
  box-shadow:    var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:     16px;
  margin-bottom: 16px;
}

.form-group {
  display:        flex;
  flex-direction: column;
  gap:            6px;
}

.form-group label {
  font-size:   0.85rem;
  font-weight: 600;
  color:       var(--dark);
}

.form-group input,
.form-group select {
  padding:       12px 16px;
  border:        2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-size:     0.95rem;
  color:         var(--dark);
  background:    var(--bg);
  transition:    var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--coral);
  background:   var(--white);
}

.demo-form .btn-primary {
  width:      100%;
  justify-content: center;
  margin-top: 8px;
  font-size:  1rem;
  padding:    16px;
}

.form-note {
  text-align:  center;
  font-size:   0.82rem;
  color:       var(--gray);
  margin-top:  12px;
}

/* Form success state */
.form-success {
  display:    none;
  text-align: center;
  padding:    40px 20px;
}

.success-icon {
  font-size:     3.5rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family:   var(--font-head);
  font-size:     1.8rem;
  color:         var(--white);
  margin-bottom: 12px;
}

.form-success p {
  color:       rgba(255,255,255,0.85);
  font-size:   1rem;
  line-height: 1.6;
}


/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background:  var(--dark);
  padding:     64px 0 32px;
}

.footer-top {
  display:               grid;
  grid-template-columns: 1fr 2fr;
  gap:                   80px;
  margin-bottom:         48px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size:   0.9rem;
  color:       rgba(255,255,255,0.5);
  margin-top:  16px;
  line-height: 1.6;
  max-width:   280px;
}

.footer-location {
  margin-top:  12px;
  font-size:   0.85rem !important;
  color:       rgba(255,255,255,0.4) !important;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:     40px;
}

.footer-col h4 {
  font-size:     0.75rem;
  font-weight:   700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:         rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.footer-col a {
  font-size:  0.9rem;
  color:      rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-bottom {
  border-top:    1px solid rgba(255,255,255,0.08);
  padding-top:   24px;
  display:       flex;
  align-items:   center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color:     rgba(255,255,255,0.35);
}

.footer-bottom a {
  color:     rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.footer-bottom a:hover {
  color: var(--coral);
}


/* ── RESPONSIVE — TABLET ──────────────────────────── */
@media (max-width: 1024px) {

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-subtext {
    margin-left:  auto;
    margin-right: auto;
  }

  .problem-cards {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 60px 1fr;
  }

  .step-visual {
    display: none;
  }

  .step-reverse {
    direction: ltr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bakery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ── RESPONSIVE — MOBILE ──────────────────────────── */
@media (max-width: 768px) {

  :root {
    --section-pad: 64px 0;
  }

  /* Navbar mobile */
  .nav-links {
    display:        none;
    position:       fixed;
    top:            0;
    left:           0;
    right:          0;
    bottom:         0;
    background:     var(--white);
    flex-direction: column;
    justify-content: center;
    align-items:    center;
    gap:            32px;
    z-index:        999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    color:     var(--dark) !important;
  }

  .hamburger {
    display:  flex;
    z-index:  1000;
    position: relative;
  }

  /* Hero mobile */
  .hero-tag {
    font-size: 0.72rem;
  }

  /* Steps mobile */
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-number {
    font-size: 2.5rem;
  }

  /* Features mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Bakery mobile */
  .bakery-grid {
    grid-template-columns: 1fr;
  }

  /* Form mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap:            12px;
    text-align:     center;
  }
}