:root {
    --bg: #050816;
    --bg-deep: #03050f;
    --bg-soft: #0b1020;

    --card: rgba(12, 18, 35, 0.74);
    --card-strong: rgba(14, 22, 40, 0.88);

    --text: #f5f7ff;
    --muted: #97a0b8;
    --muted-soft: #727c96;

    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(120,255,225,0.16);

    --accent: #4cf2c2;
    --accent-2: #6be7ff;
    --accent-soft: rgba(76,242,194,0.14);

    --danger: #ff6b8a;
    --warning: #ffd36b;

    --radius-sm: 16px;
    --radius-md: 22px;
    --radius-lg: 30px;
    --radius-xl: 38px;

    --shadow: 0 28px 90px rgba(0,0,0,0.42);
    --shadow-soft: 0 14px 45px rgba(0,0,0,0.28);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(circle at 55% 0%, rgba(76,242,194,0.10), transparent 32%),
        radial-gradient(circle at 8% 75%, rgba(60,160,255,0.06), transparent 30%),
        var(--bg);

    color: var(--text);
}

body::selection {
    background: rgba(76,242,194,0.32);
    color: var(--text);
}

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

main {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    width: min(1320px, calc(100% - 48px));
    height: 92px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.brand-mark {
    width: 12px;
    height: 12px;
    border-radius: 999px;

    background: var(--accent);

    box-shadow:
        0 0 20px rgba(76,242,194,0.9),
        0 0 42px rgba(76,242,194,0.25);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    position: relative;

    color: var(--muted);
    font-size: 14px;
    font-weight: 500;

    transition:
        color .25s ease,
        opacity .25s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;

    height: 1px;

    background: var(--accent);

    opacity: 0;

    transition:
        right .25s ease,
        opacity .25s ease;
}

.nav a:hover {
    color: var(--text);
}

.nav a:hover::after {
    right: 0;
    opacity: 1;
}

/* COMMON */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;

    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;

    border-radius: 999px;

    background: var(--accent);

    box-shadow: 0 0 18px rgba(76,242,194,0.85);
}

.btn {
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 28px;

    border: 0;
    border-radius: 18px;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        color .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background:
        linear-gradient(135deg, #4cf2c2, #62f5d4);

    color: #04120e;

    box-shadow:
        0 0 36px rgba(76,242,194,0.25),
        inset 0 1px 0 rgba(255,255,255,0.36);
}

.btn-primary:hover {
    box-shadow:
        0 0 55px rgba(76,242,194,0.38),
        inset 0 1px 0 rgba(255,255,255,0.42);
}

.btn-secondary {
    border: 1px solid var(--line);

    color: var(--text);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.018)
        );

    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    border-color: rgba(76,242,194,0.24);
    background: rgba(76,242,194,0.055);
}

/* HERO */

.hero {
    min-height: calc(100vh - 92px);

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 760px;
}

.hero h1 {
    margin-bottom: 28px;

    font-size: clamp(52px, 7vw, 96px);
    line-height: .95;
    letter-spacing: -0.06em;
}

.hero-text {
    max-width: 640px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 42px;
}

/* HERO RIGHT PREMIUM CONSOLE */

.hero-panel {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.studio-console {
    position: relative;

    width: 100%;
    max-width: 560px;

    padding: 30px;

    border-radius: 36px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 22, 40, 0.90),
            rgba(7, 11, 24, 0.80)
        );

    border: 1px solid rgba(120, 255, 225, 0.15);

    box-shadow:
        0 34px 100px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(30px);

    overflow: hidden;
}

.studio-console::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 18% 0%, rgba(76, 242, 194, 0.18), transparent 34%),
        radial-gradient(circle at 92% 100%, rgba(60, 160, 255, 0.11), transparent 38%);

    pointer-events: none;
}

.studio-console::after {
    content: "";
    position: absolute;
    inset: 1px;

    border-radius: 35px;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(76, 242, 194, 0.055),
            transparent
        );

    opacity: .75;
    pointer-events: none;
}

.console-top,
.console-main,
.console-line,
.console-grid {
    position: relative;
    z-index: 2;
}

.console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 34px;
}

.console-dots {
    display: flex;
    gap: 9px;
}

.console-dots span {
    width: 9px;
    height: 9px;

    border-radius: 999px;

    background: rgba(255,255,255,0.18);
}

