/* CSS Variables - Dark Mode */
:root {
    --bg-primary: #0a0a0a;
    --bg-dark: #000000;
    --bg-dark-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-light: #ffffff;
    --accent-blue: #47aafd;
    --gradient-primary: linear-gradient(135deg, #60a5fa, #a855f7);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #18181b;
    --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);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;

    /* Spacing system (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --section-padding: 100px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed nav */
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    min-height: 48px; /* Touch target */
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.btn-dark {
    background-color: #ffffff;
    color: #0a0a0a;
}

.btn-dark:hover {
    background-color: #f4f4f5;
    transform: translateY(-2px);
}

.btn-dark:active {
    transform: translateY(0);
    background-color: #e4e4e7;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
    min-height: 56px;
}

/* ===== Hero CTA - Show Stopper Button ===== */
.btn-hero-cta {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    color: var(--text-primary);
    border: none;
    padding: 20px 40px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 1;
    overflow: visible;
    isolation: isolate;
}

/* Animated gradient border */
.btn-hero-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #60a5fa,
        #a855f7,
        #ec4899,
        #60a5fa
    );
    background-size: 300% 100%;
    animation: borderGradient 3s linear infinite;
    z-index: -2;
}

/* Inner background overlay */
.btn-hero-cta::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: calc(var(--radius-full) - 2px);
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    z-index: -1;
}

/* Pulsing glow effect */
.btn-hero-cta {
    box-shadow:
        0 0 20px rgba(96, 165, 250, 0.3),
        0 0 40px rgba(168, 85, 247, 0.2),
        0 0 60px rgba(96, 165, 250, 0.1);
    animation: pulseGlow 2.5s ease-in-out infinite;
}

/* Shimmer sweep */
.btn-hero-cta .btn-text {
    position: relative;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 40%,
        #60a5fa 50%,
        #ffffff 60%,
        #ffffff 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
}

/* Arrow animation */
.btn-hero-cta svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-hero-cta:hover svg {
    transform: translateX(6px);
}

/* Hover state - intensify everything */
.btn-hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 30px rgba(96, 165, 250, 0.5),
        0 0 60px rgba(168, 85, 247, 0.35),
        0 0 90px rgba(96, 165, 250, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-cta:hover::before {
    animation: borderGradient 1.5s linear infinite;
}

.btn-hero-cta:active {
    transform: translateY(-1px) scale(1.01);
}

@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(96, 165, 250, 0.3),
            0 0 40px rgba(168, 85, 247, 0.2),
            0 0 60px rgba(96, 165, 250, 0.1);
    }
    50% {
        box-shadow:
            0 0 25px rgba(96, 165, 250, 0.45),
            0 0 50px rgba(168, 85, 247, 0.3),
            0 0 75px rgba(96, 165, 250, 0.15);
    }
}

@keyframes textShimmer {
    0%, 100% { background-position: 200% center; }
    50% { background-position: 0% center; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover .logo-icon {
    transform: rotate(-5deg);
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    transition: letter-spacing 0.3s ease;
}

.nav-logo:hover .logo-text {
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.nav-cta {
    padding: 10px 20px;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}

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

/* Hero Section */
.hero {
    padding: 140px 0 var(--section-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Palantir-style hero background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Subtle grid */
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        /* Radial glow - top center */
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(96, 165, 250, 0.12) 0%, transparent 50%),
        /* Radial glow - left */
        radial-gradient(ellipse 60% 60% at 10% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        /* Radial glow - right */
        radial-gradient(ellipse 60% 60% at 90% 30%, rgba(96, 165, 250, 0.06) 0%, transparent 50%);
    background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

/* Animated floating orbs */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 60%);
    filter: blur(60px);
    animation: hero-glow 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes hero-glow {
    0% {
        transform: translateX(-50%) scale(1) translateY(0);
        opacity: 0.6;
    }
    100% {
        transform: translateX(-50%) scale(1.1) translateY(-20px);
        opacity: 1;
    }
}

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

/* Subtle noise texture overlay */
.hero-bg-elements::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* Floating background elements */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    top: -10%;
    right: 10%;
    animation: float-orb 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float-orb 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    top: 40%;
    left: 15%;
    animation: float-orb 10s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(10px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-5px, 10px) scale(0.95);
    }
    75% {
        transform: translate(-15px, -10px) scale(1.02);
    }
}

/* Subtle accent lines */
.hero-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.2), transparent);
    height: 1px;
}

.hero-line-1 {
    width: 300px;
    top: 30%;
    left: -50px;
    transform: rotate(-15deg);
    animation: line-fade 6s ease-in-out infinite;
}

