* {
    box-sizing: border-box;
}

:root {
    --bg: #060b12;
    --bg2: #0b1420;
    --panel: rgba(14, 22, 35, 0.82);
    --panel-border: rgba(72, 139, 255, 0.22);
    --text: #f5f9ff;
    --muted: #9bb0c9;
    --blue: #2f8cff;
    --blue2: #65b3ff;
    --cyan: #59f0ff;
    --line: rgba(255, 255, 255, 0.08);
    --success: #2ed47a;
    --danger: #ff5c7a;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(47, 140, 255, 0.18), transparent 22%),
        radial-gradient(circle at left center, rgba(89, 240, 255, 0.10), transparent 18%),
        linear-gradient(180deg, #07111b 0%, #04080d 100%);
    color: var(--text);
    min-height: 100%;
}

body {
    overflow-x: hidden;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1400px, 92%);
    margin: 0 auto;
}

/* =========================
   HEADER / NAV
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(5, 10, 16, 0.72);
    border-bottom: 1px solid var(--line);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(47, 140, 255, 0.25));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-size: 18px;
    letter-spacing: 1.2px;
}

.brand-text span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

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

.nav-links a {
    color: #dbe9ff;
    font-size: 14px;
    transition: 0.2s ease;
}

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

/* =========================
   BUTTONS
========================= */

