:root {
    --bg: #f5f9fc;
    --surface: #ffffff;
    --surface-soft: #ecf4fb;
    --ink: #0d1b2a;
    --muted: #5f6f81;
    --primary: #006dff;
    --primary-strong: #0053c4;
    --accent: #18a6a1;
    --alert: #ff4d2d;
    --line: #d7e3ef;
    --shadow: 0 16px 45px rgba(13, 27, 42, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 0%, #d9efff 0, transparent 33%),
        radial-gradient(circle at 85% 10%, #d4fff3 0, transparent 32%),
        var(--bg);
    line-height: 1.5;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
    color: var(--muted);
}

.container {
    width: min(var(--max-width), 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(245, 249, 252, 0.82);
    border-bottom: 1px solid rgba(215, 227, 239, 0.75);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #005de0, #18a6a1);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.93rem;
}

.nav-links a.btn-primary {
    color: #fff;
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #27496c;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

.mobile-menu.is-open {
    display: grid;
    gap: 10px;
    position: absolute;
    right: 0;
    top: 66px;
    width: min(320px, 92vw);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow);
}

.mobile-menu a {
    color: #27496c;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    padding: 12px 20px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-strong);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.hero {
    padding: 68px 0 42px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e7f2ff;
    color: #0f4f95;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--alert);
    box-shadow: 0 0 0 8px rgba(255, 77, 45, 0.12);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 16px;
    max-width: 14ch;
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    max-width: 58ch;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-row {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
}

.stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow);
}

.stat strong {
    font-size: 1.2rem;
    font-family: 'Sora', sans-serif;
    display: block;
    margin-bottom: 3px;
}

.stat span {
    font-size: 0.9rem;
    color: var(--muted);
}

.device-stack {
    position: relative;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(155deg, #dff0ff, #d9fff2);
    border: 1px solid #c8dff5;
    min-height: 520px;
    overflow: hidden;
}

.mockup {
    position: absolute;
    background: #fefefe;
    border: 1px solid #c8d7e8;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(5, 29, 53, 0.15);
    width: 54%;
    min-width: 210px;
    aspect-ratio: 9 / 18;
    padding: 16px;
}

.mockup img {
    width: 100%;
    height: calc(100% - 10px);
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #d4e1ed;
}

.mockup-a {
    top: 8%;
    left: 8%;
    animation: floaty 6s ease-in-out infinite;
}

.mockup-b {
    top: 18%;
    right: 6%;
    animation: floaty 7.5s ease-in-out infinite;
    animation-delay: 0.8s;
}

.mockup-c {
    bottom: 8%;
    left: 20%;
    animation: floaty 6.8s ease-in-out infinite;
    animation-delay: 0.4s;
}

.mockup-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge-alert {
    background: #ffe5df;
    color: #9d2e13;
}

.badge-map {
    background: #e2f2ff;
    color: #0a5f9c;
}

.badge-chat {
    background: #dff9f5;
    color: #0e726d;
}

section {
    padding: 72px 0;
}

.section-title {
    font-size: clamp(1.7rem, 3.3vw, 2.5rem);
    margin-bottom: 12px;
}

.section-intro {
    max-width: 70ch;
    margin-bottom: 26px;
}

.role-grid,
.feature-grid,
.steps,
.gallery-grid {
    display: grid;
    gap: 14px;
}

.role-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.96rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 6px 12px;
    background: #fff;
    color: #31475f;
    font-size: 0.82rem;
    font-weight: 700;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff, #f3f8fd);
    padding: 22px;
    box-shadow: var(--shadow);
}

.map-frame {
    margin-top: 14px;
    border-radius: 18px;
    min-height: 280px;
    border: 1px dashed #88a8c6;
    background:
        linear-gradient(90deg, rgba(0, 109, 255, 0.08) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(rgba(0, 109, 255, 0.08) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(160deg, #e8f4ff, #e8fff8);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
}

.map-frame img {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid #b7d2ea;
}

.timeline {
    margin-top: 10px;
    display: grid;
    gap: 12px;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dce8f4;
}

.timeline-item strong {
    font-family: 'Sora', sans-serif;
    color: #16487a;
}

.timeline-item span {
    color: #4d6178;
    font-size: 0.92rem;
}

.preview {
    border: 1px solid #c0d7eb;
    border-radius: 18px;
    min-height: 230px;
    padding: 16px;
    background: #fff;
    display: grid;
    gap: 12px;
    align-items: start;
    box-shadow: var(--shadow);
}

.preview img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #c6dced;
}

.preview h3 {
    font-size: 1.03rem;
    margin-bottom: 8px;
}

.cta {
    padding-bottom: 90px;
}

.cta-box {
    background: linear-gradient(130deg, #005de0, #0b87a8 62%, #14a196);
    border-radius: 30px;
    color: #fff;
    padding: clamp(24px, 4.5vw, 56px);
    box-shadow: 0 20px 55px rgba(0, 56, 133, 0.35);
}

.cta-box p {
    color: #e9f5ff;
    margin: 12px 0 24px;
    max-width: 58ch;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-light {
    background: #fff;
    color: #00387b;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 22px 0 40px;
    color: #607389;
    font-size: 0.9rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1040px) {
    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .device-stack {
        min-height: 540px;
    }

    .role-grid,
    .feature-grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

    .hero {
        padding-top: 44px;
    }

    .stat-row,
    .role-grid,
    .feature-grid,
    .steps,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .device-stack {
        min-height: 620px;
    }

    .mockup {
        width: 70%;
    }

    section {
        padding: 58px 0;
    }
}
