@import url('fonts/fonts.css');

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

:root {
    /* Linear's Official Brand Colors */
    --linear-blue: #5E6AD2;
    --linear-white: #F7F8F8;
    --linear-gray: #222326;
    
    /* Ultra-dark theme */
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #0a0a0a;
    
    --surface-primary: #0f0f0f;
    --surface-secondary: #141414;
    
    --border-primary: rgba(255, 255, 255, 0.04);
    --border-secondary: rgba(255, 255, 255, 0.08);
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    
    --accent-primary: #5E6AD2;
    --accent-hover: #7c87e8;
    --accent-glow: rgba(94, 106, 210, 0.25);
}

/* Accessibility - Visually Hidden Labels */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Scroll-based fade-up animations */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

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

/* Ensure smooth 60fps animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-up-element {
        transform: translateY(40px);
    }
    
    .feature-card,
    .data-metric,
    .data-point {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

body {
    font-family: 'Helvetica Now Display', 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Animation Control (for testing) */
.animation-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.animation-control label {
    color: var(--text-secondary);
    font-weight: 500;
}

.animation-control input[type="range"] {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.animation-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
}

.animation-control input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#sliderValue {
    color: var(--text-primary);
    min-width: 80px;
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: transparent;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.nav-cta {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta .cta-arrow {
    display: none;
    transition: transform 0.3s ease;
}

.nav-cta.scroll-to-top .cta-text {
    display: none;
}

.nav-cta.scroll-to-top .cta-arrow {
    display: block;
}

.nav-cta.scroll-to-top {
    padding: 8px 12px;
    /* Keep same background as default state */
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.nav-cta.scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Removed transform to prevent upward movement */
}

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center top, rgba(94, 106, 210, 0.25) 0%, transparent 50%),
                linear-gradient(180deg, #000000 0%, #050505 100%);
    padding-top: 80px; /* Account for fixed navbar */
    overflow: hidden;
    contain: layout style paint;
}

/* Network Animation Canvas */
.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    animation: fadeInAnimation 2s ease-in-out 0.5s forwards;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.headline {
    font-size: clamp(56px, 11vw, 112px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    background: linear-gradient(to top, #d8d8d8 0%, #f5f5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: emergeFromDark 1.2s ease-out forwards;
    will-change: transform, opacity, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.tagline {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.15;
    opacity: 0;
    animation: simpleFade 0.8s ease-out 0.5s forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes emergeFromDark {
    from {
        opacity: 0;
        filter: blur(8px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes simpleFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.subheadline {
    font-size: 20px;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 64px;
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: simpleFade 0.8s ease-out 0.7s forwards;
}

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border: none;
    position: relative;
    overflow: visible;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(94, 106, 210, 0.005) 0%,
        rgba(94, 106, 210, 0.002) 40%,
        transparent 70%
    );
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(94, 106, 210, 0.06),
        0 15px 40px rgba(94, 106, 210, 0.03);
}

.btn-primary:hover::before {
    opacity: 1;
    width: 150%;
    height: 200%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.005) 0%,
        rgba(255, 255, 255, 0.002) 40%,
        transparent 70%
    );
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 40px rgba(255, 255, 255, 0.04),
        0 20px 60px rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover::before {
    opacity: 1;
    width: 150%;
    height: 200%;
}

/* Features Section - New Layout */
.features {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    contain: layout style;
}

.features-header {
    text-align: center;
}

.features-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
    color: #f5f5f5;
    line-height: 1.2;
}

.features-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 96px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Features Grid - 2x2 Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.feature-card {
    position: relative;
    padding: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    contain: layout style;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-secondary);
}

.feature-number {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

/* Data Intelligence Section */
.data-intelligence {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    contain: layout style;
}

.data-intelligence::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-secondary), transparent);
}

.data-header {
    text-align: center;
}

.data-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
    color: #f5f5f5;
    line-height: 1.1;
}

.data-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 80px;
    line-height: 1.5;
}

/* Data Showcase Layout */
.data-showcase {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Primary Metrics - Featured */
.data-primary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.data-metric.featured {
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-height: 140px;
}

.data-metric.featured:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.metric-value {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    min-width: 160px;
    display: block;
    text-align: center;
}

.metric-context h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.metric-context p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Secondary Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.data-point {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.data-point:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.point-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 8px;
    letter-spacing: 0;
    line-height: 1.4;
    display: block;
}

.point-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.point-detail {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* Insights Section */
.insights-section {
    margin-top: 100px;
    padding: 100px 80px;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(94, 106, 210, 0.15) 0%, transparent 60%);
}

.insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-secondary), transparent);
}

.insights-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-secondary), transparent);
}

.insights-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: #f5f5f5;
}

