:root {
  /* Brand Colors */
  --primary-sage: #7ba05b;
  --primary-sage-light: #9bc473;
  --primary-sage-dark: #5d7d44;
  --secondary-cream: #f8f6f0;
  --accent-warm: #d4a574;
  --accent-soft: #e8dcc6;

  /* Neutrals */
  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --background-primary: #ffffff;
  --background-soft: #f9fafb;
  --background-warm: #f8f6f0;

  /* Functional */
  --border-light: rgba(123, 160, 91, 0.15);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 12px 35px rgba(93, 125, 68, 0.2);

  /* Typography & Spacing */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --space-xl: 2rem;
  --space-4xl: 6rem;
  --transition-soft: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--background-primary);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); }

/* Brand */
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-sage);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark { width: 32px; height: 32px; position: relative; flex-shrink: 0; }
.brand-mark::before,
.brand-mark::after { content: ''; position: absolute; border-radius: 6px; }
.brand-mark::before { width: 22px; height: 22px; background: var(--primary-sage); opacity: 0.9; top: 0; left: 0; }
.brand-mark::after { width: 20px; height: 20px; background: var(--accent-warm); opacity: 0.85; bottom: 0; right: 0; }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }
@keyframes gentleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Navigation */
.navigation { position: fixed; inset: 0 0 auto 0; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); z-index: 1000; padding: 1.25rem 0; transition: var(--transition-soft); }
.navigation.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-soft); border-bottom: 1px solid var(--border-light); }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.nav-menu { display: flex; gap: 2.5rem; list-style: none; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav-link:hover { color: var(--primary-sage); }

/* Hero */
.hero {
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E'),
                    linear-gradient(135deg, var(--background-warm) 0%, var(--background-primary) 70%);
  background-blend-mode: overlay;
  opacity: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-4xl); align-items: center; }
.hero-content { max-width: 580px; }

.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1rem;
  background-color: var(--background-soft);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-sage);
  line-height: 1;
}
.delivery-badge .qatar-flag { flex-shrink: 0; box-shadow: 0 0 3px rgba(0,0,0,0.1); }

.hero-headline { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; color: var(--text-primary); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1.5rem; text-wrap: balance; }
.hero-subheadline { font-size: 1.125rem; color: var(--text-light); line-height: 1.7; margin-bottom: 2.5rem; max-width: 520px; }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

