/* ===================================
   Professional Website Template - Styles
   Premium Professional Design
   =================================== */

/* CSS Variables - Design System */
:root {
    /* Colors - Warm & Uplifting */
    --color-primary: #FF6B9D;
    --color-primary-dark: #E85285;
    --color-primary-light: #FFB5D1;
    --color-secondary: #FEC84A;
    --color-secondary-dark: #F5B82E;
    --color-accent: #A78BFA;
    --color-bg-dark: #1A1625;
    --color-bg-medium: #2D2438;
    --color-bg-light: #3F3449;
    --color-text-primary: #FEFEFE;
    --color-text-secondary: #E0D4F0;
    --color-text-muted: #B4A5C7;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 128px;

    /* Typography */
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --max-width-text: 720px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.1);
    --shadow-md: 0 4px 16px rgba(255, 107, 157, 0.15);
    --shadow-lg: 0 8px 32px rgba(255, 107, 157, 0.2);
    --shadow-xl: 0 12px 48px rgba(255, 107, 157, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), #ff9a3c, var(--color-secondary));
    z-index: 1001;
    transition: width 0.1s ease;
    pointer-events: none;
}

#scroll-progress-y {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 5px;
    height: 0%;
    background: linear-gradient(0deg, var(--color-accent), var(--color-primary), #ff9a3c, var(--color-secondary));
    z-index: 1001;
    transition: height 0.1s ease;
    pointer-events: none;
}

/* Hide native scrollbar — replaced by custom progress bars */
html {
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}


/* Main Content */
#main-content {
    opacity: 1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 22, 37, 0.8);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
    transition: all var(--transition-base);
}

