/* ==========================================================================
   Lumify Homepage Styles
   Inspired by Firecrawl and OpenAI, consistent with app design system
   ========================================================================== */

:root {
    /* Brand Colors - Updated Color Palette */
    --primary-color: #FF3D5A;      /* Laser Coral - Primary CTA */
    --primary-hover: #E6355C;      /* Darker Laser Coral on hover */
    --secondary-color: #00D7C8;    /* Teal - Secondary CTA */
    --secondary-hover: #00BFB2;    /* Darker Teal on hover */
    
    /* Neutral Colors - consistent with app */
    --bg-dark: #0a0a0a;            /* Hero background */
    --bg-light: #ffffff;
    --bg-gray: #f9fafb;            /* Section backgrounds */
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Hero Animation Colors */
    --ink: #0B1020;                /* Abyss Ink */
    --violet: #6B5BFF;             /* Ion Violet */
    --violet-700: #4639CC;
    --violet-600: #584AE6;
    --teal: #00D7C8;               /* Teal accents */
    --star: #CFE3FF;               /* Star tint */
    
    /* Typography - consistent with app */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace;
    
    /* Spacing */
    --section-padding: 80px;
    --container-max-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation styles moved to external.css */

/* ==========================================================================
   Hero Section - Animated Violet Data-Rain Background
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 78vh;
    overflow: hidden;
    isolation: isolate;
    color: var(--bg-light);
    padding: 140px 0 100px;
    display: flex;
    align-items: center;
}

/* Violet night sky gradient background */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1400px 900px at 50% -10%, rgba(107, 91, 255, 0.55), transparent 60%),
        radial-gradient(1200px 800px at 70% 20%, rgba(0, 215, 200, 0.18), transparent 60%),
        linear-gradient(180deg, #0B0F27 0%, #14183A 35%, #1B1F54 100%);
    z-index: -3;
}

/* Starfield layers - three parallax star fields */
.hero-stars,
.hero-stars2,
.hero-stars3 {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    z-index: -2;
    pointer-events: none;
}

.hero-stars {
    background-image: 
        radial-gradient(1px 1px at 20px 30px, var(--star) 70%, transparent 72%),
        radial-gradient(1px 1px at 80px 120px, var(--star) 70%, transparent 72%),
        radial-gradient(1px 1px at 200px 60px, var(--star) 70%, transparent 72%);
    background-size: 240px 240px, 340px 340px, 520px 520px;
    opacity: 0.65;
    animation: drift-s 60s linear infinite;
}

.hero-stars2 {
    background-image: 
        radial-gradient(1.2px 1.2px at 50px 90px, var(--star) 75%, transparent 77%),
        radial-gradient(1.2px 1.2px at 140px 210px, var(--star) 75%, transparent 77%),
        radial-gradient(1.2px 1.2px at 260px 40px, var(--star) 75%, transparent 77%);
    background-size: 320px 320px, 420px 420px, 520px 520px;
    opacity: 0.45;
    animation: drift-s2 90s linear infinite;
}

.hero-stars3 {
    background-image: 
        radial-gradient(0.8px 0.8px at 30px 40px, var(--star) 70%, transparent 72%),
        radial-gradient(0.8px 0.8px at 110px 180px, var(--star) 70%, transparent 72%),
        radial-gradient(0.8px 0.8px at 250px 70px, var(--star) 70%, transparent 72%);
    background-size: 220px 220px, 310px 310px, 480px 480px;
    opacity: 0.35;
    animation: drift-s3 120s linear infinite;
}

@keyframes drift-s {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: -240px 240px, -340px 340px, -520px 520px; }
}

@keyframes drift-s2 {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: -320px 320px, -420px 420px, -520px 520px; }
}

@keyframes drift-s3 {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: -220px 220px, -310px 310px, -480px 480px; }
}

/* Data rain - vertical droplets */
.hero-rain {
    position: absolute;
    inset: -10% -10% -10% -10%;
    background: repeating-linear-gradient(
        to right,
        rgba(107, 91, 255, 0.0) 0px,
        rgba(107, 91, 255, 0.0) 10px,
        rgba(107, 91, 255, 0.16) 11px,
        rgba(107, 91, 255, 0.16) 12px
    );
    mask-image: radial-gradient(1200px 700px at 50% -10%, black 0%, transparent 85%);
    animation: rain-fall 8s linear infinite;
    z-index: -1;
}

.hero-rain.r2 {
    background: repeating-linear-gradient(
        to right,
        rgba(0, 215, 200, 0.0) 0px,
        rgba(0, 215, 200, 0.0) 18px,
        rgba(0, 215, 200, 0.10) 19px,
        rgba(0, 215, 200, 0.10) 20px
    );
    filter: blur(1px) opacity(0.55);
    animation-duration: 13s;
}

