:root {
    --quantum-blue: #10a7e8;
    --quantum-blue-dark: #027eb7;
    --quantum-blue-light: #56c9f6;
    --quantum-navy: #061421;
    --quantum-dark: #02080d;
    --quantum-card: rgba(10, 31, 46, 0.78);
    --white: #ffffff;
    --text-light: #d5e2ea;
    --text-muted: #94a8b6;
    --border: rgba(255, 255, 255, 0.12);
    --blue-border: rgba(16, 167, 232, 0.32);
    --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

/* ========================================
   Reset
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--quantum-dark);
    color: var(--white);
    font-family: "Inter", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

/* ========================================
   Main page
======================================== */

.welcome-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    padding: 0 clamp(24px, 6vw, 100px);

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(16, 167, 232, 0.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(16, 167, 232, 0.09),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #02080d 0%,
            #061421 50%,
            #020b12 100%
        );
}

/* ========================================
   Decorative background
======================================== */

.background-decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 25%,
        black 75%,
        transparent
    );
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.glow-one {
    top: -180px;
    right: -130px;
    width: 500px;
    height: 500px;
    background: var(--quantum-blue);
}

.glow-two {
    bottom: -220px;
    left: -180px;
    width: 460px;
    height: 460px;
    background: #005d8c;
}

/* ========================================
   Header
======================================== */

.site-header {
    width: 100%;
    max-width: 1450px;
    min-height: 110px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    position: relative;
    width: 66px;
    height: 66px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-fallback {
    width: 66px;
    height: 66px;
    display: none;
    align-items: center;
    justify-content: center;

    border: 8px solid var(--quantum-blue);
    border-radius: 50%;

    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--quantum-blue);
}

.brand-name {
    display: flex;
    flex-direction: column;
}

.brand-name strong {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1;
    letter-spacing: 4px;
}

.brand-name span {
    margin-top: 7px;
    color: var(--quantum-blue);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 10px;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    min-height: 48px;
    padding: 0 21px;

    border: 1px solid var(--blue-border);
    border-radius: 999px;
    background: rgba(16, 167, 232, 0.08);

    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.header-contact i {
    color: var(--quantum-blue);
}

.header-contact:hover {
    transform: translateY(-2px);
    border-color: var(--quantum-blue);
    background: rgba(16, 167, 232, 0.16);
}

/* ========================================
   Hero section
======================================== */

.hero {
    width: 100%;
    max-width: 1450px;
    min-height: 610px;
    margin: 0 auto;
    padding: 70px 0 55px;

    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: clamp(40px, 7vw, 110px);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.status-badge {
    width: fit-content;
    margin-bottom: 26px;
    padding: 9px 15px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    border: 1px solid var(--blue-border);
    border-radius: 999px;
    background: rgba(16, 167, 232, 0.08);

    color: #bcecff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.status-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--quantum-blue);
    box-shadow: 0 0 13px var(--quantum-blue);
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -5px;

    border: 1px solid var(--quantum-blue);
    border-radius: 50%;

    animation: statusPulse 1.8s ease-out infinite;
}

.eyebrow {
    margin-bottom: 13px;
    color: var(--quantum-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 800px;
    margin-bottom: 25px;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(42px, 5vw, 75px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2.5px;
}

.hero h1 span {
    color: var(--quantum-blue);
    background: linear-gradient(
        90deg,
        var(--quantum-blue-light),
        var(--quantum-blue)
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 670px;
    margin-bottom: 32px;

    color: var(--text-light);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 39px;
}

.button {
    min-height: 55px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: linear-gradient(
        135deg,
        var(--quantum-blue),
        var(--quantum-blue-dark)
    );

    box-shadow: 0 14px 35px rgba(16, 167, 232, 0.24);
}

.button-primary:hover {
    box-shadow: 0 18px 40px rgba(16, 167, 232, 0.34);
}

.button-outline {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.button-outline:hover {
    border-color: var(--quantum-blue);
    background: rgba(16, 167, 232, 0.09);
}

/* ========================================
   Services
======================================== */

.services-title {
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-list span {
    padding: 9px 12px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 1px solid var(--border);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);

    color: #c5d6df;
    font-size: 12px;
    font-weight: 500;
}

.service-list i {
    color: var(--quantum-blue);
}

/* ========================================
   Hero visual
======================================== */

.hero-visual {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(16, 167, 232, 0.24);
}

.ring-one {
    width: 420px;
    height: 420px;
    animation: rotateRing 25s linear infinite;
}

.ring-two {
    width: 330px;
    height: 330px;
    border-style: dashed;
    animation: rotateRingReverse 18s linear infinite;
}

.ring-three {
    width: 245px;
    height: 245px;
    border-color: rgba(255, 255, 255, 0.09);
}

.security-core {
    position: relative;
    z-index: 3;

    width: 225px;
    height: 225px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(16, 167, 232, 0.42);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(16, 167, 232, 0.18),
            rgba(4, 18, 29, 0.96) 70%
        );

    box-shadow:
        0 0 80px rgba(16, 167, 232, 0.15),
        inset 0 0 50px rgba(16, 167, 232, 0.08);
}

.core-pulse {
    position: absolute;
    inset: -1px;
    border: 1px solid var(--quantum-blue);
    border-radius: 50%;
    animation: corePulse 2.4s ease-out infinite;
}

.core-icon {
    width: 69px;
    height: 69px;
    margin-bottom: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--blue-border);
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        rgba(16, 167, 232, 0.27),
        rgba(16, 167, 232, 0.06)
    );

    color: var(--quantum-blue);
    font-size: 31px;
}

.security-core strong {
    font-family: "Montserrat", sans-serif;
    font-size: 33px;
}

.security-core span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========================================
   Floating cards
======================================== */

.floating-card {
    position: absolute;
    z-index: 4;

    min-width: 205px;
    padding: 15px;

    display: flex;
    align-items: center;
    gap: 12px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: rgba(5, 20, 31, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.card-icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
    background: rgba(16, 167, 232, 0.13);

    color: var(--quantum-blue);
    font-size: 17px;
}

.floating-card div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card span {
    color: var(--text-muted);
    font-size: 10px;
}

.card-one {
    top: 55px;
    left: 5px;
    animation: floating 5s ease-in-out infinite;
}

.card-two {
    top: 105px;
    right: -12px;
    animation: floating 5.8s ease-in-out infinite 0.6s;
}

.card-three {
    bottom: 80px;
    left: -15px;
    animation: floating 5.4s ease-in-out infinite 1s;
}

.card-four {
    right: 0;
    bottom: 45px;
    animation: floating 6s ease-in-out infinite 0.3s;
}

/* ========================================
   Contact panel
======================================== */

.contact-panel {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto 35px;
    padding: 25px 28px;

    display: grid;
    grid-template-columns: 1.2fr auto 1fr auto 1fr;
    align-items: center;
    gap: 25px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(14px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--blue-border);
    border-radius: 9px;
    background: rgba(16, 167, 232, 0.09);

    color: var(--quantum-blue);
}

.contact-item > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
    color: #dceaf1;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-item a {
    transition: color 0.25s ease;
}

.contact-item a:hover {
    color: var(--quantum-blue);
}

.contact-divider {
    width: 1px;
    height: 43px;
    background: var(--border);
}

/* ========================================
   Footer
======================================== */

.site-footer {
    width: 100%;
    max-width: 1450px;
    min-height: 75px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);
}

.site-footer p {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 9px;
}

.footer-socials a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--text-muted);

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    color: var(--white);
    border-color: var(--quantum-blue);
    background: var(--quantum-blue);
}

