/* ============================================
   WABI-SABI WORKSHOP — PREMIUM MOSS EDITION
   Mobile-First | Fluid Typography | Glassmorphism
   ============================================ */

:root {
    /* --- COLOR PALETTE --- */
    --bg-aged: #1A1A1B;
    --bg-dark: #121212;
    --bg-moss-light: #F8FAF7;

    --text-primary: #E5E5E5;
    --text-secondary: #A3A3A3;
    --text-muted: #737373;
    --text-light: #FFFFFF;
    --text-moss: #7A8B6F;

    /* Moss Gradients & Accents */
    --moss-primary: #7A8B6F;
    --moss-light: #A5B89A;
    --moss-dark: #5A6B4F;
    --moss-gradient: linear-gradient(135deg, #7A8B6F 0%, #A5B89A 100%);
    --moss-glow: rgba(122, 139, 111, 0.15);

    /* Stone/Earth Tones */
    --stone-gray: #A09D93;
    --earth-brown: #8B7355;
    --aged-cream: #E8E6E0;

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(122, 139, 111, 0.08);
    --shadow-hover: 0 8px 40px rgba(122, 139, 111, 0.12);
    --shadow-strong: 0 16px 64px rgba(122, 139, 111, 0.2);

    /* --- FLUID TYPOGRAPHY --- */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-md: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
    --fs-lg: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --fs-xl: clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
    --fs-2xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    --fs-3xl: clamp(3rem, 2.4rem + 3vw, 5rem);

    /* --- SPACING --- */
    --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --space-sm: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
    --space-md: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
    --space-lg: clamp(2rem, 1.7rem + 1.5vw, 3.5rem);
    --space-xl: clamp(3rem, 2.4rem + 3vw, 6rem);
    --space-2xl: clamp(4rem, 3rem + 5vw, 8rem);

    /* --- TRANSITIONS --- */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-aged);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

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

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

/* ============================================
   SCROLL ANIMATION CONTAINER
   ============================================ */
.scroll-container {
    position: relative;
    min-height: 600vh;
    background: var(--bg-dark);
}

.sticky-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Vessel Container */
.vessel-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 50vw, 500px);
    height: clamp(280px, 50vw, 500px);
    z-index: 10;
}

.vessel-container>div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.vessel-container .piece-perfect {
    background-image: url('vessel-perfect.png');
    opacity: 1;
}

.vessel-container .vessel-weathering-1 {
    background-image: url('vessel-weathering-1.png');
}

.vessel-container .vessel-weathering-2 {
    background-image: url('vessel-weathering-2.png');
}

.vessel-container .vessel-weathered {
    background-image: url('vessel-weathered.png');
}

.vessel-container .vessel-complete {
    background-image: url('vessel-complete.png');
}

.vessel-container .moss-glow-layer {
    background-image: url('vessel-moss-glow.png');
    filter: blur(20px);
    opacity: 0;
}

/* ============================================
   CONTENT SECTIONS (Scroll Text)
   ============================================ */
.content-layer {
    position: relative;
    z-index: 20;
    max-width: 90%;
    width: clamp(300px, 85vw, 600px);
    margin: 0 auto;
}

.content-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    color: var(--text-light);
}