.hero-rain.r3 {
    background: repeating-linear-gradient(
        to right,
        rgba(120, 110, 255, 0.0) 0px,
        rgba(120, 110, 255, 0.0) 26px,
        rgba(120, 110, 255, 0.08) 27px,
        rgba(120, 110, 255, 0.08) 28px
    );
    filter: blur(2px) opacity(0.38);
    animation-duration: 20s;
}

@keyframes rain-fall {
    from { background-position-y: 0px; }
    to { background-position-y: 900px; }
}

/* North star - stationary glowing star */
.hero-northstar {
    position: absolute;
    top: 20%;
    left: 12%;
    width: 8px;
    height: 8px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    box-shadow:
        0 0 16px rgba(255, 255, 255, 0.95),
        0 0 32px rgba(107, 91, 255, 0.65),
        0 0 48px rgba(107, 91, 255, 0.45),
        0 0 60px rgba(107, 91, 255, 0.25);
    animation: northstar-twinkle 4s ease-in-out infinite;
}

@keyframes northstar-twinkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow:
            0 0 16px rgba(255, 255, 255, 1),
            0 0 34px rgba(107, 91, 255, 0.7),
            0 0 52px rgba(107, 91, 255, 0.5),
            0 0 70px rgba(107, 91, 255, 0.3);
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
        box-shadow:
            0 0 20px rgba(255, 255, 255, 1),
            0 0 42px rgba(107, 91, 255, 0.85),
            0 0 60px rgba(107, 91, 255, 0.6),
            0 0 78px rgba(107, 91, 255, 0.4);
    }
}

/* Shooting star */
.hero-shooting-star {
    position: absolute;
    top: 12%;
    right: -10%;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    z-index: -2;
    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.95),
        0 0 12px rgba(140, 120, 255, 0.85),
        0 0 18px rgba(120, 110, 255, 0.55);
    opacity: 0;
    transform: translate(0, 0) rotate(-35deg);
    animation: shoot 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.8) rotate(-35deg);
    }
    8% {
        opacity: 1;
    }
    10% {
        opacity: 1;
        box-shadow:
            0 0 10px rgba(255, 255, 255, 1),
            0 0 20px rgba(150, 140, 255, 0.9),
            0 0 28px rgba(150, 140, 255, 0.75),
            0 0 75px rgba(150, 140, 255, 0.55);
    }
    25% {
        transform: translate(-900px, 350px) scale(0.8) rotate(-35deg);
        opacity: 0.8;
    }
    35% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) rotate(-35deg);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-stars,
    .hero-stars2,
    .hero-stars3,
    .hero-rain,
    .hero-rain.r2,
    .hero-rain.r3,
    .hero-shooting-star {
        animation: none;
    }
    .hero-northstar {
        animation: none;
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--bg-light);
    position: relative;
    min-height: 1.2em;
}

/* Rotating Slogans */
.rotating-slogan {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.rotating-slogan.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Muted text styling */
.muted-text {
    color: rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* Search Bar Styles */
.hero-search-container {
    margin-bottom: 2.5rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 700px;
    margin: 0 auto;
}

.search-bar:focus-within {
    box-shadow: 0 10px 60px rgba(37, 99, 235, 0.3);
    border-color: var(--primary-color);
}

.search-icon {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-right: 0.75rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 0.5rem 0;
    outline: none;
}

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

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 61, 90, 0.4);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 61, 90, 0.3);
}

.hero-cta .btn-outline-light {
    border: 2px solid var(--secondary-color);
    color: white;
    padding: 0.875rem 2rem;
    font-weight: 600;
    background: rgba(0, 215, 200, 0.1);
    transition: all 0.3s ease;
}

.hero-cta .btn-outline-light:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 215, 200, 0.3);
}

/* ==========================================================================
   Value Proposition Section
   ========================================================================== */

.value-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.75rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.value-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

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

.how-it-works-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.step-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Code Example */
.code-example {
    background-color: #1a1a2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-lang {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-copy {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.code-block {
    margin: 0;
    padding: 1.5rem;
    background-color: transparent;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.7;
    color: #e0e0e0;
}

/* ==========================================================================
   Demo Section
   ========================================================================== */

.demo-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.demo-search-container {
    max-width: 700px;
    margin: 0 auto;
}

.search-bar-demo {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.demo-answer-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.answer-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.answer-content {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.answer-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.demo-cta {
    text-align: center;
}

.btn-text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.btn-text-link:hover {
    color: var(--primary-hover);
}

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

.pricing-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-gray);
}

.pricing-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}

