:root {
    color-scheme: dark;
    --cyan: #19d9ff;
    --blue: #2b7cff;
    --mint: #28f2a6;
    --ink: #020817;
    --panel: rgba(8, 20, 39, .72);
    --stroke: rgba(148, 213, 255, .18);
    --text: #eaf6ff;
    --muted: #9ab2c8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 5%, rgba(43, 124, 255, .24), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(25, 217, 255, .18), transparent 30rem),
        radial-gradient(circle at 50% 92%, rgba(40, 242, 166, .10), transparent 30rem),
        var(--ink);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 213, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 213, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .88), rgba(0, 0, 0, .42), transparent);
}

a,
button,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: -3;
    opacity: .22;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

.nav-blur {
    background: rgba(2, 8, 23, .66);
    border-bottom: 1px solid rgba(148, 213, 255, .12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.glass {
    background: linear-gradient(145deg, rgba(12, 28, 54, .78), rgba(5, 15, 32, .55));
    border: 1px solid var(--stroke);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.glass-card {
    border-radius: 8px;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(25, 217, 255, .44);
    box-shadow: 0 28px 80px rgba(3, 19, 43, .55), 0 0 34px rgba(25, 217, 255, .16);
    background: linear-gradient(145deg, rgba(13, 36, 70, .9), rgba(4, 15, 34, .62));
}

.section-pad {
    padding: 96px 0;
}

.text-gradient {
    background: linear-gradient(92deg, #ffffff 6%, #b7efff 42%, #19d9ff 70%, #28f2a6 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-premium {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(137, 224, 255, .34);
    background: linear-gradient(135deg, #19d9ff, #2b7cff 52%, #28f2a6);
    color: #00111f;
    box-shadow: 0 18px 45px rgba(25, 217, 255, .22);
    transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.btn-premium::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .74), transparent);
    transform: translateX(-120%);
    transition: transform .7s ease;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 56px rgba(25, 217, 255, .35);
    filter: saturate(1.08);
}

.btn-premium:hover::before {
    transform: translateX(120%);
}

.btn-ghost {
    border: 1px solid rgba(148, 213, 255, .22);
    background: rgba(255, 255, 255, .04);
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.btn-ghost:hover {
    transform: translateY(-3px);
    border-color: rgba(25, 217, 255, .45);
    background: rgba(25, 217, 255, .08);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(42px);
    opacity: .75;
    pointer-events: none;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #8defff;
    background: linear-gradient(135deg, rgba(25, 217, 255, .18), rgba(43, 124, 255, .14));
    border: 1px solid rgba(148, 213, 255, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.phone-shell {
    position: relative;
    width: min(310px, 78vw);
    aspect-ratio: 9 / 18.5;
    margin-inline: auto;
    border-radius: 38px;
    padding: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .02) 34%),
        linear-gradient(145deg, #11284b, #020817 70%);
    box-shadow: 0 45px 95px rgba(0, 0, 0, .46), 0 0 0 1px rgba(148, 213, 255, .22), 0 0 60px rgba(25, 217, 255, .22);
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 29px;
    background:
        radial-gradient(circle at 50% 10%, rgba(25, 217, 255, .27), transparent 12rem),
        linear-gradient(180deg, #081932, #020817);
    border: 1px solid rgba(148, 213, 255, .18);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 5;
    width: 92px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 5, 15, .9);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
}

.scan-line {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 2px;
    top: 30%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(25, 217, 255, .95), transparent);
    box-shadow: 0 0 20px rgba(25, 217, 255, .8);
    animation: scan 3.4s ease-in-out infinite;
}

.orbit {
    position: absolute;
    inset: 18%;
    border: 1px dashed rgba(25, 217, 255, .2);
    border-radius: 999px;
    animation: rotate 18s linear infinite;
}

.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 22px var(--cyan);
}

.orbit::before {
    top: -5px;
    left: 48%;
}

.orbit::after {
    right: 5%;
    bottom: 12%;
    background: var(--mint);
    box-shadow: 0 0 22px var(--mint);
}

.floating-badge {
    position: absolute;
    z-index: 8;
    border-radius: 8px;
    border: 1px solid rgba(148, 213, 255, .24);
    background: rgba(6, 19, 40, .74);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .32), 0 0 24px rgba(25, 217, 255, .13);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: badgeFloat 5.5s ease-in-out infinite;
}

.timeline-step {
    position: relative;
}

.timeline-step::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 58px;
    bottom: -26px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(25, 217, 255, .5), transparent);
}

.timeline-step:last-child::before {
    display: none;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .3s ease;
}

.faq-item.active .faq-panel {
    max-height: 320px;
    opacity: 1;
}

.faq-icon {
    transition: transform .25s ease, color .25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--cyan);
}

.form-field {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(148, 213, 255, .18);
    background: rgba(255, 255, 255, .05);
    padding: 14px 16px;
    color: #fff;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.form-field:focus {
    border-color: rgba(25, 217, 255, .6);
    background: rgba(25, 217, 255, .06);
    box-shadow: 0 0 0 4px rgba(25, 217, 255, .10);
}

.social-link {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(148, 213, 255, .2);
    background: rgba(255, 255, 255, .05);
    color: #cbd5e1;
    transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.social-link:hover,
.footer-link:hover {
    color: #8defff;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(25, 217, 255, .5);
}

.footer-link {
    transition: color .25s ease;
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 35%, rgba(25, 217, 255, .22), transparent 18rem), #020817;
    transition: opacity .5s ease, visibility .5s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-mark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(25, 217, 255, .24), rgba(43, 124, 255, .18));
    border: 1px solid rgba(148, 213, 255, .26);
    box-shadow: 0 0 50px rgba(25, 217, 255, .25);
    animation: pulseMark 1.35s ease-in-out infinite;
}

#cursorGlow {
    position: fixed;
    z-index: 9999;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(25, 217, 255, .18), rgba(43, 124, 255, .09) 42%, transparent 70%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity .2s ease;
}

#particles {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(104, 231, 255, .72);
    box-shadow: 0 0 18px rgba(25, 217, 255, .75);
    animation: particleRise linear infinite;
}

.swiper {
    padding: 8px 4px 56px;
}

.swiper-pagination-bullet {
    background: rgba(148, 213, 255, .45);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--mint));
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50% { transform: translateY(-18px) rotate(1.5deg); }
}

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

@keyframes scan {
    0%, 100% { top: 27%; opacity: .18; }
    45%, 55% { opacity: 1; }
    50% { top: 70%; }
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

@keyframes pulseMark {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(25, 217, 255, .24); }
    50% { transform: scale(1.08); box-shadow: 0 0 70px rgba(25, 217, 255, .42); }
}

@keyframes particleRise {
    from { transform: translateY(110vh) translateX(0); opacity: 0; }
    12% { opacity: .78; }
    86% { opacity: .58; }
    to { transform: translateY(-16vh) translateX(var(--drift)); opacity: 0; }
}

@media (max-width: 767px) {
    .section-pad {
        padding: 72px 0;
    }

    .floating-badge {
        display: none;
    }

    .timeline-step::before {
        left: 20px;
    }
}

@media (pointer: coarse) {
    #cursorGlow {
        display: none;
    }
}
