:root {
    --navy: #08152c;
    --navy-soft: #102241;
    --blue: #2f6df6;
    --cyan: #39d3d6;
    --cream: #f5f7fb;
    --white: #ffffff;
    --muted: #aab6cc;
    --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 18%, rgba(47, 109, 246, 0.24), transparent 30rem),
        radial-gradient(circle at 15% 80%, rgba(57, 211, 214, 0.12), transparent 24rem),
        linear-gradient(115deg, #08152c 0%, #091a36 45%, #07142a 100%);
    background-size: 100% 100%, 100% 100%, 180% 180%;
    animation: backgroundShift 16s ease-in-out infinite;
    font-family: "DM Sans", Arial, sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    animation: gridDrift 18s linear infinite;
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0 0, 0 0, 0% 50%; }
    50% { background-position: 0 0, 0 0, 100% 50%; }
}

@keyframes gridDrift {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-10px, 8px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

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

@keyframes glowPulse {
    0%, 100% { opacity: .85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(57, 211, 214, .3); }
    50% { box-shadow: 0 0 0 7px rgba(57, 211, 214, .06); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

a { color: inherit; }

.page-shell {
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.site-header {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.brand-mark {
    width: 52px;
    height: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--blue), var(--cyan));
    box-shadow: 0 10px 35px rgba(47, 109, 246, .3);
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    overflow: hidden;
    animation: logoBob 5s ease-in-out infinite;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 28%, rgba(255,255,255,.25) 50%, transparent 72%);
    transform: translateX(-120%);
    animation: shimmer 4.6s ease-in-out infinite;
}

.brand-mark-letter {
    position: relative;
    z-index: 1;
    line-height: 1;
    color: var(--white);
}

.brand-mark-letter.q {
    font-size: 22px;
    transform: translateY(-2px);
}

.brand-mark-letter.w {
    font-size: 17px;
    transform: translateY(10px);
    margin-left: -1px;
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.02; }
.brand-copy strong { font-family: "Manrope", sans-serif; font-size: 18px; letter-spacing: -.4px; }
.brand-copy small { color: var(--muted); margin-top: 5px; font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; }

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dfe7f6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
.header-link:hover { color: var(--cyan); transform: translateY(-1px); }

main { flex: 1; }

.hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 72px;
    align-items: center;
    padding: 74px 0 62px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(57, 211, 214, .25);
    border-radius: 999px;
    color: #c5f5f2;
    background: rgba(57, 211, 214, .07);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulseDot 2.2s ease-in-out infinite;
}

h1 {
    max-width: 680px;
    margin: 26px 0 22px;
    font: 800 clamp(44px, 5.2vw, 73px)/1.02 "Manrope", sans-serif;
    letter-spacing: -3.6px;
}

.intro {
    max-width: 620px;
    margin: 0;
    color: #bcc7da;
    font-size: 18px;
    line-height: 1.72;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 21px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--blue), #4a83ff); box-shadow: 0 15px 35px rgba(47,109,246,.28); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(47,109,246,.4); }
.button-secondary { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
.button-secondary:hover { border-color: rgba(57,211,214,.55); }

.supporting-copy {
    margin: 25px 0 0;
    color: #8f9db5;
    font-size: 14px;
    line-height: 1.65;
}
.supporting-copy a { color: #d9f9f7; font-weight: 700; text-underline-offset: 3px; }

.visual {
    position: relative;
    min-height: 490px;
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.glow { position: absolute; border-radius: 50%; filter: blur(2px); animation: glowPulse 8s ease-in-out infinite; }
.glow-one { width: 340px; height: 340px; background: rgba(47,109,246,.17); top: 45px; right: 20px; }
.glow-two { width: 210px; height: 210px; background: rgba(57,211,214,.11); bottom: 20px; left: 5px; animation-delay: 1.2s; }

.browser-card {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(13, 29, 55, .84);
    box-shadow: 0 35px 80px rgba(0,0,0,.35);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    backdrop-filter: blur(18px);
    transition: transform .25s ease;
    animation: floatY 6.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

.browser-top { height: 50px; display: flex; align-items: center; gap: 16px; padding: 0 17px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.browser-address { flex: 1; max-width: 260px; padding: 7px 12px; border-radius: 7px; background: rgba(255,255,255,.055); color: #8290a7; font-size: 10px; }

.browser-body { position: relative; min-height: 342px; padding: 20px 24px 28px; background: linear-gradient(145deg, rgba(10,27,52,.98), rgba(16,37,70,.93)); }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-logo { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg, var(--blue), var(--cyan)); font-size: 10px; font-weight: 800; }
.mock-links { display: flex; gap: 12px; }
.mock-links span { width: 30px; height: 4px; border-radius: 10px; background: rgba(255,255,255,.15); }
.mock-content { width: 58%; padding-top: 58px; }
.mock-tag { width: 72px; height: 8px; border-radius: 10px; background: var(--cyan); opacity: .85; margin-bottom: 18px; }
.mock-title { width: 100%; height: 17px; border-radius: 5px; background: rgba(255,255,255,.82); margin-bottom: 9px; }
.mock-title.short { width: 76%; }
.mock-text { width: 92%; height: 6px; border-radius: 5px; background: rgba(255,255,255,.17); margin-top: 21px; }
.mock-text.shorter { width: 70%; margin-top: 8px; }
.mock-buttons { display: flex; gap: 8px; margin-top: 23px; }
.mock-buttons span { width: 65px; height: 23px; border-radius: 6px; background: var(--blue); }
.mock-buttons span:last-child { background: transparent; border: 1px solid rgba(255,255,255,.2); }
.mock-panel { position: absolute; right: 24px; bottom: 36px; width: 145px; height: 164px; padding: 18px; border-radius: 18px; background: linear-gradient(155deg, rgba(47,109,246,.72), rgba(57,211,214,.38)); box-shadow: 0 20px 35px rgba(0,0,0,.22); }
.panel-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 14px; background: rgba(255,255,255,.18); font-weight: 800; }
.mock-panel span { display: block; width: 100%; height: 6px; margin-top: 8px; border-radius: 5px; background: rgba(255,255,255,.5); }
.mock-panel span:nth-child(2) { width: 82%; }
.mock-panel span:nth-child(3) { width: 58%; }

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 14px;
    background: rgba(9,23,45,.9);
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
}
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 12px; }
.floating-card small { margin-top: 3px; color: #8997ad; font-size: 10px; }
.floating-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #06162b; background: var(--cyan); font-weight: 800; }
.card-one { left: -16px; bottom: 56px; animation: floatY 5.2s ease-in-out infinite; }
.card-two { right: -8px; top: 66px; animation: floatY 5.8s ease-in-out infinite reverse; }

.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-strip div { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 0 26px; border-right: 1px solid var(--line); }
.service-strip div:last-child { border-right: 0; }
.service-strip span { color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.service-strip strong { font-size: 14px; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 27px 0 32px; color: #75849c; font-size: 12px; }
footer p { margin: 0; }
footer div { display: flex; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cyan); }

@media (max-width: 940px) {
    .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 58px; }
    .hero-copy { text-align: center; }
    .intro, h1 { margin-left: auto; margin-right: auto; }
    .actions { justify-content: center; }
    .visual { min-height: 430px; }
    .browser-card { transform: none; }
}

@media (max-width: 680px) {
    .page-shell { width: min(100% - 26px, 1180px); }
    .site-header { min-height: 78px; }
    .header-link { font-size: 0; width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line); border-radius: 10px; }
    .header-link span { font-size: 18px; }
    .brand-mark { width: 46px; height: 46px; }
    .brand-mark-letter.q { font-size: 20px; }
    .brand-mark-letter.w { font-size: 15px; }
    .brand-copy strong { font-size: 16px; }
    h1 { font-size: clamp(39px, 13vw, 55px); letter-spacing: -2.5px; }
    .intro { font-size: 16px; }
    .actions { flex-direction: column; }
    .button { width: 100%; }
    .visual { min-height: 360px; }
    .browser-body { min-height: 280px; padding: 17px; }
    .mock-content { padding-top: 43px; }
    .mock-panel { right: 17px; bottom: 28px; width: 118px; height: 140px; }
    .floating-card { min-width: 155px; padding: 10px; }
    .card-one { left: -3px; bottom: 20px; }
    .card-two { right: -3px; top: 34px; }
    .service-strip { grid-template-columns: 1fr; }
    .service-strip div { min-height: 64px; border-right: 0; border-bottom: 1px solid var(--line); }
    .service-strip div:last-child { border-bottom: 0; }
    footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