.pricing-card-featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.pricing-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.pricing-card .btn {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

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

.footer {
    background-color: #0a0a0a;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 1rem;
    display: block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

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

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .search-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    
    .search-input {
        margin-bottom: 0.75rem;
        padding: 0.75rem 0;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .value-card,
    .step-card {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .pricing-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Additional Styles for Homepage V2
   Append these to existing homepage.css
   ========================================================================== */

/* Trust Bullets under Hero Search */
.trust-bullets {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: var(--secondary-color);
}

/* Brand Narrative Section - Redesigned */
.narrative-section {
    padding: calc(var(--section-padding) * 1.2) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.narrative-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107, 91, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.narrative-section::after {
    content: "";
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 215, 200, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.narrative-content {
    position: relative;
    z-index: 1;
}

.narrative-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.narrative-comparison {
    position: relative;
}

.narrative-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.narrative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.narrative-old {
    border: 2px solid rgba(220, 38, 38, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.narrative-new {
    border: 2px solid rgba(107, 91, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
    position: relative;
}

.narrative-new::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--violet) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.narrative-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.old-badge {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.old-badge i {
    font-size: 1rem;
}

.new-badge {
    background: linear-gradient(135deg, rgba(107, 91, 255, 0.15) 0%, rgba(0, 215, 200, 0.15) 100%);
    color: var(--violet);
}

.new-badge i {
    font-size: 1rem;
    color: var(--secondary-color);
}

.narrative-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.narrative-old h4 {
    color: #991b1b;
}

.narrative-new h4 {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.narrative-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.narrative-list li {
    padding: 1rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.narrative-list li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.narrative-list li i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    border-radius: 6px;
}

.narrative-old .narrative-list li i {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.narrative-new .narrative-list li i {
    background: linear-gradient(135deg, rgba(107, 91, 255, 0.15) 0%, rgba(0, 215, 200, 0.15) 100%);
    color: var(--violet);
}

.narrative-arrow {
    text-align: center;
    color: var(--violet);
    font-size: 2rem;
    animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(8px);
    }
}

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

.proof-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-gray);
    height: 100%;
    transition: all 0.3s ease;
}

.proof-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.proof-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.5rem;
}

.proof-text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* Why Matters Section */
.why-matters-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-gray);
}

.matters-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.matters-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.matters-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--violet);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.matters-text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* Differentiation Section */
.differentiation-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.comparison-table {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background-color: var(--bg-gray);
    font-weight: 700;
}

.comparison-cell {
    background-color: var(--bg-light);
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9375rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 60px;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-label {
    justify-content: flex-start;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.comparison-highlight {
    background-color: #eff6ff !important;
    color: var(--primary-color);
    font-weight: 600;
}

.comparison-cell i {
    font-size: 1.5rem;
}

/* Answer Example */
.answer-example {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.answer-example-header {
    background: var(--bg-gray);
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
}

.answer-example-body {
    padding: 1.5rem;
}

.answer-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.source-badge,
.related-badge {
    display: inline-block;
    background: #4a5568;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.answer-example-answer {
    margin-bottom: 1.5rem;
}

.answer-example-answer p {
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
}

.source-list,
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.source-list li,
.related-list li {
    padding: 0.5rem 0;
}

.source-list a,
.related-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9375rem;
}

.source-list a:hover,
.related-list a:hover {
    text-decoration: underline;
}

.answer-example-sources,
.answer-example-related {
    margin-top: 1.5rem;
}

/* Demo Context */
.demo-context {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Performance Section */
.performance-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-gray);
}

.perf-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.perf-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.perf-metric {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.perf-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Security Section */
.security-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.security-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-features li {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.security-features li:last-child {
    border-bottom: none;
}

.security-features i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.security-features h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.security-features p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.security-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.security-badge {
    width: 140px;
    height: 140px;
    background: var(--secondary-color);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

.security-badge i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.security-badge div {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Outcomes Section */
.outcomes-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-gray);
}

.outcome-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.outcome-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 215, 200, 0.15);
    transform: translateY(-4px);
}

.outcome-stat {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.outcome-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.outcome-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Use Cases Section */
.use-cases-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.use-case-card {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.use-case-icon {
    width: 56px;
    height: 56px;
    background: var(--violet);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.use-case-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.use-case-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Trust Bullets */
.pricing-trust-bullets {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9375rem;
}

.trust-bullet {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.enterprise-trust-line {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    
    .comparison-cell {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .trust-bullets {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .narrative-title {
        font-size: 1.875rem;
    }
    
    .narrative-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .narrative-card {
        padding: 2rem 1.5rem;
    }
    
    .narrative-card h4 {
        font-size: 1.25rem;
    }
    
    .narrative-list li {
        font-size: 0.9375rem;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-row {
        min-width: 600px;
    }
    
    .security-features li {
        flex-direction: column;
        gap: 1rem;
    }
    
    .security-badge-container {
        gap: 1.5rem;
    }
    
    .security-badge {
        width: 120px;
        height: 120px;
    }
    
    .pricing-trust-bullets {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .perf-metric {
        font-size: 2rem;
    }
    
    .outcome-stat {
        font-size: 2.5rem;
    }
}