/* ========================================
   Animations
======================================== */

@keyframes statusPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.7);
    }

    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}

@keyframes corePulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateRingReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 60px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 760px;
    }

    .service-list {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .contact-panel {
        grid-template-columns: 1fr 1fr;
    }

    .contact-divider {
        display: none;
    }

    .contact-item:last-child {
        grid-column: 1 / -1;
    }
}

/* ========================================
   Mobile
======================================== */

@media (max-width: 720px) {
    .welcome-page {
        padding: 0 18px;
    }

    .site-header {
        min-height: 90px;
    }

    .brand-logo,
    .logo-fallback {
        width: 52px;
        height: 52px;
    }

    .logo-fallback {
        border-width: 6px;
        font-size: 25px;
    }

    .brand-name strong {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .brand-name span {
        font-size: 9px;
        letter-spacing: 7px;
    }

    .header-contact {
        width: 45px;
        height: 45px;
        min-height: 45px;
        padding: 0;
        justify-content: center;
    }

    .header-contact span {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 50px 0 35px;
        gap: 25px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 55px);
        letter-spacing: -1.7px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 450px;
        transform: scale(0.88);
    }

    .floating-card {
        min-width: 175px;
        padding: 12px;
    }

    .card-one {
        left: -30px;
    }

    .card-two {
        right: -35px;
    }

    .card-three {
        left: -35px;
    }

    .card-four {
        right: -30px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .contact-item:last-child {
        grid-column: auto;
    }

    .site-footer {
        padding: 25px 0;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ========================================
   Small mobile
======================================== */

@media (max-width: 430px) {
    .brand-name span {
        letter-spacing: 5px;
    }

    .status-badge {
        font-size: 9px;
    }

    .hero-visual {
        min-height: 400px;
        transform: scale(0.75);
        margin-top: -35px;
        margin-bottom: -40px;
    }

    .service-list span {
        font-size: 10px;
    }
}

/* Respect reduced motion settings */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}