:root {
    --bg: #070912;
    --surface: rgba(18, 20, 39, 0.82);
    --surface-solid: #121427;
    --border: rgba(255, 255, 255, 0.1);
    --text: #f7f7ff;
    --muted: #a9abc5;
    --purple: #8b5cf6;
    --violet: #b66cff;
    --cyan: #57d8ff;
    --success: #6ee7b7;
    --danger: #fca5a5;
    --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.16), transparent 36%),
        var(--bg);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    opacity: 0.42;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(87,216,255,.65) 1px, transparent 1px);
    background-position: 0 0, 40px 70px;
    background-size: 95px 95px, 145px 145px;
}

.space-glow {
    position: fixed;
    z-index: -2;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.18;
    pointer-events: none;
}

.glow-one {
    top: 10%;
    left: -180px;
    background: var(--purple);
}

.glow-two {
    right: -200px;
    bottom: 12%;
    background: var(--cyan);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
}

.brand > span:last-child span {
    color: var(--violet);
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(182,108,255,.45);
    border-radius: 10px;
    color: var(--cyan);
    background: rgba(139,92,246,.15);
    box-shadow: inset 0 0 18px rgba(87,216,255,.08);
}

nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    transition: .2s ease;
}

nav a:hover {
    color: var(--text);
}

nav .nav-cta {
    padding: 10px 16px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 70px;
    min-height: 690px;
    padding-block: 74px 100px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--cyan);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .17em;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 6vw, 5.15rem);
    line-height: .98;
    letter-spacing: -.055em;
}

h1 span {
    color: transparent;
    background: linear-gradient(100deg, #fff 0%, var(--violet) 45%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy > p {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 13px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, #6d48e5, #a855f7);
    box-shadow: 0 14px 35px rgba(139,92,246,.25);
}

.button.secondary {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.035);
}

.button.secondary:hover {
    border-color: rgba(87,216,255,.35);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 26px;
    color: #c5c7dc;
    font-size: .82rem;
}

.trust-row span::first-letter {
    color: var(--success);
}

.hero-card {
    position: relative;
    min-height: 490px;
    isolation: isolate;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 14% 5%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.28), transparent 62%);
    filter: blur(22px);
}

.planet {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 210px;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 24%, rgba(255,255,255,.65) 0 2%, transparent 3%),
        radial-gradient(circle at 28% 25%, #b892ff 0%, #6d42d8 32%, #27114f 67%, #0d1021 100%);
    box-shadow:
        inset -28px -18px 45px rgba(0,0,0,.4),
        0 0 75px rgba(139,92,246,.45);
}

.planet::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 68px;
    border: 15px solid rgba(87,216,255,.45);
    border-left-color: rgba(182,108,255,.55);
    border-right-color: rgba(182,108,255,.18);
    border-radius: 50%;
    transform: rotate(-14deg);
    box-shadow: 0 0 24px rgba(87,216,255,.18);
}

.planet span {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -.08em;
    text-shadow: 0 5px 24px rgba(0,0,0,.6);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
}

.orbit-one {
    width: 390px;
    height: 265px;
}

.orbit-two {
    width: 470px;
    height: 355px;
    transform: translate(-50%, -50%) rotate(35deg);
}

.floating-card {
    position: absolute;
    width: 180px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(14,17,34,.74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(13px);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    margin-bottom: 6px;
    font-size: .92rem;
}

.floating-card small {
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.4;
}

.card-one { top: 8%; left: 2%; }
.card-two { top: 30%; right: -4%; }
.card-three { bottom: 5%; left: 12%; }

.services {
    padding-block: 95px 120px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 44px;
}

.section-heading h2,
.contact-copy h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(182,108,255,.38);
    background: linear-gradient(145deg, rgba(139,92,246,.13), rgba(255,255,255,.02));
}

.service-number {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--violet);
    font-size: .78rem;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.06rem;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.65;
}

.contact-section {
    padding-block: 120px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(139,92,246,.055), rgba(87,216,255,.025));
}

.contact-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: start;
    gap: 70px;
}

.contact-copy {
    position: sticky;
    top: 32px;
}

.contact-copy > p {
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.75;
}

.contact-note {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    padding: 20px;
    border: 1px solid rgba(87,216,255,.18);
    border-radius: 16px;
    background: rgba(87,216,255,.045);
}

.contact-note > span {
    color: var(--cyan);
}

.contact-note p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.55;
}

.contact-note strong {
    color: var(--text);
}

.form-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(12,14,29,.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    color: #d9daea;
    font-size: .82rem;
    font-weight: 650;
}

input,
select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    background: #0c0f20;
    font: inherit;
    font-size: .9rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

input::placeholder {
    color: #676a83;
}

input:focus,
select:focus {
    border-color: rgba(139,92,246,.8);
    box-shadow: 0 0 0 4px rgba(139,92,246,.12);
}

select option {
    color: #fff;
    background: #11142a;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 22px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.5;
}

.privacy-check input {
    width: 17px;
    min-height: 17px;
    margin-top: 2px;
    accent-color: var(--purple);
}

.submit-button {
    width: 100%;
    margin-top: 24px;
}

.submit-button span {
    margin-left: 10px;
    font-size: 1.2rem;
}

.alert {
    display: grid;
    gap: 5px;
    margin-bottom: 22px;
    padding: 15px 17px;
    border-radius: 12px;
    font-size: .85rem;
}

.alert.success {
    border: 1px solid rgba(110,231,183,.28);
    color: #d1fae5;
    background: rgba(16,185,129,.1);
}

.alert.error {
    border: 1px solid rgba(252,165,165,.25);
    color: #fee2e2;
    background: rgba(239,68,68,.1);
}

.alert span {
    color: inherit;
    opacity: .82;
}

footer {
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #71748d;
    font-size: .78rem;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 55px;
    }

    .hero-card {
        min-height: 440px;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-copy {
        position: static;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 26px, 1120px);
    }

    .navbar {
        min-height: 70px;
    }

    nav a:first-child {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-block: 58px 70px;
    }

    h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-copy > p {
        font-size: .98rem;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .trust-row {
        display: grid;
        gap: 9px;
    }

    .hero-card {
        min-height: 355px;
        transform: scale(.85);
        margin-inline: -10%;
    }

    .orbit-one { width: 330px; height: 230px; }
    .orbit-two { width: 390px; height: 295px; }
    .planet { width: 165px; }
    .planet::after { width: 235px; height: 53px; border-width: 12px; }
    .floating-card { width: 152px; padding: 13px; }
    .card-one { left: 0; }
    .card-two { right: 0; }

    .services {
        padding-block: 70px 85px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 190px;
    }

    .service-number {
        margin-bottom: 28px;
    }

    .contact-section {
        padding-block: 80px;
    }

    .form-card {
        padding: 22px 17px;
        border-radius: 19px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .field.full {
        grid-column: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
