*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #0a1220;
    --bg-deep: #070d18;
    --bg-soft: #0f192d;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #eef4ff;
    --muted: #9fb0cd;
    --primary: #57b8ff;
    --primary-strong: #4b72ff;
    --accent: #1fd0a6;
    --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 18px 42px rgba(0, 0, 0, 0.28);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(75, 114, 255, 0.22), transparent 30%),
        radial-gradient(circle at top right, rgba(31, 208, 166, 0.12), transparent 25%),
        linear-gradient(180deg, #091221 0%, #08111f 50%, #09101b 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    overflow: hidden;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(9, 18, 33, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img,
.footer-brand img {
    width: 58px;
    height: auto;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.25));
}

.brand strong,
.footer-brand strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a,
.mobile-menu a {
    color: var(--muted);
    padding: 12px 15px;
    border-radius: 999px;
    font-weight: 600;
    transition: all .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-menu a:hover,
.mobile-menu a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-pill {
    border: 1px solid var(--line);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    cursor: pointer;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.mobile-menu.is-open {
    max-height: 420px;
}

.mobile-menu-inner {
    display: grid;
    gap: 8px;
    padding: 0 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 15px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #06111f;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 18px 34px rgba(75, 114, 255, 0.28);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.btn-outline {
    color: var(--text);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
}

.full-width {
    width: 100%;
}

.hero-section {
    position: relative;
    padding: 72px 0 52px;
}

.hero-grid,
.split-grid,
.contact-layout,
.page-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #b8c8e7;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.content-panel h2,
.cta-panel h2 {
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 4.2vw, 4.8rem);
    max-width: 12ch;
}

.page-hero h1 {
    font-size: clamp(2rem, 3.4vw, 3.6rem);
    max-width: 12ch;
}

.hero-copy p,
.page-hero p,
.section-heading p,
.content-panel p,
.info-card p,
.contact-card p,
.download-card p,
.service-card p,
.step-card p,
.quote-card p,
.cta-panel p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.stat-card,
.service-card,
.info-card,
.contact-card,
.download-card,
.step-card,
.cta-panel,
.visual-card,
.floating-panel,
.counter-box {
    border: 1px solid var(--line);
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.stat-card {
    padding: 18px;
    border-radius: 18px;
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-visual,
.visual-side,
.page-hero-visual {
    position: relative;
}

.visual-card {
    padding: 18px;
    border-radius: var(--radius-xl);
}

.card-elevated {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.floating-panel {
    position: absolute;
    right: -12px;
    bottom: -18px;
    width: min(320px, 82%);
    padding: 22px;
    border-radius: 24px;
}

.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
}

.floating-panel h3,
.info-card h3,
.contact-card h2,
.download-card h3,
.service-card h3,
.step-card h3 {
    margin: 14px 0 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
}

.feature-mini-list,
.check-list,
.contact-list,
.footer-links,
.ordered-steps,
.compact-list {
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.feature-mini-list li,
.check-list li,
.contact-list li,
.footer-links li,
.ordered-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.6;
}

.feature-mini-list li + li,
.check-list li + li,
.contact-list li + li,
.footer-links li + li,
.ordered-steps li + li {
    margin-top: 12px;
}

.check-list li::before,
.ordered-steps li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 8px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 6px rgba(87, 184, 255, 0.12);
}

.compact-list li {
    align-items: center;
}

.section,
.page-hero {
    padding: 84px 0;
}

.section-soft {
    background: rgba(255,255,255,0.02);
}

.section-dark {
    background:
        radial-gradient(circle at center top, rgba(75, 114, 255, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(8, 14, 26, 0.96), rgba(7, 12, 22, 0.98));
}

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

.section-heading.center {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 42px;
}

.section-heading h2,
.content-panel h2,
.cta-panel h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

.cards-grid,
.download-grid,
.mini-steps {
    display: grid;
    gap: 22px;
}

.cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-detail-grid,
.download-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 28px;
}

.service-card,
.info-card,
.contact-card,
.download-card,
.step-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.icon-box,
.download-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(87,184,255,0.18), rgba(31,208,166,0.18));
    border: 1px solid rgba(255,255,255,0.12);
    color: #d8f4ff;
    font-size: 1.35rem;
}

.download-icon {
    margin-bottom: 8px;
}

.step-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.stack-pills span {
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.content-panel,
.contact-card {
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
}

.cta-panel {
    padding: 32px;
    border-radius: var(--radius-xl);
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.page-hero {
    padding-bottom: 40px;
}

.page-hero-visual img,
.visual-side img {
    width: 100%;
}

.contact-layout {
    align-items: stretch;
}

.contact-form,
.form-grid {
    display: grid;
    gap: 18px;
}

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

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #dbe6fb;
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.05);
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(87, 184, 255, 0.65);
    box-shadow: 0 0 0 4px rgba(87, 184, 255, 0.12);
    background: rgba(255,255,255,0.07);
}

.hidden-honeypot {
    display: none;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
}

.alert.success {
    color: #d4ffe7;
    background: rgba(31, 208, 166, 0.16);
    border-color: rgba(31, 208, 166, 0.34);
}

.alert.error {
    color: #ffe1e4;
    background: rgba(255, 89, 104, 0.16);
    border-color: rgba(255, 89, 104, 0.32);
}

.alert.warning {
    color: #fff1cf;
    background: rgba(240, 181, 71, 0.15);
    border-color: rgba(240, 181, 71, 0.28);
}

.site-footer {
    padding: 28px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(5, 9, 16, 0.76);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.footer-brand p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer h4 {
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
}

.footer-links a {
    color: var(--muted);
    transition: color .25s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.counter-box {
    padding: 18px;
    border-radius: 18px;
}

.counter-value {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.counter-box small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.desktop-only {
    display: inline-flex;
}

@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-detail-grid,
    .download-grid,
    .mini-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 920px) {
    .desktop-nav,
    .desktop-only {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-grid,
    .split-grid,
    .contact-layout,
    .page-hero-grid,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-hero h1 {
        max-width: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .floating-panel {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 18px;
    }
}

@media (max-width: 680px) {
    .section,
    .page-hero,
    .hero-section {
        padding: 64px 0;
    }

    .topbar-inner {
        min-height: 76px;
    }

    .brand span {
        display: none;
    }

    .container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .cards-grid,
    .services-detail-grid,
    .download-grid,
    .mini-steps,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-actions,
    .stack-pills {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .content-panel,
    .contact-card,
    .info-card,
    .service-card,
    .download-card,
    .step-card,
    .cta-panel,
    .visual-card {
        padding: 22px;
    }
}
