﻿:root {
    --bg: #0b0f19;
    --bg2: #101524;
    --panel: #141b2f;
    --panel2: #18223a;
    --border: #2d3447;
    --text: #eaf1fa;
    --muted: #a3b7d8;
    --accent: #31c5f8;
    --primary: #33e27c;
    --warn: #f7c948;
    --shadow: 0 8px 32px rgba(49,197,248,.07),0 1.5px 6px rgba(30,41,59,.08);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --transition: all .23s cubic-bezier(.2,.8,.3,1)
}

/* Base */
* {
    box-sizing: border-box
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter,system-ui;
    overflow-x: hidden
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

section {
    position: relative
}

/* Buttons */
.btn.dark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none;
    transition: var(--transition)
}

    .btn.dark.primary {
        background: linear-gradient(90deg,var(--accent),var(--primary));
        color: #0b1220;
        border: 1px solid #2e7
    }

        .btn.dark.primary:hover {
            filter: brightness(1.06);
            transform: translateY(-1px)
        }

    .btn.dark.outline {
        background: transparent;
        color: var(--accent);
        border: 1.5px solid var(--accent)
    }

        .btn.dark.outline:hover {
            background: var(--accent);
            color: #0b1220;
            transform: translateY(-1px)
        }

    .btn.dark i {
        font-size: 14px
    }

/* HERO */
.contact-hero {
    padding: 54px 0 26px;
    isolation: isolate
}

.ch-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden
}

.ch-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(1200px 600px at 0% 0%, rgba(49,197,248,.22), transparent 50%),radial-gradient(1200px 600px at 100% 0%, rgba(51,226,124,.18), transparent 50%),linear-gradient(180deg, rgba(21,28,44,.95), rgba(11,15,25,.95))
}

.ch-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .07;
    mix-blend: screen
}

.ch-fx {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none
}

#contactParticles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.ch-dna {
    position: absolute;
    top: 8%;
    left: -6%;
    width: 34%;
    height: 62%;
    opacity: .14;
    filter: blur(.2px);
    z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='640' viewBox='0 0 320 640'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%2331c5f8'/><stop offset='1' stop-color='%2333e27c'/></linearGradient></defs><g fill='none' stroke='url(%23g)' stroke-width='2' stroke-opacity='0.9'><path d='M40 0 C 160 80, 160 80, 280 0 M40 80 C 160 160, 160 160, 280 80 M40 160 C 160 240, 160 240, 280 160 M40 240 C 160 320, 160 320, 280 240 M40 320 C 160 400, 160 400, 280 320 M40 400 C 160 480, 160 480, 280 400 M40 480 C 160 560, 160 560, 280 480 M40 560 C 160 640, 160 640, 280 560'/><g stroke-opacity='0.35'><line x1='40' y1='0' x2='280' y2='0'/><line x1='40' y1='80' x2='280' y2='80'/><line x1='40' y1='160' x2='280' y2='160'/><line x1='40' y1='240' x2='280' y2='240'/><line x1='40' y1='320' x2='280' y2='320'/><line x1='40' y1='400' x2='280' y2='400'/><line x1='40' y1='480' x2='280' y2='480'/><line x1='40' y1='560' x2='280' y2='560'/></g></g></svg>");
    background-size: 60% auto;
    background-repeat: repeat-y;
    background-position: 0 0;
    animation: dnaScroll 16s linear infinite;
}

@keyframes dnaScroll {
    to {
        background-position-y: -640px
    }
}

.ch-inner {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 28px
}

.ch-left {
    flex: 1 1 0
}

.ch-right {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end
}

