:root {
    --bg-ink: #040a14;
    --bg-navy: #081a35;
    --bg-card: #0d1b33;
    --stroke: #234a75;
    --text-main: #eaf6ff;
    --text-soft: #adc7df;
    --accent-cyan: #3ee5ff;
    --accent-blue: #2f79ff;
    --accent-steel: #bcccdc;
    --success: #5fffc9;
    --shadow-blue: 0 12px 40px rgba(33, 120, 255, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 10% 10%, rgba(62, 229, 255, 0.12), transparent 45%),
        radial-gradient(circle at 90% 15%, rgba(47, 121, 255, 0.15), transparent 38%),
        linear-gradient(165deg, #03070f 0%, #07162d 58%, #030914 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.ambient-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(97, 170, 230, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(97, 170, 230, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(30px);
    z-index: -2;
    pointer-events: none;
    animation: drift 14s ease-in-out infinite;
}

.orb-a {
    width: 320px;
    height: 320px;
    background: rgba(62, 229, 255, 0.18);
    top: -90px;
    left: -100px;
}

.orb-b {
    width: 280px;
    height: 280px;
    background: rgba(47, 121, 255, 0.18);
    right: -80px;
    bottom: 16%;
    animation-delay: -5s;
}

@keyframes drift {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(25px) scale(1.05);
    }
}

.site-header,
main,
.site-footer {
    width: min(1120px, calc(100% - 2.8rem));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0 0.4rem;
}

.brand-logo {
    width: clamp(135px, 16.5vw, 202.5px);
    filter: drop-shadow(0 10px 18px rgba(61, 160, 255, 0.3));
}

.top-nav {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.top-nav a {
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 180ms ease;
}

.top-nav a:hover {
    color: var(--accent-cyan);
}

main {
    padding-bottom: 3rem;
}

.section-reveal {
    animation: fadeUp 800ms ease both;
}

.section-reveal:nth-of-type(2) {
    animation-delay: 90ms;
}

.section-reveal:nth-of-type(3) {
    animation-delay: 150ms;
}

.section-reveal:nth-of-type(4) {
    animation-delay: 210ms;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.4rem;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.signals,
.identity,
.brand-package {
    border: 1px solid rgba(138, 191, 235, 0.22);
    background: linear-gradient(150deg, rgba(15, 34, 63, 0.88), rgba(7, 18, 35, 0.85));
    border-radius: 18px;
    box-shadow: var(--shadow-blue);
}

.hero-copy {
    padding: 2rem;
}

.eyebrow {
    margin: 0;
    color: var(--accent-cyan);
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    font-family: "Orbitron", "Segoe UI", sans-serif;
    margin-top: 0;
    line-height: 1.15;
}

h1 {
    margin: 0.8rem 0 1rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    text-wrap: balance;
}

.hero-text,
.section-intro,
.identity p,
.tracking-motif p {
    color: var(--text-soft);
    line-height: 1.6;
}

.cta-row {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.btn-primary {
    color: #042137;
    background: linear-gradient(90deg, var(--accent-cyan), #77f8ff);
}

.btn-demo {
    color: #e9f6ff;
    border-color: rgba(99, 184, 245, 0.52);
    background: linear-gradient(120deg, rgba(33, 84, 141, 0.9), rgba(16, 48, 92, 0.92));
    box-shadow: 0 8px 18px rgba(35, 115, 190, 0.35);
}

.btn-demo:hover {
    border-color: rgba(119, 218, 255, 0.7);
    background: linear-gradient(120deg, rgba(47, 121, 255, 0.95), rgba(25, 70, 132, 0.95));
}

.btn-ghost {
    color: var(--text-main);
    border-color: rgba(106, 180, 239, 0.45);
    background: rgba(10, 25, 47, 0.7);
}

.hero-panel {
    padding: 1.6rem;
}

.hero-panel h2 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.hero-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.hero-panel li {
    background: rgba(10, 31, 54, 0.9);
    border: 1px solid rgba(97, 170, 230, 0.28);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.8rem;
}

.hero-panel span {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.hero-panel strong {
    color: var(--success);
}

.signals,
.brand-package,
.demo-lab,
.contact-area {
    margin-top: 1.4rem;
    padding: 1.7rem;
}

.signals h2,
.identity h2,
.brand-package h2,
.contact-area h2 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    margin-bottom: 0.5rem;
}

.signal-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.signal-card {
    background: rgba(9, 26, 50, 0.92);
    border: 1px solid rgba(88, 165, 230, 0.28);
    border-radius: 14px;
    padding: 1rem;
}

.signal-icon {
    font-size: 1.35rem;
}

.signal-card h3 {
    margin: 0.55rem 0;
    font-size: 1rem;
}

.signal-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.55;
}

.identity {
    margin-top: 1.4rem;
    padding: 1.7rem;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.2rem;
}

.tracking-motif {
    background: rgba(7, 21, 41, 0.82);
    border: 1px solid rgba(88, 165, 230, 0.28);
    border-radius: 14px;
    padding: 1rem;
}

.tracking-motif h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.motif-surface {
    position: relative;
    min-height: 210px;
    border-radius: 12px;
    margin-top: 0.85rem;
    background: linear-gradient(130deg, rgba(8, 33, 63, 0.95), rgba(4, 16, 31, 0.92));
    border: 1px solid rgba(69, 139, 199, 0.35);
    overflow: hidden;
}

.scan-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(129, 200, 255, 0.19) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 200, 255, 0.19) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: radial-gradient(circle at 40% 45%, black 15%, transparent 72%);
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(65, 236, 255, 0.95);
}

.node::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 1px;
    background: linear-gradient(90deg, rgba(71, 191, 255, 0.75), transparent);
    transform: translateY(-50%);
}

