/* ============================================================
   CLOCHE — PLANTA / CALM VISUAL REDESIGN
   Botanical, editorial, immersive, premium
   Inspired by Planta + Calm aesthetics
   ============================================================ */

/* ============================================================
   HERO: Full-bleed botanical immersion
   ============================================================ */

#landing .lp-hero {
    background: linear-gradient(170deg, var(--cream) 0%, var(--moss-faint) 55%, var(--cream) 100%);
    min-height: 100svh;
    padding-top: max(120px, 110px + env(safe-area-inset-top));
    padding-bottom: 80px;
}

/* Hero headline — dark, generous, editorial */
#landing .lp-hero h1 {
    color: var(--sage-deep);
    text-shadow: none;
    font-size: clamp(3rem, 7.5vw, 6rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: 860px;
}

#landing .lp-hero h1 em {
    color: var(--terracotta);
}

/* Supporting italic line — dark, legible */
.hero-supporting {
    color: #2A4D26;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-style: italic;
    letter-spacing: 0.01em;
    text-shadow: none;
    margin-bottom: 14px;
}

/* Sub text */
.hero-sub {
    color: rgba(26, 46, 13, 0.68);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.72;
    text-shadow: none;
    max-width: 560px;
}

/* Badge */
.hero-badge {
    background: rgba(59, 107, 53, 0.1);
    border: 1px solid rgba(59, 107, 53, 0.2);
    color: var(--sage-deep);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Trust strip */
.hero-trust {
    color: rgba(26, 46, 13, 0.55);
}

.trust-sep {
    opacity: 0.4;
    color: var(--sage);
}

/* CTA secondary on light hero */
#landing .lp-hero .btn-secondary {
    color: var(--sage);
    border-color: var(--sage);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#landing .lp-hero .btn-secondary:hover {
    background: rgba(88, 122, 82, 0.08);
    border-color: var(--sage-deep);
    transform: translateY(-1px);
}

/* Hero logo SVG: dark brand colors on light bg */
.hero-a-wordmark {
    color: var(--sage-deep);
    text-shadow: none;
}

.hero-a-base {
    background: #2A4D26;
    opacity: 0.7;
}

.hero-brand-phonetic {
    color: var(--sage);
}

/* SVG dome strokes: use brand dark green on light bg (no overrides needed) */

/* ============================================================
   NAV: Glassier, more premium
   ============================================================ */

.lp-nav-wrap {
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(59, 107, 53, 0.06);
}

.lp-nav-wrap.scrolled {
    background: rgba(250, 247, 242, 0.97);
    box-shadow: 0 1px 28px rgba(26, 46, 13, 0.07);
    border-bottom-color: rgba(59, 107, 53, 0.1);
}

/* ============================================================
   TYPOGRAPHY: More editorial everywhere
   ============================================================ */

.lp-section-head h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.018em;
}

.lp-section-head p {
    font-size: 1.08rem;
    line-height: 1.78;
    letter-spacing: 0.005em;
    max-width: 560px;
}

.lp-section-head::before {
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--sage) 40%, var(--terracotta) 70%, transparent 100%);
    margin-bottom: 24px;
}

/* ============================================================
   WHITESPACE: Let it breathe
   ============================================================ */

.lp-values       { padding: 104px 24px; }
.lp-how          { padding: 104px 24px; }
.lp-inventory    { padding: 104px 24px; }
.lp-testimonials { padding: 104px 24px; }
.lp-pricing      { padding: 104px 24px; }
.lp-closing      { padding: 128px 24px; }
.lp-feature-demos { padding: 96px 24px 108px; }

.lp-section-head { margin-bottom: 68px; }

/* ============================================================
   FEATURE DEMO SECTION: Warmer base
   ============================================================ */

.lp-feature-demos {
    background: #FEFDFB;
}

/* ============================================================
   VALUE CARDS: Organic, editorial, warmer
   ============================================================ */

.lp-values {
    background: linear-gradient(180deg, #FAF7F2 0%, #F2EBE0 100%);
}

.lp-values-grid {
    gap: 28px;
}

.lp-value-card {
    background: #FFFFFF;
    border: 1px solid rgba(59, 107, 53, 0.09);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(26, 46, 13, 0.04);
}

.lp-value-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage) 0%, var(--terracotta) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 20px 20px 0 0;
}

.lp-value-card:hover::after {
    opacity: 0.7;
}

.lp-value-card:hover {
    box-shadow: 0 18px 56px rgba(26, 46, 13, 0.10);
    border-color: rgba(59, 107, 53, 0.18);
    transform: translateY(-5px);
}

.val-icon {
    font-size: 2.4rem;
    margin-bottom: 22px;
}

.lp-value-card h3 {
    font-size: 1.38rem;
    letter-spacing: -0.012em;
    line-height: 1.25;
    margin-bottom: 14px;
}

.lp-value-card p {
    font-size: 0.98rem;
    line-height: 1.72;
    color: rgba(26, 46, 13, 0.6);
    margin-bottom: 20px;
}

.val-tag {
    background: rgba(59, 107, 53, 0.08);
    color: var(--sage);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 0.01em;
}

