/* ============================================================
   PROXSELINK — design tokens
   Signature: "signal through noise" — a clean glowing line
   cutting through a field of static, ending in a connection.
   ============================================================ */

:root {
    /* color */
    --bg: #10131a;
    --bg-soft: #161a23;
    --bg-card: #1a1f29;
    --line: #262c38;
    --line-soft: #1e232d;
    --ink: #ece8e0;
    --muted: #8b8f9c;
    --muted-2: #62666f;
    --accent: #f2b84b;       /* signal amber */
    --accent-ink: #10131a;
    --accent-2: #5b8def;     /* network blue */
    --good: #59d9a0;         /* status green, used sparingly */

    /* type */
    --font-display: "Bricolage Grotesque", "Inter", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* geometry */
    --radius-s: 10px;
    --radius-m: 16px;
    --radius-l: 26px;
    --container: 1180px;

    /* motion */
    --ease: cubic-bezier(.16, 1, .3, 1);
}

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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

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

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

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: auto;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    margin: 0;
    letter-spacing: -.01em;
}


/* ============================================================
   HEADER
   ============================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(16, 19, 26, .82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.logo-mark circle:first-child { stroke: var(--accent); }
.logo-mark circle:last-child { stroke: var(--accent-2); }

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 13px;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    padding: 13px 22px;
    border-radius: var(--radius-s);
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; }

.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 0 0 0 rgba(242, 184, 75, 0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(242, 184, 75, .45);
}

.btn-ghost {
    border: 1px solid var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--muted-2);
}

.btn-block { width: 100%; }


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    padding: 76px 0 90px;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

h1.headline {
    font-size: clamp(38px, 5.2vw, 64px);
    line-height: 1.06;
    margin: 20px 0 22px;
}

h1.headline em {
    font-style: normal;
    color: var(--accent);
}

.hero-text {
    max-width: 520px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 34px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 12.5px;
    color: var(--muted-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-note svg { width: 14px; height: 14px; color: var(--good); }

/* signature illustration */
.signal-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .55;
    pointer-events: none;
}

.signal-visual {
    position: relative;
    z-index: 1;
}

.signal-svg {
    width: 100%;
    height: auto;
}

.signal-path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 6 460;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px rgba(242, 184, 75, .55));
    animation: travel 5.5s var(--ease) infinite;
}

@keyframes travel {
    0%   { stroke-dasharray: 6 460; stroke-dashoffset: 0; }
    45%  { stroke-dasharray: 300 460; stroke-dashoffset: -20; }
    100% { stroke-dasharray: 6 460; stroke-dashoffset: -460; }
}

.noise-dot {
    fill: var(--muted-2);
    opacity: .35;
}

.status-card {
    position: absolute;
    right: 6%;
    bottom: 8%;
    width: 240px;
    background: rgba(26, 31, 41, .92);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6);
}

.status-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--good);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.status-top .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 3px rgba(89, 217, 160, .18);
}

.status-ip {
    font-family: var(--font-mono);
    font-size: 21px;
    margin: 14px 0 16px;
    color: var(--ink);
    letter-spacing: -.02em;
}

.status-row {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.status-row div small {
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted-2);
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.status-row div b {
    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg-soft);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted);
    padding: 0 20px;
    border-left: 1px solid var(--line-soft);
}

.trust-item:first-child { border-left: none; padding-left: 0; }

.trust-item svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
    flex: none;
}


/* ============================================================
   SECTIONS — shared
   ============================================================ */

.section {
    padding: 108px 0;
    border-bottom: 1px solid var(--line-soft);
}

.section-heading {
    max-width: 640px;
    margin: 0 0 56px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    margin-top: 16px;
}

.section-lede {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 560px;
}


/* ============================================================
   FEATURES
   ============================================================ */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 28px 24px;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--muted-2);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-s);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-icon svg {
    width: 21px;
    height: 21px;
    color: var(--accent);
}

