
:root {
    color-scheme: dark;
    --bg: #07111f;
    --bg-soft: #0b1728;
    --surface: #101e32;
    --surface-light: #14243b;
    --border: rgba(148, 163, 184, .16);
    --text: #f8fafc;
    --muted: #9aabc0;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --cyan: #67e8f9;
    --radius: 18px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse at 50% -25%, rgba(37, 99, 235, .17), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 17, 31, .88);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1.1px;
}

.brand span {
    color: var(--blue-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #c4d0df;
    font-size: 14px;
    font-weight: 500;
}

.nav-links > a:not(.btn):hover,
.site-footer a:hover {
    color: white;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
    cursor: pointer;
}

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

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.btn-secondary {
    border-color: rgba(148, 163, 184, .25);
    background: rgba(255, 255, 255, .035);
    color: #e2e8f0;
}

.btn-secondary:hover {
    border-color: rgba(96, 165, 250, .55);
    background: rgba(59, 130, 246, .08);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0 100px;
    text-align: center;
}

.hero::before {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 580px;
    height: 420px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .12);
    filter: blur(100px);
    content: "";
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(96, 165, 250, .28);
    border-radius: 999px;
    background: rgba(37, 99, 235, .09);
    color: #a5ccff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .45px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 12px rgba(96, 165, 250, .8);
}

.hero h1 {
    max-width: 900px;
    margin: 28px auto 0;
    font-size: clamp(42px, 6.5vw, 76px);
    line-height: 1.06;
    letter-spacing: -4px;
}

.gradient-text {
    background: linear-gradient(100deg, #93c5fd, #60a5fa 48%, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 700px;
    margin: 25px auto 32px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-note {
    margin-top: 19px;
    color: #71839a;
    font-size: 12px;
}

.section {
    padding: 82px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-kicker {
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 12px 0;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.8px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    min-height: 205px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(20, 36, 59, .9), rgba(13, 26, 44, .85));
    transition: border-color .2s ease, transform .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, .4);
}

.feature-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    margin-bottom: 19px;
    border: 1px solid rgba(96, 165, 250, .2);
    border-radius: 12px;
    background: rgba(37, 99, 235, .13);
    color: #93c5fd;
    font-size: 19px;
    font-weight: 800;
}

.feature-card h3 {
    margin: 0 0 9px;
    font-size: 17px;
    letter-spacing: -.3px;
}

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

.intelligence-section {
    border-block: 1px solid var(--border);
    background: linear-gradient(100deg, rgba(15, 35, 62, .65), rgba(7, 17, 31, .25));
}

.intelligence-panel {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 55px;
}

.intelligence-copy h2 {
    margin: 12px 0 16px;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.8px;
}

.intelligence-copy p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.intelligence-points {
    display: grid;
    gap: 13px;
    margin-top: 25px;
}

.intelligence-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d5e1ef;
    font-size: 14px;
}

.intelligence-point span {
    color: #60a5fa;
    font-weight: 800;
}

.intelligence-visual {
    padding: 26px;
    border: 1px solid rgba(96, 165, 250, .2);
    border-radius: 20px;
    background: linear-gradient(145deg, #132945, #0c192b);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .2);
}

.visual-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    color: #dce8f6;
    font-size: 13px;
    font-weight: 700;
}

.visual-status {
    color: #86efac;
    font-size: 11px;
}

.visual-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .1);
    color: #b8c8da;
    font-size: 12px;
}

.visual-row strong {
    color: #eaf3ff;
}

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

.cta-panel {
    padding: 58px 28px;
    border: 1px solid rgba(96, 165, 250, .24);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, .2), transparent 65%),
        #0d1b2e;
    text-align: center;
}

.cta-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1.5px;
}