/* ============================================================
   HOW IT WORKS: Cleaner, more visual
   ============================================================ */

.lp-how {
    background: #FFFFFF;
}

.step-num {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    box-shadow: 0 8px 28px rgba(59, 107, 53, 0.28);
}

.step-body h3 {
    font-size: 1.28rem;
    letter-spacing: -0.012em;
    line-height: 1.3;
    margin-bottom: 12px;
}

.step-body p {
    font-size: 0.97rem;
    line-height: 1.72;
    color: rgba(26, 46, 13, 0.6);
}

.lp-step.step-ignition .step-num {
    width: 76px;
    height: 76px;
    font-size: 2rem;
    box-shadow: 0 10px 32px rgba(196, 114, 78, 0.35);
}

.step-spark {
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 16px;
}

/* Connective arrows: more elegant */
.lp-step-arrow {
    font-size: 1.4rem;
    opacity: 0.3;
    color: var(--sage);
}

/* ============================================================
   INVENTORY SECTION: Rich dark forest
   ============================================================ */

.lp-inventory {
    background: #0E1C0B;
    position: relative;
    overflow: hidden;
}

.lp-inventory::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 8% 60%,  rgba(59, 107, 53, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 55% 45% at 92% 20%, rgba(88, 122, 82, 0.20) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 50% 90%,  rgba(42, 77, 38, 0.22) 0%, transparent 60%);
    pointer-events: none;
}

