@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* ── Hero canvas animation ──────────────────── */
.hero-canvas-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero {
    position: relative;
    /* needed for canvas overlay */
}

.hero>*:not(.hero-canvas-wrap) {
    position: relative;
    z-index: 1;
}

/* =====================================================
   NOTIFYOWNER v12 — CLEAN PREMIUM
   ===================================================== */

:root {
    --bg: #0b0c10;
    --bg2: #111219;
    --fg: #f5f6f8;
    --muted: #737c95;
    --p: #6d5bf6;
    /* violet */
    --p2: #38bdf8;
    /* sky blue */
    --g: #10b981;
    /* green */
    --o: #f59e0b;
    /* amber */
    --glass: rgba(255, 255, 255, .045);
    --border: rgba(255, 255, 255, .08);
    --shdw: 0 32px 64px rgba(0, 0, 0, .6);
    --r: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Aurora background ──────────────────────────── */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    animation: drift 20s ease-in-out infinite alternate;
}

.ab1 {
    width: 700px;
    height: 500px;
    background: #6d5bf6;
    top: -10%;
    left: -15%;
    animation-duration: 22s;
}

.ab2 {
    width: 500px;
    height: 500px;
    background: #38bdf8;
    top: 20%;
    right: -10%;
    animation-duration: 18s;
    animation-delay: -7s;
}

.ab3 {
    width: 400px;
    height: 400px;
    background: #6d5bf6;
    bottom: 0;
    left: 30%;
    animation-duration: 26s;
    animation-delay: -12s;
    opacity: .2;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, 30px) scale(1.06);
    }

    100% {
        transform: translate(-20px, 50px) scale(.96);
    }
}

/* ── Navigation ─────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: rgba(11, 12, 16, .75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--fg);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--r);
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .3px;
    transition: transform .2s, opacity .2s, box-shadow .2s;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.btn-violet {
    background: linear-gradient(135deg, #6d5bf6, #9b87ff);
    color: #fff;
    box-shadow: 0 8px 24px rgba(109, 91, 246, .35);
}

.btn-outline {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
}

.btn-outline:hover {
    border-color: var(--p);
    color: var(--fg);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 6% 80px;
    max-width: 900px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(56, 189, 248, .4);
    background: rgba(56, 189, 248, .08);
    color: var(--p2);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--p2);
    animation: dp 2s ease-in-out infinite;
}

@keyframes dp {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .3;
        transform: scale(.7)
    }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 700;
    letter-spacing: -2.5px;
    line-height: 1.05;
    margin-bottom: 28px;
}

.hero h1 em {
    font-style: normal;
    color: var(--p);
}

.hero h1 strong {
    font-style: normal;
    color: var(--p2);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

/* "Free" callout under CTA */
.free-note {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.free-note::before {
    content: '✓';
    color: var(--g);
    font-weight: 700;
}

/* ── Divider strip ───────────────────────────────── */
.strip {
    border-top: 1px solid var(--border);
    padding-top: 48px;
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.strip-stat {
    display: flex;
    flex-direction: column;
}

.strip-stat span:first-child {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--fg);
}

.strip-stat span:last-child {
    font-size: .8rem;
    color: var(--muted);
}

/* ── Sections ────────────────────────────────────── */
.section {
    padding: 100px 6%;
}

.section-dark {
    background: var(--bg2);
}

.label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--p);
    display: block;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.5px;
    margin-bottom: 16px;
}

.section-body {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 56px;
    line-height: 1.7;
}

/* ── 3-Step Flow ─────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: var(--r);
    overflow: hidden;
}

.step {
    background: var(--bg2);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.step-num {
    position: absolute;
    top: -12px;
    right: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    pointer-events: none;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    font-size: .9rem;
    color: var(--muted);
}

/* ── Relay bar ───────────────────────────────────── */
.relay-bar {
    padding: 60px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.rb-node {
    text-align: center;
    flex: 1;
}

.rb-node .rbn-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 12px;
    border: 1px solid var(--border);
}

.rb-node .rbn-label {
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rb-arrow {
    flex: 2;
    height: 2px;
    position: relative;
    background: var(--border);
}

.rb-arrow-dot {
    position: absolute;
    top: -5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: slide 3s ease-in-out infinite;
}

.rba1 .rb-arrow-dot {
    background: var(--p);
    box-shadow: 0 0 12px var(--p);
}

.rba2 .rb-arrow-dot {
    background: var(--g);
    box-shadow: 0 0 12px var(--g);
    animation-delay: -1.5s;
}

@keyframes slide {
    0% {
        left: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 12px);
        opacity: 0;
    }
}

/* ── Scenario cards ──────────────────────────────── */
.scenarios {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sc {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--glass);
    transition: border-color .3s, transform .35s;
}

.sc:hover {
    border-color: var(--p);
    transform: translateY(-5px);
}

.sc.flip {
    direction: rtl;
}

.sc.flip>* {
    direction: ltr;
}

