/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0: #04080f;
  --bg-1: #080d1a;
  --bg-2: #0c1220;
  --bg-card: rgba(255,255,255,0.035);
  --bg-card-hover: rgba(255,255,255,0.065);
  --border: rgba(100,160,255,0.1);
  --border-hover: rgba(0,180,216,0.35);
  --blue: #1565c0;
  --cyan: #00b4d8;
  --cyan-light: #48cae4;
  --white: #ffffff;
  --text-primary: #e8f0fe;
  --text-secondary: #8da4be;
  --text-muted: #445566;
  --grad: linear-gradient(135deg, #1565c0 0%, #00b4d8 100%);
  --shadow: 0 8px 32px rgba(0,20,60,0.5);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --t: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-0);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== Typography ===== */
h1,h2,h3,h4 { font-weight: 800; line-height: 1.15; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Layout ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,180,216,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,180,216,0.45); }
.btn-outline {
  border: 1.5px solid var(--border-hover);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,180,216,0.05); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t), box-shadow var(--t);
}
.nav.scrolled {
  background: rgba(4,8,15,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 58px; width: auto; }
.nav-logo-text { font-size: 22px; font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--t); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(21,101,192,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 55%, rgba(0,180,216,0.08) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(100,160,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,160,255,0.028) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(0,180,216,0.1); border: 1px solid rgba(0,180,216,0.25);
  font-size: 13px; font-weight: 600; color: var(--cyan);
  margin-bottom: 28px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }

.hero-logo { width: 320px; margin: 0 auto 28px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.025em; margin-bottom: 22px;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  color: var(--text-secondary); max-width: 560px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 12px;
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }
.scroll-line { width: 1.5px; height: 42px; background: linear-gradient(to bottom, var(--cyan), transparent); }

/* ===== Stats Bar ===== */
.stats-bar {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; }
.stat-number {
  font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

/* ===== Section Header ===== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== Services ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 24px; margin-top: 56px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  transition: all var(--t); position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity var(--t);
}
.service-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(21,101,192,.18), rgba(0,180,216,.18));
  border: 1px solid rgba(0,180,216,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 22px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--white); font-weight: 700; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== About ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 64px;
}
.about-content h2 { font-size: clamp(1.8rem,3.5vw,2.4rem); letter-spacing: -0.02em; margin-bottom: 20px; }
.about-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; font-size: 15px; }
.about-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--text-primary);
}
.check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(21,101,192,.25), rgba(0,180,216,.25));
  border: 1px solid rgba(0,180,216,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--cyan-light);
}

.about-visual-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px; text-align: center;
}
.about-visual-icon { font-size: 80px; margin-bottom: 20px; }
.about-visual-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.about-visual-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Steps ===== */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 40px; margin-top: 56px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 32px;
  left: calc(16.6% + 20px); right: calc(16.6% + 20px);
  height: 1px; background: linear-gradient(to right, transparent, rgba(0,180,216,.3), transparent);
}
.step-card { text-align: center; padding: 28px 20px; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(21,101,192,.15), rgba(0,180,216,.15));
  border: 1.5px solid rgba(0,180,216,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.5rem; font-weight: 800;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 700; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Testimonials ===== */
.testimonials-section {
  background: var(--bg-1); position: relative;
}
.testimonials-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(21,101,192,.06) 0%, transparent 70%);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 56px; position: relative; z-index: 1;
}
.tcard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--t);
}
.tcard:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.tcard-quote { font-size: 2.2rem; color: var(--cyan); line-height: 1; margin-bottom: 16px; opacity: .5; }
.tcard-text { font-size: 14px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.tcard-name { font-weight: 600; font-size: 14px; }
.tcard-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; margin-top: 56px; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 14px; }
.contact-info p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; font-size: 15px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.citem-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(0,180,216,.1); border: 1px solid rgba(0,180,216,.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.citem-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.citem-value { font-size: 15px; color: var(--text-primary); font-weight: 500; }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--text-secondary); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .07em;
}
.form-group input, .form-group textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; font-size: 14px;
  color: var(--text-primary); outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(0,180,216,.5); box-shadow: 0 0 0 3px rgba(0,180,216,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== CTA Banner ===== */
.cta-section { padding: 80px 0; }
.cta-wrap {
  background: linear-gradient(135deg, rgba(21,101,192,.15), rgba(0,180,216,.08));
  border: 1px solid rgba(0,180,216,.2); border-radius: var(--radius-lg);
  padding: 72px 64px; text-align: center;
}
.cta-wrap h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.cta-wrap p { color: var(--text-secondary); margin-bottom: 36px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-logo img { height: 54px; }
.footer-brand-logo span { font-size: 20px; font-weight: 800; }
.footer-tagline { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 260px; margin-bottom: 24px; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all var(--t); color: var(--text-secondary);
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,180,216,.08); }
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-primary); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color var(--t); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ===== Scroll Animations ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(100,160,255,.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(100,160,255,.4); }

