:root {
    --vercel-black: #171717;
    --pure-white: #ffffff;
    --gray-600: #4d4d4d;
    --gray-500: #666666;
    --gray-400: #808080;
    --gray-100: #ebebeb;
    --gray-50: #fafafa;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --brand-blue: #1d4ed8;
    --dark-blue: #1e3a8a;
    --light-blue-100: #dbeafe;
    --light-blue-200: #bfdbfe;
    --light-blue-300: #93c5fd;
    --focus-blue: hsla(212, 100%, 48%, 1);
    --badge-blue-bg: #dbeafe;
    --badge-blue-text: #1d4ed8;
    --border-shadow: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    --ring-border: rgb(235, 235, 235) 0px 0px 0px 1px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, sans-serif;
    background: var(--pure-white);
    color: var(--vercel-black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pure-white);
    border-bottom: var(--border-shadow);
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.96px;
    color: var(--vercel-black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo svg {
    width: 28px;
    height: 28px;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--vercel-black);
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--pure-white);
    padding: 10px 20px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--vercel-black);
    box-shadow: var(--border-shadow);
    padding: 10px 20px;
}

.btn-ghost:hover {
    background: var(--gray-50);
}

.btn-large {
    font-size: 16px;
    padding: 14px 28px;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--vercel-black);
}

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

#knowledgeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.08), transparent);
    pointer-events: none;
}

.hero-logo {
    height: 173px;
    margin-bottom: 25px;
    margin-top: 144px;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero h1 {
    margin-top: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-blue-bg);
    color: var(--badge-blue-text);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.hero h1 {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2.88px;
    max-width: 1100px;
    margin: 0 auto 24px;
    color: var(--vercel-black);
}

.hero-claim-line {
    display: block;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 48px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-bar {
    padding: 80px 0;
    border-top: var(--border-shadow);
    border-bottom: var(--border-shadow);
}

.trust-bar-title {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 40px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
}

.trust-logo svg {
    width: 20px;
    height: 20px;
}

.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2.4px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
}

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

.feature-card {
    background: var(--pure-white);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--border-shadow), rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.04) 0px 8px 8px -8px, var(--gray-50) 0px 0px 0px 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--border-shadow), rgba(0, 0, 0, 0.08) 0px 4px 4px, rgba(0, 0, 0, 0.06) 0px 12px 12px -8px, var(--gray-50) 0px 0px 0px 1px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-50);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--vercel-black);
}

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.96px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.workflow {
    padding: 120px 0;
    background: var(--gray-50);
}

.workflow-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 80px;
}

.workflow-step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-number {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.step-number.develop { color: var(--primary); }
.step-number.preview { color: var(--brand-blue); }
.step-number.ship { color: var(--dark-blue); }

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--border-shadow);
    background: var(--pure-white);
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.workflow-step h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.96px;
    margin-bottom: 12px;
}

.workflow-step p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.security {
    padding: 120px 0;
}

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

.security-card {
    background: var(--pure-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--border-shadow), rgba(0, 0, 0, 0.04) 0px 2px 2px;
    display: flex;
    flex-direction: column;
}

.security-card.featured {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 48px;
}

.security-icon {
    width: 56px;
    height: 56px;
    background: var(--badge-blue-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.security-card.featured .security-icon {
    margin-bottom: 0;
    width: 72px;
    height: 72px;
}

.security-icon svg {
    width: 28px;
    height: 28px;
}

.security-card.featured .security-icon svg {
    width: 36px;
    height: 36px;
}

.security-content h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.96px;
    margin-bottom: 12px;
}

.security-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.security-card.featured .security-content {
    flex: 1;
}

.security-card.featured .security-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.benefits {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.benefit-item {
    text-align: center;
    padding: 32px 24px;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--pure-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--border-shadow);
    color: var(--vercel-black);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-item h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.48px;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.stats {
    min-height: 240px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

#statsKnowledgeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}


.cta {
    padding: 120px 0;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2.4px;
    max-width: 700px;
    margin: 0 auto 20px;
}

.cta p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto 40px;
}

.cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    border: var(--border-shadow);
    border-radius: 6px;
    background: var(--pure-white);
    font-family: inherit;
    outline: none;
    transition: box-shadow 0.2s;
}

.cta-form input:focus {
    box-shadow: var(--border-shadow), 0 0 0 2px var(--focus-blue);
}

.cta-form input::placeholder {
    color: var(--gray-400);
}

.footer {
    padding: 64px 0;
    border-top: var(--border-shadow);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.96px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--vercel-black);
}

.footer-copyright {
    font-size: 13px;
    color: var(--gray-400);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pure-white);
    padding: 32px;
    z-index: 999;
    flex-direction: column;
    gap: 24px;
}

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

.mobile-nav .nav-link {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: var(--border-shadow);
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 16px;
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .security-card.featured {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
    }

}

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

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 24px;
        letter-spacing: -1.6px;
    }

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

    .section-header h2 {
        font-size: 32px;
        letter-spacing: -1.28px;
    }

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

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

    .workflow-steps {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .workflow-step {
        max-width: 100%;
    }

    .cta h2 {
        font-size: 32px;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-logos {
        gap: 32px;
    }
}
