:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --indigo: #4f46e5;
    --accent: #22d3ee;
    --dark: #0b1220;
    --dark-2: #0f1a2e;
    --text: #334155;
    --muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f6f8fc;
    --border: #e6eaf2;
    --radius: 16px;
    --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--dark);
    font-weight: 800;
    font-size: 1.3rem;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.brand-logo {
    height: 44px;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 6px;
}

.nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.96rem;
    padding: 8px 14px;
    border-radius: 9px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
}

.nav a.active {
    background: #eef2ff;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.96rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.38);
}

.btn-ghost-dark {
    border-color: rgba(255, 255, 255, 0.28);
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost-dark:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 64px;
    background: radial-gradient(1000px 500px at 85% -10%, rgba(34, 211, 238, 0.18), transparent 60%),
                radial-gradient(900px 480px at 8% 0%, rgba(99, 102, 241, 0.28), transparent 55%),
                linear-gradient(160deg, #0b1220 0%, #0f1a2e 55%, #101b33 100%);
    color: #e6edf7;
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.28);
    color: #67e8f9;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.8vw, 3.15rem);
    line-height: 1.12;
    color: #fff;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

.lead {
    font-size: 1.08rem;
    color: #b6c2d4;
    margin-bottom: 30px;
    max-width: 560px;
}

.lead strong {
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 14px;
}

/* Hero visual (window mockup) */
.hero-visual {
    position: relative;
}

.window {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.window-title {
    margin-left: 10px;
    font-size: 0.85rem;
    color: #b6c2d4;
}

.window-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.code-block {
    background: rgba(11, 18, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
}

.code-block-out {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.28);
}

.code-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 8px;
}

.code-block-out .code-label {
    color: #67e8f9;
}

pre {
    font-family: 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
    font-size: 0.92rem;
    overflow-x: auto;
    color: #e2e8f0;
}

.code-block-out pre {
    color: #a5f3fc;
}

.flow-arrow {
    text-align: center;
    font-size: 1.4rem;
    color: #67e8f9;
}

/* Stats band */
.stats-band {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 72px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 4px;
}

.stat span {
    font-size: 0.9rem;
    color: #9aa8bd;
}

/* Sections */
.section {
    padding: 96px 0;
}

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

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--indigo);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-head h2,
.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-head p,
.contact-info p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* Illustration */
.illustration {
    margin-top: 8px;
}

.illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Reasons */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.reason {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 22px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.reason-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.reason-icon-1 { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.reason-icon-2 { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.reason-icon-3 { background: linear-gradient(135deg, #10b981, #059669); }
.reason-icon-4 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.reason-icon-5 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }

.reason span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.45;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: #c7d7fe;
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.icon-1 { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.icon-2 { background: linear-gradient(135deg, #cffafe, #ecfeff); }
.icon-3 { background: linear-gradient(135deg, #d1fae5, #ecfdf5); }
.icon-4 { background: linear-gradient(135deg, #ede9fe, #f5f3ff); }
.icon-5 { background: linear-gradient(135deg, #fef3c7, #fffbeb); }
.icon-6 { background: linear-gradient(135deg, #ffe4e6, #fff1f2); }
.icon-7 { background: linear-gradient(135deg, #e0e7ff, #eef2ff); }
.icon-8 { background: linear-gradient(135deg, #ccfbf1, #f0fdfa); }

.feature h3 {
    font-family: var(--font-display);
    color: var(--dark);
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    list-style: none;
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow);
}

.step-num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.step h3 {
    font-family: var(--font-display);
    color: var(--dark);
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-direct {
    margin-top: 20px;
    padding: 16px 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-direct span {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-direct a {
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #fbfcfe;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.form-status {
    margin-top: 14px;
    font-size: 0.92rem;
    min-height: 1.3em;
}

.form-status.success {
    color: #059669;
}

.form-status.error {
    color: #dc2626;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #9aa8bd;
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-footer {
    color: #fff;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 0.92rem;
    max-width: 340px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #9aa8bd;
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: #67e8f9;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.88rem;
}

/* Reveal animation */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

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

    .btn-header {
        display: none;
    }

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

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

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