/* /assets/css/style.css */

:root {
    --bg: #020711;
    --bg-soft: #06101f;
    --panel: rgba(7, 18, 34, 0.72);
    --panel-strong: rgba(8, 24, 45, 0.88);
    --line: rgba(72, 177, 255, 0.18);
    --line-strong: rgba(72, 177, 255, 0.36);
    --text: #eef7ff;
    --muted: #92a8bd;
    --muted-strong: #b7cadb;
    --primary: #2da8ff;
    --primary-strong: #5ec2ff;
    --primary-dark: #006fba;
    --cyan: #6ee7ff;
    --danger: #ff4d7d;
    --success: #35ffb6;
    --shadow: 0 30px 100px rgba(0, 115, 255, 0.18);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1180px;
    --header-height: 92px;
    --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(45, 168, 255, 0.20), transparent 32%),
        radial-gradient(circle at 80% 70%, rgba(34, 221, 255, 0.13), transparent 36%),
        linear-gradient(135deg, #01040a 0%, #041020 48%, #020711 100%);
    overflow-x: hidden;
}

body::selection {
    background: rgba(45, 168, 255, 0.45);
    color: #ffffff;
}

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

button,
input {
    font: inherit;
}

.site-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.cyber-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.72;
    pointer-events: none;
}

.noise-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 3px 3px;
    mix-blend-mode: screen;
}

.grid-layer {
    position: fixed;
    inset: -50%;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(rgba(45, 168, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 168, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    transform: perspective(900px) rotateX(62deg) translateY(5%);
    transform-origin: center bottom;
    animation: gridMove 18s linear infinite;
    opacity: 0.26;
    mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 66%, transparent 100%);
}

.glow {
    position: fixed;
    z-index: 0;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    filter: blur(110px);
    opacity: 0.38;
    pointer-events: none;
}

.glow-one {
    top: -160px;
    left: -120px;
    background: rgba(0, 145, 255, 0.45);
    animation: floatGlowOne 12s ease-in-out infinite alternate;
}

.glow-two {
    right: -180px;
    bottom: 2%;
    background: rgba(62, 220, 255, 0.28);
    animation: floatGlowTwo 14s ease-in-out infinite alternate;
}

.site-header,
.main-content,
.site-footer {
    position: relative;
    z-index: 5;
}

.site-header {
    width: min(var(--max-width), calc(100% - 40px));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-logo {
    width: clamp(160px, 18vw, 230px);
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(45, 168, 255, 0.28));
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(3, 12, 24, 0.58);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.22);
}

.language-switcher a {
    min-width: 42px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    transition: 0.22s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(45, 168, 255, 0.95), rgba(37, 214, 255, 0.78));
    box-shadow: 0 0 28px rgba(45, 168, 255, 0.32);
}

.main-content {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}

.hero-section {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
    align-items: center;
    gap: clamp(32px, 6vw, 86px);
    padding: 36px 0 92px;
}

.hero-copy {
    max-width: 720px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    margin-bottom: 26px;
    border: 1px solid rgba(94, 194, 255, 0.26);
    border-radius: 999px;
    background: rgba(5, 20, 38, 0.72);
    color: var(--primary-strong);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 0 34px rgba(45, 168, 255, 0.13);
    backdrop-filter: blur(18px);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 18px rgba(53, 255, 182, 0.92);
    animation: pulseDot 1.7s ease-in-out infinite;
}

.hero-copy h1 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(42px, 7vw, 92px);
    line-height: 0.94;
    letter-spacing: -0.075em;
    font-weight: 950;
    text-wrap: balance;
}

.hero-copy h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 3px;
    margin-top: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), transparent);
    box-shadow: 0 0 22px rgba(45, 168, 255, 0.7);
}

.hero-lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--muted-strong);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
}

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

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
    transition: transform 0.58s ease;
}

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

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

.btn-primary {
    color: #00101d;
    background: linear-gradient(135deg, var(--primary-strong), var(--primary));
    box-shadow: 0 0 34px rgba(45, 168, 255, 0.34), inset 0 1px 0 rgba(255,255,255,0.52);
}

.btn-primary:hover {
    box-shadow: 0 0 52px rgba(45, 168, 255, 0.48), inset 0 1px 0 rgba(255,255,255,0.52);
}

.btn-secondary {
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: rgba(6, 20, 36, 0.5);
    backdrop-filter: blur(18px);
}

.btn-secondary:hover {
    border-color: rgba(94, 194, 255, 0.72);
    box-shadow: 0 0 30px rgba(45, 168, 255, 0.16);
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}

.lock-orbit {
    position: relative;
    width: min(430px, 78vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(94, 194, 255, 0.22);
    border-radius: 999px;
    box-shadow:
        inset 0 0 42px rgba(45, 168, 255, 0.08),
        0 0 42px rgba(45, 168, 255, 0.09);
}

.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 20px rgba(110, 231, 255, 0.9);
}

.orbit::before {
    top: 12%;
    left: 50%;
}

.orbit::after {
    bottom: 18%;
    right: 14%;
}

.orbit-one {
    animation: rotateOrbit 16s linear infinite;
}

.orbit-two {
    inset: 34px;
    transform: rotate(18deg);
    animation: rotateOrbitReverse 20s linear infinite;
}

