﻿:root {
    --brand-3: #22c55e;
    --radius-xl: 26px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --max: 1180px;
    --btn-min-height: 42px;
    --btn-padding: 0 16px;
    --btn-transition: transform 0.2s ease, box-shadow 0.2s ease;
    --logo-mark-size: 38px;
    --logo-mark-radius: 11px;
    --logo-mark-bg:
        linear-gradient(130deg, var(--brand), #3296ff 53%, var(--brand-2)),
        linear-gradient(130deg, #22c55e, var(--brand-2));
    --logo-mark-shadow:
        inset 0 0 0 2px rgba(248, 250, 252, 0.5),
        0 10px 20px rgba(0, 120, 255, 0.4);
}

body {
    transition: background 0.3s ease, color 0.3s ease;
}

.theme-glow {
    animation: glowDrift 12s ease-in-out infinite alternate;
}

.theme-flash {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.16), transparent 55%);
}

.theme-flash.active {
    animation: themeFlash 0.38s ease;
}

.hero {
    padding: 32px 0 26px;
}

.topbar {
    margin-bottom: 34px;
}

.logo {
    letter-spacing: 0.2px;
}

.cta-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}



.btn:hover {
    transform: translateY(-1px);
}



.btn-primary {
    box-shadow: 0 10px 24px rgba(0, 120, 255, 0.4);
}

.btn-toggle {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    position: relative;
}

.nav-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 26px;
    align-items: stretch;
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-copy {
    padding: 36px;
}

.eyebrow {
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 13px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #7dd3fc;
}

h1,
h2,
h3 {
    font-family: "Outfit", "Segoe UI", sans-serif;
    margin: 0;
}

h1 {
    margin-top: 12px;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    line-height: 1.03;
}

.lead {
    margin: 16px 0 22px;
    color: var(--ink-muted);
    max-width: 52ch;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.chip {
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.75);
    padding: 6px 12px;
    font-size: 0.89rem;
}

body[data-theme="light"] .chip {
    background: rgba(241, 245, 249, 0.95);
}

.hero-shot {
    padding: 16px;
    overflow: hidden;
    position: relative;
}

.hero-shot::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 280px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, transparent 72%);
}

.device {
    margin: 0;
    border-radius: calc(var(--radius-xl) - 8px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #0f172a;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.52);
}

body[data-theme="light"] .device {
    background: #e2e8f0;
    border-color: rgba(71, 85, 105, 0.28);
}

.device img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.device figcaption {
    font-size: 0.85rem;
    color: #e2e8f0;
    padding: 9px 12px;
    background: linear-gradient(90deg, #1e293b, #334155);
}

section {
    margin-top: 26px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.section-head p {
    margin: 0;
    color: var(--ink-muted);
}

.purpose {
    padding: 30px;
}

.purpose-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

.purpose-card {
    background: linear-gradient(170deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.92));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 15px;
}

body[data-theme="light"] .purpose-card {
    background: linear-gradient(170deg, #ffffff, #f8fafc);
}

.purpose-card h3 {
    font-size: 1rem;
}

.purpose-card p {
    margin: 8px 0 0;
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.gallery,
.videos {
    padding: 24px;
}

.gallery-grid,
.video-grid {
    display: grid;
    gap: 12px;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capture {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111827;
}

body[data-theme="light"] .capture {
    background: #f8fafc;
}

.capture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    transition: filter 0.25s ease;
}

.capture figcaption {
    padding: 8px 10px;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clip {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111827;
}

body[data-theme="light"] .clip {
    background: #f8fafc;
}

.clip video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #0b1222;
}

.clip figcaption {
    font-size: 0.85rem;
    color: var(--ink-muted);
    padding: 8px 10px;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.metric {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 14px;
}

.metric strong {
    display: block;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 1.4rem;
}

.metric span {
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.in {
    animation: rise 0.7s cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

@keyframes glowDrift {
    0% {
        transform: translate3d(-2%, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(2%, 2%, 0) scale(1.04);
    }
}

@keyframes themeFlash {
    0% {
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 980px) {

    .hero-grid,
    .purpose-grid,
    .gallery-grid,
    .video-grid,
    .info-strip {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-group {
        width: 100%;
    }

    .cta-group .btn:hover {
        transform: translateY(-1px);
    }

    .hero-copy,
    .gallery,
    .videos,
    .purpose {
        padding: 20px;
    }

    .hero-grid,
    .purpose-grid,
    .gallery-grid,
    .video-grid,
    .info-strip {
        grid-template-columns: 1fr;
    }
}

main {
    padding-bottom: 28px;
}