/* ===== Login Page ===== */
.auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 24px;
  background: var(--bg-0); position: relative; overflow: hidden;
}
.auth-page::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -15%, rgba(21,101,192,.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0,180,216,.06) 0%, transparent 50%);
}
.auth-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(100,160,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,160,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.auth-card {
  background: rgba(8,13,26,.88); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
  width: 100%; max-width: 440px;
  position: relative; z-index: 1; backdrop-filter: blur(24px);
}
.auth-head { text-align: center; margin-bottom: 36px; }
.auth-head img { height: 50px; margin: 0 auto 14px; }
.auth-head h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-head p { font-size: 14px; color: var(--text-secondary); }

.auth-form label { display: block; font-size: 12px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.input-wrap { position: relative; margin-bottom: 20px; }
.input-wrap input {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 13px 16px 13px 44px; font-size: 15px;
  color: var(--text-primary); outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.input-wrap input:focus { border-color: rgba(0,180,216,.5); box-shadow: 0 0 0 3px rgba(0,180,216,.1); }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--text-muted); pointer-events: none; }

.auth-opts { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 13px; }
.auth-remember { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); cursor: pointer; }
.auth-remember input { width: 14px; height: 14px; accent-color: var(--cyan); }
.auth-forgot { color: var(--cyan); font-weight: 500; transition: opacity var(--t); }
.auth-forgot:hover { opacity: .7; }

.auth-btn {
  width: 100%; padding: 14px; background: var(--grad);
  color: #fff; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: all var(--t); box-shadow: 0 4px 20px rgba(0,180,216,.25);
}
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,180,216,.38); }

.auth-error {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25);
  border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #fc8181;
  margin-bottom: 20px; display: none;
}
.auth-demo {
  background: rgba(0,180,216,.08); border: 1px solid rgba(0,180,216,.2);
  border-radius: 8px; padding: 14px 16px; font-size: 13px;
  color: var(--text-secondary); margin-top: 24px;
}
.auth-demo strong { color: var(--cyan); display: block; margin-bottom: 6px; }
.auth-back { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-secondary); }
.auth-back a { color: var(--cyan); font-weight: 500; }

/* ===== Dashboard ===== */
.dash-layout { display: flex; min-height: 100vh; }

.dash-sidebar {
  width: 256px; background: var(--bg-1);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
  transition: transform var(--t);
}
.dash-sidebar-head {
  padding: 22px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.dash-sidebar-head img { height: 54px; }
.dash-sidebar-head span { font-size: 18px; font-weight: 800; }

.dash-nav { flex: 1; padding: 16px 10px; overflow-y: auto; }
.nav-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-muted);
  padding: 0 10px; margin: 16px 0 8px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--t); cursor: pointer; width: 100%;
  text-align: left; margin-bottom: 2px;
}
.nav-item:hover { background: rgba(255,255,255,.05); color: var(--white); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(21,101,192,.22), rgba(0,180,216,.12));
  color: var(--cyan-light); border: 1px solid rgba(0,180,216,.22);
}
.nav-item-icon { font-size: 16px; flex-shrink: 0; }

.dash-sidebar-foot {
  padding: 16px 10px; border-top: 1px solid var(--border);
}
.dash-user-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border); margin-bottom: 8px;
}
.dash-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.dash-uname { font-size: 13px; font-weight: 600; }
.dash-urole { font-size: 11px; color: var(--text-muted); }

.dash-main { flex: 1; margin-left: 256px; display: flex; flex-direction: column; min-height: 100vh; }

.dash-topbar {
  background: rgba(8,13,26,.92); border-bottom: 1px solid var(--border);
  padding: 0 28px; height: 60px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
}
.dash-page-title { font-size: 16px; font-weight: 600; }
.dash-topbar-right { display: flex; align-items: center; gap: 14px; }

.dash-content { flex: 1; padding: 28px; }