.console-dots span:first-child {
    background: var(--accent);
    box-shadow: 0 0 18px rgba(76,242,194,0.8);
}

.console-status {
    display: flex;
    align-items: center;
    gap: 9px;

    color: rgba(210,255,245,0.72);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.console-status span {
    width: 7px;
    height: 7px;

    border-radius: 999px;

    background: var(--accent);

    box-shadow: 0 0 18px rgba(76,242,194,0.9);
}

.console-label {
    margin-bottom: 20px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.console-main h2 {
    max-width: 460px;

    margin-bottom: 20px;

    font-size: clamp(32px, 3.2vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.console-main p {
    max-width: 450px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.console-line {
    height: 1px;

    margin: 30px 0;

    background:
        linear-gradient(
            90deg,
            rgba(76,242,194,0.70),
            rgba(76,242,194,0.12),
            transparent
        );
}

.console-line span {
    display: block;

    width: 90px;
    height: 1px;

    background: var(--accent);

    box-shadow: 0 0 22px rgba(76,242,194,0.8);
}

.console-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.console-item {
    position: relative;

    min-height: 150px;

    padding: 22px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.025)
        );

    border: 1px solid rgba(255,255,255,0.07);

    overflow: hidden;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.console-item::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(76,242,194,0.8),
            transparent
        );

    opacity: .45;
}

.console-item:hover {
    transform: translateY(-3px);

    border-color: rgba(76,242,194,0.22);

    background:
        linear-gradient(
            145deg,
            rgba(76,242,194,0.075),
            rgba(255,255,255,0.028)
        );
}

.console-item span {
    display: inline-flex;

    margin-bottom: 18px;

    color: rgba(76,242,194,0.76);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
}

.console-item strong {
    display: block;

    margin-bottom: 10px;

    color: var(--text);

    font-size: 15px;
    line-height: 1.3;
}

.console-item p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

/* SECTIONS */

.section,
.page-section {
    padding: 120px 0;
}

.section-head {
    margin-bottom: 54px;
}

.section-head h2,
.page-section h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    padding: 34px;

    border-radius: var(--radius-lg);

    background: var(--card);

    border: 1px solid var(--line);

    backdrop-filter: blur(20px);

    box-shadow: var(--shadow-soft);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.card:hover {
    transform: translateY(-4px);

    border-color: rgba(76,242,194,0.24);

    background: rgba(14,22,40,0.78);
}

.card h3 {
    margin-bottom: 18px;

    font-size: 26px;
    letter-spacing: -0.03em;
}

.card p {
    color: var(--muted);
    line-height: 1.8;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.step {
    padding: 28px;

    border-radius: 24px;

    background: rgba(255,255,255,0.03);

    border: 1px solid var(--line);
}

.step span {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
}

.step h3 {
    margin-bottom: 14px;
}

.step p {
    color: var(--muted);
    line-height: 1.7;
}

.cta-section {
    margin-bottom: 120px;

    padding: 52px;

    border-radius: 36px;

    background:
        linear-gradient(
            135deg,
            rgba(76,242,194,0.08),
            rgba(255,255,255,0.02)
        );

    border: 1px solid var(--line);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-section h2 {
    margin-bottom: 16px;

    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -0.04em;
}

.cta-section p {
    color: var(--muted);
}

/* FORMS */

.form-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
}

.form-card,
.auth-card {
    padding: 38px;

    border-radius: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(14,22,40,0.88),
            rgba(7,11,24,0.78)
        );

    border: 1px solid rgba(120,255,225,0.12);

    backdrop-filter: blur(24px);

    box-shadow: var(--shadow);
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-card label {
    display: flex;
    flex-direction: column;
    gap: 12px;

    color: var(--muted);

    font-size: 14px;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;

    border: 1px solid rgba(255,255,255,0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.022)
        );

    color: var(--text);

    border-radius: 18px;

    padding: 16px 18px;

    outline: none;

    font-size: 15px;
    font-weight: 600;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(151,160,184,0.58);
    font-weight: 500;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(76,242,194,0.48);

    background:
        linear-gradient(
            145deg,
            rgba(76,242,194,0.055),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 0 0 4px rgba(76,242,194,0.06),
        0 0 28px rgba(76,242,194,0.08);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

/* NORMAL SELECT, NO WHITE WINDOWS DROPDOWN STYLE AS MUCH AS BROWSER ALLOWS */

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 54px;

    cursor: pointer;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.022)
        ),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M6 8.5L11 13.5L16 8.5' stroke='%2397A0B8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 18px center;
}

select option {
    background: #0b1020;
    color: #f5f7ff;
}

select option:checked {
    background: #122034;
    color: #4cf2c2;
}

/* AUTH */

.auth-section {
    min-height: calc(100vh - 92px);

    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    width: 100%;
    max-width: 520px;
}

/* FLASH */

.flash-wrap {
    position: fixed;
    top: 110px;
    right: 24px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 1000;
}

.flash {
    min-width: 320px;

    padding: 16px 20px;

    border-radius: 18px;

    background: rgba(12,18,35,0.94);

    border: 1px solid rgba(76,242,194,0.18);

    backdrop-filter: blur(20px);

    color: var(--text);

    box-shadow: var(--shadow-soft);
}

/* ADMIN */

.admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 38px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;

    margin-bottom: 42px;
}

