:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --card-bg: #111827;
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.12);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #22c55e;
    --radius: 10px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
    --max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    color: var(--text);
}

body {
    line-height: 1.6;
}

/* Layout */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: radial-gradient(circle at top left, #020617 0, #020617 40%, #000 100%);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.7), transparent);
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}

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

.nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.15rem;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

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

.nav a:hover::after {
    width: 100%;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
        transform 0.1s ease, box-shadow 0.1s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #022c22;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.45);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    border-color: rgba(55, 65, 81, 0.9);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(75, 85, 99, 1);
}

.btn-outline {
    background: transparent;
    color: var(--muted);
    border-color: rgba(75, 85, 99, 0.9);
}

.btn-outline:hover {
    color: var(--text);
    border-color: rgba(148, 163, 184, 1);
}

/* Hero */

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text p {
    color: var(--muted);
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 0.75rem;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Hero visual */

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-mock {
    background: radial-gradient(circle at top left, #111827 0, #020617 60%, #000 100%);
    border-radius: 18px;
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.9rem;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.dot.red {
    background: var(--danger);
}

.dot.yellow {
    background: var(--warning);
}

.dot.green {
    background: var(--success);
}

.card-body {
    padding: 1.1rem 1.2rem 1.2rem;
}

.mock-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.mock-row:last-child {
    margin-bottom: 0;
}

.mock-block {
    flex: 1;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(31, 41, 55, 0.9);
}

.mock-block.wide {
    flex: 1;
}

.mock-block h3 {
    font-size: 0.9rem;
    margin: 0 0 0.4rem;
    color: #e5e7eb;
}

.mock-block p,
.mock-block li {
    font-size: 0.8rem;
    color: var(--muted);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.3rem;
    height: 70px;
}

.bar {
    flex: 1;
    border-radius: 999px;
    background: linear-gradient(to top, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.9));
}

.bar-1 {
    height: 45%;
}

.bar-2 {
    height: 80%;
}

.bar-3 {
    height: 60%;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list li {
    padding: 0.15rem 0;
}

.visual-caption {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Sections */

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.section p {
    color: var(--muted);
    max-width: 46rem;
}

/* Grid */

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(31, 41, 55, 0.9);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* Contact */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-form {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.55rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.contact-form button {
    margin-top: 0.4rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 1.2rem 0 1.4rem;
    background: rgba(2, 6, 23, 0.98);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

/* Responsive */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        order: -1;
    }

    .grid,
    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .header-inner {
        gap: 0.75rem;
    }

    .nav {
        display: none;
    }

    .hero {
        padding-top: 3.2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}