/* Animated toy showcase */
.toy-showcase { position: relative; width: 400px; height: 400px; display: flex; align-items: center; justify-content: center; }
.floating-toy { position: absolute; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); transition: all 0.3s ease; }
.toy-cube-1 { width: 80px; height: 80px; background: linear-gradient(145deg, var(--primary-sage), var(--primary-sage-dark)); color: white; font-size: 2.5rem; top: 20px; left: 50px; animation: floatRotate 6s ease-in-out infinite; }
.toy-cube-2 { width: 70px; height: 70px; background: linear-gradient(145deg, var(--accent-warm), #c49660); color: white; font-size: 2.5rem; top: 120px; right: 40px; animation: floatRotate 7s ease-in-out infinite 1s; }
.toy-block-1 { width: 90px; height: 60px; background: linear-gradient(145deg, #e8dcc6, #d4c5a9); color: var(--text-primary); font-size: 2.2rem; bottom: 100px; left: 30px; animation: floatBounce 5s ease-in-out infinite 0.5s; }
.toy-block-2 { width: 75px; height: 55px; background: linear-gradient(145deg, var(--primary-sage-light), var(--primary-sage)); color: white; font-size: 1.6rem; bottom: 40px; right: 60px; animation: floatBounce 8s ease-in-out infinite 2s; }
.toy-number-1 { width: 65px; height: 65px; background: linear-gradient(145deg, #ff9999, #ff7a7a); color: white; font-size: 2.2rem; top: 60px; right: 120px; border-radius: 50%; animation: spinFloat 9s linear infinite; }
.toy-number-2 { width: 60px; height: 60px; background: linear-gradient(145deg, #87ceeb, #5cb3d4); color: white; font-size: 2rem; bottom: 160px; left: 80px; border-radius: 50%; animation: spinFloat 10s linear infinite 1.5s; }
.main-box { width: 120px; height: 120px; background: linear-gradient(145deg, var(--primary-sage-light) 0%, var(--primary-sage) 50%, var(--primary-sage-dark) 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 20px 40px rgba(123, 160, 91, 0.3); animation: gentleFloat 4s ease-in-out infinite; }
.main-box svg { color: rgba(255, 255, 255, 0.9); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
@keyframes floatRotate { 0%, 100% { transform: translateY(0px) rotate(0deg); } 25% { transform: translateY(-15px) rotate(5deg); } 50% { transform: translateY(-8px) rotate(-3deg); } 75% { transform: translateY(-20px) rotate(7deg); } }
@keyframes floatBounce { 0%, 100% { transform: translateY(0px) scale(1); } 30% { transform: translateY(-12px) scale(1.05); } 60% { transform: translateY(-5px) scale(0.98); } }
@keyframes spinFloat { 0% { transform: translateY(0px) rotate(0deg); } 25% { transform: translateY(-10px) rotate(90deg); } 50% { transform: translateY(-15px) rotate(180deg); } 75% { transform: translateY(-8px) rotate(270deg); } 100% { transform: translateY(0px) rotate(360deg); } }

/* Email & CTA */
.email-capture { display: flex; gap: 1rem; margin-bottom: 1rem; }
.email-input { flex: 1; padding: 1rem 1.25rem; border: 1px solid var(--border-light); border-radius: 0.75rem; font-size: 1rem; background: var(--background-primary); transition: var(--transition-soft); }
.email-input:focus { outline: none; border-color: var(--primary-sage); box-shadow: 0 0 0 3px rgba(123, 160, 91, 0.1); }
.cta-primary { padding: 1rem 1.25rem; background: var(--primary-sage); color: var(--background-primary); border: none; border-radius: 0.75rem; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition-soft); box-shadow: var(--shadow-soft); }
.cta-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); background: var(--primary-sage-dark); }
.cta-primary:disabled { background: #b0c4b1; cursor: not-allowed; transform: none; box-shadow: var(--shadow-soft); }
.hero-trust-text { font-size: 0.875rem; color: var(--text-light); }

/* Marquee */
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-section { padding: 0.9rem 0; background-color: var(--primary-sage); border-top: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-left: 1.5rem;
  animation: scrollMarquee 45s linear infinite;
  will-change: transform;
}
.marquee-item { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 0.98rem; font-weight: 600; color: #ffffff; opacity: 0.95; flex-shrink: 0; }
.marquee-item svg { width: 18px; height: 18px; stroke: #ffffff; flex-shrink: 0; }
.marquee-separator { font-weight: 400; opacity: 0.5; color: white;}

/* Sections */
.section { padding: var(--space-4xl) 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; }

/* About */
.about { background: var(--background-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.trust-card { background: var(--background-primary); padding: 2rem; border-radius: 1rem; text-align: center; border: 1px solid var(--border-light); transition: var(--transition-soft); }
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.trust-icon-wrapper { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-sage), var(--primary-sage-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.trust-icon-wrapper .icon-svg { color: var(--background-primary); width: 28px; height: 28px; }
.trust-title { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.trust-description { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* Product Preview */
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.preview-card { position: relative; background: var(--background-primary); border-radius: 1rem; overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition-soft); }
.preview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.preview-visual { height: 220px; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.7); }
.preview-visual--discovery { background: linear-gradient(135deg, #e8dcc6, #f8f6f0); color: var(--accent-warm); }
.preview-visual--explorer { background: linear-gradient(135deg, #a8d082, #c5e0a9); color: var(--background-primary); }
.preview-visual--innovator { background: linear-gradient(135deg, #d4a574, #e8dcc6); color: var(--background-primary); }
.preview-content { padding: 1.5rem; }
.preview-title { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.preview-description { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }
.badge-coming { position: absolute; top: 12px; right: 12px; background: rgba(123, 160, 91, 0.95); color: #fff; border: none; padding: 0.45rem 0.7rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; box-shadow: var(--shadow-soft); pointer-events: none; }

/* Waitlist */
.waitlist { background: var(--primary-sage); color: var(--background-primary); }
.waitlist .section-title,
.waitlist .section-subtitle { color: var(--background-primary); }
.waitlist-form { max-width: 500px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 1rem; }
.waitlist-form .email-input { background: rgba(255, 255, 255, 0.95); border: 2px solid rgba(255, 255, 255, 0.3); }
.waitlist-form .cta-primary { background: var(--background-primary); color: var(--primary-sage); }
.waitlist-form .cta-primary:hover { background: var(--background-soft); color: var(--primary-sage-dark); }
.waitlist-benefit { grid-column: 1 / -1; margin-top: 0.25rem; text-align: center; font-size: 0.9rem; opacity: 0.9; }

/* Steps / Timeline */
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps-grid::before { content: ''; position: absolute; top: 30px; left: var(--space-4xl); right: var(--space-4xl); height: 2px; background: repeating-linear-gradient(90deg, var(--border-light), var(--border-light) 6px, transparent 6px, transparent 12px); z-index: 0; }
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number { width: 60px; height: 60px; background: var(--accent-warm); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.5rem; font-weight: 700; color: var(--background-primary); box-shadow: 0 0 0 8px var(--background-primary); }
.step-title { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.75rem; }
.step-description { color: var(--text-light); line-height: 1.6; max-width: 300px; margin: 0 auto; }

/* Footer */
.footer { background: var(--text-primary); color: var(--text-light); padding: var(--space-4xl) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { color: var(--primary-sage-light); margin-bottom: 1rem; }
.footer-brand p { max-width: 350px; margin-bottom: 1.5rem; }
.footer-section h4 { color: var(--background-primary); font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-light); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-sage-light); }
.social-links { display: flex; gap: 1rem; }
.social-link { width: 40px; height: 40px; background: rgba(123, 160, 91, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-sage-light); text-decoration: none; transition: var(--transition-soft); }
.social-link:hover { background: var(--primary-sage); color: var(--background-primary); }
.footer-bottom { border-top: 1px solid rgba(123, 160, 91, 0.2); padding-top: 1.5rem; text-align: center; font-size: 0.875rem; }

/* Success Toast */
.success-message { position: fixed; top: 20px; right: 20px; background: var(--primary-sage); color: var(--background-primary); padding: 1rem 1.5rem; border-radius: 0.75rem; box-shadow: var(--shadow-medium); z-index: 2000; transform: translateX(calc(100% + 20px)); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.success-message.show { transform: translateX(0); }

/* Interactive WhatsApp CTA */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: var(--shadow-medium);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-soft);
  animation: pulse 2.5s infinite;
}
.whatsapp-fab:hover {
  background: #128C7E;
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-large);
  animation: none;
}
.whatsapp-fab svg { width: 22px; height: 22px; fill: #fff; }

/* Responsive: Tablet & Small Desktop */
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-content { max-width: 100%; }
  .hero-subheadline { margin-left: auto; margin-right: auto; }
  .hero-visual { grid-row: 1; margin-bottom: 1rem; }
  .email-capture { max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-trust-text { max-width: 520px; margin-left: auto; margin-right: auto; }
  .waitlist-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto 1.5rem; }
  .social-links { justify-content: center; }
}

/* Responsive: Mobile */
@media (max-width: 767px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3rem 0; }
  .hero-headline { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .email-capture { flex-direction: column; }
  .toy-showcase { width: 350px; height: 350px; transform: scale(0.9); margin-top: -2rem; }
  .floating-toy { transform: scale(0.8); }
  .main-box { width: 100px; height: 100px; }
  .main-box svg { width: 50px; height: 50px; }
  .steps-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-left: 30px; }
  .steps-grid::before { left: 30px; top: 0; bottom: 0; width: 2px; height: 100%; right: auto; }
  .step-card { text-align: left; padding-left: 2rem; }
  .step-number { position: absolute; left: -30px; top: 0; margin: 0; }
  .step-description { margin: 0; max-width: 100%; }
  .whatsapp-fab { right: 16px; bottom: 16px; padding: 0.7rem 1rem; }
  .whatsapp-fab span { display: none; }
  .whatsapp-fab { gap: 0; width: 50px; height: 50px; justify-content: center; }
}

/* === Motion safety (Step 4) === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Step 5: UX/CRO micro-polish === */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; width: auto; height: auto; padding: 10px 14px;
  background: #000; color: #fff; border-radius: 8px; z-index: 10000;
}

.trust-badges { display:flex; gap:10px; flex-wrap:wrap; padding:0; margin:.5rem 0 0; list-style:none; }
.trust-badges li { font-size:.9rem; padding:6px 10px; border:1px solid #eee; border-radius:999px; background:#fff; }

#whatsapp-sticky-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 9999;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.12));
}
#whatsapp-sticky-cta a {
  display:flex; align-items:center; gap:8px; text-decoration:none; padding:12px 16px; border-radius:999px;
  background:#25D366; color:#fff; font-weight:700;
}
#whatsapp-sticky-cta .cta-discount {
  display:inline-block; font-weight:700; font-size:.85rem;
  padding:4px 8px; border-radius:999px; background:#0b4; color:#eaffea;
}
@media (max-width: 520px) {
  #whatsapp-sticky-cta { right: 12px; bottom: 12px; }
  #whatsapp-sticky-cta a { padding: 12px 14px; }
}

/* Respect motion settings */
@media (prefers-reduced-motion: no-preference) {
  #whatsapp-sticky-cta { animation: subtle-in 300ms ease-out; }
  @keyframes subtle-in {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
}

/* === Step 7: Compact hero badges & tidy spacing === */
.hero .hero-headline { margin-bottom: .35rem; }
.hero .hero-subheadline { margin-top: .6rem; }

.hero-badges {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: .95rem; color: #4a4a4a; margin-top: .4rem;
}
.hero-badges .badge-item {
  position: relative; padding-right: 12px; margin-right: 6px;
}
.hero-badges .badge-item:not(:last-child)::after {
  content: "•"; position: absolute; right: 0; top: 0; opacity: .45;
}

@media (max-width: 420px) {
  .hero-badges .badge-item:nth-of-type(3) { display: none; } /* hide 3rd badge on very small screens */
  .hero-badges { font-size: .9rem; }
}