.stat-card {
    position: relative;

    padding: 32px;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(14,22,40,0.88),
            rgba(7,11,24,0.76)
        );

    border: 1px solid rgba(120,255,225,0.12);

    box-shadow: var(--shadow-soft);

    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(76,242,194,0.12),
            transparent 34%
        );

    pointer-events: none;
}

.stat-card span,
.stat-card strong {
    position: relative;
    z-index: 2;
}

.stat-card span {
    color: var(--muted);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;

    margin-top: 18px;

    font-size: 52px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.admin-block {
    padding: 34px;

    border-radius: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(14,22,40,0.88),
            rgba(7,11,24,0.76)
        );

    border: 1px solid rgba(120,255,225,0.12);

    box-shadow: var(--shadow-soft);
}

.admin-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 28px;
}

.admin-block-head h2 {
    font-size: 28px;
    letter-spacing: -0.03em;
}

.admin-block-head a {
    color: var(--accent);

    font-size: 14px;
    font-weight: 800;
}

.lead-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-item {
    padding: 20px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(255,255,255,0.06);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.lead-item h3 {
    margin-bottom: 6px;

    font-size: 17px;
}

.lead-item p {
    color: var(--muted);

    font-size: 14px;
}

.status {
    flex: 0 0 auto;

    padding: 10px 14px;

    border-radius: 999px;

    background: rgba(76,242,194,0.12);

    color: var(--accent);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.leads-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.lead-card {
    padding: 34px;

    border-radius: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(14,22,40,0.88),
            rgba(7,11,24,0.76)
        );

    border: 1px solid rgba(120,255,225,0.12);

    box-shadow: var(--shadow-soft);
}

.lead-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.lead-card-head h2 {
    margin-bottom: 8px;

    font-size: 26px;
    letter-spacing: -0.03em;
}

.lead-card-head p {
    color: var(--muted);
}

.lead-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 24px;
}

.lead-meta span {
    padding: 10px 13px;

    border-radius: 999px;

    background: rgba(255,255,255,0.035);

    border: 1px solid rgba(255,255,255,0.055);

    color: var(--muted);

    font-size: 13px;
}

.lead-message {
    margin-bottom: 26px;

    color: rgba(245,247,255,0.88);

    line-height: 1.9;
}

.status-form {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-form select {
    max-width: 240px;
}

.muted {
    color: var(--muted);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050816;
}

::-webkit-scrollbar-thumb {
    background: rgba(76,242,194,0.22);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(76,242,194,0.34);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .hero,
    .form-layout,
    .cards-grid,
    .steps,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .cta-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    main,
    .site-header {
        width: min(100% - 28px, 1320px);
    }

    .site-header {
        height: auto;

        padding: 24px 0;

        flex-direction: column;
        justify-content: center;
        gap: 18px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .hero h1 {
        font-size: 54px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section,
    .page-section {
        padding: 80px 0;
    }

    .cta-section,
    .form-card,
    .auth-card,
    .card,
    .lead-card,
    .admin-block,
    .studio-console {
        padding: 24px;
    }

    .console-grid {
        grid-template-columns: 1fr;
    }

    .console-item {
        min-height: auto;
    }

    .admin-head,
    .admin-block-head,
    .lead-card-head,
    .status-form {
        flex-direction: column;
        align-items: stretch;
    }

    .flash-wrap {
        left: 14px;
        right: 14px;
        top: 100px;
    }

    .flash {
        min-width: 0;
    }
}