nav.scrolled {
    background: rgba(26, 22, 37, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-link {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-logo-link:hover {
    color: var(--color-primary-light);
}

.logo-divider {
    opacity: 0.3;
    font-weight: 300;
}

.rotating-logo-word-wrap {
    text-decoration: none;
    display: inline-block;
    position: relative;
    /* Extra large height to ensure glow/script fonts are NEVER cut off */
    height: 4.5em;
    padding: 0 10px;
    margin-top: -1.4em;
    margin-bottom: -1.4em;
    overflow: hidden;
    /* Feather only top/bottom to prevent horizontal "box-y" clipping while keeping text sharp */
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 30%,
            black 70%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 30%,
            black 70%,
            transparent 100%);
}

.rotating-logo-word {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
    white-space: nowrap;
    will-change: opacity, filter, transform;
}

.rotating-logo-word.out {
    opacity: 0;
    filter: blur(12px) brightness(1.2);
    transform: scale(0.95);
}

.rotating-logo-word.in {
    opacity: 1;
    filter: none;
    /* Explicitly remove filter for maximum sharpness */
    transform: scale(1);
}

.rotating-logo-word.waiting {
    opacity: 0;
    filter: blur(12px) brightness(1.2);
    transform: scale(1.05);
    transition: none;
}

/* Hide rotating suffix on very small screens to prevent overflow */
@media (max-width: 480px) {

    .logo-divider,
    .rotating-logo-word-wrap {
        display: none;
    }
}

.nav-logo:hover {
    color: var(--color-primary-light);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-primary);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?w=1200&q=70&fm=webp') center/cover no-repeat;
    transform: translateZ(0);
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: url('https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?w=600&q=70&fm=webp');
        /* Disable parallax on mobile — translateZ(0) is enough to promote layer */
        will-change: auto;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 22, 37, 0.92) 0%, rgba(45, 36, 56, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    padding: var(--space-3xl) var(--space-md);
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #FF6B9D 0%, #FEC84A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--color-text-secondary);
    max-width: var(--max-width-text);
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    margin-bottom: var(--space-xl);
}

.hero-affirmation {
    background: rgba(255, 107, 157, 0.1);
    border: 2px solid rgba(255, 107, 157, 0.3);
    border-radius: 16px;
    padding: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    backdrop-filter: blur(6px);
}

.affirmation-text {
    font-size: 24px;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.affirmation-label {
    font-size: 14px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.vibe-share-btn {
    margin-top: 12px;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-display);
    transition: all 0.2s;
}

.vibe-share-btn:hover {
    background: rgba(255, 107, 157, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 16px rgba(255, 107, 157, 0.2);
}

/* Buttons */
.btn {
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    touch-action: manipulation;
    overflow: hidden;
}

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

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-bg-light);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(255, 107, 157, 0.1);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

/* Section Styles */
section {
    padding: var(--space-4xl) var(--space-md);
    position: relative;
}

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

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(18px, 3vw, 20px);
    color: var(--color-text-secondary);
    max-width: var(--max-width-text);
    margin: 0 auto;
}

/* Why Section */
.why-section {
    background: var(--color-bg-medium);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.5;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.why-card {
    padding: var(--space-xl);
    background: var(--color-bg-dark);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
    contain: layout style;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    transition: opacity var(--transition-base);
}

.why-card:nth-child(1)::before {
    background-image: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=400&q=70&fm=webp');
}

.why-card:nth-child(2)::before {
    background-image: url('https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=400&q=70&fm=webp');
}

.why-card:nth-child(3)::before {
    background-image: url('https://images.unsplash.com/photo-1507413245164-6160d8298b31?w=400&q=70&fm=webp');
}

.why-card {
    text-align: center;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 157, 0.3);
    box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
    opacity: 0.15;
}

.card-emoji {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.why-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.stat {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 1;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.step {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-bg-medium);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
    contain: layout style;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    transition: opacity var(--transition-base);
}

.step:nth-child(1)::before {
    background-image: url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=600&q=70&fm=webp');
}

.step:nth-child(2)::before {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=600&q=70&fm=webp');
}

.step:nth-child(3)::before {
    background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=600&q=70&fm=webp');
}

.step:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step:hover::before {
    opacity: 0.2;
    transform: scale(1.05);
}

.step-number {
    display: inline-flex;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.step p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features-section {
    background: var(--color-bg-medium);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--color-bg-dark);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
    contain: layout style;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.feature-card:nth-child(1)::before {
    background-image: url('https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?w=400&q=70&fm=webp');
}

.feature-card:nth-child(2)::before {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=400&q=70&fm=webp');
}

.feature-card:nth-child(3)::before {
    background-image: url('https://images.unsplash.com/photo-1677442136019-21780ecad995?w=400&q=70&fm=webp');
}

.feature-card:nth-child(4)::before {
    background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=400&q=70&fm=webp');
}

.feature-card:nth-child(5)::before {
    background-image: url('https://images.unsplash.com/photo-1434494878577-86c23bcb06b9?w=400&q=70&fm=webp');
}

.feature-card:nth-child(6)::before {
    background-image: url('https://images.unsplash.com/photo-1569025743873-ea3a9ade89f9?w=400&q=70&fm=webp');
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.12;
    transform: scale(1.05);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    color: white;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-card .btn {
    position: relative;
    z-index: 2;
}

.pricing-highlight {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(255, 107, 157, 0.1);
    border-radius: 12px;
}

.pricing-text {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 600;
}

/* Affirmations Section */
.affirmations-section {
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.affirmations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.affirmation-card {
    padding: var(--space-xl);
    background: var(--color-bg-medium);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 157, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    contain: layout style;
}

.affirmation-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.affirmation-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.affirmation-card:hover .affirmation-icon {
    transform: scale(1.1);
}

.affirmation-icon i {
    color: white;
}

.affirmation-quote {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.affirmation-category {
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Social Proof Section */
.social-proof-section {
    background: var(--color-bg-dark);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.testimonial {
    padding: var(--space-xl);
    background: var(--color-bg-medium);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.testimonial:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    font-style: italic;
    position: relative;
}

/* decorative quote removed — was causing stray " on social proof card */

.testimonial-author {
    font-weight: 600;
    color: var(--color-text-primary);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(99, 102, 241, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat-card .stat {
    color: var(--color-secondary);
}

.stat-card .stat-label {
    color: var(--color-text-secondary);
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1573497620053-ea5300f94f21?w=1200&q=70&fm=webp') center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.cta-section .section-header {
    position: relative;
    z-index: 1;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background: white;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.cta-note {
    margin-top: var(--space-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Support Section */
.support-section {
    background: var(--color-bg-dark);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.support-card {
    padding: var(--space-xl);
    background: var(--color-bg-medium);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 157, 0.1);
    text-align: center;
    transition: all var(--transition-base);
}

.support-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.support-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: var(--space-sm);
}

.support-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 107, 157, 0.1);
    padding: var(--space-2xl) var(--space-md);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 107, 157, 0.1);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal:nth-child(6) {
    transition-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --space-3xl: 80px;
        --space-4xl: 96px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 48px;
        --space-4xl: 56px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .steps,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .splash-logo {
        font-size: 36px;
    }

    .enter-prompt {
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 28px;
        --space-4xl: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {

    /* Disable smooth scroll — causes jank on touch devices */
    html {
        scroll-behavior: auto;
    }

    /* Tighten section header spacing */
    .section-header {
        margin-bottom: var(--space-xl);
    }

    /* Disable GPU-intensive backdrop-filter on non-essential elements */
    .hero-affirmation,
    .filter-tab,
    .premium-resource-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Hide floating word cloud — continuous GPU animation not worth it on mobile */
    .floating-particles {
        display: none !important;
    }

    /* Disable blob drift animations on mobile — each uses filter:blur(100px) + continuous
       transform animation, which is expensive on low-end GPUs */
    .why-section::after,
    .affirmations-section::after,
    .features-section::after,
    .blog-showcase-section::after,
    .how-it-works-section::after,
    .cta-section::after {
        animation: none !important;
        display: none !important;
    }

    /* Stop emoji bouncing on mobile — not visible to users and wastes compositor budget */
    .card-emoji,
    .use-case-icon,
    .card-envelope-icon {
        animation: none !important;
    }

    /* Remove card tilts on mobile — stacked layout makes rotations look broken */
    .why-card:nth-child(1),
    .why-card:nth-child(2),
    .why-card:nth-child(3),
    .step:nth-child(1),
    .step:nth-child(2),
    .step:nth-child(3),
    .affirmation-card:nth-child(1),
    .affirmation-card:nth-child(2),
    .affirmation-card:nth-child(3),
    .affirmation-card:nth-child(4),
    .affirmation-card:nth-child(5),
    .affirmation-card:nth-child(6),
    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(3),
    .feature-card:nth-child(4),
    .blog-showcase-card:nth-child(1),
    .blog-showcase-card:nth-child(2),
    .blog-showcase-card:nth-child(3),
    .blog-showcase-card:nth-child(4) {
        transform: none !important;
    }
}

/* Email Signup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--color-bg-medium);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: var(--space-2xl);
    position: relative;
    border: 2px solid rgba(255, 107, 157, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    background: rgba(255, 107, 157, 0.1);
    color: var(--color-primary);
    transform: rotate(90deg);
}

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

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    color: var(--color-text-secondary);
    font-size: 16px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font-body);
    background: var(--color-bg-dark);
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-radius: 12px;
    color: var(--color-text-primary);
    transition: all var(--transition-base);
}

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

.form-input::placeholder {
    color: var(--color-text-muted);
}

.btn-block {
    width: 100%;
}

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

.success-message {
    text-align: center;
    padding: var(--space-xl);
}

.success-icon {
    font-size: 64px;
    margin-bottom: var(--space-md);
    animation: bounce 0.6s ease-out;
}

.success-message h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.success-message p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: var(--space-xl);
    }

    .modal-header h2 {
        font-size: 28px;
    }
}

/* Send a Card Section */
.send-card-section {
    background: var(--color-bg-dark);
    position: relative;
}

.send-card-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 60%, var(--vibe-wash, rgba(17, 153, 142, 0.07)) 0%, transparent 55%);
    pointer-events: none;
    transition: background 1s ease;
}

.send-card-preview {
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.card-example {
    background: var(--color-bg-medium);
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-radius: 24px;
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-example::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-envelope-icon {
    font-size: 64px;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

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

    50% {
        transform: translateY(-10px);
    }
}

.card-example h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    color: var(--color-primary);
}

.card-steps {
    text-align: left;
    margin: var(--space-xl) auto;
    max-width: 500px;
    position: relative;
    z-index: 1;
    list-style-position: inside;
}

.card-steps li {
    padding: var(--space-sm) 0;
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.card-steps li:last-child {
    border-bottom: none;
}

.card-use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.use-case {
    background: var(--color-bg-medium);
    padding: var(--space-xl);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 157, 0.1);
    text-align: center;
    transition: all var(--transition-base);
}

.use-case:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.use-case h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.use-case p {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .card-use-cases {
        grid-template-columns: 1fr;
    }

    .card-example {
        padding: var(--space-xl);
    }
}


/* ============================================
   WONKY DESIGN SYSTEM
   Nothing is perfect. Nothing should be.
   This is a passion project, not a therapy clinic.
   ============================================ */

/* --- Playful Font Override --- */

.section-title,
.hero-title,
.why-card h3,
.step h3,
.feature-card h3,
.affirmation-quote {
    font-family: 'Baloo 2', 'Space Grotesk', cursive !important;
}

.blog-showcase-section {
    position: relative;
    overflow: hidden;
}

/* --- BIG Floating Blobs (actually visible) --- */
.why-section::after,
.affirmations-section::after,
.features-section::after,
.blog-showcase-section::after,
.how-it-works-section::after,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: blobDrift 20s ease-in-out infinite alternate;
    will-change: transform;
}

.why-section::after {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -150px;
    right: -120px;
    animation-duration: 18s;
}

.affirmations-section::after {
    width: 450px;
    height: 450px;
    background: var(--color-secondary);
    bottom: -120px;
    left: -100px;
    animation-duration: 22s;
    animation-delay: -5s;
}

.features-section::after {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    top: 40%;
    right: -200px;
    animation-duration: 26s;
    animation-delay: -8s;
}

.blog-showcase-section::after {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    bottom: -120px;
    left: 15%;
    animation-duration: 20s;
    animation-delay: -3s;
}

.how-it-works-section::after {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: -80px;
    left: -80px;
    animation-duration: 24s;
    animation-delay: -12s;
}

.cta-section::after {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
}

@keyframes blobDrift {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    20% {
        transform: translate(40px, -30px) scale(1.1) rotate(5deg);
    }

    40% {
        transform: translate(-30px, 50px) scale(0.9) rotate(-3deg);
    }

    60% {
        transform: translate(20px, 20px) scale(1.15) rotate(8deg);
    }

    80% {
        transform: translate(-15px, -40px) scale(0.95) rotate(-5deg);
    }

    100% {
        transform: translate(10px, -20px) scale(1.05) rotate(3deg);
    }
}

/* --- AGGRESSIVE Card Tilts (actually noticeable) --- */
.why-card:nth-child(1) {
    transform: rotate(-2deg);
}

.why-card:nth-child(2) {
    transform: rotate(1.5deg) translateY(12px);
}

.why-card:nth-child(3) {
    transform: rotate(-1.8deg) translateY(-8px);
}

.step:nth-child(1) {
    transform: rotate(1.5deg);
}

.step:nth-child(2) {
    transform: rotate(-2deg) translateY(15px);
}

.step:nth-child(3) {
    transform: rotate(2.5deg) translateY(-10px);
}

.affirmation-card:nth-child(1) {
    transform: rotate(-1.5deg);
}

.affirmation-card:nth-child(2) {
    transform: rotate(2deg) translateY(10px);
}

.affirmation-card:nth-child(3) {
    transform: rotate(-2.5deg) translateY(-5px);
}

.affirmation-card:nth-child(4) {
    transform: rotate(1.8deg) translateY(8px);
}

.affirmation-card:nth-child(5) {
    transform: rotate(-1.2deg) translateY(-12px);
}

.affirmation-card:nth-child(6) {
    transform: rotate(2.2deg);
}

.feature-card:nth-child(1) {
    transform: rotate(-1.5deg);
}

.feature-card:nth-child(2) {
    transform: rotate(2deg) translateY(10px);
}

.feature-card:nth-child(3) {
    transform: rotate(1.8deg) translateY(-8px);
}

.feature-card:nth-child(4) {
    transform: rotate(-2.2deg) translateY(5px);
}

.blog-showcase-card:nth-child(1) {
    transform: rotate(-1.8deg);
}

.blog-showcase-card:nth-child(2) {
    transform: rotate(2.2deg) translateY(12px);
}

.blog-showcase-card:nth-child(3) {
    transform: rotate(-1.5deg) translateY(-10px);
}

.blog-showcase-card:nth-child(4) {
    transform: rotate(2deg) translateY(6px);
}

/* --- Wobble on Hover (jiggle, not just lift) --- */
@keyframes wobble {
    0% {
        transform: rotate(0deg) translateY(-8px);
    }

    25% {
        transform: rotate(2deg) translateY(-8px);
    }

    50% {
        transform: rotate(-1.5deg) translateY(-8px);
    }

    75% {
        transform: rotate(1deg) translateY(-8px);
    }

    100% {
        transform: rotate(0deg) translateY(-8px);
    }
}

.why-card:hover,
.step:hover,
.affirmation-card:hover,
.feature-card:hover,
.blog-showcase-card:hover {
    animation: wobble 0.4s ease-in-out !important;
    transform: rotate(0deg) translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.25) !important;
}

/* --- CHAOTIC Organic Border Radius --- */
.why-card:nth-child(1) {
    border-radius: 30px 12px 35px 8px;
}

.why-card:nth-child(2) {
    border-radius: 8px 35px 12px 30px;
}

.why-card:nth-child(3) {
    border-radius: 25px 8px 30px 15px;
}

.step:nth-child(1) {
    border-radius: 35px 10px 30px 15px;
}

.step:nth-child(2) {
    border-radius: 10px 30px 8px 35px;
}

.step:nth-child(3) {
    border-radius: 30px 15px 35px 8px;
}

.affirmation-card:nth-child(1) {
    border-radius: 25px 35px 10px 30px;
}

.affirmation-card:nth-child(2) {
    border-radius: 35px 10px 30px 8px;
}

.affirmation-card:nth-child(3) {
    border-radius: 10px 30px 8px 35px;
}

.affirmation-card:nth-child(4) {
    border-radius: 30px 8px 35px 15px;
}

.affirmation-card:nth-child(5) {
    border-radius: 8px 35px 25px 30px;
}

.affirmation-card:nth-child(6) {
    border-radius: 35px 25px 10px 35px;
}

.feature-card:nth-child(1) {
    border-radius: 35px 10px 30px 8px;
}

.feature-card:nth-child(2) {
    border-radius: 8px 30px 10px 35px;
}

.feature-card:nth-child(3) {
    border-radius: 30px 8px 35px 25px;
}

.feature-card:nth-child(4) {
    border-radius: 10px 35px 8px 30px;
}

.blog-showcase-card:nth-child(1) {
    border-radius: 30px 10px 35px 8px;
}

.blog-showcase-card:nth-child(2) {
    border-radius: 8px 35px 10px 30px;
}

.blog-showcase-card:nth-child(3) {
    border-radius: 35px 8px 30px 12px;
}

.blog-showcase-card:nth-child(4) {
    border-radius: 12px 30px 8px 35px;
}

.support-card:nth-child(1) {
    border-radius: 30px 12px 35px 8px;
}

.support-card:nth-child(2) {
    border-radius: 8px 30px 12px 35px;
}

.support-card:nth-child(3) {
    border-radius: 25px 8px 30px 25px;
}

.testimonial {
    border-radius: 25px 35px 10px 30px;
}

/* --- Bouncing Emoji --- */
@keyframes emojiBounce {

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

    30% {
        transform: translateY(-8px) rotate(5deg);
    }

    60% {
        transform: translateY(-4px) rotate(-3deg);
    }
}

.card-emoji,
.use-case-icon,
.card-envelope-icon {
    display: inline-block;
    animation: emojiBounce 3s ease-in-out infinite;
    will-change: transform;
}

.why-card:nth-child(2) .card-emoji {
    animation-delay: -1s;
}

.why-card:nth-child(3) .card-emoji {
    animation-delay: -2s;
}

.use-case:nth-child(2) .use-case-icon {
    animation-delay: -0.5s;
}

.use-case:nth-child(3) .use-case-icon {
    animation-delay: -1s;
}

.use-case:nth-child(4) .use-case-icon {
    animation-delay: -1.5s;
}

/* --- Wonky Step Numbers --- */
.step:nth-child(1) .step-number {
    border-radius: 20px 8px 20px 12px;
    transform: rotate(-8deg);
}

.step:nth-child(2) .step-number {
    border-radius: 50%;
    transform: rotate(5deg);
}

.step:nth-child(3) .step-number {
    border-radius: 8px 20px 12px 20px;
    transform: rotate(-12deg);
}

/* --- Blob-shaped Icons --- */
.affirmation-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.affirmation-card:nth-child(1) .affirmation-icon {
    border-radius: 50% 50% 50% 25%;
}

.affirmation-card:nth-child(2) .affirmation-icon {
    border-radius: 50% 25% 50% 50%;
}

.affirmation-card:nth-child(3) .affirmation-icon {
    border-radius: 25% 50% 50% 50%;
}

.affirmation-card:nth-child(4) .affirmation-icon {
    border-radius: 50% 50% 25% 50%;
}

.affirmation-card:nth-child(5) .affirmation-icon {
    border-radius: 35% 50% 50% 30%;
}

.affirmation-card:nth-child(6) .affirmation-icon {
    border-radius: 50% 35% 30% 50%;
}

.feature-card:nth-child(1) .feature-icon {
    border-radius: 20px 8px 25px 12px;
}

.feature-card:nth-child(2) .feature-icon {
    border-radius: 50%;
}

.feature-card:nth-child(3) .feature-icon {
    border-radius: 8px 25px 12px 20px;
}

.feature-card:nth-child(4) .feature-icon {
    border-radius: 25px 12px 20px 8px;
}

/* --- Wonky Buttons --- */
.btn-primary {
    border-radius: 18px 10px 18px 10px;
}

.btn-secondary {
    border-radius: 10px 18px 10px 18px;
}

.btn-large {
    border-radius: 20px 12px 20px 12px;
}

/* --- Floating Decorative Symbols --- */
.section-header {
    position: relative;
}

.why-section .section-header::before {
    content: '~';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
    font-size: 40px;
    color: var(--color-primary);
    opacity: 0.25;
}

.features-section .section-header::before {
    content: '*';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    font-size: 36px;
    color: var(--color-secondary);
    opacity: 0.3;
}




.how-it-works-section .section-header::before {
    content: '↓';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(8deg);
    font-size: 28px;
    color: var(--color-accent);
    opacity: 0.3;
}

/* --- Hero Affirmation Box Wonky --- */
.hero-affirmation {
    border-radius: 30px 12px 35px 8px !important;
    transform: rotate(-1deg);
}

/* --- Wonky Pricing Box --- */
.pricing-highlight {
    border-radius: 25px 35px 10px 30px;
    transform: rotate(0.5deg);
}

/* --- Scatter Grid Offsets (cards don't perfectly line up) --- */
.why-grid {
    gap: 48px 40px;
}

.features-grid {
    gap: 32px 28px;
}

.steps {
    gap: 48px 36px;
}

.stat-card:nth-child(1) {
    border-radius: 25px 8px 30px 12px;
    transform: rotate(-1.5deg);
}

.stat-card:nth-child(2) {
    border-radius: 8px 30px 12px 25px;
    transform: rotate(2deg) translateY(8px);
}

.stat-card:nth-child(3) {
    border-radius: 30px 12px 8px 30px;
    transform: rotate(-2.5deg) translateY(-6px);
}

.stat-card:nth-child(4) {
    border-radius: 12px 25px 30px 8px;
    transform: rotate(1.8deg);
}

/* --- Playful Link Underlines --- */
.nav-links a::after {
    height: 3px !important;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)) !important;
}

/* --- Section Title Gradient Pop --- */
.why-section .section-title {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-it-works-section .section-title {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- CTA Button Wobble --- */
.cta-section .btn-primary {
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: rotate(-1deg) scale(1);
    }

    50% {
        transform: rotate(1deg) scale(1.03);
    }
}

/* --- Mobile: Reduce chaos for usability --- */
@media (max-width: 768px) {

    .why-card:nth-child(n),
    .affirmation-card:nth-child(n),
    .step:nth-child(n),
    .blog-showcase-card:nth-child(n),
    .feature-card:nth-child(n),
    .stat-card:nth-child(n) {
        transform: rotate(0deg) translateY(0) !important;
    }

    .why-card:nth-child(n),
    .affirmation-card:nth-child(n),
    .step:nth-child(n),
    .blog-showcase-card:nth-child(n),
    .feature-card:nth-child(n),
    .support-card:nth-child(n),
    .stat-card:nth-child(n) {
        border-radius: 24px;
    }

    .hero-affirmation {
        transform: rotate(0deg) !important;
    }
}

/* --- Global Image-Backed Blog Cards --- */
.blog-card-img {
    max-width: 100%;
    height: 480px;
    position: relative;
    color: #fff;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 20px -9px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #1a1625;
    /* Placeholder color before img loads */
}

.blog-card-img .card-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-img:hover .card-cover {
    transform: scale(1.05);
}

.blog-card-img .color-overlay {
    background: rgba(20, 20, 25, 0.2);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    transition: background 0.4s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.blog-card-img .gradient-overlay {
    background-image: linear-gradient(transparent 0%, rgba(10, 10, 15, 0.95) 80%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    transition: transform 0.4s;
}

.blog-card-img:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 107, 157, 0.2);
    transform: translateY(-8px) rotate(0.5deg);
}

.blog-card-img:hover .card-info {
    opacity: 1;
    bottom: 30px;
}

.blog-card-img:hover .color-overlay {
    background: rgba(20, 20, 25, 0.6);
}

.blog-card-img .title-content {
    text-align: center;
    margin: 180px 0 0 0;
    position: absolute;
    z-index: 20;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 25px;
}

.blog-card-img:hover .title-content {
    margin-top: 80px;
}

.blog-card-img h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    display: inline-block;
    font-family: 'Baloo 2', var(--font-display);
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    transition: all 0.3s;
}

.blog-card-img:hover h2 {
    text-shadow: 0 8px 25px rgba(0, 0, 0, 1);
}

.blog-card-img h2::after {
    content: " ";
    display: block;
    width: 10%;
    height: 3px;
    margin: 20px auto;
    border: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: all 0.4s ease;
    border-radius: 2px;
}

.blog-card-img:hover h2::after {
    width: 60%;
}

.blog-card-img .blog-tag {
    color: #d9f99d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    font-family: var(--font-body);
}

.blog-card-img .card-info {
    box-sizing: border-box;
    width: 100%;
    position: absolute;
    bottom: -60px;
    left: 0;
    margin: 0 auto;
    padding: 0 30px;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    z-index: 20;
    opacity: 0;
    font-family: var(--font-body);
    transition: bottom 0.6s, opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.blog-card-img .card-info p {
    margin-bottom: 20px;
}

.blog-card-img .read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
}

.blog-card-img .read-more-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(205, 255, 96, 0.3);
}

.blog-card-img .read-more-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

/* Related Post Cards (smaller version for bottom of posts) */
.related-card {
    height: 280px !important;
}

.related-card .title-content {
    margin-top: 25px !important;
    /* Pin to top */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.related-card .blog-tag {
    margin-bottom: 4px !important;
    /* Tighten spacing between category and title */
}

.related-card:hover .title-content {
    margin-top: 15px !important;
    /* Subtle upward lift */
}

.related-card h2 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
}

.related-card .card-info {
    bottom: -150px !important;
    /* Hide deeper */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.related-card:hover .card-info {
    bottom: 20px !important;
}

.related-card .card-info p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .read-more-btn {
    padding: 5px 12px !important;
    font-size: 0.75rem !important;
}

.blog-card-img .read-more-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   ALIVE ANIMATION STYLES
   ========================================== */

/* --- Varied fonts across sections --- */

.hero-subtitle {
    font-family: 'Fredoka', sans-serif;
    font-weight: 400;
}

.why-section .section-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem !important;
}

.send-card-section .section-subtitle {
    font-family: 'Fredoka', sans-serif;
}

.cta-section .section-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem !important;
}

.affirmation-text {
    font-family: 'Caveat', cursive !important;
    font-size: 1.4rem !important;
}

/* --- Hero title animated gradient --- */
.hero-title {
    background: linear-gradient(135deg, #FF6B9D, #FEC84A, #A78BFA, #CDFF60, #FF6B9D);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Directional scroll reveals --- */
.reveal-directional {
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-directional[data-reveal-dir="left"] {
    transform: translateX(-60px) rotate(-3deg);
}

.reveal-directional[data-reveal-dir="right"] {
    transform: translateX(60px) rotate(3deg);
}

.reveal-directional[data-reveal-dir="bottom"] {
    transform: translateY(60px) scale(0.9);
}

.reveal-directional[data-reveal-dir="rotate-in"] {
    transform: rotate(-8deg) scale(0.85);
}

.reveal-directional.revealed {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg) scale(1) !important;
}

/* Stagger child delays */
.reveal-directional:nth-child(1) {
    transition-delay: 0s;
}

.reveal-directional:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-directional:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-directional:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-directional:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal-directional:nth-child(6) {
    transition-delay: 0.5s;
}

/* --- Section title animation --- */
.title-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.title-animate.title-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animated underline that draws itself */
.title-animate::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    border-radius: 2px;
    transition: width 0.8s ease 0.3s;
}

.title-animate.title-visible::after {
    width: 80px;
}

/* --- Floating smoke words layer --- */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.smoke-word {
    position: absolute;
    font-family: 'Caveat', cursive;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform-origin: center;
    /* Heavy, glowing text-shadow for a dense smoke/cloud look */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 107, 157, 0.3);
    animation: smokeDrift linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes smokeDrift {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(var(--start-rot, 0deg)) scale(0.6);
        filter: blur(8px);
    }

    30% {
        opacity: 0.4;
        filter: blur(3px);
    }

    50% {
        opacity: 0.7;
        /* Drift sideways slightly while moving up */
        transform: translate(calc(var(--scatter-x, 0px) * 0.4), -150px) scale(1.1);
        filter: blur(1px);
    }

    70% {
        opacity: 0.4;
        filter: blur(3px);
    }

    100% {
        opacity: 0;
        /* Drift further sideways to terminal position */
        transform: translate(var(--scatter-x, 100px), -400px) rotate(var(--end-rot, 20deg)) scale(1.6);
        filter: blur(12px);
    }
}

/* --- Typewriter cursor for vibe text --- */
#vibeText {
    font-family: 'Caveat', cursive !important;
    font-size: 1.5rem !important;
}

/* --- Hero letter animation base --- */
.hero-letter {
    display: inline-block;
    will-change: transform, opacity;
}

/* --- Smooth hero section load --- */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Navbar Crisis Badge Styling */
.nav-crisis-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    margin-right: 15px;
}

.nav-crisis-badge:hover {
    background: rgba(255, 68, 68, 0.15);
    border-color: rgba(255, 68, 68, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.15);
}

.nav-crisis-heart {
    font-size: 16px;
    filter: drop-shadow(0 0 5px rgba(255, 68, 68, 0.5));
    animation: navHeartbeat 1.5s ease-in-out infinite;
}

.nav-crisis-text {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes navHeartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.25);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .nav-crisis-text {
        display: none;
    }

    .nav-crisis-badge {
        padding: 6px;
        margin-right: 8px;
    }
}


/* ===================================
   Blog Header — Clean Standout Title
   =================================== */
.blog-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: #fff;
    text-align: center;
}

/* Mobile */
@media (max-width: 600px) {
    .blog-title {
        font-size: clamp(28px, 8vw, 42px);
    }
}

/* ============================================
   PREMIUM PRODUCT CARDS (Monetization)
   ============================================ */
.premium-resource-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    transition: all var(--transition-base);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.premium-resource-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image-container {
    flex-shrink: 0;
    width: 140px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-resource-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-details {
    flex-grow: 1;
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.product-cta i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.premium-resource-card:hover .product-cta i {
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .premium-resource-card {
        flex-direction: column;
        padding: var(--space-lg);
        text-align: center;
    }

    .product-image-container {
        width: 120px;
        height: 160px;
        margin: 0 auto;
    }

    .product-cta {
        justify-content: center;
    }
}

/* ===================================
   Mobile Card Scaling (Homepage)
   =================================== */
@media (max-width: 768px) {

    .why-card,
    .step,
    .affirmation-card {
        padding: var(--space-lg);
        /* Shrinks from xl */
    }

    .why-card h3 {
        font-size: 24px;
    }

    .why-card .card-emoji {
        font-size: 36px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .step h3 {
        font-size: 20px;
    }

    .affirmation-icon {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {

    .why-card,
    .step,
    .affirmation-card {
        padding: var(--space-md);
    }

    .why-card h3 {
        font-size: 20px;
    }

    .why-card p,
    .step p,
    .affirmation-quote {
        font-size: 14px;
    }

    .why-card .card-emoji {
        font-size: 28px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .step h3 {
        font-size: 18px;
    }

    .affirmation-icon {
        width: 40px;
        height: 40px;
    }

    .affirmation-quote {
        font-size: 16px;
    }
}

/* ===================================
   Hamburger Navigation Menu
   =================================== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
    touch-action: manipulation;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate to X when open */
nav.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

nav.nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

nav.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    nav.nav-open .nav-links {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 22, 37, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 8px 24px 20px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 107, 157, 0.2);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        align-items: flex-start !important;
    }

    nav.nav-open .nav-links li {
        width: 100%;
    }

    nav.nav-open .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    nav.nav-open .nav-links li:last-child a {
        border-bottom: none;
    }

    nav.nav-open .nav-crisis-badge {
        justify-content: flex-start;
        margin-right: 0;
        margin: 6px 0;
        width: fit-content;
        padding: 10px 16px;
    }

    nav.nav-open .nav-crisis-text {
        display: inline-block;
        font-size: 14px;
    }
}

/* ===================================
   Reduced Motion Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    /* Ensure animated-in elements are visible */
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-affirmation,
    .splash-logo,
    .splash-tagline,
    .enter-prompt {
        opacity: 1 !important;
        animation: none !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Mobile Only Nav Item */
@media (min-width: 769px) {
    .mobile-only-nav-item {
        display: none !important;
    }
}

/* ===================================
   Blog Post Inline Components 
   =================================== */

/* Copyable Message Block */
.copyable-message-block {
    background: linear-gradient(145deg, rgba(255, 107, 157, 0.05), rgba(205, 255, 96, 0.05));
    border: 1px solid rgba(255, 107, 157, 0.15);
    border-radius: 20px;
    padding: 25px 30px;
    margin: 35px 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.copyable-message-block::before {
    content: "💬";
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 24px;
    background: var(--bg-dark);
    padding: 0 10px;
}

.copyable-message-text {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 3px solid var(--color-primary);
}

.copyable-message-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.copyable-message-actions .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 12px;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: rgba(205, 255, 96, 0.2);
    color: #d9f99d;
    border-color: rgba(205, 255, 96, 0.4);
}

/* Inline Send Card CTA */
.inline-cta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 16px;
    padding: 15px 25px;
    margin: 30px 0;
    border-left: 4px solid var(--color-primary);
}

.inline-cta-text {
    flex-grow: 1;
}

.inline-cta-text strong {
    display: block;
    color: var(--color-text-primary);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.inline-cta-text p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.inline-cta-btn {
    margin-left: 20px;
    flex-shrink: 0;
}

/* Contextual Related Reading */
.inline-related-reading {
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid var(--color-secondary);
    font-style: italic;
    color: var(--color-text-secondary);
}

.inline-related-reading a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.inline-related-reading a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .inline-cta-block {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .inline-cta-btn {
        margin-left: 0;
        width: 100%;
    }

    .inline-cta-btn .btn {
        width: 100%;
        justify-content: center;
    }

    .copyable-message-actions {
        flex-direction: column;
    }

    .copyable-message-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Keep Reading Cards --- */
.related-card:hover {
    cursor: pointer;
    transform: translateY(-5px);
    border-color: rgba(205, 255, 96, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(205, 255, 96, 0.1);
}

.related-card:hover img {
    transform: scale(1.05) !important;
}

.related-card .read-more::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

/* ── 3-Card Send Flow ── */
/* ── Card Demo Section ─────────────────────────────────────── */
.card-demo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

/* Particle canvas */
#demoCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    max-width: 140%;
    height: 700px;
    pointer-events: none;
    z-index: 0;
}

/* Lift interactive elements above canvas */
.demo-pills,
.demo-stage,
.demo-cta {
    position: relative;
    z-index: 2;
}

/* Category pills */
.demo-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.demo-pill {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-display);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.demo-pill:hover {
    border-color: rgba(255, 107, 157, 0.5);
    color: white;
    transform: translateY(-2px);
    background: rgba(255, 107, 157, 0.08);
}

.demo-pill.active {
    border-color: var(--color-primary);
    background: rgba(255, 107, 157, 0.15);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.2);
}

/* 3D stage */
.demo-stage {
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ambient glow — blurred blob that shifts color with the vibe */
.demo-glow {
    position: absolute;
    width: 420px;
    height: 580px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    transition: background 0.9s ease;
    transform: translateY(10px) scale(1.08);
}

/* The card itself */
.demo-card {
    width: 340px;
    height: 490px;
    border-radius: 26px;
    position: relative;
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    animation: demoFloat 5s ease-in-out infinite;
    z-index: 2;
}

@keyframes demoFloat {

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

    50% {
        transform: translateY(-10px);
    }
}

.demo-card.is-tilting {
    animation: none;
}

@keyframes demoFlipOut {
    from {
        transform: perspective(900px) rotateY(0deg);
    }

    to {
        transform: perspective(900px) rotateY(90deg);
    }
}

@keyframes demoFlipIn {
    from {
        transform: perspective(900px) rotateY(-90deg);
    }

    to {
        transform: perspective(900px) rotateY(0deg);
    }
}

.demo-card.flip-out {
    animation: demoFlipOut 0.2s ease-in forwards !important;
}

.demo-card.flip-in {
    animation: demoFlipIn 0.2s ease-out forwards !important;
}

/* Gradient / image background layer */
.demo-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: inherit;
    z-index: 0;
}

/* Animated video background */
.demo-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 0;
    display: none;
}

/* Holographic shimmer overlay */
.demo-card-holo {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0.7;
    mix-blend-mode: overlay;
    background: linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0.0) 25%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0.12) 55%,
            rgba(255, 255, 255, 0.0) 75%,
            transparent 100%);
    background-size: 300% 300%;
    animation: holoSlide 7s ease-in-out infinite alternate;
}

@keyframes holoSlide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Noise texture */
.demo-card-noise {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

/* Glassmorphic content container */
.demo-card-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    text-align: center;
}

.demo-card-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 5px 14px;
}

.demo-card-quote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 600;
    color: white;
    line-height: 1.45;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.7),
        0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 28px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 20px 18px;
    transition: opacity 0.3s ease;
}