/* Hero Section */
.section-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.hero-title {
    font-size: var(--fs-3xl);
    font-weight: 300;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--moss-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.scroll-hint {
    font-size: var(--fs-sm);
    color: var(--moss-light);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Section Label */
.section-label {
    display: inline-block;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--moss-light);
    margin-bottom: var(--space-sm);
}

/* Problem Grid */
.problem-grid {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.problem-item {
    background: rgba(122, 139, 111, 0.1);
    border: 1px solid rgba(122, 139, 111, 0.2);
    border-radius: 12px;
    padding: var(--space-sm);
}

.problem-type {
    display: block;
    font-size: var(--fs-xs);
    color: var(--moss-light);
    margin-bottom: 0.5rem;
}

/* Guide Section */
.guide-intro {
    font-size: var(--fs-md);
    font-style: italic;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.9);
}

.guide-info h3 {
    font-size: var(--fs-xl);
    color: var(--moss-light);
    margin-bottom: var(--space-sm);
}

.guide-info p {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

/* Framework Steps */
.framework-steps {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.step {
    background: rgba(122, 139, 111, 0.1);
    border: 1px solid rgba(122, 139, 111, 0.25);
    border-radius: 16px;
    padding: var(--space-md);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--moss-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: #000;
}

.step h4 {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
    color: var(--moss-light);
}

/* Who Grid */
.who-grid {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.who-yes,
.who-no {
    background: rgba(122, 139, 111, 0.08);
    border: 1px solid rgba(122, 139, 111, 0.2);
    border-radius: 12px;
    padding: var(--space-md);
}

.who-yes h4,
.who-no h4 {
    font-size: var(--fs-md);
    margin-bottom: var(--space-sm);
    color: var(--moss-light);
}

.icon-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.icon-check,
.icon-x {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-check {
    color: var(--moss-light);
}

.icon-x {
    color: rgba(255, 255, 255, 0.4);
}

/* Workshop Details */
.workshop-details {
    margin-top: var(--space-md);
}

.workshop-includes {
    background: rgba(122, 139, 111, 0.1);
    border: 1px solid rgba(122, 139, 111, 0.25);
    border-radius: 12px;
    padding: var(--space-md);
}

.workshop-includes h4 {
    font-size: var(--fs-lg);
    color: var(--moss-light);
    margin-bottom: var(--space-sm);
}

.workshop-includes ul {
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* CTA Section */
.cta-headline {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #fff 0%, var(--moss-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-challenge {
    font-size: var(--fs-md);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--moss-gradient);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 8px 24px rgba(122, 139, 111, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(122, 139, 111, 0.4);
}

/* ============================================
   LANDING PAGE SECTIONS (Below Scroll)
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-heading {
    font-size: var(--fs-2xl);
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--moss-dark);
}

/* Stakes Section */
.stakes-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-aged) 100%);
}

.stakes-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: center;
}

.stakes-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.stakes-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
}

.stakes-card ul {
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.stakes-fail {
    border-left: 4px solid #D32F2F;
}

.stakes-success {
    border-left: 4px solid var(--moss-primary);
}

.stakes-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--moss-dark);
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-aged);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.pricing-header h2 {
    font-size: var(--fs-2xl);
    margin: var(--space-sm) 0;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: var(--fs-md);
}

.pricing-grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.pricing-featured {
    border: 2px solid var(--moss-primary);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--moss-gradient);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: var(--space-md);
}

.currency {
    font-size: var(--fs-lg);
    color: var(--moss-primary);
}

.amount {
    font-size: var(--fs-3xl);
    font-weight: 600;
    color: var(--moss-dark);
}

.pricing-features {
    margin-bottom: var(--space-md);
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--moss-gradient);
    color: #fff;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    transition: transform var(--transition-base);
}

.pricing-cta:hover {
    transform: translateY(-2px);
}

.cta-featured {
    background: var(--moss-gradient);
    box-shadow: 0 8px 24px rgba(122, 139, 111, 0.3);
}

.pricing-note {
    margin-top: var(--space-sm);
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-moss-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.testimonial-card p {
    font-size: var(--fs-md);
    font-style: italic;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.testimonial-card cite {
    font-size: var(--fs-sm);
    color: var(--moss-dark);
    font-style: normal;
}

/* Waitlist Section */
.waitlist-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-aged);
}

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

.waitlist-content h2 {
    font-size: var(--fs-2xl);
    margin: var(--space-sm) 0 var(--space-md);
}

.cta-large {
    padding: 1.25rem 3rem;
    font-size: var(--fs-lg);
}

/* Final CTA */
.final-cta-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

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

.final-cta-content h2 {
    font-size: var(--fs-2xl);
    color: #fff;
    margin-bottom: var(--space-sm);
}

.final-cta-content p {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

/* Footer */
.footer {
    padding: var(--space-xl) 0;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.footer-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--fs-lg);
    font-style: italic;
    margin-bottom: var(--space-sm);
    color: var(--moss-light);
}

.footer-copy {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(122, 139, 111, 0.2);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    background: var(--moss-gradient);
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .vessel-container {
        width: 80vw;
        height: 80vw;
        max-width: 350px;
        max-height: 350px;
    }

    .stakes-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .stakes-divider {
        transform: rotate(90deg);
        margin: var(--space-sm) 0;
    }

    .pricing-grid-two {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .vessel-container {
        top: 40%;
    }

    .content-layer {
        margin-top: 100px;
    }

    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .framework-steps {
        grid-template-columns: repeat(3, 1fr);
    }

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