.feature-card:nth-child(2) .feature-icon svg,
.feature-card:nth-child(4) .feature-icon svg { color: var(--accent-2); }

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.dark-section {
    background: var(--bg-soft);
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.steps-line {
    position: absolute;
    top: 27px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--accent);
    margin-bottom: 24px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
    margin: 0;
    max-width: 280px;
}


/* ============================================================
   TYPES COMPARE
   ============================================================ */

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.compare-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 32px;
}

.compare-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.compare-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-s);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.compare-icon svg { width: 20px; height: 20px; color: var(--accent); }
.compare-card:last-child .compare-icon svg { color: var(--accent-2); }

.compare-top h3 {
    font-size: 18px;
}

.compare-top span {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--muted-2);
    margin-top: 2px;
    letter-spacing: .04em;
}

.compare-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.compare-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.compare-tags span {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 5px 11px;
}


/* ============================================================
   SAFETY NOTE
   ============================================================ */

.note-box {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 30px 32px;
}

.note-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.note-icon svg { width: 22px; height: 22px; color: var(--accent-2); }

.note-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.note-box p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
    max-width: 720px;
}


/* ============================================================
   FREE / CTA BAND
   ============================================================ */

.free {
    padding: 72px 0;
    border-bottom: 1px solid var(--line-soft);
}

.free-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 46px 50px;
    border-radius: var(--radius-l);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-soft));
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.free-box::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 184, 75, .16), transparent 70%);
}

.free-box h2 {
    font-size: 56px;
    margin: 10px 0;
    color: var(--accent);
}

.free-box p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    max-width: 320px;
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-container {
    display: grid;
    grid-template-columns: .68fr 1.32fr;
    gap: 70px;
}

.faq-container .section-heading { margin: 0; }

.faq details {
    border-bottom: 1px solid var(--line-soft);
    padding: 22px 0;
}

.faq details:first-child { border-top: 1px solid var(--line-soft); }

.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 14.5px;
    font-weight: 500;
    font-family: var(--font-display);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    font-size: 14px;
    color: var(--muted);
    transition: transform .25s var(--ease), background .25s var(--ease);
}

.faq details[open] summary .toggle {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
    transform: rotate(45deg);
}

.faq p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
    margin: 16px 0 0;
    max-width: 620px;
}


/* ============================================================
   FINAL CTA
   ============================================================ */

.cta-section {
    padding: 120px 0;
}

.cta {
    position: relative;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 90px 30px;
    background: var(--bg-card);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(242, 184, 75, .14), transparent 60%);
    pointer-events: none;
}

.cta-label {
    position: relative;
}

.cta h2 {
    position: relative;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.1;
    margin: 22px 0 36px;
}

.cta h2 span { color: var(--accent); }

.cta-actions {
    position: relative;
    display: flex;
    justify-content: center;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    padding: 46px 0;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted-2);
    font-size: 12px;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.footer-brand svg { width: 16px; height: 16px; }


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .signal-visual { order: -1; }
    .status-card { position: static; width: 100%; margin-top: 22px; }
    .signal-field { opacity: .3; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .compare { grid-template-columns: 1fr; }
    .faq-container { grid-template-columns: 1fr; gap: 40px; }
    .trust-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
    .trust-item:nth-child(3) { border-left: none; padding-left: 0; }
    .nav-links { display: none; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 32px, 1200px); }
    .hero { padding: 44px 0 60px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .section { padding: 72px 0; }
    .features { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 36px; }
    .steps-line { display: none; }
    .free-box { flex-direction: column; align-items: flex-start; padding: 34px; }
    .free-box h2 { font-size: 44px; }
    .note-box { flex-direction: column; padding: 26px; }
    .cta { padding: 60px 22px; }
    .footer { flex-direction: column; align-items: flex-start; }
    .trust-row { grid-template-columns: 1fr; }
    .trust-item { border-left: none; padding-left: 0; }
}
