:root {
    color-scheme: dark;
    --bg: #080b10;
    --bg-soft: #0d121a;
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.075);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f7f9fc;
    --muted: #a4adba;
    --blue: #00a7f5;
    --blue-light: #77d9ff;
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 16, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}
.header-content { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 30px; }
.brand-link img, .footer-brand img { display: block; width: 114px; height: auto; }
.main-navigation { display: flex; align-items: center; gap: 24px; }
.main-navigation a { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.main-navigation a:hover { color: var(--text); }
.main-navigation .nav-login { margin-left: 8px; color: var(--text); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px; background: var(--text); }

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: #041018;
    background: var(--blue-light);
    box-shadow: 0 16px 38px rgba(0, 167, 245, .18);
    font-size: .95rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #a6e8ff; box-shadow: 0 18px 45px rgba(0, 167, 245, .27); }
.button-small { min-height: 40px; padding: 0 17px; font-size: .82rem; }
.button-secondary { color: var(--text); border-color: var(--border); background: rgba(255, 255, 255, .04); box-shadow: none; }
.button-secondary:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0 90px;
    background:
        radial-gradient(circle at 78% 33%, rgba(0, 167, 245, .16), transparent 25%),
        radial-gradient(circle at 20% 20%, rgba(44, 93, 255, .1), transparent 32%);
}
.hero-section::after {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(119, 217, 255, .45), transparent);
}
.hero-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr); align-items: center; gap: 55px; }
.eyebrow {
    display: inline-flex;
    color: var(--blue-light);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin: 18px 0 22px; font-size: clamp(3rem, 5.5vw, 5.6rem); letter-spacing: -.085em; line-height: .98; }
.hero-description { max-width: 630px; margin-bottom: 28px; color: var(--muted); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }
.trial-note { margin: 0; color: var(--muted); font-size: .8rem; }
.hero-product { position: relative; padding: 30px 0; }
.hero-glow { position: absolute; inset: 18% 12%; background: rgba(0, 167, 245, .24); filter: blur(72px); }
.screenshot-frame, .gallery-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(119, 217, 255, .2);
    background: #111823;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
    cursor: zoom-in;
}
.screenshot-frame { display: block; width: 100%; aspect-ratio: 1.52; border-radius: 18px; transform: perspective(1100px) rotateY(-5deg) rotateX(2deg); }
.screenshot-frame img, .gallery-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.screenshot-frame:hover img, .gallery-card:hover img { transform: scale(1.035); }
.product-chip { position: absolute; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); background: rgba(17, 24, 35, .9); box-shadow: 0 12px 25px rgba(0, 0, 0, .24); font-size: .75rem; font-weight: 700; }
.product-chip-top { top: 5px; right: -10px; }
.product-chip-bottom { bottom: 4px; left: -14px; }

.trust-strip { border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid span { padding: 18px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.trust-grid span + span { border-left: 1px solid rgba(255, 255, 255, .08); }

.content-section { padding: 112px 0; }
.section-muted { background: var(--bg-soft); }
.section-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-heading-left { max-width: 720px; margin-left: 0; text-align: left; }
.section-heading h2, .cta-panel h2 { margin: 15px 0; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.075em; line-height: 1.03; }
.section-heading p, .cta-panel p { color: var(--muted); }
.benefit-grid, .feature-grid, .gallery-grid { display: grid; gap: 16px; }
.benefit-grid { grid-template-columns: repeat(3, 1fr); }
.info-card, .feature-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.info-card:hover, .feature-card:hover { transform: translateY(-4px); border-color: rgba(119, 217, 255, .38); background: var(--panel-strong); }
.card-number, .feature-card span { display: block; margin-bottom: 38px; color: var(--blue-light); font-size: .76rem; font-weight: 800; }
.info-card h3, .feature-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.info-card p, .feature-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.feature-grid { grid-template-columns: repeat(6, 1fr); }
.feature-card { min-height: 220px; }
.feature-card:nth-child(1), .feature-card:nth-child(2), .feature-card:nth-child(3) { grid-column: span 2; }
.feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: span 3; }
.gallery-grid { grid-template-columns: 1.2fr .9fr .9fr; }
.gallery-card { height: 330px; border-radius: 17px; text-align: left; }
.gallery-card span { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); background: rgba(8, 11, 16, .88); font-size: .72rem; font-weight: 700; }
.gallery-card img { object-position: top left; }

