@charset "utf-8";

:root {
    --bg: #000000;
    --surface: #0d1117;
    --surface-2: #111725;
    --border: rgba(255, 255, 255, 0.06);
    --text: #e7ecf3;
    --muted: #9aa7bd;
    --primary: #ff5e00;
    --accent: #00b2ff;
    --success: #55d38c;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

.cursor-glow {
    display: none;
}

body.no-glow .cursor-glow {
    display: none;
}

.app-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(40% 40% at 15% 20%, rgba(255, 94, 0, 0.2), transparent 55%),
        radial-gradient(45% 45% at 85% 15%, rgba(0, 178, 255, 0.22), transparent 60%),
        radial-gradient(50% 50% at 45% 80%, rgba(255, 120, 0, 0.16), transparent 60%),
        linear-gradient(135deg, #050505 0%, #0d1524 40%, #050505 65%, #101b2c 100%);
    z-index: -2;
    background-size: 260% 260%;
    animation: bg-shift 10s ease-in-out infinite alternate;
}

.app-noise {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: -1;
}

.blob-layer {
    position: fixed;
    inset: -10%;
    pointer-events: none;
    filter: blur(24px);
    opacity: 0.85;
    mix-blend-mode: screen;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    width: 40vmax;
    height: 40vmax;
    background: radial-gradient(circle at 30% 30%, rgba(255, 94, 0, 0.38), transparent 55%);
    top: 10%;
    left: 5%;
    animation: blob-move-1 26s ease-in-out infinite;
}

.blob-2 {
    width: 36vmax;
    height: 36vmax;
    background: radial-gradient(circle at 40% 40%, rgba(0, 178, 255, 0.3), transparent 55%);
    bottom: 0%;
    right: -5%;
    animation: blob-move-2 30s ease-in-out infinite reverse;
}

.blob-3 {
    width: 32vmax;
    height: 32vmax;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.12), transparent 60%);
    top: 30%;
    right: 25%;
    animation: blob-move-3 34s ease-in-out infinite;
}

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

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 24px;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0b0f17;
    letter-spacing: 0.5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-weight: 700;
    font-size: 15px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--muted);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    margin-left: 20px;
}

.nav-link {
    padding: 8px 10px;
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.link-ghost {
    color: var(--muted);
    padding: 8px 12px;
    border: 1px solid transparent;
    transition: color 0.2s;
}

.link-ghost:hover {
    color: var(--text);
}

.link-primary {
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0f17;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    margin-left: auto;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
}

main {
    padding-top: 90px;
}

.hero {
    padding: 80px 24px 40px;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    margin-bottom: 14px;
}

.lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.lead-sm {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 10px;
}

.cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0f17;
    box-shadow: 0 14px 30px rgba(255, 94, 0, 0.35);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

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

.hero-checks {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.hero-card, .card, .step, .flow-node {
    backdrop-filter: blur(8px);
}

.bridge-hero .hero-grid {
    max-width: 1100px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.bridge-hero .hero-text {
    text-align: left;
}

.bridge-login-card {
    margin-left: auto;
    width: min(440px, 100%);
    border-top: 3px solid var(--accent);
    background: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.bridge-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.badge {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.badge-success {
    background: rgba(85, 211, 140, 0.15);
    color: var(--success);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 12px 0;
}

.stat {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.stat-value {
    font-weight: 700;
    font-size: 16px;
}

.progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
    margin: 8px 0 12px;
}

.progress-bar {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: progress-pulse 2s ease-in-out infinite;
}

.card-footer {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.section {
    padding: 64px 24px;
}

.section-head {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-head h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 10px;
}

.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.cards-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cards-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards-grid:not(.cards-grid-2):not(.cards-grid-3) {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
}

.card p, .card ul {
    color: var(--muted);
    line-height: 1.5;
    font-size: 15px;
}

.card:hover {
    border-color: rgba(0, 178, 255, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 178, 255, 0.2);
    transform: translateY(-3px);
}

.steps-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.step-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0f17;
    text-align: center;
    line-height: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.step h3 {
    margin-bottom: 8px;
}

.data-flow {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.flow-diagram {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 20px 0 6px;
    position: relative;
}

.flow-node {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.flow-line {
    display: grid;
    grid-template-rows: repeat(3, 12px);
    align-items: center;
    width: 140px;
}

.flow-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    filter: drop-shadow(0 0 6px rgba(255, 94, 0, 0.5));
    animation: flow-move 2.4s linear infinite;
}

.flow-dot:nth-child(2) { animation-delay: 0.4s; }
.flow-dot:nth-child(3) { animation-delay: 0.8s; }

.tilt {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.tilt:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 6px;
}

.feature-list li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.bridge-promo .btn {
    margin-top: 10px;
    width: fit-content;
}

.cta-strip {
    max-width: 1100px;
    margin: 0 auto 60px;
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.12), rgba(0, 178, 255, 0.12));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow);
}

.cta-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.contact-list {
    max-width: 1100px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    padding: 0 24px;
}

.contact-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.contact-item a {
    color: var(--text);
    font-weight: 700;
}

footer {
    border-top: 1px solid var(--border);
    padding: 28px 24px 40px;
    background: rgba(7, 9, 14, 0.8);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--muted);
    font-weight: 500;
}

.footer-copy {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 13px;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 260px;
    max-width: 360px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 94, 0, 0.6);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 2000;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1500;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0f17;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 800;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
}

.floating-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1500;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    width: min(520px, 90vw);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.form-grid input,
.form-grid textarea {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    color: var(--text);
    font-size: 14px;
}

.form-grid input:focus,
.form-grid textarea:focus {
    outline: 1px solid var(--accent);
}

.form-grid .full {
    grid-column: 1 / -1;
}

.modal-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-actions .btn {
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
}

.modal-dialog h3 {
    font-size: 18px;
}

@keyframes progress-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

@keyframes flow-move {
    0% { transform: translateX(-10px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(120px); opacity: 0; }
}

@keyframes blob-move-1 {
    0% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(6%, -4%) scale(1.05); }
    70% { transform: translate(-4%, 6%) scale(0.98); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes blob-move-2 {
    0% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(-8%, 4%) scale(1.08); }
    60% { transform: translate(6%, -6%) scale(0.96); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes blob-move-3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-6%, 8%) scale(1.06); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes bg-shift {
    0% { background-position: 35% 35%; filter: saturate(1); }
    20% { background-position: 65% 45%; filter: saturate(1.18); }
    40% { background-position: 50% 75%; filter: saturate(1.22); }
    60% { background-position: 38% 55%; filter: saturate(1.14); }
    80% { background-position: 70% 42%; filter: saturate(1.18); }
    100% { background-position: 32% 68%; filter: saturate(1.08); }
}


@media (max-width: 960px) {
    .nav-links {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        background: rgba(7, 9, 14, 0.95);
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        transition: left 0.2s ease;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

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

    .flow-diagram {
        grid-template-columns: 1fr;
    }

    .flow-line {
        width: 100%;
        grid-template-rows: 1fr;
        grid-template-columns: repeat(6, 1fr);
        justify-items: center;
    }

    .cta-strip {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}
