/* ============================================
   Dream Recall Website - Modern Design System
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6E56CF;
    --primary-light: #9B8CFF;
    --primary-dark: #3C2A78;
    --secondary: #0EA5A4;
    --accent: #F4C95D;
    --coral: #FF7A6B;
    --success: #57D68D;
    --accent-glow: rgba(255, 213, 79, 0.4);

    /* Backgrounds */
    --bg-dark: #0a0a14;
    --bg-darker: #060610;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6E56CF 0%, #0EA5A4 55%, #F4C95D 100%);
    --gradient-hero: radial-gradient(ellipse at top left, #222048 0%, #0b1725 42%, #060610 100%);
    --gradient-card: linear-gradient(135deg, rgba(110, 86, 207, 0.16) 0%, rgba(14, 165, 164, 0.12) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(110, 86, 207, 0.35) 0%, rgba(244, 201, 93, 0.2) 100%);
    --gradient-text: linear-gradient(135deg, #9B8CFF, #F4C95D, #0EA5A4);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --spacing-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(103, 58, 183, 0.4);
    --shadow-glow-accent: 0 0 40px rgba(255, 213, 79, 0.3);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--text-primary);
    color: var(--bg-dark);
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform var(--transition-fast);
}

.skip-link:focus-visible {
    transform: translateY(0);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ============================================
   Animated Background
   ============================================ */

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -3;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 350px 200px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 420px 50px, rgba(255,255,255,0.6), transparent);
    background-size: 450px 300px;
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.shooting-stars::before,
.shooting-stars::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), transparent);
    border-radius: 50%;
    animation: shooting 6s linear infinite;
}

.shooting-stars::before {
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.shooting-stars::after {
    top: 60%;
    left: -100px;
    animation-delay: 3s;
}

@keyframes shooting {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(100px) rotate(-45deg);
        opacity: 0;
    }
}

/* ============================================
   Container
   ============================================ */

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 80px rgba(103, 58, 183, 0.6);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 10, 20, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.logo-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 10px rgba(255, 213, 79, 0.5));
}

.logo-img {
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 213, 79, 0.3));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    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(--gradient-primary);
    transition: width var(--transition-normal);
}

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

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem var(--container-padding) 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(103, 58, 183, 0.3);
    backdrop-filter: blur(10px);
}

.badge-icon {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    color: var(--text-primary);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 300px;
}