.insights-statement {
    font-size: 22px;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.insights-statement strong {
    font-weight: 600;
    color: var(--accent-primary);
}

/* Signup Section */
.signup-section {
    padding: 100px 0 120px;
    background: var(--bg-primary);
    position: relative;
    contain: layout style;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-secondary), transparent);
}

.signup-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.signup-content h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 24px 0;
    color: #f5f5f5;
}

.signup-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 80px;
    line-height: 1.65;
}

/* Form - Sleek and minimal */
.signup-form {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 48px;
    border-radius: 20px;
    border: 1px solid var(--border-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 16px;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

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

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.signup-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
}

.signup-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    font-family: inherit;
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 120px;
}

.signup-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.signup-form textarea::placeholder {
    color: var(--text-tertiary);
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
    letter-spacing: 0.02em;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.form-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.success-message {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-primary);
    padding: 32px;
    border-radius: 16px;
    margin-top: 32px;
    backdrop-filter: blur(20px);
}

.success-message h3 {
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 600;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.success-message strong {
    color: var(--text-primary);
    font-weight: 500;
}

.error-message {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    color: #ef4444;
    font-size: 14px;
    text-align: center;
}

.error-message.info-message {
    background: rgba(94, 106, 210, 0.05);
    border: 1px solid rgba(94, 106, 210, 0.2);
    color: var(--accent-primary);
    font-size: 15px;
    padding: 16px 20px;
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-primary);
    background: var(--bg-primary);
}

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

.footer-contact {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 8px 0;
}

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

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

.footer-note {
    font-size: 13px;
    color: var(--text-tertiary);
    opacity: 0.7;
}

/* Global Horizontal Line Styling - Consistent across all pages */
.section-divider,
hr {
    margin: 48px auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-secondary), transparent);
    border: none;
    width: 100%;
    max-width: 600px;
    position: relative;
}

/* Full-width variant */
.section-divider--full,
hr.full-width {
    max-width: none;
    background: linear-gradient(90deg, transparent 10%, var(--border-secondary) 50%, transparent 90%);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

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

.feature-highlight,
.feature-compact,
.data-metric,
.data-point {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.feature-highlight:nth-child(1) { animation-delay: 0.1s; }
.feature-highlight:nth-child(2) { animation-delay: 0.2s; }
.feature-highlight:nth-child(3) { animation-delay: 0.3s; }

.feature-compact:nth-child(1) { animation-delay: 0.15s; }
.feature-compact:nth-child(2) { animation-delay: 0.25s; }
.feature-compact:nth-child(3) { animation-delay: 0.35s; }
.feature-compact:nth-child(4) { animation-delay: 0.45s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .data-primary {
        grid-template-columns: 1fr;
    }
    
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-cta {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .headline {
        font-size: 56px;
        line-height: 1.08;
        margin-bottom: 24px;
    }
    
    .tagline {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 28px;
    }
    
    .subheadline {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 52px;
    }
    
    /* Features section mobile */
    .features {
        padding: 40px 0;
    }
    
    .features-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .features-subtitle {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-card h3 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .feature-number {
        margin-bottom: 16px;
    }
    
    /* Data section mobile */
    .data-intelligence {
        padding: 40px 0;
    }
    
    .data-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .data-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .metric-value {
        font-size: 48px;
        line-height: 1;
    }
    
    .metric-context h3 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .metric-context p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Signup section mobile */
    .signup-section {
        padding: 40px 0;
    }
    
    .signup-content h2 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .signup-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    /* Forms mobile */
    .signup-form {
        padding: 24px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
    
    .form-group textarea {
        height: auto;
        min-height: 100px;
    }
    
    .submit-btn {
        height: 48px;
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Section spacing */
    section {
        padding: 40px 0;
    }
    
    /* Button mobile */
    .btn {
        min-height: 44px;
        font-size: 15px;
        padding: 12px 24px;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    /* Even tighter spacing for small phones */
    .headline {
        font-size: 56px;
        line-height: 1.08;
        letter-spacing: -0.02em;
    }
    
    .tagline {
        font-size: 24px;
        line-height: 1.15;
    }
    
    .subheadline {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 48px;
    }
    
    .features-subtitle {
        font-size: 16px;
    }
    
    .features-title,
    .data-title,
    .signup-content h2 {
        font-size: 40px;
        line-height: 1.2;
    }
    
    .cta-container {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        margin-top: 16px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .feature-number {
        margin-bottom: 12px;
    }
    
    /* Reduce all paragraph spacing */
    p {
        margin-bottom: 16px;
    }
    
    /* Data metrics mobile */
    .data-primary {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .data-point {
        padding: 16px;
    }
    
    .point-number {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features {
        padding: 80px 0;
    }
}