.btn,
.btn-outline,
.challenge-btn,
.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn {
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: linear-gradient(135deg, #3b8cff, #2a6fe8);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    color: #fff;
    letter-spacing: 0.4px;
}

.btn:hover {
    background: linear-gradient(135deg, #4d99ff, #2a6fe8);
    transform: translateY(-1px);
}

.btn-outline {
    padding: 12px 20px;
    border: 1px solid rgba(101, 179, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: #dbe9ff;
}

.btn-outline:hover {
    background: rgba(101, 179, 255, 0.08);
    border-color: #65b3ff;
    transform: translateY(-1px);
}

.challenge-btn {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(101, 179, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: #dbe9ff;
    letter-spacing: 0.5px;
}

.challenge-btn:hover {
    background: rgba(101, 179, 255, 0.08);
    border-color: #65b3ff;
    transform: translateY(-2px);
}

.challenge-action {
    width: 100%;
    margin-top: 16px;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    padding: 90px 0 70px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(101, 179, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #cde6ff;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.95;
    letter-spacing: 1px;
}

.hero h1 .glow {
    color: #cfe9ff;
    text-shadow: 0 0 22px rgba(101, 179, 255, 0.35);
}

.hero p {
    max-width: 700px;
    margin: 22px 0 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.stat-card {
    padding: 18px;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 26px;
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   HERO PANEL
========================= */

.hero-panel {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid rgba(101, 179, 255, 0.25);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        rgba(7, 12, 18, 0.72);
    box-shadow: var(--shadow);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -60px -80px auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(47, 140, 255, 0.35), transparent 68%);
    filter: blur(20px);
}

.chart-ui {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.panel-badge {
    padding: 8px 12px;
    border: 1px solid rgba(46, 212, 122, 0.25);
    border-radius: 999px;
    background: rgba(46, 212, 122, 0.12);
    color: #8ef5b8;
    font-size: 12px;
    font-weight: 700;
}

.panel-dots {
    display: flex;
    gap: 8px;
}

.panel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2c3b4f;
}

.mock-chart {
    position: relative;
    height: 220px;
    overflow: hidden;
    border: 1px solid rgba(101, 179, 255, 0.16);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(101, 179, 255, 0.08), rgba(101, 179, 255, 0)),
        rgba(0, 0, 0, 0.25);
}

.mock-chart svg {
    width: 100%;
    height: 100%;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.metric {
    padding: 16px;
    border: 1px solid rgba(101, 179, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.metric small {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.metric strong {
    font-size: 24px;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 26px 0 70px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head h2 {
    margin: 0;
    font-size: 34px;
}

.section-head p {
    max-width: 700px;
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

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

/* =========================
   CARDS
========================= */

.glass-card {
    padding: 24px;
    border: 1px solid var(--panel-border);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.glass-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.glass-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ACCOUNT / DASHBOARD STAT CARDS */
.glass-card.stat-card {
    padding: 18px 20px;
}

.glass-card.stat-card {
    padding: 18px 20px;
}

.glass-card.stat-card h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #f5f9ff;
    line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(101, 179, 255, 0.18);
}

.glass-card.stat-card p {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #cfe1ff;
    line-height: 1.35;
}

.glass-card.stat-card p.stat-lg {
    font-size: 16px;
}

.glass-card.stat-card p.stat-xl {
    font-size: 18px;
}

.glass-card.stat-card p.stat-positive {
    color: var(--success);
}

.glass-card.stat-card p.stat-negative {
    color: var(--danger);
}


.plan-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        var(--panel);
    box-shadow: var(--shadow);
}

.plan-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--blue2), transparent);
}

.plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.plan-name {
    margin: 0;
    font-size: 24px;
}

.plan-price {
    margin: 10px 0 4px;
    font-size: 34px;
    font-weight: 800;
}

.plan-price span {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.plan-meta {
    color: var(--muted);
    font-size: 14px;
}

.plan-features {
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #dcebff;
}

.plan-features li:last-child {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 8px 11px;
    border: 1px solid rgba(101, 179, 255, 0.22);
    border-radius: 999px;
    background: rgba(101, 179, 255, 0.11);
    color: #baddff;
    font-size: 12px;
    font-weight: 700;
}

.evaluation-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    padding: 6px 12px;
    border: 1px solid rgba(101, 179, 255, 0.35);
    border-radius: 999px;
    background: rgba(101, 179, 255, 0.12);
    color: #9fd0ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.plan-card-center {
    text-align: center;
}

.plan-card-center .plan-top {
    justify-content: center;
}

.plan-card-center .plan-name,
.plan-card-center .plan-price,
.plan-card-center .plan-meta {
    text-align: center;
}

.plan-card-center .evaluation-badge {
    margin: 0 auto 12px;
}

/* =========================
   FORMS / TABLES / MESSAGES
========================= */

.form-card {
    padding: 28px;
    border: 1px solid var(--panel-border);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.register-card {
    max-width: 760px;
    margin: 40px auto;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #d9e9ff;
    font-size: 14px;
    font-weight: 700;
}
.phone-input{
    width:260px;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid rgba(101, 179, 255, 0.25);
    border-radius: 12px;
    outline: none;
    background: rgba(10, 18, 30, 0.90);
    color: #e6f2ff;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #65b3ff;
    box-shadow: 0 0 0 4px rgba(47, 140, 255, 0.15);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2365b3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}

select option {
    background: #0b1420;
    color: #ffffff;
}

::placeholder {
    color: #7c96b3;
}

.required-star {
    color: #ff5c7a;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.8fr;
    gap: 16px;
}

.recaptcha-wrap {
    margin: 18px 0;
}

.data-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--panel-border);
    border-collapse: collapse;
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.data-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #dcedff;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
}

.notice.error {
    border-color: rgba(255, 92, 122, 0.25);
    background: rgba(255, 92, 122, 0.12);
    color: #ffc4cf;
}

.notice.success {
    border-color: rgba(46, 212, 122, 0.25);
    background: rgba(46, 212, 122, 0.12);
    color: #b2f4cb;
}

/* =========================
   DASHBOARD TABS
========================= */

.tab-btn {
    padding: 12px 18px;
    border: 1px solid rgba(101, 179, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #dbe9ff;
}

.tab-btn:hover {
    background: rgba(101, 179, 255, 0.08);
    border-color: #65b3ff;
    transform: translateY(-1px);
}

.active-tab {
    background: rgba(101, 179, 255, 0.10);
    border: 1px solid #65b3ff;
    color: #dbe9ff;
    box-shadow: 0 0 0 1px rgba(101, 179, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.28);
}

/* =========================
   LEGAL PAGES
========================= */

.section h2 {
    border-bottom: 2px solid rgba(101, 179, 255, 0.35);
    padding-bottom: 8px;
    margin-bottom: 22px;
}

.section h3 {
    border-bottom: 1px solid rgba(101, 179, 255, 0.22);
    padding-bottom: 6px;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-page {
    max-width: 850px;
}

.legal-page p {
    text-indent: 28px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-page ul {
    margin-left: 30px;
    margin-bottom: 18px;
}

.legal-page li {
    margin-bottom: 6px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--line);
    background: rgba(5, 10, 16, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 24px;
    padding: 34px 0;
}

.footer-grid h4 {
    margin: 0 0 14px;
}

.footer-grid p,
.footer-grid a {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    padding: 16px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #8fa7c3;
    font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        line-height: 1.02;
    }

    .hero-panel {
        min-height: auto;
    }

    .metrics-row {
        grid-template-columns: 1fr;
    }
}

.terms-box{
margin-top:20px;
padding:16px;
background:rgba(255,255,255,.03);
border:1px solid rgba(101,179,255,.15);
border-radius:12px;
}

.terms-label{
font-size:14px;
color:#cfe1ff;
line-height:1.6;
}

.terms-label a{
color:#65b3ff;
font-weight:600;
}

.terms-label a:hover{
text-decoration:underline;
}

/* Birthdate input matches other form fields */

input[type="date"]{
    width:100%;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(101,179,255,.15);
    color:white;
    border-radius:12px;
    padding:14px 14px;
    outline:none;
    margin-bottom:16px;
    font-family:inherit;
}

/* focus effect identical to other inputs */

input[type="date"]:focus{
    border-color:rgba(101,179,255,.55);
    box-shadow:0 0 0 4px rgba(47,140,255,.12);
}

/* fix the calendar icon color for dark themes */

input[type="date"]::-webkit-calendar-picker-indicator{
    filter:invert(1);
    opacity:.7;
    cursor:pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover{
    opacity:1;
}

/* ADMIN COMPACT FILTER BAR */

.admin-filter-card{
    padding:20px;
}

.admin-filter-grid{
    display:grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap:14px;
    align-items:end;
}

.admin-filter-grid label{
    font-size:13px;
    color:var(--muted);
    margin-bottom:4px;
}

.admin-filter-grid input,
.admin-filter-grid select{
    height:38px;
    padding:6px 10px;
    font-size:14px;
}

.admin-filter-grid button{
    height:38px;
    padding:0 18px;
    white-space:nowrap;
}
