:root {

    --background: #0a0f19;
    --surface: #111927;
    --surface-light: #182334;
    --border: #263449;

    --primary: #397bff;
    --primary-hover: #2865e3;

    --text: #f1f5f9;
    --muted: #94a3b8;

    --green: #22c55e;
    --red: #ef4444;
    --yellow: #eab308;

}

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;

}

a {

    color: var(--primary);
    text-decoration: none;

}

button,
input {

    font: inherit;

}

button {

    cursor: pointer;

}

.hidden {

    display: none !important;

}

.green {

    color: var(--green);

}

.red {

    color: var(--red);

}

.yellow {

    color: var(--yellow);

}


/* NAVIGATION */

.navbar {

    min-height: 76px;
    padding: 16px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: rgba(10, 15, 25, 0.97);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;

}

.logo {

    font-size: 21px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 2px;

}

.logo span {

    color: var(--primary);

}

nav {

    display: flex;
    align-items: center;
    gap: 28px;

}

nav a {

    color: var(--muted);

}

nav a:hover {

    color: white;

}


/* BUTTONS */

.button {

    display: inline-block;

    background: var(--primary);
    color: white;

    border: 1px solid transparent;
    border-radius: 7px;

    padding: 11px 22px;

    font-weight: 600;

    transition: 0.2s;

}

.button:hover {

    background: var(--primary-hover);

}

.button.secondary {

    background: transparent;
    border-color: var(--border);

}

.button.secondary:hover {

    background: var(--surface-light);

}

.button.danger {

    background: #b91c1c;

}

.full {

    width: 100%;

}


/* HERO */

.hero {

    min-height: 620px;

    padding: 100px 8%;

    display: grid;
    grid-template-columns: 1.2fr 1fr;

    align-items: center;

    gap: 70px;

    background: radial-gradient(
        ellipse at 80% 30%,
        #14294b,
        var(--background) 65%
    );

}

.badge {

    display: inline-block;

    color: #80a9ff;
    background: #172746;

    border: 1px solid #284b82;
    border-radius: 30px;

    padding: 6px 16px;

    font-size: 12px;
    letter-spacing: 2px;

    margin-bottom: 25px;

}

.hero h1 {

    font-size: clamp(40px, 5vw, 76px);

    line-height: 1.15;

    letter-spacing: -2px;

}

.hero h1 span {

    color: var(--primary);

}

.hero p {

    color: var(--muted);

    max-width: 580px;

    font-size: 18px;

    margin: 25px 0;

}

.hero-buttons {

    display: flex;
    flex-wrap: wrap;

    gap: 15px;

}

.hero-panel {

    background: var(--surface);

    border: 1px solid var(--border);

    padding: 25px;

    border-radius: 15px;

    box-shadow: 0 25px 80px #0005;

}

.panel-header {

    color: var(--muted);

    font-size: 13px;

    letter-spacing: 3px;

    margin-bottom: 20px;

}

.preview-card {

    background: var(--surface-light);

    border: 1px solid var(--border);

    padding: 22px;

    border-radius: 8px;

    margin: 12px 0;

}

small {

    color: var(--muted);

}


/* PUBLIC SECTIONS */

.section {

    padding: 90px 8%;

}

.section-heading {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 45px;

}

.eyebrow {

    color: var(--primary);

    font-size: 13px;

    letter-spacing: 3px;

}

.section-heading h2 {

    font-size: 36px;

    margin: 15px 0;

}

.section-heading p {

    color: var(--muted);

    font-size: 18px;

}

.feature-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}

.card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 25px;

    min-width: 0;

}

.feature-number {

    color: var(--primary);

    font-size: 30px;

    font-weight: bold;

    margin-bottom: 20px;

}

.card h3 {

    margin-bottom: 10px;

}

.card p {

    color: var(--muted);

}

.download-section {

    padding: 80px 20px;

    background: var(--surface);

    text-align: center;

    border-top: 1px solid var(--border);

}

.download-section p {

    margin: 15px 0 25px;

    color: var(--muted);

}


/* LOGIN AND REGISTRATION */

.modal {

    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(0, 0, 0, 0.8);

    backdrop-filter: blur(6px);

    padding: 20px;

    z-index: 1000;

}

.modal-content {

    position: relative;

    width: 100%;

    max-width: 430px;

    padding: 35px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 12px;

}

.modal-content p {

    color: var(--muted);

    margin: 10px 0 20px;

}

.close-button {

    position: absolute;

    top: 10px;

    right: 18px;

    color: var(--muted);

    background: transparent;

    border: none;

    font-size: 28px;

}

