:root {
    --bg: #0b1220;
    --panel: #121b2e;
    --panel-2: #0f1728;
    --text: #d7dde7;
    --muted: #9fb3c8;
    --muted-2: #b8c4d6;
    --border: #1c2a3f;
    --border-2: #24324a;
    --accent: #3da9fc;
    --accent-text: #08121f;
    --danger: #ff8f8f;
    --success: #9fe0ba;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
}

.section + .section {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-title {
    margin: 0 0 14px 0;
    font-size: 32px;
    line-height: 1.2;
}

.section-copy {
    max-width: 760px;
    margin: 0 0 28px 0;
    color: var(--muted-2);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Header / nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 18, 32, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.site-brand {
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-tagline {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
    color: #ffffff;
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.03);
}

/* Hero */

.hero {
    padding: 88px 0 72px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.hero-copy {
    max-width: 760px;
}

.hero h1 {
    margin: 0 0 18px 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.hero .lead {
    margin: 0 0 14px 0;
    max-width: 760px;
    color: var(--muted-2);
    font-size: 1.12rem;
}

.hero-text {
    margin: 0 0 28px 0;
    max-width: 760px;
    color: var(--muted-2);
    font-size: 1rem;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.cta-primary,
.cta-secondary,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-2);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.cta-primary,
.primary-button {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

.cta-primary:hover,
.primary-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.cta-secondary,
.secondary-button {
    background: transparent;
    color: var(--text);
}

.cta-secondary:hover,
.secondary-button:hover {
    border-color: var(--accent);
    color: #ffffff;
    background: rgba(61, 169, 252, 0.08);
}

.hero-aside {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.hero-aside h2,
.hero-aside h3 {
    margin: 0 0 12px 0;
    font-size: 1.05rem;
}

.hero-aside p,
.hero-aside li {
    color: var(--muted-2);
    font-size: 0.96rem;
}

.hero-aside ul {
    margin: 0;
    padding-left: 18px;
}

/* Product cards / blocks */

.section-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-card,
.service-card,
.step-card,
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
}

.feature-card h3,
.service-card h3,
.step-card h3,
.card h3,
.card h2 {
    margin: 0 0 10px 0;
    font-size: 1.08rem;
}

.feature-card p,
.service-card p,
.step-card p,
.card p {
    margin: 0;
    color: var(--muted-2);
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card:hover,
.card-link .card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

/* Process */

.process-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
}

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(61, 169, 252, 0.12);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-step h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.process-step p {
    margin: 0;
    color: var(--muted-2);
    font-size: 0.95rem;
}

/* Customer access */

.customer-access {
    background: linear-gradient(180deg, rgba(61,169,252,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.customer-access p {
    margin: 0 0 18px 0;
    color: var(--muted-2);
}

/* Footer */

.site-footer,
footer {
    padding: 42px 0 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #6e7c91;
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-inner a,
.site-footer a,
footer a {
    color: inherit;
    text-decoration: none;
}

/* Existing auth / login styles — preserved */

.auth-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

.auth-card {
    background: var(--panel);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-row label {
    font-weight: 600;
    color: #dfe8f5;
}

.form-row input {
    background: #0d1627;
    border: 1px solid #2a3b56;
    color: #e7eef8;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 16px;
    outline: none;
}

.form-row input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(61, 169, 252, 0.2);
}

.field-message {
    min-height: 20px;
    font-size: 14px;
    color: var(--danger);
}

.status-box {
    margin-top: 20px;
    min-height: 24px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    color: #c9d6e8;
}

.status-box.error {
    border-color: #7a2c2c;
    background: rgba(160, 40, 40, 0.12);
    color: #ffb2b2;
}

.status-box.success {
    border-color: #2d6b4a;
    background: rgba(40, 130, 80, 0.12);
    color: var(--success);
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.rules-box,
.hint-box {
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-2);
    color: #bfd0e5;
}

.rules-box ul {
    margin: 10px 0 0 18px;
    padding: 0;
}

.hidden {
    display: none;
}

/* Responsive */

@media (max-width: 980px) {
    .hero-grid,
    .section-grid,
    .card-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 72px;
    }

    .header-inner,
    .footer-inner {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .nav {
        gap: 8px;
    }

    .nav a {
        padding: 7px 10px;
    }
}