.hero-line-2 {
    width: 200px;
    bottom: 25%;
    right: -30px;
    transform: rotate(20deg);
    animation: line-fade 8s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes line-fade {
    0%, 100% {
        opacity: 0;
        transform: rotate(-15deg) translateX(-20px);
    }
    50% {
        opacity: 1;
        transform: rotate(-15deg) translateX(20px);
    }
}

.hero-line-2 {
    animation-name: line-fade-2;
}

@keyframes line-fade-2 {
    0%, 100% {
        opacity: 0;
        transform: rotate(20deg) translateX(20px);
    }
    50% {
        opacity: 1;
        transform: rotate(20deg) translateX(-20px);
    }
}

.announcement-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--card-bg);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.announcement-label {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.announcement-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.trust-text {
    margin-top: 48px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Company Marquee */
.company-marquee {
    margin-top: 24px;
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.company-name {
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.company-name::before {
    content: '•';
    margin-right: 24px;
    opacity: 0.4;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon-inline {
    display: inline-block;
    vertical-align: middle;
    opacity: 0.7;
}

.badge .icon-inline {
    margin-right: 4px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.feature-card-header {
    margin-bottom: 24px;
}

.feature-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--bg-primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
}

.feature-mockup {
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 24px;
    min-height: 200px;
}

.progress-mockup {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    min-width: 30px;
}

.mockup-stats {
    display: flex;
    gap: 24px;
}

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

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

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

.questions-mockup .question-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.question-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.category-icon svg {
    width: 20px;
    height: 20px;
}

/* Offer Machine Section */
.offer-machine {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-dark) 50%, var(--bg-dark) 100%);
}

.offer-machine-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pill-label {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--card-bg);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.section-title-large {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
}

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

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: var(--accent-blue);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.chat-mockup {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    max-width: 80%;
}

.chat-message.bot {
    background-color: var(--bg-primary);
    align-self: flex-start;
}

.chat-message.user {
    background: var(--gradient-primary);
    color: var(--text-light);
    align-self: flex-end;
}

.chat-message p {
    font-size: 14px;
}

/* Stats Section - Palantir Style */
.stats {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-dark) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-card {
    background: var(--bg-primary);
    padding: 48px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
}

.stat-card:hover .stat-label {
    letter-spacing: 2px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), text-shadow 0.4s ease;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    margin-bottom: 8px;
    display: block;
    transition: letter-spacing 0.4s ease;
}

.stat-description {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* Dark Section */
.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: var(--section-padding) 0;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--bg-dark-secondary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.dark-title em {
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--accent-blue);
}

.dark-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
}

.app-mockup {
    max-width: 800px;
    margin: 0 auto;
}

.mockup-window {
    background-color: var(--bg-dark-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27ca40; }

.window-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.mockup-content {
    display: flex;
    min-height: 300px;
}

.sidebar {
    width: 200px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.sidebar-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.main-area {
    flex: 1;
    padding: 20px;
}

.main-area h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.drill-cards {
    display: flex;
    gap: 12px;
}

.drill-card {
    padding: 16px 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-primary) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* First row - featured testimonials */
.testimonials-grid .testimonial-card:nth-child(-n+3) {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(96, 165, 250, 0.05) 100%);
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
    gap: var(--space-sm);
}

.testimonial-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--accent-blue);
}