.node-1 {
    top: 22%;
    left: 16%;
}

.node-2 {
    top: 56%;
    left: 30%;
}

.node-3 {
    top: 34%;
    left: 56%;
}

.node-4 {
    top: 66%;
    left: 72%;
}

.deliverable-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.deliverable-list li {
    border: 1px solid rgba(95, 168, 229, 0.3);
    background: rgba(8, 25, 47, 0.9);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    position: relative;
    color: var(--text-soft);
}

.deliverable-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    display: inline-block;
    margin-right: 0.55rem;
    box-shadow: 0 0 8px rgba(88, 247, 255, 0.75);
}

.demo-lab {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.2rem;
    border: 1px solid rgba(138, 191, 235, 0.22);
    background: linear-gradient(140deg, rgba(10, 28, 52, 0.9), rgba(5, 15, 30, 0.92));
    border-radius: 18px;
    box-shadow: var(--shadow-blue);
}

.demo-copy .btn-demo {
    margin-top: 1rem;
}

.demo-credentials {
    margin-top: 1.1rem;
    border: 1px solid rgba(95, 168, 229, 0.32);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(7, 21, 40, 0.9), rgba(8, 31, 56, 0.84));
    padding: 1rem;
}

.demo-credentials h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
}

.demo-credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.demo-field {
    display: grid;
    gap: 0.35rem;
}

.demo-field label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.demo-field input {
    width: 100%;
    border: 1px solid rgba(95, 168, 229, 0.4);
    border-radius: 8px;
    background: rgba(3, 13, 27, 0.72);
    color: var(--text-main);
    font: inherit;
    padding: 0.68rem 0.75rem;
}

.demo-actions {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.demo-actions .btn {
    margin-top: 0;
}

.demo-cred-status {
    margin: 0.75rem 0 0;
    color: var(--text-soft);
    font-size: 0.8rem;
    min-height: 1.2em;
}

.demo-panel {
    border: 1px solid rgba(95, 168, 229, 0.32);
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(7, 21, 40, 0.9), rgba(8, 31, 56, 0.84));
    padding: 1rem;
}

.demo-panel h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
}

.demo-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.demo-points li {
    color: var(--text-soft);
    border: 1px solid rgba(95, 168, 229, 0.26);
    border-radius: 10px;
    background: rgba(8, 27, 49, 0.82);
    padding: 0.65rem 0.75rem;
    line-height: 1.45;
}

.contact-area {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.2rem;
    border: 1px solid rgba(138, 191, 235, 0.22);
    background: linear-gradient(145deg, rgba(12, 31, 56, 0.92), rgba(6, 16, 32, 0.9));
    border-radius: 18px;
    box-shadow: var(--shadow-blue);
}

.contact-area::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    top: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(62, 229, 255, 0.2), rgba(62, 229, 255, 0));
    pointer-events: none;
}

.contact-copy {
    position: relative;
    z-index: 1;
}

.contact-highlights {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.contact-highlights li {
    color: var(--text-soft);
    background: linear-gradient(90deg, rgba(8, 30, 54, 0.86), rgba(8, 30, 54, 0.28));
    border-left: 2px solid var(--accent-cyan);
    padding: 0.65rem 0.75rem 0.65rem 0.9rem;
    line-height: 1.45;
}

.contact-panel {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(138, 191, 235, 0.22);
    background: linear-gradient(155deg, rgba(11, 30, 54, 0.92), rgba(5, 15, 30, 0.9));
    border-radius: 15px;
    padding: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(203, 239, 255, 0.08), var(--shadow-blue);
}

.contact-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(109, 185, 239, 0.22);
}

.contact-panel-header h3 {
    margin: 0.35rem 0 0;
    font-size: 1.08rem;
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    flex: none;
    padding: 0.38rem 0.55rem;
    border: 1px solid rgba(95, 255, 201, 0.32);
    border-radius: 999px;
    color: var(--success);
    background: rgba(17, 74, 67, 0.24);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px rgba(95, 255, 201, 0.9);
}

.contact-label {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.11em;
    color: var(--accent-cyan);
    font-weight: 700;
}

