/* ============================================
   LUCIDMEETS LANDING PAGE - STYLES
   Deep Connection Palette & Cinematic Design
   ============================================ */

/* CSS Variables - Matching App Color Scheme */
:root {
    /* Colors (HSL) */
    --background: hsl(240, 27%, 8%);
    --card: hsl(240, 22%, 15%);
    --card-highlight: hsl(240, 20%, 18%);
    --foreground: hsl(0, 0%, 100%);
    --primary: hsl(249, 100%, 66%);
    --primary-dark: hsl(251, 68%, 52%);
    --accent: hsl(5, 100%, 72%);
    --accent-dark: hsl(6, 70%, 63%);
    --muted: hsl(240, 9%, 50%);
    --muted-foreground: hsl(240, 9%, 70%);
    --border: hsl(240, 18%, 21%);
    --tint-lavender: hsl(251, 68%, 52%);
    --tint-rose: hsl(6, 70%, 63%);
    --tint-teal: hsl(170, 60%, 45%);
    
    /* Fonts */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --nav-height: 100px;
    --section-padding: 120px;
    --container-width: 1200px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

em {
    font-style: italic;
    color: var(--accent);
}

strong {
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--background);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 56px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-link {
    color: var(--foreground);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: var(--primary);
    color: var(--foreground);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 32px rgba(107, 78, 255, 0.4);
    transform: translateY(-2px);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.25rem 3rem;
}

.btn-mobile {
    width: 100%;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, hsl(240, 30%, 12%) 0%, var(--background) 70%);
}

/* Animated Stars */
.stars,
.stars-slow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 60px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: stars 60s linear infinite;
    opacity: 0.5;
}

.stars-slow {
    background-image: 
        radial-gradient(1px 1px at 40px 60px, var(--primary), transparent),
        radial-gradient(1px 1px at 110px 90px, var(--accent), transparent),
        radial-gradient(1px 1px at 150px 30px, var(--tint-teal), transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: stars 120s linear infinite;
    opacity: 0.3;
}

@keyframes stars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-200px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--foreground), var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--muted-foreground);
    border-bottom: 2px solid var(--muted-foreground);
    transform: rotate(-45deg);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: rotate(-45deg) translateY(0);
        opacity: 0;
    }
    50% {
        transform: rotate(-45deg) translateY(10px);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   POEM SECTION
   ============================================ */

.poem-section {
    padding: var(--section-padding) 2rem;
    background: var(--background);
}

.poem-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.poem-stanza {
    margin-bottom: 4rem;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.9;
    text-align: center;
    color: var(--muted-foreground);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.poem-stanza.visible {
    opacity: 1;
    transform: translateY(0);
}

.poem-stanza p {
    margin-bottom: 0.8rem;
    transition: all 0.6s ease;
}

.poem-stanza p:last-child {
    margin-bottom: 0;
}

/* Special styling for emphasized lines */
.poem-stanza strong {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.poem-stanza em {
    color: var(--accent);
    font-style: italic;
    position: relative;
}

/* Staggered animation delays for each stanza */
.poem-stanza:nth-child(1) { transition-delay: 0.1s; }
.poem-stanza:nth-child(2) { transition-delay: 0.3s; }
.poem-stanza:nth-child(3) { transition-delay: 0.5s; }
.poem-stanza:nth-child(4) { transition-delay: 0.7s; }
.poem-stanza:nth-child(5) { transition-delay: 0.9s; }

/* ============================================
   MANIFESTO SECTION
   ============================================ */

.manifesto-section {
    padding: var(--section-padding) 2rem;
    background: linear-gradient(180deg, var(--background) 0%, hsl(240, 25%, 10%) 100%);
}

.manifesto-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.manifesto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--foreground);
    line-height: 1.3;
}

.section-title.centered {
    text-align: center;
}

.manifesto-body {
    font-size: 1.1rem;
    color: var(--muted-foreground);
}

.manifesto-image {
    height: 500px;
}

.abstract-image {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.manifesto-visual {
    background: radial-gradient(
        circle at 30% 40%,
        var(--primary) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 70% 60%,
        var(--accent) 0%,
        transparent 50%
    ),
    var(--card);
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ============================================
   HOW IT WORKS - TIMELINE
   ============================================ */

.how-it-works-section {
    padding: var(--section-padding) 2rem;
    background: var(--background);
}

.how-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--muted-foreground);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.inspiration-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.3rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    font-family: var(--font-display);
    font-style: italic;
    padding: 2rem;
    background: linear-gradient(
        135deg,
        rgba(107, 78, 255, 0.05) 0%,
        rgba(255, 123, 114, 0.05) 100%
    );
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}


.inspiration-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(107, 78, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 4s ease infinite;
    pointer-events: none;
}

.inspiration-intro p {
    margin: 0;
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary),
        var(--accent),
        transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item.left .timeline-icon {
    grid-column: 2;
    justify-self: start;
}

.timeline-item.right .timeline-content {
    grid-column: 2;
    text-align: left;
}

.timeline-item.right .timeline-icon {
    grid-column: 1;
    justify-self: end;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 24px rgba(107, 78, 255, 0.5);
}

.timeline-icon.exclusive {
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(255, 123, 114, 0.5);
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.timeline-icon.exclusive svg {
    color: var(--accent);
}

.timeline-content {
    background: var(--card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.timeline-content p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.highlight-text {
    color: var(--accent);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
}

/* New Exclusive Features Grid */
.exclusive-features {
    margin-top: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-highlight);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(107, 78, 255, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--foreground);
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

/* Legacy sub-features styles (keeping for compatibility) */
.sub-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sub-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-highlight);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.sub-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-icon svg {
    width: 22px;
    height: 22px;
    color: var(--foreground);
}

.sub-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.sub-feature p {
    font-size: 0.95rem;
}

.journal-quote {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent);
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin: 1rem 0;
}

/* ============================================
   WHO IS THIS FOR SECTION
   ============================================ */

.who-section {
    padding: var(--section-padding) 2rem;
    background: linear-gradient(180deg, var(--background) 0%, hsl(240, 25%, 10%) 100%);
}

.who-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--muted-foreground);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.who-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.who-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.who-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(107, 78, 255, 0.2);
}