.stars {
    color: #fbbf24;
    letter-spacing: 1px;
    font-size: 12px;
    flex-shrink: 0;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Founder Section */
.founder {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.founder-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
}

.founder-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-text {
    max-width: 600px;
}

.founder-text .section-label {
    margin-bottom: 16px;
}

.founder-text .section-title {
    margin-bottom: 24px;
}

.founder-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.founder-text .btn {
    display: inline-flex;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-dark) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    padding-top: 48px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.pricing-card.featured {
    background-color: var(--card-bg);
    border: 3px solid transparent;
    background-image: linear-gradient(var(--card-bg), var(--card-bg)), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
    50% { box-shadow: 0 0 20px 2px rgba(168, 85, 247, 0.3); }
}

.pricing-card.featured .btn-dark {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
}

.pricing-card.featured .btn-dark:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.pricing-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.currency {
    font-size: 24px;
    font-weight: 600;
}

.amount {
    font-size: 48px;
    font-weight: 700;
}

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

.amount.free-text {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.billed {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    min-height: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-features {
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features li {
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-secondary);
}

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

    .feature-cards {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .offer-machine-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

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

    .stat-number {
        font-size: 42px;
    }

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

    /* Hide less important testimonials on tablet */
    .testimonials-grid .testimonial-card:nth-child(n+7) {
        display: none;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: var(--space-lg);
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .founder-image {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
    }

    .hero {
        padding: 100px 0 var(--space-3xl);
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .announcement-bar {
        flex-direction: column;
        text-align: center;
        padding: 12px 16px;
        gap: 8px;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        border-radius: var(--radius-md);
    }

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

    .stat-number {
        font-size: 40px;
    }

    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .founder-image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

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

    .founder-text p {
        font-size: 16px;
    }

    .founder-text .btn {
        margin: 0 auto;
    }

    /* Show only 4 testimonials on mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .testimonials-grid .testimonial-card:nth-child(n+5) {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .mockup-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px;
    }

    .sidebar-item {
        padding: 8px 12px;
        margin-bottom: 0;
    }

    .questions-mockup .question-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .question-category {
        padding: 12px;
    }

    /* Mobile touch targets */
    .mobile-menu .nav-link {
        padding: 14px 0;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .footer-column a {
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .container {
        padding: 0 var(--space-md);
    }

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

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

    .company-name {
        padding: 0 16px;
        font-size: 11px;
    }

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

    .btn-large {
        width: 100%;
    }

    .pricing-card {
        padding: var(--space-lg);
    }

    .stat-number {
        font-size: 32px;
    }

    /* Show only 3 testimonials on small mobile */
    .testimonials-grid .testimonial-card:nth-child(n+4) {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Palantir-style shimmer text effect */
.shimmer-text {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 35%,
        #60a5fa 45%,
        #a855f7 55%,
        #ffffff 65%,
        #ffffff 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
}

.shimmer-text:hover {
    animation-duration: 2s;
}

.hero-title,
.hero-subtitle,
.announcement-bar {
    animation: fadeIn 0.6s ease-out forwards;
}

.hero-subtitle {
    animation-delay: 0.1s;
}

.hero .btn-hero-cta {
    animation: fadeIn 0.6s ease-out 0.2s forwards, pulseGlow 2.5s ease-in-out infinite 0.8s;
    opacity: 0;
}

/* ===== Palantir-Style Hover Effects ===== */

/* Navigation Links - Underline slide */
.nav-link {
    position: relative;
}

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

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

/* Buttons - Glow effect */
.btn {
    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.1), transparent);
    transition: left 0.5s ease;
}

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

.btn-dark:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
}

/* Feature Cards - Lift + border glow */
.feature-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent 0%, transparent 40%, rgba(96, 165, 250, 0.3) 50%, transparent 60%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(96, 165, 250, 0.1);
}

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

/* Testimonial Cards - Subtle scale + glow */
.testimonial-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(96, 165, 250, 0.2);
}

/* Pricing Cards - Elegant lift */
.pricing-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.pricing-card.featured:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(168, 85, 247, 0.15);
}


/* Chat Mockup - Subtle pulse */
.chat-mockup {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.chat-mockup:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(96, 165, 250, 0.1);
}

/* App Mockup Window - Glow */
.mockup-window {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.mockup-window:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 80px rgba(71, 170, 253, 0.1);
    transform: translateY(-4px);
}

/* Drill Cards - Individual hover */
.drill-card {
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.drill-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateX(4px);
}

/* Sidebar Items - Slide indicator */
.sidebar-item {
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.sidebar-item:hover::before {
    height: 60%;
}

.sidebar-item:hover {
    color: var(--text-light);
}

/* Feature Items - Icon glow */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(4px);
}

.feature-item:hover .feature-icon {
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.feature-icon {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Question Categories - Pop effect */
.question-category {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.question-category:hover {
    transform: translateY(-4px) scale(1.02);
    background-color: rgba(96, 165, 250, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Chart Bars - Grow on hover */
.chart-bar {
    transition: transform 0.3s ease, filter 0.3s ease;
    transform-origin: bottom;
}

.progress-mockup:hover .chart-bar {
    filter: brightness(1.1);
}

.progress-mockup:hover .chart-bar:nth-child(1) { transform: scaleY(1.05); transition-delay: 0s; }
.progress-mockup:hover .chart-bar:nth-child(2) { transform: scaleY(1.05); transition-delay: 0.05s; }
.progress-mockup:hover .chart-bar:nth-child(3) { transform: scaleY(1.05); transition-delay: 0.1s; }
.progress-mockup:hover .chart-bar:nth-child(4) { transform: scaleY(1.05); transition-delay: 0.15s; }
.progress-mockup:hover .chart-bar:nth-child(5) { transform: scaleY(1.05); transition-delay: 0.2s; }
.progress-mockup:hover .chart-bar:nth-child(6) { transform: scaleY(1.05); transition-delay: 0.25s; }

/* Founder Image - Subtle glow */
.founder-image {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.founder-image:hover {
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.2), var(--shadow-lg);
    transform: scale(1.02);
}

/* Footer Links - Color shift */
.footer-column a {
    position: relative;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
}

.footer-column a:hover::before {
    opacity: 1;
    left: -8px;
}

/* Announcement Bar - Shimmer */
.announcement-bar {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.announcement-bar:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Stars in testimonials - Twinkle */
.stars {
    transition: text-shadow 0.3s ease;
}

.testimonial-card:hover .stars {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* ===== Ultra Modern Scroll Animations ===== */

/* Initial hidden state - elements start off-screen */
.animate-from-left {
    opacity: 0;
    transform: translateX(-200px) scale(0.92);
    filter: blur(6px);
    transition:
        opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(200px) scale(0.92);
    filter: blur(6px);
    transition:
        opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated state - elements slide into view */
[data-animate].in-view .animate-from-left {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

[data-animate].in-view .animate-from-right {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    transition-delay: 0.25s; /* Slight stagger for right side */
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-from-left,
    .animate-from-right {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}