.orbit-three {
    inset: 70px;
    transform: rotate(-26deg);
    animation: rotateOrbit 26s linear infinite;
    opacity: 0.72;
}

.lock-core {
    position: relative;
    width: 245px;
    height: 245px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(94, 194, 255, 0.30);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 40%, rgba(45, 168, 255, 0.20), transparent 48%),
        rgba(2, 9, 18, 0.72);
    box-shadow:
        0 0 90px rgba(45, 168, 255, 0.28),
        inset 0 0 40px rgba(45, 168, 255, 0.10);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.lock-core::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent, rgba(94, 194, 255, 0.65), transparent 32%);
    animation: rotateOrbit 5s linear infinite;
    opacity: 0.55;
}

.lock-core::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    background: rgba(2, 9, 18, 0.92);
}

.lock-core img {
    position: relative;
    z-index: 2;
    width: 76%;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(45, 168, 255, 0.42));
}

.scan-line {
    position: absolute;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(110, 231, 255, 0.92), transparent);
    box-shadow: 0 0 22px rgba(110, 231, 255, 0.78);
    animation: scanVertical 3.4s ease-in-out infinite;
}

.overview-section {
    padding: 38px 0 84px;
}

.section-label {
    margin-bottom: 18px;
    color: var(--primary-strong);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.overview-text {
    max-width: 920px;
    margin: 0;
    color: var(--muted-strong);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.65;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.feature-card {
    position: relative;
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(10, 29, 54, 0.76), rgba(3, 12, 24, 0.64));
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(45, 168, 255, 0.22), transparent 38%),
        linear-gradient(120deg, transparent, rgba(255,255,255,0.04), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(94, 194, 255, 0.50);
    box-shadow: 0 24px 70px rgba(0, 117, 255, 0.14);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(94, 194, 255, 0.30);
    border-radius: 14px;
    background: rgba(45, 168, 255, 0.10);
    color: var(--cyan);
    font-size: 20px;
    box-shadow: 0 0 26px rgba(45, 168, 255, 0.16);
}

.feature-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.25;
}

.feature-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.demo-section {
    padding: 20px 0 96px;
}

.demo-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid rgba(94, 194, 255, 0.25);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 12% 12%, rgba(45, 168, 255, 0.16), transparent 36%),
        linear-gradient(135deg, rgba(8, 24, 45, 0.86), rgba(3, 12, 24, 0.78));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.demo-copy h2 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(30px, 4.8vw, 58px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.demo-copy p {
    max-width: 560px;
    margin: 22px 0 0;
    color: var(--muted-strong);
    font-size: 17px;
    line-height: 1.75;
}

.demo-form {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(94, 194, 255, 0.18);
    border-radius: 24px;
    background: rgba(1, 8, 17, 0.48);
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.form-group input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(94, 194, 255, 0.20);
    border-radius: 15px;
    outline: none;
    color: var(--text);
    background: rgba(2, 10, 21, 0.78);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.form-group input::placeholder {
    color: rgba(146, 168, 189, 0.58);
}

.form-group input:focus {
    border-color: rgba(94, 194, 255, 0.70);
    background: rgba(5, 18, 34, 0.92);
    box-shadow: 0 0 0 4px rgba(45, 168, 255, 0.11);
}

.privacy-check {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    cursor: pointer;
}

.privacy-check input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--primary);
}

.privacy-check a {
    color: var(--primary-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-submit {
    width: 100%;
    margin-top: 4px;
}

.form-note {
    margin: 0;
    color: rgba(146, 168, 189, 0.74);
    font-size: 12px;
    line-height: 1.55;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.site-footer {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(94, 194, 255, 0.13);
    color: rgba(146, 168, 189, 0.78);
    font-size: 13px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--muted-strong);
}

.site-footer a:hover {
    color: var(--primary-strong);
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 0 144px;
    }
}

@keyframes floatGlowOne {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(70px, 50px, 0) scale(1.08);
    }
}

@keyframes floatGlowTwo {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(-80px, -40px, 0) scale(1.12);
    }
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 0.7;
        transform: scale(0.86);
    }
    50% {
        opacity: 1;
        transform: scale(1.18);
    }
}

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

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

@keyframes scanVertical {
    0%, 100% {
        top: 18%;
        opacity: 0;
    }
    12%, 88% {
        opacity: 1;
    }
    50% {
        top: 82%;
    }
}

@media (max-width: 1040px) {
    .hero-section,
    .demo-panel {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 28px;
    }

    .hero-visual {
        min-height: 360px;
    }

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

@media (max-width: 720px) {
    :root {
        --header-height: auto;
    }

    .site-header {
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .language-switcher {
        width: 100%;
        justify-content: space-between;
    }

    .language-switcher a {
        flex: 1;
    }

    .hero-section {
        min-height: auto;
        padding: 34px 0 70px;
    }

    .hero-actions {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 320px;
    }

    .lock-orbit {
        width: min(330px, 86vw);
    }

    .lock-core {
        width: 190px;
        height: 190px;
    }

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

    .demo-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .demo-form {
        padding: 16px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .cyber-canvas {
        display: none;
    }
}