.ch-title {
    font-size: clamp(28px,4.2vw,46px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 12px 0
}

    .ch-title span {
        background: linear-gradient(90deg,var(--accent),#79ffce);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

.ch-sub {
    color: #cbdaf7;
    margin: 0 0 16px 0;
    max-width: 720px
}

.ch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px 0
}

    .ch-chips .chip {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #12192c;
        border: 1px solid var(--border);
        color: #cfe2ff;
        padding: 10px 12px;
        border-radius: 30px;
        text-decoration: none;
        cursor: pointer;
        box-shadow: var(--shadow);
        transition: var(--transition)
    }

        .ch-chips .chip:hover {
            background: #18233a
        }

        .ch-chips .chip .tail {
            color: var(--muted);
            font-size: 12px
        }

        .ch-chips .chip.copied {
            outline: 2px solid var(--primary)
        }

.ch-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px
}

.ch-badge {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    width: min(520px,100%)
}

.b-stat {
    background: #121a2e;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    box-shadow: var(--shadow)
}

    .b-stat .num {
        font-weight: 900;
        font-size: clamp(22px,3.6vw,34px);
        color: var(--primary)
    }

    .b-stat .lbl {
        color: #b8c7e6;
        font-weight: 700
    }

/* Contact Info */
.contact-info-section {
    padding: 24px 0;
    background: linear-gradient(180deg,#0c111f,#0b0f19)
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 16px;
    margin-top: 10px
}

.contact-info-item {
    background: #121a2e;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease
}

    .contact-info-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(49,197,248,.13)
    }

.contact-icon {
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 10px
}

.contact-info-title {
    font-weight: 900;
    margin: 0 0 6px 0
}

.contact-info-text {
    color: #cfe2ff;
    margin: 0
}

/* Neon glow wrapper */
.neon-wrap {
    position: relative;
    border-radius: 16px;
    --mx: 50%;
    --my: 50%;
    isolation: isolate
}

    .neon-wrap::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: -14px;
        border-radius: inherit;
        filter: blur(28px);
        background: radial-gradient(320px 200px at var(--mx) var(--my), rgba(49,197,248,.42), transparent 60%), radial-gradient(420px 260px at calc(100% - var(--mx)) calc(100% - var(--my)), rgba(51,226,124,.34), transparent 65%), conic-gradient(from 0deg at 50% 50%, rgba(49,197,248,.28), rgba(51,226,124,.22), rgba(49,197,248,.28));
        pointer-events: none;
        opacity: .95;
    }

    .neon-wrap > * {
        position: relative;
        z-index: 1
    }

/* Form */
.contact-form-section {
    padding: 24px 0
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: start
}

.contact-form-content {
    background: linear-gradient(180deg,rgba(21,28,44,.86),rgba(17,23,38,.86));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px)
}

.section-subtitle {
    font-size: 16px;
    color: var(--accent);
    font-weight: 800;
    margin: 0 0 8px 0
}

.section-title {
    font-size: clamp(22px,3.4vw,34px);
    font-weight: 900;
    margin: 0 0 8px 0
}

.contact-form-content > p {
    color: #cfe2ff;
    margin: 0 0 12px 0
}

.form-row {
    display: flex;
    gap: 12px
}

    .form-row .floating-label-group {
        flex: 1 1 0
    }

.floating-label-group {
    position: relative;
    margin-bottom: 12px
}

.form-control {
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #101724;
    color: #fff;
    font: inherit;
    transition: var(--transition)
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(49,197,248,.25)
    }

textarea.form-control {
    min-height: 160px;
    resize: vertical
}

.floating-label {
    position: absolute;
    pointer-events: none;
    left: 14px;
    top: 14px;
    color: #8fa3c3;
    background: #101724;
    padding: 0 6px;
    border-radius: 6px;
    transition: var(--transition)
}

.form-control:focus ~ .floating-label,
.form-control:not(:placeholder-shown) ~ .floating-label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: var(--accent)
}

.btn-with-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,var(--accent),var(--primary));
    color: #0b1220;
    border: 1px solid #2e7;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer
}

.loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(11,18,32,.2);
    border-top-color: #0b1220;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.form-message {
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px
}

    .form-message.success {
        color: var(--primary)
    }

    .form-message.error {
        color: #f76e6e
    }

/* Support aside */
.support-aside {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.support-card {
    background: #121a2e;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow)
}

.support-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #19243b;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 8px
}

.support-card h3 {
    margin: 0 0 8px 0;
    font-weight: 900
}

.support-card ul {
    margin: 0 0 10px 18px;
    color: #cfe2ff
}

.support-card li {
    margin: 4px 0
}

.support-mini {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    color: #cfe2ff
}

    .support-mini div {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #0f1627;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 8px
    }

.support-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow)
}

/* CTA with ECG waveform */
.cta-section {
    padding: 24px 0;
    background: linear-gradient(180deg,#0c111f,#0b0f19);
    text-align: center
}

.cta-box {
    position: relative;
    overflow: hidden;
    max-width: 880px;
    margin: 0 auto;
    padding: 28px 28px 40px;
    background: rgba(17,23,38,.7);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow)
}

.cta-title {
    margin: 0 0 6px 0;
    font-weight: 900
}

.cta-description {
    margin: 0 0 12px 0;
    color: #cfe2ff
}

.cta-btn {
    margin-top: 4px
}

.cta-ecg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 60px;
    pointer-events: none
}

.ecg-svg {
    width: 100%;
    height: 100%
}

.ecg-baseline {
    stroke: rgba(200,230,255,.15);
    stroke-width: 1
}

.ecg-line {
    stroke: var(--accent);
    stroke-width: 2.5;
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 240 760; /* visible length, gap to repeat */
    animation: ecgRun 6.6s linear infinite;
    filter: drop-shadow(0 0 8px rgba(49,197,248,.35));
}

@keyframes ecgRun {
    to {
        stroke-dashoffset: -1000;
    }
}

/* VIDEO */
.video-section {
    padding: 24px 0
}

.neon--video {
    border-radius: 16px
}