.lp-inventory .lp-section-head h2 { color: #FAF7F2; }
.lp-inventory .lp-section-head p  { color: rgba(250, 247, 242, 0.62); }
.lp-inventory .lp-section-head::before {
    background: linear-gradient(90deg, transparent, rgba(141, 181, 128, 0.7), transparent);
}

.inv-col {
    border-radius: 20px;
    position: relative;
}

.inv-col-before {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.inv-col-after {
    background: rgba(59, 107, 53, 0.22);
    border: 1px solid rgba(141, 181, 128, 0.28);
}

.inv-col-headline {
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.inv-list li {
    font-size: 0.94rem;
    line-height: 1.6;
    padding: 10px 0;
}

.inv-emotional p {
    font-size: 1.18rem;
    line-height: 1.72;
}

/* ============================================================
   TESTIMONIALS: Editorial, warmer
   ============================================================ */

.lp-testimonials {
    background: linear-gradient(180deg, #F2EBE0 0%, #FAF7F2 100%);
}

.lp-testimonials-grid {
    gap: 28px;
}

.lp-testimonial-card {
    background: #FFFFFF;
    border: 1px solid rgba(59, 107, 53, 0.09);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(26, 46, 13, 0.05);
    position: relative;
}

.lp-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    color: rgba(59, 107, 53, 0.08);
    line-height: 1;
    pointer-events: none;
}

.lp-testimonial-card .quote-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.lp-testimonial-card .quote-text {
    font-size: 1.03rem;
    line-height: 1.75;
    color: rgba(26, 46, 13, 0.80);
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    margin-bottom: 24px;
}

.lp-testimonial-card .quote-author {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: var(--sage);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lp-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 44px rgba(26, 46, 13, 0.09);
}

/* ============================================================
   PRICING: Warmer, cleaner
   ============================================================ */

.lp-pricing {
    background: #FEFDFB;
}

.lp-plan-card {
    border-radius: 24px;
    border-color: rgba(59, 107, 53, 0.1);
    background: #FFFFFF;
    box-shadow: 0 2px 16px rgba(26, 46, 13, 0.04);
}

.lp-plan-featured {
    border-color: var(--sage);
    background: #FFFFFF;
    box-shadow: 0 12px 56px rgba(59, 107, 53, 0.14);
    transform: translateY(-8px);
}

.plan-name {
    font-size: 1.15rem;
    letter-spacing: 0.06em;
}

.plan-desc {
    font-size: 0.93rem;
    line-height: 1.6;
    color: rgba(26, 46, 13, 0.58);
}

.plan-features li {
    font-size: 0.93rem;
    line-height: 1.55;
    padding: 8px 0;
}

/* ============================================================
   CLOSING CTA: Full-bleed botanical immersion
   ============================================================ */

.lp-closing {
    background:
        linear-gradient(180deg,
            rgba(10, 20, 8, 0.72) 0%,
            rgba(15, 30, 12, 0.68) 100%
        ),
        url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=1800&q=80')
        center 60% / cover no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-closing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(59, 107, 53, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.lp-closing h2 {
    color: #FAF7F2;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.lp-closing h2 em {
    color: #EAA87A;
}

.lp-closing p {
    color: rgba(250, 247, 242, 0.72);
    font-size: 1.12rem;
    line-height: 1.7;
}

/* ============================================================
   BUTTONS: Premium gradient
   ============================================================ */

.btn-primary {
    background: linear-gradient(135deg, #5A8F52 0%, #2A4D26 100%);
    box-shadow: 0 4px 20px rgba(42, 77, 38, 0.28);
    letter-spacing: 0.01em;
    border-radius: 14px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4A7D44 0%, #1E3B1A 100%);
    box-shadow: 0 8px 30px rgba(42, 77, 38, 0.38);
    transform: translateY(-2px);
}

.btn-secondary {
    border-radius: 14px;
}

/* ============================================================
   FOOTER: Richer, deeper
   ============================================================ */

.lp-footer {
    background: #0A1608;
    padding: 80px 24px 44px;
}

.lp-footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 12px;
}

.lp-footer-links a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.lp-footer-links a:hover { color: rgba(255, 255, 255, 0.92); }

.lp-footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 40px;
}

/* ============================================================
   SCROLL REVEALS: Smoother, longer
   ============================================================ */

.scroll-fade {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   CARD SCROLL ANIMATIONS: stagger cards in grid
   ============================================================ */

.lp-value-card,
.lp-testimonial-card {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.lp-value-card.visible,
.lp-testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.lp-value-card:nth-child(1), .lp-testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.lp-value-card:nth-child(2), .lp-testimonial-card:nth-child(2) { transition-delay: 0.12s; }
.lp-value-card:nth-child(3), .lp-testimonial-card:nth-child(3) { transition-delay: 0.19s; }
.lp-value-card:nth-child(4)  { transition-delay: 0.26s; }
.lp-value-card:nth-child(5)  { transition-delay: 0.33s; }

/* Section heads */
.lp-section-head {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.lp-section-head.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Steps */
.lp-step {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lp-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ORGANIC BOTANICAL ACCENTS
   ============================================================ */

/* Subtle leaf motif on closing section */
.lp-closing::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(59, 107, 53, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Value section: warm tint on alt cards */
.lp-values-grid .lp-value-card:nth-child(even) {
    background: #FFFCF8;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 768px) {
    .lp-values       { padding: 72px 20px; }
    .lp-how          { padding: 72px 20px; }
    .lp-inventory    { padding: 72px 20px; }
    .lp-testimonials { padding: 72px 20px; }
    .lp-pricing      { padding: 72px 20px; }
    .lp-closing      { padding: 88px 20px; }
    .lp-feature-demos { padding: 64px 20px 72px; }
    .lp-section-head { margin-bottom: 48px; }
    .lp-testimonial-card { padding: 32px 24px; }
    .lp-value-card { padding: 32px 24px; border-radius: 18px; }
    .lp-plan-featured { transform: none; }
    .lp-testimonials-grid { gap: 20px; }
    .lp-values-grid { gap: 16px; }
}

@media (max-width: 480px) {
    #landing .lp-hero {
        background-position: center top;
        padding-bottom: 56px;
    }
    .lp-testimonial-card::before { display: none; }
}

/* ============================================================
   FEATURE DEMO TABS: More editorial
   ============================================================ */

.fdemo-tab {
    border-radius: 100px;
    font-size: 0.85rem;
    padding: 9px 20px;
    transition: all 0.25s ease;
}

.fdemo-tab.active {
    background: var(--sage-deep);
    border-color: var(--sage-deep);
    box-shadow: 0 4px 16px rgba(42, 77, 38, 0.25);
}

.fdemo-dot.active {
    background: var(--sage);
    width: 28px;
}

/* ============================================================
   STEP DOTS (section head divider)
   ============================================================ */

.lp-section-head::before {
    border-radius: 1px;
}

/* ============================================================
   WAITLIST MODAL: Warmer
   ============================================================ */

#waitlistModal > div {
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(26, 46, 13, 0.22);
}

/* ============================================================
   Z-INDEX SAFETY: Content above pseudo-element overlays
   ============================================================ */

.lp-closing .lp-container {
    position: relative;
    z-index: 2;
}

.lp-inventory .lp-container {
    position: relative;
    z-index: 1;
}

/* ============================================================
   GOOGLE FONTS PRELOAD: Ensure DM Serif Display italic loads
   ============================================================ */

/* DM Serif Display italic used in testimonials & hero — already loaded via index.html */

/* ============================================================
   HERO: Parallax-lite atmosphere — subtle depth
   ============================================================ */

/* A radial glow at the center-bottom of hero (warm amber) */
#landing .lp-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(196, 114, 78, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   SUBTLE BOTANICAL LINE: decorative hr between sections
   ============================================================ */

.lp-inventory + .lp-testimonials,
.lp-testimonials + .lp-pricing {
    position: relative;
}

/* ============================================================
   PLAN CARD REFINEMENTS
   ============================================================ */

.plan-badge {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    padding: 5px 16px;
    border-radius: 100px;
}

.plan-billing-option.active {
    background: rgba(59, 107, 53, 0.07);
    border-color: rgba(59, 107, 53, 0.4);
}

/* ============================================================
   COMMERCIAL PLANS TOGGLE
   ============================================================ */

.lp-commercial-link {
    border-radius: 100px;
    font-size: 0.9rem;
    padding: 11px 22px;
    letter-spacing: 0.01em;
}

/* ============================================================
   STEP ARROW REFINEMENT
   ============================================================ */

@media (min-width: 769px) {
    .lp-step-arrow {
        padding-top: 18px;
        font-size: 1.3rem;
        opacity: 0.28;
    }
}