.who-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.who-icon svg {
    width: 26px;
    height: 26px;
    color: var(--foreground);
}

.who-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.who-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.bojack-quote {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background: linear-gradient(
        135deg,
        rgba(107, 78, 255, 0.1) 0%,
        rgba(255, 123, 114, 0.1) 100%
    );
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.bojack-quote.visible {
    opacity: 1;
    transform: translateY(0);
}

.bojack-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.bojack-quote cite {
    display: block;
    font-size: 1rem;
    color: var(--muted-foreground);
    font-style: normal;
    margin-bottom: 2rem;
}

.quote-context {
    font-size: 1.05rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.who-final {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.who-final.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   COMMUNITY OF MEMORY SECTION
   ============================================ */

.community-section {
    position: relative;
    padding: var(--section-padding) 2rem;
    background: hsl(240, 30%, 6%);
    overflow: hidden;
}

.fireflies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle, rgba(251, 191, 36, 0.6) 1px, transparent 1px),
        radial-gradient(circle, rgba(251, 191, 36, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(251, 191, 36, 0.3) 1px, transparent 1px);
    background-size: 300px 300px, 400px 400px, 500px 500px;
    background-position: 0 0, 50px 60px, 130px 270px;
    animation: fireflies 20s linear infinite;
}

@keyframes fireflies {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translate(50px, -100px);
        opacity: 0.3;
    }
}

.community-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.community-intro,
.community-description {
    font-size: 1.2rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.memory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    filter: blur(8px);
    opacity: 0.6;
}

.memory-card {
    aspect-ratio: 4/5;
    background: linear-gradient(
        135deg,
        var(--card) 0%,
        var(--card-highlight) 100%
    );
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.memory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(107, 78, 255, 0.2),
        rgba(255, 123, 114, 0.2),
        rgba(68, 197, 195, 0.2)
    );
    animation: shimmer 3s ease infinite;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta {
    position: relative;
    padding: calc(var(--section-padding) * 1.5) 2rem;
    overflow: hidden;
    background: var(--background);
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.final-question {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 3rem;
    color: var(--foreground);
    letter-spacing: 0.5px;
}

.gradient-text {
    background: linear-gradient(to right, #FF7B72, #8B5CF6, #FF7B72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.footer-logo .logo-img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo .logo-img:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--foreground);
}

.footer-social {
    display: flex;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.social-link:hover {
    color: var(--foreground);
    background: var(--muted);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* ============================================
   WAITLIST MODAL
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    z-index: 2001;
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.modal-content > p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.waitlist-form input,
.waitlist-form textarea {
    background: var(--card-highlight);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.1);
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
    color: var(--muted);
}

.waitlist-form textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.form-note {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-top: 1rem;
}


/* ============================================
   UTILITY CLASSES
   ============================================ */

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .manifesto-content {
        grid-template-columns: 1fr;
    }

    .manifesto-image {
        height: 400px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        margin-left: 60px;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
    }

    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-left: -60px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Poem section responsive adjustments */
    .poem-stanza {
        margin-bottom: 3rem;
        font-size: clamp(1.1rem, 2vw, 1.4rem);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 80px;
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-logo {
        height: 50px;
    }

    .logo-img {
        max-width: 200px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

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

    /* Inspiration intro mobile styles */
    .inspiration-intro {
        margin: 0 auto 3rem;
        padding: 1.5rem;
        font-size: 1.1rem;
        line-height: 1.7;
        border-radius: 12px;
        max-width: 90%;
    }

    .footer {
        padding: 1rem 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Mobile poem section adjustments */
    .poem-section {
        padding: 60px 1rem;
    }

    .poem-container {
        max-width: 100%;
    }

    .poem-stanza {
        margin-bottom: 2.5rem;
        font-size: clamp(1rem, 4vw, 1.3rem);
        line-height: 1.8;
    }

}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem;
    }

    .bojack-quote {
        padding: 2rem;
    }

    .bojack-quote blockquote {
        font-size: 1.2rem;
    }

    .memory-gallery {
        grid-template-columns: 1fr;
    }

    /* Inspiration intro extra small screen styles */
    .inspiration-intro {
        margin: 0 auto 2.5rem;
        padding: 1.25rem;
        font-size: 1rem;
        line-height: 1.6;
        border-radius: 10px;
        max-width: 95%;
    }

    /* Extra small screen poem adjustments */
    .poem-section {
        padding: 40px 0.75rem;
    }

    .poem-stanza {
        margin-bottom: 2rem;
        font-size: clamp(0.95rem, 5vw, 1.2rem);
        line-height: 1.7;
    }

}