.cta-section { padding-top: 30px; }
.cta-panel {
    max-width: 960px;
    margin: 0 auto;
    padding: 62px 32px;
    border: 1px solid rgba(119, 217, 255, .2);
    border-radius: 32px;
    background: radial-gradient(circle at 50% 0, rgba(0, 167, 245, .2), transparent 50%), var(--bg-soft);
    text-align: center;
}
.cta-panel p { margin-bottom: 25px; }
.cta-panel small { display: block; margin-top: 14px; color: var(--muted); }

.lightbox {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 22px 22px;
    background: rgba(0, 0, 0, .88);
}
.lightbox.is-open { display: flex; }
.lightbox-image { max-width: min(1500px, 100%); max-height: 100%; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox-close { position: absolute; top: 15px; right: 22px; border: 0; color: var(--text); background: transparent; font-size: 2.4rem; line-height: 1; cursor: pointer; }

.reveal-up { opacity: 0; transform: translateY(22px); }
.reveal-up.animate-in { animation: reveal-up .55s ease forwards; }
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

.site-footer { padding: 58px 0 25px; border-top: 1px solid rgba(255, 255, 255, .08); background: #06080c; }
.footer-content { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 38px; }
.footer-brand p { max-width: 360px; margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; gap: 55px; }
.footer-links h4 { margin: 0 0 13px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { display: block; margin-top: 7px; color: var(--muted); font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: var(--blue-light); }
.footer-bottom { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--muted); font-size: .76rem; }

/* Legal pages */
.terms-section { min-height: 100vh; padding: 80px 0; background: var(--bg); }
.terms-content { max-width: 860px; margin: auto; padding: 48px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.terms-title { margin-bottom: 30px; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.06em; line-height: 1.05; }
.terms-intro { margin-bottom: 36px; padding: 20px; border-left: 3px solid var(--blue); background: rgba(0, 167, 245, .08); }
.terms-intro p, .terms-section-item p, .terms-section-item li { color: var(--muted); }
.terms-section-item { margin-top: 32px; }
.terms-section-item h2 { font-size: 1.2rem; }
.terms-section-item a { color: var(--blue-light); }
.terms-back { margin-top: 40px; }
.btn-back { display: inline-flex; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; }

@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .hero-product { max-width: 700px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-card { height: 360px; }
}
@media (max-width: 720px) {
    .container { width: min(100% - 28px, 620px); }
    .menu-toggle { display: block; }
    .main-navigation {
        position: absolute;
        top: 74px;
        right: 14px;
        left: 14px;
        display: none;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(13, 18, 26, .98);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .36);
    }
    .main-navigation.is-open { display: grid; gap: 13px; }
    .main-navigation .nav-login { margin-left: 0; }
    .main-navigation .button { margin-top: 3px; }
    .hero-section { padding: 76px 0 56px; }
    h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
    .hero-description { font-size: 1rem; }
    .product-chip { display: none; }
    .trust-grid, .benefit-grid { grid-template-columns: 1fr; }
    .trust-grid span + span { border-top: 1px solid rgba(255, 255, 255, .08); border-left: 0; }
    .content-section { padding: 80px 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card:nth-child(n) { grid-column: auto; min-height: auto; }
    .card-number, .feature-card span { margin-bottom: 25px; }
    .gallery-card { height: 245px; }
    .footer-content { display: block; }
    .footer-links { margin-top: 30px; gap: 30px; }
    .terms-section { padding: 28px 0; }
    .terms-content { padding: 27px 22px; }
}