.sc-copy {
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sc-copy h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.sc-copy p {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: .4px;
}

.tv {
    background: rgba(109, 91, 246, .15);
    color: #9b87ff;
    border: 1px solid rgba(109, 91, 246, .35);
}

.tb {
    background: rgba(56, 189, 248, .1);
    color: var(--p2);
    border: 1px solid rgba(56, 189, 248, .3);
}

.tg {
    background: rgba(16, 185, 129, .1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, .3);
}

.to {
    background: rgba(245, 158, 11, .1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, .3);
}

.sc-vis {
    background: var(--bg2);
    min-height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* animated scan line */
.scan-h {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--p), transparent);
    animation: scanH 3s ease-in-out infinite;
}

@keyframes scanH {
    0% {
        top: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* terminal box */
.term {
    font-family: monospace;
    font-size: .7rem;
    line-height: 2;
    background: rgba(11, 12, 16, .8);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    z-index: 1;
    color: var(--g);
    width: 26ch;
}

.term .dim {
    color: var(--muted);
}

.sc-vis-icon {
    position: absolute;
    font-size: 5rem;
    opacity: .06;
    bottom: 16px;
    right: 16px;
}

/* ── Feature grid ────────────────────────────────── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feat {
    padding: 40px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--glass);
    transition: border-color .3s, transform .3s;
}

.feat:hover {
    border-color: var(--p);
    transform: translateY(-6px);
}

.feat-ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    border: 1px solid var(--border);
}

.feat h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feat p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.65;
}

/* ── Register section ────────────────────────────── */
.register-section {
    padding: 120px 6%;
    text-align: center;
}

.register-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.register-section p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 40px;
}

.register-pair {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.register-trust {
    font-size: .8rem;
    color: var(--muted);
}

.register-trust span {
    color: var(--g);
    font-weight: 600;
}

/* ── Footer ─────────────────────────────────────── */
footer {
    padding: 40px 6%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: .85rem;
    flex-wrap: wrap;
    gap: 16px;
}

.foot-links {
    display: flex;
    gap: 24px;
}

.foot-links a {
    color: var(--muted);
    transition: color .2s;
}

.foot-links a:hover {
    color: var(--fg);
}

/* ── Scroll reveal ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
        transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.on {
    opacity: 1;
    transform: none;
}

/* \u2500\u2500 Communication Privacy \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.comms-privacy {
    padding: 100px 6%;
    background: var(--bg2);
}

.comms-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 56px;
}

/* --- Left: Message Flow Card --- */
.msg-flow-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mf-party {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mf-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mf-bubble-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mf-name {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.mf-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: .88rem;
    line-height: 1.5;
    max-width: 320px;
}

.mf-bubble.sent {
    background: rgba(109, 91, 246, .12);
    border: 1px solid rgba(109, 91, 246, .3);
    color: #d4c7ff;
    border-radius: 16px 16px 16px 4px;
}

.mf-bubble.recv {
    background: rgba(16, 185, 129, .1);
    border: 1px solid rgba(16, 185, 129, .25);
    color: #86efac;
    border-radius: 16px 16px 4px 16px;
}

/* animated connector */
.mf-line {
    width: 2px;
    height: 40px;
    margin: 8px 0 8px 19px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.mf-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--p) 50%, transparent);
    animation: flowDown 1.8s linear infinite;
}

@keyframes flowDown {
    to {
        top: 200%;
    }
}

/* relay badge / shield box */
.relay-shield {
    background: rgba(109, 91, 246, .07);
    border: 1px solid rgba(109, 91, 246, .25);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 0 0;
}

.relay-shield-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(109, 91, 246, .2);
    border: 1px solid rgba(109, 91, 246, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    animation: pulseShield 2.5s ease-in-out infinite;
}

@keyframes pulseShield {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(109, 91, 246, .5);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(109, 91, 246, 0);
    }
}

.relay-shield-text strong {
    display: block;
    font-size: .88rem;
    font-family: 'Space Grotesk', sans-serif;
    color: #c4b5ff;
    margin-bottom: 4px;
}

.relay-shield-text span {
    font-size: .72rem;
    color: var(--muted);
    line-height: 1.5;
}

/* pill badges */
.cp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.cp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.cp::before {
    content: '✓';
    font-size: .7rem;
}

.cpp {
    background: rgba(109, 91, 246, .1);
    color: #a78bfa;
    border: 1px solid rgba(109, 91, 246, .3);
}

.cpb {
    background: rgba(56, 189, 248, .08);
    color: var(--p2);
    border: 1px solid rgba(56, 189, 248, .25);
}

.cpg {
    background: rgba(16, 185, 129, .08);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, .25);
}

/* --- Right: Guarantee List --- */
.comms-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cl-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--glass);
    transition: border-color .3s, transform .3s;
}

.cl-item:hover {
    border-color: var(--p);
    transform: translateX(6px);
}

.cl-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cl-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--fg);
}

.cl-item p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.65;
}

/* \u2500\u2500 Responsive \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
@media (max-width: 1024px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .feat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sc {
        grid-template-columns: 1fr;
    }

    .sc.flip {
        direction: ltr;
    }

    .sc-vis {
        min-height: 220px;
    }

    .comms-layout {
        grid-template-columns: 1fr;
    }

    .mf-bubble {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .feat-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .relay-bar {
        flex-direction: column;
    }

    .comms-privacy {
        padding: 60px 5%;
    }

    .cl-item {
        padding: 20px;
    }
}