/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║   Eidolon Nursery — landing-page overrides                               ║
   ║   products/nursery/frontend/landing/css/landing.css                      ║
   ║                                                                          ║
   ║   Loaded AFTER the shared design system (_shared/css/{tokens,base,       ║
   ║   components}.css). Contains only:                                       ║
   ║      1. Theme overrides on :root (Nursery green, defaults coral accent). ║
   ║      2. Nursery-only sections that have no shared counterpart            ║
   ║         (hero dashboard mockup, trust bar, how-steps, dark innovations,  ║
   ║         CTA banner, registration page).                                  ║
   ║      3. Mobile tweaks specific to the above.                             ║
   ║                                                                          ║
   ║   If a rule is reused on a second product, promote it to the shared      ║
   ║   components.css instead of leaving copies here.                         ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */


/* ── Theme override (Nursery green + coral accent + cream text on dark) ─── */
:root {
    --theme-primary:        #256d47;
    --theme-primary-dark:   #1f4d35;
    --theme-primary-darker: #1a3a2a;
    --theme-primary-light:  #f2faf5;
    --theme-primary-tint:   #e8f5ed;
    --theme-accent:         #e8695e;
    --theme-accent-dark:    #d95550;

    /* Nursery-specific shades used by the hero mockup + trust bar + how-steps */
    --nursery-green-400:    #5cbe87;
    --nursery-green-500:    #34a668;
    --nursery-coral-400:    #f08c7d;
    --nursery-coral-100:    #fde8e4;
}


/* ════════════════════════════════════════════════════════════════════════════
   HERO — visual mockup column (dashboard card + floating badges)
   ════════════════════════════════════════════════════════════════════════════ */
.hero-proof {
    display: flex; align-items: center;
    gap: var(--space-md);
    font-size: var(--fs-sm);
    color: var(--neutral-text-muted);
}
.hero-proof-avatars { display: flex; }
.hero-proof-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2.5px solid var(--neutral-cream);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: var(--fw-semibold);
    color: var(--neutral-white);
    margin-left: -8px;
}
.hero-proof-avatar:first-child { margin-left: 0; }

.hero-visual { position: relative; }

.hero-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-border-light);
    position: relative;
    z-index: var(--z-card);
}
.hero-card-header {
    display: flex; align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--neutral-border-light);
}
.hero-card-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-card-title {
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    color: var(--neutral-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-child-row {
    display: flex; align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-border-light);
}
.hero-child-row:last-child { border-bottom: none; }

.hero-child-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
    color: var(--neutral-white);
    flex-shrink: 0;
}
.hero-child-name {
    flex: 1;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--neutral-text-dark);
}
.hero-child-tag {
    font-size: 0.7rem;
    font-weight: var(--fw-semibold);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
}
.tag-green { background: var(--theme-primary-tint); color: var(--theme-primary-dark); }
.tag-coral { background: var(--nursery-coral-100); color: var(--theme-accent-dark); }
.tag-blue  { background: #e8f0fe; color: #3366cc; }

.hero-float {
    position: absolute;
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-border-light);
    z-index: calc(var(--z-card) + 1);
    animation: hero-float 4s ease-in-out infinite;
}
.hero-float-1 { top: -16px; right: -20px; }
.hero-float-2 { bottom: 30px; left: -30px; animation-delay: 1.5s; }
.hero-float-icon { font-size: 1.2rem; margin-bottom: 0.2rem; }
.hero-float-label {
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
    color: var(--neutral-text-muted);
}
.hero-float-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    color: var(--neutral-text-dark);
}
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}


/* ════════════════════════════════════════════════════════════════════════════
   TRUST BAR
   ════════════════════════════════════════════════════════════════════════════ */
.trust-bar {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--neutral-border-light);
    border-bottom: 1px solid var(--neutral-border-light);
}
.trust-bar-inner {
    display: flex; align-items: center; justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--neutral-text-muted);
}
.trust-icon {
    width: 20px; height: 20px;
    color: var(--nursery-green-500);
}


/* ════════════════════════════════════════════════════════════════════════════
   FEATURE-ICON COLOUR VARIANTS (Nursery palette)
   The shared .feature-icon defaults to theme-primary-tint. These swap in
   alternative tints to keep the icon row visually varied.
   ════════════════════════════════════════════════════════════════════════════ */