.contact-email {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-email:hover {
    color: var(--accent-cyan);
}

.contact-note {
    margin: 0.9rem 0 0;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.lead-form {
    position: relative;
    margin-top: 1.1rem;
    display: grid;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(4, 17, 33, 0.9), rgba(8, 29, 52, 0.67));
    border: 1px solid rgba(95, 168, 229, 0.32);
    border-radius: 10px;
    padding: 1.1rem;
    overflow: hidden;
}

.lead-form::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(var(--accent-cyan), var(--accent-blue), transparent 82%);
}

.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-field {
    display: grid;
    gap: 0.35rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem 0.8rem;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.8rem;
    color: #c7dced;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

.form-field label span {
    color: var(--accent-cyan);
    font-family: "Orbitron", "Segoe UI", sans-serif;
    font-size: 0.68rem;
    margin-right: 0.35rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(95, 168, 229, 0.4);
    border-radius: 7px;
    background: rgba(3, 13, 27, 0.72);
    color: var(--text-main);
    font: inherit;
    padding: 0.72rem 0.8rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: rgba(126, 201, 255, 0.65);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(173, 199, 223, 0.72);
}

.form-field textarea {
    resize: vertical;
    min-height: 108px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 0;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(62, 229, 255, 0.12), 0 0 16px rgba(62, 229, 255, 0.2);
    transform: translateY(-1px);
}

.form-alert {
    margin: 0.9rem 0 0;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.form-alert.is-success {
    color: #042137;
    background: linear-gradient(90deg, var(--accent-cyan), #77f8ff);
    box-shadow: 0 8px 20px rgba(62, 229, 255, 0.25);
}

.form-alert.is-error {
    color: #ffd9d9;
    border: 1px solid rgba(255, 128, 128, 0.45);
    background: rgba(63, 10, 21, 0.7);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.1rem;
}

.form-submit-row .btn {
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 18px rgba(62, 229, 255, 0.28);
}

.form-submit-row .btn span {
    margin-left: 0.35rem;
    font-size: 1.05em;
}

.form-submit-row p {
    margin: 0;
    color: rgba(173, 199, 223, 0.78);
    font-size: 0.72rem;
    text-align: right;
}

.site-footer {
    border-top: 1px solid rgba(88, 165, 230, 0.2);
    margin-top: 1rem;
    padding: 1.5rem 0 2rem;
    text-align: center;
    color: var(--text-soft);
}

.site-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
}

.footnote {
    font-size: 0.9rem;
}

.footer-links {
    margin: 0.8rem 0 0;
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.legal-main {
    width: min(960px, calc(100% - 2.8rem));
    margin: 1.2rem auto 2.2rem;
}

.legal-card {
    border: 1px solid rgba(138, 191, 235, 0.22);
    background: linear-gradient(150deg, rgba(15, 34, 63, 0.88), rgba(7, 18, 35, 0.85));
    border-radius: 18px;
    box-shadow: var(--shadow-blue);
    padding: 1.8rem;
}

.legal-intro {
    color: var(--text-soft);
    margin: 0 0 1.1rem;
}

.legal-tiles {
    margin-top: 1rem;
    display: grid;
    gap: 0.9rem;
}

.legal-section {
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(95, 168, 229, 0.28);
    border-radius: 14px;
    background: rgba(9, 26, 50, 0.92);
}

.legal-section h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.08rem, 2.1vw, 1.35rem);
}

.legal-section h3 {
    margin: 0.8rem 0 0.35rem;
    font-size: 0.98rem;
}

.legal-section p,
.legal-section li {
    color: var(--text-soft);
    line-height: 1.6;
}

.legal-section ul {
    margin: 0.65rem 0 0;
    padding-left: 1.2rem;
}

.legal-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.legal-meta li {
    border: 1px solid rgba(95, 168, 229, 0.25);
    border-radius: 10px;
    background: rgba(8, 27, 49, 0.74);
    padding: 0.62rem 0.7rem;
}

.legal-meta strong {
    color: var(--text-main);
}

.legal-inline-link {
    color: var(--accent-cyan);
    font-weight: 600;
}

.back-home {
    margin-top: 1.35rem;
}

@media (max-width: 960px) {
    .hero,
    .identity,
    .demo-lab,
    .contact-area {
        grid-template-columns: 1fr;
    }

    .signal-grid,
    .deliverable-list {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1rem;
    }

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

    .demo-credentials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .site-header,
    main,
    .site-footer,
    .legal-main {
        width: min(1120px, calc(100% - 1.3rem));
    }

    .hero-copy,
    .hero-panel,
    .signals,
    .identity,
    .brand-package,
    .demo-lab,
    .contact-area {
        border-radius: 14px;
    }

    .hero-copy,
    .hero-panel,
    .signals,
    .identity,
    .brand-package,
    .demo-lab,
    .contact-area {
        padding: 1.1rem;
    }

    .top-nav {
        gap: 0.7rem;
    }

    .legal-card {
        border-radius: 14px;
        padding: 1.15rem;
    }
}