:root {
    --bg: #060814;
    --bg-soft: #0c1222;
    --card: rgba(15, 23, 42, 0.68);
    --card-strong: rgba(8, 12, 24, 0.86);
    --line: rgba(148, 163, 184, 0.18);
    --text: #e5eefb;
    --muted: #9db0cf;
    --accent: #47f5d0;
    --accent-2: #6d7dff;
    --accent-3: #ff7c5a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    --radius: 24px;
    --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(109, 125, 255, 0.24), transparent 30%),
        radial-gradient(circle at top right, rgba(71, 245, 208, 0.14), transparent 28%),
        linear-gradient(180deg, #050714 0%, #0b1020 42%, #070a12 100%);
    color: var(--text);
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.glass-card,
.plan-card,
.faq-item,
.testimonial-card,
.hero-card,
.info-panel,
.auth-card,
.admin-card,
.admin-surface,
.page-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(4, 8, 16, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.top-strip { background: linear-gradient(90deg, rgba(71, 245, 208, 0.18), rgba(109, 125, 255, 0.15)); border-bottom: 1px solid rgba(148, 163, 184, 0.12); color: var(--muted); font-size: 13px; }
.top-strip .container,
.site-nav,
.footer-grid,
.footer-bottom,
.hero-grid,
.split-grid { display: grid; gap: 24px; }
.site-nav { grid-template-columns: auto 1fr auto; align-items: center; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #04111c; font-weight: 800; box-shadow: 0 12px 30px rgba(109, 125, 255, 0.35); }
.site-links { display: flex; align-items: center; gap: 18px; justify-content: center; flex-wrap: wrap; }
.site-links a, .mobile-nav a { color: var(--muted); font-size: 14px; transition: color 0.2s ease, transform 0.2s ease; }
.site-links a:hover, .mobile-nav a:hover { color: #fff; transform: translateY(-1px); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn,
.mobile-toggle,
.site-pill,
.faq-item summary,
.plan-badge,
.live-pill,
.eyebrow,
.floating-btn { border: 1px solid transparent; border-radius: 999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover,
.mobile-toggle:hover,
.floating-btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #8ef6e3); color: #04111c; box-shadow: 0 16px 40px rgba(71, 245, 208, 0.24); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-block { width: 100%; }
.mobile-toggle { width: 48px; height: 48px; background: rgba(255, 255, 255, 0.05); color: #fff; }
.hero-section { position: relative; padding: 68px 0 36px; overflow: hidden; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.hero-glow { position: absolute; inset: auto; width: 520px; height: 520px; border-radius: 50%; filter: blur(20px); opacity: 0.45; pointer-events: none; animation: drift 18s ease-in-out infinite; }
.hero-glow-left { top: -220px; left: -160px; background: radial-gradient(circle, rgba(71, 245, 208, 0.35), transparent 65%); }
.hero-glow-right { top: -160px; right: -180px; background: radial-gradient(circle, rgba(109, 125, 255, 0.35), transparent 65%); animation-delay: -5s; }
.eyebrow, .mini-label, .plan-badge, .live-pill { display: inline-flex; align-items: center; width: fit-content; padding: 7px 12px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(71, 245, 208, 0.12); color: var(--accent); }
.hero-section h1, .section-heading h2, .info-panel h2, .plan-card h3, .page-card h1, .auth-card h1, .admin-card h1, .admin-card h2 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.04em; }
.hero-section h1 { margin: 18px 0 14px; font-size: clamp(42px, 6vw, 72px); line-height: 0.96; max-width: 12ch; }
.hero-copy { margin: 0; font-size: 18px; color: var(--muted); line-height: 1.7; max-width: 46ch; }
.hero-actions, .inline-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-rules { margin-top: 24px; padding: 20px; display: grid; gap: 18px; align-items: center; }
.hero-rules strong, .info-panel p, .plan-card li, .testimonial-card p, .faq-item p, .page-card p, .admin-card p, .auth-card p { color: var(--muted); line-height: 1.7; }
.hero-counts, .stat-list, .countdown-grid, .logo-row, .testimonial-grid, .plan-grid, .feature-grid, .admin-stats, .admin-table-tools { display: grid; gap: 16px; }
.hero-counts { grid-template-columns: repeat(3, 1fr); }
.hero-counts span, .stat-list strong, .countdown-grid strong, .admin-stat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 28px; color: #fff; line-height: 1; }
.hero-counts small, .countdown-grid small, .stat-list span, .admin-stat span { color: var(--muted); margin-top: 6px; display: block; }
.hero-card { padding: 18px; overflow: hidden; }
.hero-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.live-pill { background: rgba(255, 124, 90, 0.12); color: #ffb09c; }
.countdown-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.countdown-grid > div,
.stat-list > div,
.admin-stat,
.logo-card,
.testimonial-card,
.plan-card,
.faq-item,
.page-card,
.auth-card,
.admin-card { padding: 18px; }
.countdown-grid > div,
.stat-list > div,
.admin-stat,
.logo-card { border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.hero-image { width: 100%; height: 320px; object-fit: cover; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); filter: saturate(1.05) contrast(1.05); }
.section-block { padding: 32px 0; }
.muted-block { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04)); border-top: 1px solid rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { margin: 14px 0 8px; font-size: clamp(28px, 4vw, 44px); }
.section-heading p, .section-heading small { color: var(--muted); max-width: 60ch; line-height: 1.7; }
.plan-grid, .testimonial-grid, .logo-row, .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card h3 { margin: 14px 0 10px; font-size: 24px; }
.plan-sim, .plan-price { margin: 0; color: #fff; font-weight: 700; }
.plan-price { margin: 12px 0; font-size: 28px; color: var(--accent); }
.plan-card ul { margin: 0 0 18px; padding-left: 18px; }
.plan-card li { margin-bottom: 8px; }
.plan-badge { background: rgba(109, 125, 255, 0.16); color: #d6dcff; }
.logo-card { text-align: center; display: grid; place-items: center; gap: 10px; }
.logo-card img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25)); }
.logo-card strong { color: #fff; font-size: 18px; }
.split-grid { grid-template-columns: 1fr 1fr; }
.info-panel { min-height: 260px; }
.accent-panel { background: linear-gradient(180deg, rgba(109, 125, 255, 0.18), rgba(71, 245, 208, 0.09)); }
.stat-list { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.testimonial-card strong { display: block; margin-top: 12px; color: #fff; }
.faq-list { display: grid; gap: 14px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 2px 0; font-weight: 700; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-bottom: 0; }
.page-card, .auth-card, .admin-card { padding: 28px; }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #fff; }
.field input, .field select, .field textarea { width: 100%; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: #fff; padding: 14px 16px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(71, 245, 208, 0.6); box-shadow: 0 0 0 4px rgba(71, 245, 208, 0.1); }
.field textarea { min-height: 140px; resize: vertical; }
.error-box, .success-box, .notice-box { padding: 14px 16px; border-radius: 16px; margin-bottom: 18px; border: 1px solid transparent; font-size: 14px; }
.error-box { background: rgba(255, 82, 82, 0.12); border-color: rgba(255, 82, 82, 0.24); color: #ffb4b4; }
.success-box { background: rgba(71, 245, 208, 0.12); border-color: rgba(71, 245, 208, 0.24); color: #baf9ec; }
.notice-box { background: rgba(109, 125, 255, 0.12); border-color: rgba(109, 125, 255, 0.22); color: #dbe1ff; }
.page-card h1, .auth-card h1, .admin-card h1, .admin-card h2 { margin-top: 0; }
.floating-buttons { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 110; }
.floating-btn { width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: var(--shadow); }
.toast-root { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 120; display: grid; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; min-width: 240px; max-width: 92vw; border-radius: 16px; padding: 14px 16px; background: rgba(8, 12, 24, 0.95); border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; box-shadow: var(--shadow); animation: toastIn 0.25s ease; }
.mobile-nav { display: none; padding: 0 0 16px; }
.mobile-nav.open { display: grid; gap: 14px; }
.mobile-menu-panel { padding: 16px 0 4px; }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { background: rgba(6, 10, 20, 0.88); border-right: 1px solid rgba(148, 163, 184, 0.12); padding: 24px; position: sticky; top: 0; height: 100vh; }
.admin-sidebar nav { display: grid; gap: 10px; margin-top: 28px; }
.admin-sidebar a { padding: 13px 14px; border-radius: 16px; color: var(--muted); border: 1px solid transparent; }
.admin-sidebar a.active, .admin-sidebar a:hover { color: #fff; border-color: rgba(71, 245, 208, 0.18); background: rgba(71, 245, 208, 0.08); }
.admin-content { padding: 26px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-stat strong { font-size: 32px; }
.table-wrap { overflow: auto; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: rgba(255, 255, 255, 0.03); }
th, td { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; color: var(--muted); }
th { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(255, 255, 255, 0.05); }
.pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-success { background: rgba(71, 245, 208, 0.12); color: #baf9ec; }
.pill-warn { background: rgba(255, 124, 90, 0.14); color: #ffd1c6; }
.pill-neutral { background: rgba(109, 125, 255, 0.14); color: #dbe1ff; }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(18px, 20px, 0) scale(1.06); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1060px) {
    .hero-grid, .split-grid, .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; height: auto; }
    .admin-stats, .plan-grid, .testimonial-grid, .logo-row, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-nav { grid-template-columns: auto auto; }
    .site-links, .nav-actions { display: none; }
    .mobile-toggle { display: inline-grid; place-items: center; justify-self: end; }
}
@media (max-width: 760px) {
    .container { width: min(100% - 20px, 1180px); }
    .hero-section { padding-top: 44px; }
    .hero-section h1 { max-width: 100%; }
    .hero-card, .plan-card, .testimonial-card, .faq-item, .page-card, .auth-card, .admin-card { padding: 16px; }
    .plan-grid, .testimonial-grid, .logo-row, .feature-grid, .admin-stats, .stat-list, .hero-counts, .countdown-grid { grid-template-columns: 1fr; }
    .hero-image { height: 240px; }
    .floating-buttons { right: 12px; bottom: 12px; }
    .btn { width: 100%; }
}