.feature-icon.fi-green { background: var(--theme-primary-tint); }
.feature-icon.fi-coral { background: var(--nursery-coral-100); }
.feature-icon.fi-blue  { background: #e8f0fe; }


/* ════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════════════════════ */
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    position: relative;
}
.how-steps::before {
    content: '';
    position: absolute;
    top: 36px; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--nursery-green-400), var(--nursery-coral-400));
    opacity: 0.25;
}
.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--space-md);
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--neutral-white);
    background: var(--theme-primary);
    box-shadow: 0 4px 16px rgba(37, 109, 71, 0.2);
}
.how-step:nth-child(2) .how-step-num { background: var(--nursery-green-500); }
.how-step:nth-child(3) .how-step-num {
    background: var(--theme-accent);
    box-shadow: 0 4px 16px rgba(232, 105, 94, 0.2);
}
.how-step h3 { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.how-step p {
    font-size: 0.9rem;
    color: var(--neutral-text-muted);
    max-width: 280px;
    margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════════════════════
   PRICING extras (the shared price-card covers everything else)
   ════════════════════════════════════════════════════════════════════════════ */
.price-target {
    font-size: 0.82rem;
    color: var(--neutral-text-muted);
    margin-bottom: 0.5rem;
}
.price-currency {
    font-size: 1.4rem;
    vertical-align: super;
    font-weight: var(--fw-semibold);
}
.price-divider {
    height: 1px;
    background: var(--neutral-border-light);
    margin: 1.25rem 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   INNOVATIONS — dark section with grid + tags
   ════════════════════════════════════════════════════════════════════════════ */
.innovations {
    background: var(--theme-primary-darker);
    position: relative;
    overflow: hidden;
}
.innovations::before {
    content: '';
    position: absolute;
    top: -200px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(92, 190, 135, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.innovations::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232, 105, 94, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.innovations .section-label    { color: var(--nursery-green-400); }
.innovations .section-title    { color: var(--neutral-white); }
.innovations .section-subtitle { color: rgba(255, 255, 255, 0.5); }

.innov-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    position: relative;
    z-index: 1;
}
.innov-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--motion-base) var(--motion-easing);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.innov-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}
.innov-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.innov-icon-green { background: rgba(92, 190, 135, 0.15); }
.innov-icon-coral { background: rgba(232, 105, 94, 0.15); }
.innov-icon-blue  { background: rgba(51, 102, 204, 0.15); }
.innov-icon-amber { background: rgba(217, 119, 6, 0.15); }

.innov-body h3 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--neutral-white);
    margin-bottom: 0.35rem;
}
.innov-body p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: var(--lh-relaxed);
}
.innov-tag {
    display: inline-flex; align-items: center;
    gap: 0.3rem;
    margin-top: 0.6rem;
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}
.innov-tag-green { background: rgba(92, 190, 135, 0.12); color: var(--nursery-green-400); }
.innov-tag-coral { background: rgba(232, 105, 94, 0.12); color: var(--nursery-coral-400); }


/* ════════════════════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════════════════════ */
.cta-banner {
    background: var(--theme-primary-darker);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(92, 190, 135, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-banner h2 {
    color: var(--neutral-white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.75rem;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.cta-price-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    margin-top: 0.75rem;
}


/* ════════════════════════════════════════════════════════════════════════════
   FOOTER overrides — Nursery's footer markup is older than the shared partial,
   so we keep its markup and just dress it. Future-proofing: when this product
   page is rewritten to the shared footer partial, drop everything in this block.
   ════════════════════════════════════════════════════════════════════════════ */
.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    color: var(--neutral-white);
    margin-bottom: var(--space-md);
}
.footer-brand-text span { font-weight: var(--fw-regular); opacity: 0.6; }
.footer-desc {
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    max-width: 280px;
}
.footer-links { list-style: none; }
.footer-links li { padding: 0.2rem 0; }
.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    transition: color var(--motion-fast) var(--motion-easing);
}
.footer-links a:hover { color: var(--neutral-white); }
.footer-copy { color: rgba(255, 255, 255, 0.3); font-size: 0.8rem; }
.footer-powered {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    display: flex; align-items: center;
    gap: 0.35rem;
}


/* ════════════════════════════════════════════════════════════════════════════
   REGISTRATION PAGE (separate HTML at register/index.html)
   ════════════════════════════════════════════════════════════════════════════ */
.register-page {
    min-height: 100vh;
    padding: 7rem 0 var(--space-2xl);
    background:
        radial-gradient(circle at 20% 30%, rgba(45, 138, 89, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 105, 94, 0.03) 0%, transparent 50%);
}
.register-card {
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 540px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.register-card h1 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.register-subtitle {
    color: var(--neutral-text-muted);
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--neutral-text-dark);
    margin-bottom: 0.35rem;
}
.form-hint {
    font-size: 0.78rem;
    color: var(--neutral-text-muted);
    margin-top: 0.25rem;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}
.plan-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: 0.35rem;
}
.plan-option {
    padding: 0.6rem;
    border: 1.5px solid var(--neutral-border);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--motion-fast) var(--motion-easing);
    background: var(--neutral-cream);
}
.plan-option:hover { border-color: var(--nursery-green-400); }
.plan-option.selected {
    border-color: var(--theme-primary);
    background: var(--theme-primary-tint);
}
.plan-option input { display: none; }
.plan-option-name {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    color: var(--neutral-text-dark);
}
.plan-option-price { font-size: 0.75rem; color: var(--neutral-text-muted); }
.register-summary-box {
    background: var(--theme-primary-light);
    border: 1px solid var(--theme-primary-tint);
    border-radius: var(--radius-md);
    padding: var(--space-md) 1.25rem;
    margin-bottom: var(--space-lg);
}
.register-summary-row {
    display: flex; justify-content: space-between;
    font-size: 0.88rem;
    padding: 0.2rem 0;
}
.register-summary-total {
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    color: var(--neutral-text-dark);
    border-top: 1px solid var(--neutral-border-light);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}
.form-error {
    color: var(--theme-accent-dark);
    font-size: 0.82rem;
    margin-top: 0.75rem;
}


/* ════════════════════════════════════════════════════════════════════════════
   MOBILE — Nursery-only adjustments (shared mobile parity covers everything else)
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-visual { max-width: 480px; }
    .pricing-grid .price-card:last-child {
        grid-column: span 2;
        max-width: 420px;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .how-steps { grid-template-columns: 1fr; gap: var(--space-xl); }
    .how-steps::before { display: none; }
    .innov-grid { grid-template-columns: 1fr; }
    .hero-float { display: none; }
    .pricing-grid .price-card:last-child { grid-column: auto; max-width: none; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .plan-selector { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .register-card { padding: var(--space-md); }
}
