@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #f5f7fb;
    --surface-color: #ffffff;
    --surface-muted: #eef2f7;
    --surface-border: #d9e2ec;
    --text-primary: #102033;
    --text-secondary: #5f6f82;
    --accent-primary: #1f5eff;
    --accent-secondary: #0f172a;
    --accent-gradient: linear-gradient(135deg, #1f5eff 0%, #4f8cff 100%);
    --accent-glow: rgba(31, 94, 255, 0.18);
    --success-soft: #e8f8ef;
    --success-text: #116149;
    --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --nav-height: 84px;
    --content-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(31, 94, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg-color) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

main {
    display: block;
}

.container {
    width: min(var(--content-width), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 5.5rem 0;
}

.section-muted {
    background: rgba(255, 255, 255, 0.55);
    border-top: 1px solid rgba(217, 226, 236, 0.8);
    border-bottom: 1px solid rgba(217, 226, 236, 0.8);
}

.page-shell {
    padding-top: calc(var(--nav-height) + 2rem);
}

.page-header {
    padding: 2.5rem 0 1rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(31, 94, 255, 0.08);
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.eyebrow-dark {
    background: rgba(16, 32, 51, 0.08);
    color: var(--accent-secondary);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

.section-header {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.grid-tight {
    gap: 1.25rem;
}

.stack {
    display: grid;
    gap: 1.25rem;
}

.hero {
    padding: calc(var(--nav-height) + 3.5rem) 0 5rem;
}

.hero-panel {
    position: relative;
    padding: 4rem;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(217, 226, 236, 0.85);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: auto -80px -120px auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(31, 94, 255, 0.16), transparent 68%);
    pointer-events: none;
}

.hero-copy {
    max-width: 640px;
}

.hero-copy h1,
.page-header h1 {
    font-size: clamp(2.3rem, 5.2vw, 4.1rem);
    margin-bottom: 1.25rem;
}

.page-header h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.4rem);
}

.hero-copy p,
.page-header p {
    font-size: 1rem;
    max-width: 680px;
}

.hero-actions,
.button-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.metric-card {
    padding: 1.2rem;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    background: var(--surface-color);
}

.metric-card strong {
    display: block;
    font-size: 1.7rem;
    margin-bottom: 0.25rem;
}

.metric-card span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-aside {
    display: grid;
    gap: 1rem;
}

.feature-panel,
.card,
.contact-card,
.timeline-item,
.stat-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(217, 226, 236, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.feature-panel {
    padding: 1.5rem;
}

.feature-panel h3,
.card h3,
.timeline-item h3,
.contact-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.feature-panel p,
.card p,
.timeline-item p,
.contact-card p {
    font-size: 0.95rem;
}

.feature-list {
    display: grid;
    gap: 0.85rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent-primary);
}

.card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy-card {
    padding: 2rem;
}

.card:hover,
.feature-panel:hover,
.timeline-item:hover,
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.card-icon,
.symbol {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(31, 94, 255, 0.1);
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.card-badge,
.tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 94, 255, 0.08);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-primary,
.btn-secondary,
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 10px 24px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(31, 94, 255, 0.24);
}

.btn-secondary,
.menu-toggle {
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-primary);
    border-color: var(--surface-border);
}

.btn-secondary:hover,
.menu-toggle:hover {
    background: var(--surface-color);
    border-color: #b8c5d3;
}

.inline-link {
    color: var(--accent-primary);
    font-weight: 600;
}

.inline-link:hover {
    color: #1848c9;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    border-bottom: 1px solid rgba(217, 226, 236, 0.8);
    background: rgba(248, 251, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
    width: min(var(--content-width), calc(100% - 2rem));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo-mark {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.75rem;
    box-shadow: 0 8px 16px rgba(31, 94, 255, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem;
    border: 1px solid rgba(217, 226, 236, 0.8);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
}

.nav-links a {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(16, 32, 51, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-toggle {
    display: none;
    width: 48px;
    padding: 0;
    border-radius: 14px;
}

.hero-proof {
    display: grid;
    gap: 1rem;
}

.hero-proof .feature-panel {
    padding: 1.35rem;
}

.proof-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.proof-title span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1.4rem;
}

.stat-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.4rem;
}

.case-study {
    height: 100%;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.case-result {
    padding-top: 1rem;
    border-top: 1px solid var(--surface-border);
    font-weight: 600;
    color: var(--text-primary);
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.timeline-step {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(31, 94, 255, 0.1);
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 2rem;
    align-items: stretch;
}

.contact-card {
    padding: 2rem;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    padding: 1rem 0;
    border-top: 1px solid var(--surface-border);
}

.contact-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.contact-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--success-soft);
    color: var(--success-text);
    font-size: 0.95rem;
}

.cta-panel {
    padding: 3rem;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(16, 32, 51, 0.03) 0%, rgba(16, 32, 51, 0.06) 100%);
    border: 1px solid rgba(217, 226, 236, 0.95);
}

footer {
    margin-top: 3rem;
    padding: 3.5rem 0 2rem;
    border-top: 1px solid rgba(217, 226, 236, 0.95);
    background: rgba(255, 255, 255, 0.68);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr repeat(2, minmax(180px, 1fr));
    gap: 2rem;
    align-items: start;
}

.footer-brand h3 {
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
}

.footer-links h4 {
    margin-bottom: 0.9rem;
    font-size: 1rem;
}

.footer-links ul {
    display: grid;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(217, 226, 236, 0.95);
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    :root {
        --nav-height: 76px;
    }

    .split-layout,
    .contact-layout,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-inner {
        gap: 0.75rem;
    }

    .logo {
        font-size: 0.92rem;
    }

    .logo-mark {
        width: 2.1rem;
        height: 2.1rem;
    }

    .hero-panel,
    .cta-panel,
    .contact-card {
        padding: 2rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        border-radius: 20px;
        box-shadow: var(--shadow-soft);
        background: rgba(255, 255, 255, 0.98);
    }

    nav.is-open .nav-links {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-actions .btn-primary {
        display: none;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--content-width), calc(100% - 1.25rem));
    }

    .section {
        padding: 4rem 0;
    }

    .page-shell {
        padding-top: calc(var(--nav-height) + 1.25rem);
    }

    .page-header {
        padding: 2rem 0 0.75rem;
    }

    .hero {
        padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
    }

    .hero-panel {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .hero-copy h1,
    .page-header h1 {
        font-size: clamp(1.95rem, 9vw, 2.8rem);
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 7vw, 2.15rem);
    }

    .eyebrow {
        font-size: 0.82rem;
        padding: 0.4rem 0.75rem;
    }

    .proof-title,
    .case-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions,
    .button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .cta-panel {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 72px;
    }

    .logo {
        gap: 0.55rem;
        font-size: 0.86rem;
    }

    .logo-mark {
        width: 1.95rem;
        height: 1.95rem;
        border-radius: 10px;
        font-size: 0.78rem;
    }

    .menu-toggle {
        min-width: 48px;
        padding: 0 0.9rem;
        font-size: 0.88rem;
    }

    .hero-panel,
    .card,
    .feature-panel,
    .timeline-item,
    .contact-card,
    .stat-card,
    .cta-panel {
        border-radius: 20px;
    }
}