.dash-tab { display: none; }
.dash-tab.active { display: block; }

/* Welcome Banner */
.welcome-banner {
  background: linear-gradient(135deg, rgba(21,101,192,.18), rgba(0,180,216,.1));
  border: 1px solid rgba(0,180,216,.22); border-radius: var(--radius-lg);
  padding: 32px; margin-bottom: 28px; position: relative; overflow: hidden;
}
.welcome-banner::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.12) 0%, transparent 70%);
}
.welcome-banner h2 { font-size: 1.35rem; margin-bottom: 6px; }
.welcome-banner p { color: var(--text-secondary); font-size: 14px; }

/* Stat Cards Row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 28px; }
.dstat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: all var(--t);
}
.dstat:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.dstat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dstat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(21,101,192,.2), rgba(0,180,216,.2));
  border: 1px solid rgba(0,180,216,.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.dstat-badge { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 100px; }
.badge-green { background: rgba(16,185,129,.15); color: #34d399; border: 1px solid rgba(16,185,129,.25); }
.badge-blue { background: rgba(0,180,216,.15); color: var(--cyan); border: 1px solid rgba(0,180,216,.25); }
.dstat-value { font-size: 1.8rem; font-weight: 800; line-height: 1; margin-bottom: 5px; }
.dstat-label { font-size: 13px; color: var(--text-secondary); }

/* Apps Grid */
.section-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-row h3 { font-size: 15px; font-weight: 700; }

.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-bottom: 28px; }
.app-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: all var(--t); text-decoration: none; display: block;
}
.app-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.app-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.app-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.app-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.app-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.app-launch { font-size: 12px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }

/* Balance Card */
.balance-card {
  background: linear-gradient(135deg, rgba(21,101,192,.12), rgba(0,180,216,.07));
  border: 1px solid rgba(0,180,216,.2); border-radius: var(--radius-lg);
  padding: 32px; margin-bottom: 28px;
}
.balance-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.balance-title { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.balance-date { font-size: 12px; color: var(--text-muted); }
.balance-amount { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.balance-currency { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.balance-breakdown { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-top: 24px; border-top: 1px solid var(--border); }
.bl-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.bl-value { font-size: 17px; font-weight: 700; }
.green { color: #34d399; }
.red { color: #fc8181; }

/* Users Table */
.table-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px;
}
.table-head { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.table-head h3 { font-size: 15px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; }
th {
  padding: 12px 20px; text-align: left; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--border);
}
td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid rgba(100,160,255,.05); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.badge-admin { background: rgba(0,180,216,.15); color: var(--cyan); border: 1px solid rgba(0,180,216,.28); }
.badge-user { background: rgba(100,100,220,.15); color: #a5b4fc; border: 1px solid rgba(100,100,220,.28); }
.badge-active { background: rgba(16,185,129,.15); color: #34d399; border: 1px solid rgba(16,185,129,.28); }
.badge-inactive { background: rgba(239,68,68,.12); color: #fc8181; border: 1px solid rgba(239,68,68,.28); }

.tbtn { padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all var(--t); border: 1px solid var(--border); background: transparent; color: var(--text-secondary); }
.tbtn:hover { border-color: var(--cyan); color: var(--cyan); }
.tbtn.del:hover { border-color: #fc8181; color: #fc8181; }

/* Modal */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  transform: scale(.92); transition: transform var(--t);
}
.overlay.open .modal { transform: scale(1); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.modal-head h3 { font-size: 1.15rem; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; transition: all var(--t); }
.modal-close:hover { border-color: var(--cyan); color: var(--cyan); }

/* Toast */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 2000;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 20px; font-size: 14px;
  transform: translateX(120%); transition: transform .3s ease;
  box-shadow: var(--shadow); max-width: 300px;
}
.toast.show { transform: translateX(0); }
.toast.ok { border-color: rgba(16,185,129,.4); color: #34d399; }
.toast.err { border-color: rgba(239,68,68,.4); color: #fc8181; }

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(4,8,15,.98); backdrop-filter: blur(20px);
    padding: 32px 20px; gap: 6px; z-index: 999;
  }
  .nav-links.open a { font-size: 18px; padding: 14px 16px; }
  .nav-actions .btn-outline { display: none; }
  .testimonials-grid, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-wrap { padding: 40px 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .dash-sidebar { transform: translateX(-100%); }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .balance-breakdown { grid-template-columns: 1fr; }
}