label {

    display: block;

    color: var(--muted);

    margin: 16px 0 7px;

    font-size: 14px;

}

input {

    width: 100%;

    background: var(--background);

    color: var(--text);

    border: 1px solid var(--border);

    border-radius: 6px;

    padding: 12px;

    outline: none;

}

input:focus {

    border-color: var(--primary);

}

form .button {

    margin-top: 24px;

}

.switch-form {

    text-align: center;

    font-size: 14px;

}


/* DASHBOARDS */

.dashboard {

    min-height: calc(100vh - 76px);

    display: grid;

    grid-template-columns: 240px minmax(0, 1fr);

}

.sidebar {

    background: var(--surface);

    border-right: 1px solid var(--border);

    padding: 30px 20px;

}

.sidebar h2 {

    color: var(--primary);

    letter-spacing: 2px;

}

.sidebar p {

    color: var(--muted);

    margin-bottom: 30px;

}

.sidebar button {

    width: 100%;

    text-align: left;

    padding: 13px;

    margin: 4px 0;

    background: transparent;

    border: none;

    border-radius: 6px;

    color: var(--muted);

}

.sidebar button:hover {

    color: white;

    background: var(--surface-light);

}

.dashboard-content {

    padding: 35px;

    min-width: 0;

}

.dashboard-content > p {

    color: var(--muted);

    margin-bottom: 30px;

}

.statistics {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );

    gap: 20px;

    margin-bottom: 35px;

}

.statistics h2 {

    font-size: 28px;

    margin-top: 10px;

    overflow-wrap: anywhere;

}

.license-card {

    max-width: 850px;

}

.license-key {

    padding: 15px;

    margin-bottom: 15px;

    border: 1px solid var(--border);

    border-radius: 6px;

    background: var(--background);

    font-family: monospace;

    overflow-wrap: anywhere;

}


/* TABLES */

.table-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;

}

.table-heading input {

    max-width: 280px;

}

.table-container {

    overflow-x: auto;

    border: 1px solid var(--border);

    border-radius: 9px;

}

table {

    width: 100%;

    border-collapse: collapse;

    background: var(--surface);

    font-size: 13px;

}

th,
td {

    text-align: left;

    padding: 15px;

    border-bottom: 1px solid var(--border);

}

th {

    color: var(--muted);

    background: var(--surface-light);

}

td {

    overflow-wrap: anywhere;

}

tr:hover {

    background: #172132;

}

.action-button {

    border: none;

    color: white;

    padding: 7px 10px;

    margin: 3px;

    border-radius: 4px;

    font-size: 12px;

}

.activate {

    background: #15803d;

}

.deactivate {

    background: #b91c1c;

}

.reject {

    background: #92400e;

}

.reset {

    background: #334155;

}

.status {

    display: inline-block;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;

}

.status.active {

    background: #14532d;

    color: #86efac;

}

.status.pending {

    background: #713f12;

    color: #fde047;

}

.status.inactive,
.status.rejected {

    background: #7f1d1d;

    color: #fca5a5;

}

.status.new {

    background: #334155;

    color: #cbd5e1;

}

.settings-card {

    max-width: 550px;

}


/* NOTIFICATIONS */

.notification {

    position: fixed;

    bottom: 25px;

    right: 25px;

    max-width: calc(100% - 50px);

    padding: 16px 25px;

    background: #166534;

    color: white;

    border-radius: 8px;

    z-index: 2000;

    box-shadow: 0 10px 30px #0005;

}

.notification.error {

    background: #991b1b;

}


/* FOOTER */

footer {

    text-align: center;

    padding: 25px;

    color: var(--muted);

    border-top: 1px solid var(--border);

    font-size: 13px;

}


/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .hero {

        grid-template-columns: 1fr;

        padding: 65px 6%;

        gap: 35px;

    }

    .feature-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .dashboard {

        grid-template-columns: 180px minmax(0, 1fr);

    }

    .dashboard-content {

        padding: 20px;

    }

}

@media (max-width: 600px) {

    .navbar {

        flex-wrap: wrap;

    }

    nav {

        gap: 12px;

        flex-wrap: wrap;

    }

    nav a {

        font-size: 13px;

    }

    .feature-grid {

        grid-template-columns: 1fr;

    }

    .dashboard {

        grid-template-columns: 1fr;

    }

    .sidebar {

        border-right: none;

        border-bottom: 1px solid var(--border);

    }

    .table-heading {

        align-items: stretch;

        flex-direction: column;

    }

    .table-heading input {

        max-width: none;

    }

    .section-heading h2 {

        font-size: 28px;

    }

}