.demo-card-quote.fading {
    opacity: 0;
}

.demo-card-from {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.demo-card-from span {
    opacity: 0.6;
}

.demo-card-from strong {
    font-weight: 700;
    color: white;
}

/* Shimmer clip — overflow:hidden wrapper so shimmer stays inside card */
.demo-card-shimmer-clip {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

/* Foil shimmer on card transition */
.demo-card-shimmer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.55) 50%,
            transparent 70%);
    transform: translateX(-120%);
    transition: none;
}

.demo-card-shimmer.sweep {
    transition: transform 0.6s ease;
    transform: translateX(120%);
}

/* CTA below card */
.demo-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.demo-cta-btn {
    padding: 18px 48px;
    font-size: 1.05rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 12px 32px rgba(255, 107, 157, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(255, 107, 157, 0.45);
}

.demo-cta-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.3px;
}

/* ── Mobile demo card layout ── */
@media (max-width: 768px) {

    /* Hide the glow — filter:blur creates a compositing layer that
       can sit above the card on some mobile renderers */
    .demo-glow {
        display: none;
    }

    /* Scroll pills horizontally instead of wrapping into rows */
    .demo-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        justify-content: flex-start;
        max-width: 100%;
    }

    .demo-pills::-webkit-scrollbar {
        display: none;
    }

    /* Make the card slightly smaller */
    .demo-card {
        width: 280px;
        height: 400px;
    }

    /* Remove float animation on mobile — keeps it static and avoids
       any layer-ordering issues */
    .demo-card {
        animation: none;
    }

    /* Make sure the card content is always readable */
    .demo-card-content {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.3);
    }

    /* Add a clear card border so the shape is obvious on any bg */
    .demo-card {
        border: 1px solid rgba(255, 255, 255, 0.18);
        will-change: transform;
    }

    /* Reduce canvas size on mobile */
    #demoCanvas {
        width: 120%;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .demo-card {
        width: 260px;
        height: 370px;
    }

    .demo-card-quote {
        font-size: 1.05rem;
        padding: 16px 14px;
    }

    .demo-cta-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* ── Blog Showcase ── */
.blog-showcase-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(205, 255, 96, 0.02), transparent);
}

.blog-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.blog-showcase-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    contain: layout style;
}

@media (max-width: 768px) {
    .blog-showcase-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(45, 36, 56, 0.95);
    }
}

.blog-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(205, 255, 96, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-showcase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(205, 255, 96, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(205, 255, 96, 0.1);
}

.blog-showcase-card:hover::before {
    opacity: 1;
}

.blog-showcase-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-showcase-card h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-showcase-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-showcase-link {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-showcase-card:hover .blog-showcase-link {
    color: #d9f99d;
}