.cta-panel p {
    max-width: 610px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    color: #71839a;
    font-size: 12px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

@media (max-width: 850px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intelligence-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .site-nav {
        min-height: 68px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links > a:not(.btn) {
        display: none;
    }

    .nav-links .btn {
        min-height: 40px;
        padding: 9px 13px;
        font-size: 12px;
    }

    .brand {
        font-size: 22px;
    }

    .hero {
        padding: 82px 0 70px;
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 56px);
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 62px 0;
    }

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

    .feature-card {
        min-height: auto;
    }

    .intelligence-visual {
        padding: 19px;
    }

    .cta-panel {
        padding: 42px 20px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================
   PUBLIC PRICING PAGE
========================================= */

.pricing-section {
    padding: 82px 0 90px;
}

.pricing-intro {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.pricing-intro h1 {
    margin: 17px 0 15px;
    font-size: clamp(36px, 5vw, 57px);
    line-height: 1.1;
    letter-spacing: -2.5px;
}

.pricing-intro p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.pricing-currency {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    margin: 32px auto 35px;
}

.pricing-currency label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
}

.pricing-currency select {
    min-width: 190px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 13px;
}

.pricing-currency select:focus {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
}

.pricing-status {
    min-height: 22px;
    margin: 0 auto 18px;
    color: var(--blue-light);
    text-align: center;
    font-size: 13px;
}

.pricing-status.error {
    color: #fca5a5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px 21px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(155deg, #122239, #0c192b);
}

.pricing-card.featured {
    border-color: rgba(96, 165, 250, .65);
    background: linear-gradient(155deg, #173b70, #10233f);
    box-shadow: 0 15px 45px rgba(37, 99, 235, .12);
}

.pricing-card.sales-card {
    background: linear-gradient(155deg, #172438, #101b2c);
}

.pricing-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 17px;
    padding: 5px 9px;
    border: 1px solid rgba(96, 165, 250, .25);
    border-radius: 999px;
    background: rgba(59, 130, 246, .12);
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pricing-card h2 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -.6px;
}

.pricing-description {
    min-height: 43px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.pricing-price {
    margin-top: 23px;
    font-size: clamp(28px, 3vw, 37px);
    font-weight: 800;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}

.pricing-billing {
    margin: 3px 0 0;
    color: #91a4bb;
    font-size: 11px;
}

.pricing-divider {
    height: 1px;
    margin: 23px 0 18px;
    background: var(--border);
}

.pricing-quota-title {
    margin-bottom: 13px;
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.pricing-quotas {
    display: grid;
    gap: 13px;
}

.pricing-quota {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    color: #aebed0;
    font-size: 11px;
}

.pricing-quota strong {
    color: #f1f5f9;
    font-size: 13px;
    white-space: nowrap;
}

.pricing-features {
    display: grid;
    gap: 12px;
    margin: 23px 0 25px;
    padding: 0;
    list-style: none;
}

.pricing-features li {
    position: relative;
    padding-left: 19px;
    color: #c2cfde;
    font-size: 11px;
    line-height: 1.6;
}

.pricing-features li::before {
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: 800;
    content: "✓";
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
    padding: 12px 10px;
    font-size: 12px;
}

.pricing-card.featured .btn {
    background: #fff;
    color: #1d4ed8;
    box-shadow: none;
}

.pricing-card.featured .btn:hover {
    background: #dbeafe;
}

.pricing-note {
    max-width: 760px;
    margin: 29px auto 0;
    color: #8294aa;
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
}

.pricing-help {
    margin-top: 52px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(15, 30, 50, .65);
    text-align: center;
}

.pricing-help h2 {
    margin: 0 0 8px;
    font-size: 19px;
}

.pricing-help p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 1050px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pricing-section {
        padding: 58px 0 65px;
    }

    .pricing-intro h1 {
        letter-spacing: -1.7px;
    }

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

    .pricing-card {
        padding: 25px;
    }

    .pricing-description {
        min-height: auto;
    }

    .pricing-price {
        font-size: 36px;
    }

    .pricing-currency {
        align-items: stretch;
        flex-direction: column;
    }

    .pricing-currency select {
        width: 100%;
    }
}


/* =========================================
   PUBLIC AUTHENTICATION PAGES
========================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-header {
    border-bottom: 1px solid var(--border);
    background: rgba(7, 17, 31, .88);
}

.auth-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-header-link {
    color: #cbd5e1;
    font-size: 13px;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 15px;
}

.auth-card {
    width: min(100%, 470px);
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 21px;
    background: linear-gradient(145deg, #122239, #0b192b);
    box-shadow: 0 25px 75px rgba(0, 0, 0, .22);
}

.auth-card h1 {
    margin: 13px 0 9px;
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.auth-description {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.auth-plan {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(96, 165, 250, .22);
    border-radius: 12px;
    background: rgba(37, 99, 235, .09);
}

.auth-plan-label {
    display: block;
    margin-bottom: 4px;
    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.auth-plan strong {
    display: block;
    color: #f1f5f9;
    font-size: 14px;
}

.auth-plan p {
    margin: 5px 0 0;
    color: #a9bad0;
    font-size: 11px;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field label {
    color: #dbe5f1;
    font-size: 12px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 10px;
    outline: none;
    background: #091626;
    color: #f8fafc;
    font-size: 13px;
}

.auth-field input::placeholder {
    color: #71839a;
}

.auth-field input:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.auth-help {
    margin: -7px 0 0;
    color: #8294aa;
    font-size: 11px;
    line-height: 1.6;
}

.auth-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 4px;
}

.auth-submit:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.auth-message {
    display: none;
    margin-top: 17px;
    padding: 12px 14px;
    border: 1px solid rgba(96, 165, 250, .25);
    border-radius: 10px;
    background: rgba(37, 99, 235, .1);
    color: #bfdbfe;
    font-size: 12px;
    line-height: 1.7;
}

.auth-message.error {
    display: block;
    border-color: rgba(248, 113, 113, .3);
    background: rgba(127, 29, 29, .15);
    color: #fecaca;
}

.auth-message.success {
    display: block;
}

.auth-switch {
    margin: 23px 0 0;
    color: #91a4bb;
    text-align: center;
    font-size: 12px;
}

.auth-switch a {
    color: #93c5fd;
    font-weight: 700;
}

.auth-footer {
    padding: 22px 15px;
    color: #71839a;
    text-align: center;
    font-size: 11px;
}

.auth-success {
    display: none;
    margin-top: 22px;
    padding: 19px;
    border: 1px solid rgba(74, 222, 128, .2);
    border-radius: 13px;
    background: rgba(22, 101, 52, .12);
}

.auth-success h2 {
    margin: 0 0 8px;
    color: #bbf7d0;
    font-size: 18px;
}

.auth-success p {
    margin: 0 0 16px;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 520px) {
    .auth-main {
        padding: 35px 15px;
    }

    .auth-card {
        padding: 25px 20px;
    }

    .auth-card h1 {
        font-size: 27px;
    }
}