.phone-frame {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(103, 58, 183, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #0a0a14;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    border-radius: 35px;
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(103, 58, 183, 0.3) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* App Preview Inside Phone */
.app-preview {
    padding: 60px 16px 20px;
    height: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-time {
    font-size: 14px;
    font-weight: 600;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.preview-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dream-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.dream-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.dream-emotions {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.dream-emotions .emotion {
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(103, 58, 183, 0.2);
    border-radius: 12px;
}

.dream-tags {
    display: flex;
    gap: 6px;
}

.dream-tags .tag {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 600;
}

.dream-tags .lucid {
    background: linear-gradient(135deg, #673AB7, #3F51B5);
}

.dream-tags .vivid {
    background: linear-gradient(135deg, #FFD54F, #FFA726);
    color: #1a1a2e;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.card-icon {
    font-size: 1.25rem;
}

.card-1 {
    top: 5%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 35%;
    right: -5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: -5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 1.25rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

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

.feature-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    border-color: rgba(103, 58, 183, 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.featured {
    grid-column: span 1;
    grid-row: span 2;
    background: var(--gradient-card);
    border-color: rgba(103, 58, 183, 0.3);
}

.feature-icon-wrapper {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    box-shadow: var(--shadow-glow);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    background: var(--bg-dark);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: var(--shadow-glow);
}

.step-content {
    padding: 2rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.8;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mini Phone Recording UI */
.mini-phone {
    width: 200px;
    padding: 2rem;
    background: var(--bg-glass);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.recording-ui {
    text-align: center;
}

.rec-indicator {
    width: 16px;
    height: 16px;
    background: #EF4444;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: pulse-red 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

@keyframes pulse-red {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.waveform {
    display: flex;
    justify-content: center;
    gap: 4px;
    height: 40px;
    align-items: center;
    margin-bottom: 1rem;
}

.waveform span {
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 20px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 35px; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 20px; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 30px; animation-delay: 0.7s; }
.waveform span:nth-child(9) { height: 25px; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 15px; animation-delay: 0.9s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.rec-time {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 280px;
}

.cloud-tag {
    padding: 0.625rem 1rem;
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cloud-tag.active {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.cloud-tag:hover {
    transform: translateY(-2px);
    border-color: rgba(103, 58, 183, 0.5);
}

/* Insight Preview */
.insight-preview {
    padding: 1.5rem;
    background: var(--bg-glass);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.insight-item:last-child {
    border-bottom: none;
}

.insight-icon {
    font-size: 1.25rem;
}

.insight-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Analysis Section
   ============================================ */

.ai-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    overflow: hidden;
}

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

.ai-text {
    max-width: 550px;
}

.ai-text .section-badge {
    margin-bottom: 1.5rem;
}

.ai-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.ai-text .section-subtitle {
    text-align: left;
    margin-bottom: 2.5rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-feature-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.ai-feature-content p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Analysis Card */
.ai-visual {
    display: flex;
    justify-content: center;
}

.analysis-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-glass);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--gradient-primary);
}

.analysis-icon {
    font-size: 1.5rem;
}

.analysis-title {
    font-weight: 700;
    font-size: 1.125rem;
}

.analysis-body {
    padding: 1.5rem;
}

.analysis-section {
    margin-bottom: 1.5rem;
}

.analysis-section h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.emotion-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.emotion-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emotion-label {
    font-size: 0.875rem;
    width: 70px;
    color: var(--text-secondary);
}

.bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.symbol-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.symbol-tag {
    padding: 0.5rem 0.875rem;
    background: rgba(103, 58, 183, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    border: 1px solid rgba(103, 58, 183, 0.3);
}

.analysis-insight {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
}

.analysis-insight p {
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.6;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    background: var(--bg-darker);
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stats-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-card h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-preview {
    min-height: 180px;
}

/* Frequency Chart */
.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
    padding-top: 20px;
}

.chart-bar {
    width: 12%;
    background: var(--gradient-primary);
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: opacity var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
    opacity: 0.6;
}

.chart-bar.active {
    opacity: 1;
    box-shadow: var(--shadow-glow);
}

.chart-bar:hover {
    opacity: 1;
    transform: scaleY(1.05);
}

.chart-bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Donut Chart */
.emotion-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.donut-chart {
    width: 120px;
    height: 120px;
}

.donut-chart svg {
    transform: rotate(-90deg);
}

.emotion-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.emotion-legend span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.emotion-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Progress Ring */
.lucid-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    position: relative;
    width: 140px;
    height: 140px;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #673AB7, #FFD54F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Product Screens Section
   ============================================ */

.product-screens {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.product-screens-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.screen-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.screen-frame {
    padding: 10px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
        #10101c;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 45px rgba(14, 165, 164, 0.14);
}

.screen-frame img {
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 1206 / 2622;
    object-fit: cover;
    object-position: top center;
}

.screen-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.screen-card figcaption strong {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.05rem;
}

.screen-card figcaption span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    background: var(--bg-dark);
}

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

.testimonial-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(103, 58, 183, 0.3);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

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

.pricing-card.featured {
    background: var(--gradient-card);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
}

.pricing-features .check {
    color: #4ADE80;
    font-weight: bold;
}

.pricing-features .x {
    color: var(--text-muted);
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: border-color var(--transition-normal), background-color var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(103, 58, 183, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
}

/* ============================================
   Download CTA Section
   ============================================ */

.download-cta {
    position: relative;
    text-align: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
}

.cta-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
}

.app-store-button img {
    height: 60px;
    margin: 0 auto;
    transition: transform var(--transition-fast);
}

.app-store-button:hover img {
    transform: scale(1.05);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-darker);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin: 1rem 0;
    max-width: 300px;
    font-size: 0.9375rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
        order: 0;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .floating-cards {
        display: none;
    }

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

    .feature-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .step {
        grid-template-columns: 80px 1fr;
    }

    .step-visual {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }

    .ai-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ai-text {
        max-width: 100%;
    }

    .ai-text .section-title,
    .ai-text .section-subtitle {
        text-align: center;
    }

    .ai-features {
        align-items: center;
    }

    .ai-feature {
        max-width: 400px;
        text-align: left;
    }

    .stats-showcase {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-screens-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin: 1rem auto;
    }

    .footer-links {
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-container .nav-links,
    .nav-container .nav-cta {
        display: none;
    }

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

    .navbar > .container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .navbar > .container .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1rem;
        font-size: 0.9rem;
    }

    .navbar > .container .btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .phone-mockup {
        width: 260px;
    }

    .screen-frame {
        border-radius: 24px;
    }

    .screen-frame img {
        border-radius: 18px;
    }

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

    .feature-card.featured {
        grid-column: span 1;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .phone-mockup {
        width: 220px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   DUTTLABS BRANDED FOOTER
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, var(--bg-darker) 0%, #0A0A0B 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 24px 24px;
    margin-top: 80px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}

.brand-logo {
    font-size: 1.5rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.site-footer .footer-links {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.site-footer .footer-column h4 {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.site-footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-column li {
    margin-bottom: 10px;
}

.site-footer .footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-footer .footer-column a:hover {
    color: var(--primary-light);
}

.site-footer .footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-maker {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-maker a {
    color: var(--primary-light);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-maker a:hover {
    opacity: 0.8;
}

/* ============================================
   MORE APPS SECTION
   ============================================ */

.more-apps {
    padding: 80px 24px;
    background: var(--bg-darker);
}

.more-apps-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.more-apps h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.more-apps-container > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.more-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.more-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.more-app-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(14, 165, 164, 0.15);
}

.more-app-icon {
    font-size: 2rem;
}

.more-app-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.more-apps-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.more-apps-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 16px 20px;
    }

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .site-footer .footer-links {
        gap: 32px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

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

    .quotes-showcase {
        flex-direction: column !important;
    }

    .inspiration-features {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============================================
   Daily Inspiration Section
   ============================================ */

.inspiration-section {
    padding: 120px 0;
    position: relative;
}

.quotes-showcase {
    display: flex;
    gap: 24px;
    margin-bottom: 60px;
    justify-content: center;
    align-items: stretch;
}

.quote-card-site {
    flex: 1;
    max-width: 340px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.quote-card-site:hover {
    background: var(--bg-card-hover);
    border-color: rgba(103, 58, 183, 0.3);
    transform: translateY(-4px);
}

.quote-card-site.featured-quote {
    background: var(--gradient-card);
    border-color: rgba(103, 58, 183, 0.4);
    transform: scale(1.05);
}

.quote-card-site.featured-quote:hover {
    transform: scale(1.05) translateY(-4px);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 16px;
    opacity: 0.6;
}

.quote-text {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-style: italic;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 500;
}

.inspiration-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.inspo-feature {
    text-align: center;
    padding: 24px 16px;
}

.inspo-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.inspo-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.inspo-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   Scroll-Reveal Animations
   ============================================ */

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   Hero Entrance Animations
   ============================================ */

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

.hero-badge {
    animation: heroFadeIn 0.6s ease-out 0.2s both;
}

.hero-title {
    animation: heroFadeIn 0.6s ease-out 0.4s both;
}

.hero-subtitle {
    animation: heroFadeIn 0.6s ease-out 0.6s both;
}

.hero-cta {
    animation: heroFadeIn 0.6s ease-out 0.8s both;
}

/* ============================================
   Trust Banner
   ============================================ */

.trust-banner {
    padding: 1.5rem 0;
    position: relative;
}

.trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.trust-item .trust-icon {
    font-size: 1.1rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   Feature Card Hover Glow
   ============================================ */

.feature-card:hover {
    box-shadow: 0 0 30px rgba(103, 58, 183, 0.15) inset, var(--shadow-lg);
}

/* ============================================
   Animated Gradient Border on Featured Pricing Card
   ============================================ */

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pricing-card.featured {
    position: relative;
    overflow: hidden;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(110, 86, 207, 0.5),
        transparent,
        rgba(244, 201, 93, 0.4),
        transparent,
        rgba(14, 165, 164, 0.5),
        transparent
    );
    animation: rotate 4s linear infinite;
    z-index: -2;
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(20, 15, 40, 0.98), rgba(15, 12, 30, 0.98));
    border-radius: calc(var(--radius-xl) - 2px);
    z-index: -1;
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(103, 58, 183, 0.6);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   Responsive adjustments for new elements
   ============================================ */

@media (max-width: 768px) {
    .trust-strip {
        gap: 1rem;
        padding: 1rem 1.25rem;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    .trust-divider {
        display: none;
    }

    .trust-strip {
        justify-content: space-around;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .stars,
    .shooting-stars,
    .bg-gradient {
        animation: none !important;
    }
}