.video-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden
}

    .video-container iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0
    }

/* Reveal (match Home) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.2,.8,.3,1),transform .6s cubic-bezier(.2,.8,.3,1);
    will-change: opacity,transform;
    transition-delay: var(--reveal-delay,0ms)
}

    .reveal.in-view {
        opacity: 1;
        transform: none
    }

/* Responsive */
@media (max-width: 992px) {
    .ch-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px
    }

    .ch-right {
        width: 100%;
        justify-content: stretch
    }

    .ch-badge {
        grid-template-columns: repeat(3,1fr)
    }

    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 14px
    }
}

@media (max-width: 700px) {
    .ch-badge {
        grid-template-columns: repeat(2,1fr)
    }

    .support-mini {
        grid-template-columns: 1fr
    }

    .form-row {
        flex-direction: column
    }
}

@media (prefers-reduced-motion: reduce) {
    .ch-dna {
        animation: none !important
    }

    .ecg-line {
        animation: none !important
    }
}



































.neon--video {
    border-radius: 16px
}

/* Video container already exists; we add overlay layers */
.video-container {
    position: relative
}

    .video-container iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0
    }

/* Fantasy overlay */
.video-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity .35s ease, transform .35s ease;
    /* hotspot defaults */
    --mx: 50%;
    --my: 50%;
}

.video-container.playing .video-cover {
    opacity: 0;
    transform: scale(1.02);
    visibility: hidden
}

/* Soft gradient + vignette that matches your site palette */
.video-cover .vc-bg {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    z-index: 0;
    background: radial-gradient(520px 280px at var(--mx) var(--my), rgba(49,197,248,.28), transparent 60%), radial-gradient(520px 280px at calc(100% - var(--mx)) calc(100% - var(--my)), rgba(51,226,124,.24), transparent 62%), linear-gradient(180deg, rgba(16,22,37,.82), rgba(12,16,26,.82));
    filter: blur(0.4px);
}

/* Decorative rings + grid */
.video-cover .vc-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none
}

    .video-cover .vc-deco .ring {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 64%;
        height: 64%;
        border-radius: 50%;
        border: 1px solid rgba(120,180,255,.18);
        animation: ringPulse 6s ease-in-out infinite;
    }

        .video-cover .vc-deco .ring.r2 {
            width: 78%;
            height: 78%;
            animation-delay: .8s;
            border-color: rgba(120,255,220,.14)
        }

        .video-cover .vc-deco .ring.r3 {
            width: 90%;
            height: 90%;
            animation-delay: 1.6s;
            border-color: rgba(120,180,255,.10)
        }

@keyframes ringPulse {
    0%,100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.04)
    }
}

.video-cover .vc-deco .grid {
    position: absolute;
    inset: 0;
    opacity: .2;
    mix-blend-mode: screen;
    background-image: radial-gradient(circle at 10% 10%, rgba(49,197,248,.18), transparent 35%), radial-gradient(circle at 90% 0%, rgba(51,226,124,.15), transparent 40%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='180' viewBox='0 0 280 180'><g stroke='%23698aac' stroke-opacity='0.35' stroke-width='0.5'><path d='M0 90 Q70 60 140 90 T280 90' fill='none'/><path d='M0 120 Q70 90 140 120 T280 120' fill='none'/><path d='M0 60 Q70 30 140 60 T280 60' fill='none'/></g></svg>");
    background-size: cover, cover, 280px 180px;
}

/* Center content: play button + text */
.vc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center
}

.vc-text {
    color: #cfe2ff;
    font-weight: 800;
    letter-spacing: .2px;
    text-shadow: 0 1px 2px rgba(0,0,0,.45)
}

.vc-play {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center
}

    .vc-play .pulse {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid rgba(49,197,248,.45);
        transform: scale(0.88);
        opacity: .75;
        animation: pulseOut 2.2s ease-out infinite;
        box-shadow: 0 0 22px rgba(49,197,248,.28), inset 0 0 12px rgba(49,197,248,.12);
    }

        .vc-play .pulse.p2 {
            animation-delay: 1.1s;
            border-color: rgba(51,226,124,.45)
        }

@keyframes pulseOut {
    0% {
        transform: scale(0.88);
        opacity: .75
    }

    70% {
        transform: scale(1.18);
        opacity: .15
    }

    100% {
        transform: scale(1.26);
        opacity: 0
    }
}

.vc-play .icon {
    filter: drop-shadow(0 0 10px rgba(49,197,248,.35));
    transition: transform .18s ease;
}

.video-cover:hover .vc-play .icon {
    transform: scale(1.04)
}

/* Accessibility focus */
.video-cover:focus-visible {
    outline: 2px solid #31c5f8;
    outline-offset: 3px;
    border-radius: 18px;
}

/* Ensure underlying iframe keeps rounded corners */
.video-container {
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden
}
