/* Palette matches the SASZTA SKILL X brand (saszta.com) — deep violet primary,
   fuchsia secondary, cyan for data accents. */
:root {
  --bg-1: #0c0a1a;
  --bg-2: #180f36;
  --bg-3: #241454;
  --accent: #7c3aed;
  --accent-2: #a855f7;
  --accent-3: #22d3ee;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.14);
  --text-1: #f8fafc;
  --text-2: #cbd5e1;
  --text-muted: #94a3b8;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --card-radius: 18px;
  --sidebar-w: 264px;
}

[data-theme="light"] {
  --bg-1: #f5f3ff;
  --bg-2: #ede9fe;
  --bg-3: #faf5ff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(124, 58, 237, 0.16);
  --text-1: #1e1240;
  --text-2: #3f2d6b;
  --text-muted: #6b5b95;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-1);
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

.brand-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2);
  background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.3);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.brand-badge::before { content: '●'; font-size: 8px; color: var(--accent-3); }

/* ---------------- AUTH PAGES (login / register) ---------------- */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2), var(--bg-3));
  background-size: 300% 300%;
  animation: gradientShift 16s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.floaters { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.floaters span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,0.5), rgba(168,85,247,0.05));
  filter: blur(1px);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

.auth-card {
  position: relative;
  z-index: 2;
  width: 420px;
  max-width: 92vw;
  padding: 40px 36px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  animation: cardIn 0.6s ease;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-logo {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px; color: white;
  margin: 0 auto 18px;
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}

.auth-title { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.auth-subtitle { text-align: center; color: var(--accent-2); font-size: 12px; margin-top: 6px; margin-bottom: 26px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }

.role-tabs { display: flex; gap: 6px; background: rgba(255,255,255,0.06); padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.role-tab {
  flex: 1; text-align: center; padding: 9px 4px; border-radius: 9px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--text-muted); transition: all 0.25s ease; user-select: none;
}
.role-tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 16px rgba(124,58,237,0.4); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.06); color: var(--text-1); font-size: 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--text-muted); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,0.25); }

.row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 12.5px; }
.remember { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.link { color: var(--accent-3); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

.btn-primary {
  width: 100%; padding: 13px; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(124,58,237,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(124,58,237,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; color: var(--text-muted); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }

.oauth-row { display: flex; gap: 10px; }
.btn-oauth {
  flex: 1; padding: 10px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05); color: var(--text-1); font-size: 12.5px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.2s;
}
.btn-oauth:hover { background: rgba(255,255,255,0.12); }

.foot-note { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--text-muted); }

.error-box, .success-box {
  display: none; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px;
}
.error-box { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #fca5a5; }
.success-box { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4); color: #86efac; }

/* ---------------- DASHBOARD LAYOUT ---------------- */
.dash-body { background: var(--bg-1); min-height: 100vh; display: flex; }
[data-theme="dark"] .dash-body, :root .dash-body { background: radial-gradient(1200px 800px at 10% -10%, #1e1b4b 0%, #0f172a 55%, #0b1023 100%); }
[data-theme="light"] .dash-body { background: radial-gradient(1200px 800px at 10% -10%, #eef2ff 0%, #f8fafc 60%); }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; height: 100vh; position: sticky; top: 0;
  background: var(--glass); border-right: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); display: flex; flex-direction: column; padding: 20px 14px;
  overflow-y: auto;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 22px; }
.sidebar-brand .auth-logo { margin: 0; width: 38px; height: 38px; font-size: 16px; border-radius: 11px; }
.sidebar-brand-text { font-weight: 800; font-size: 14.5px; line-height: 1.2; }
.sidebar-brand-text small { display: block; font-weight: 500; color: var(--text-muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; }

.nav-group-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 14px 10px 6px; font-weight: 700; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px;
  color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; margin-bottom: 2px;
  transition: background 0.2s, color 0.2s;
}
.nav-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.nav-item:hover { background: rgba(255,255,255,0.06); color: var(--text-1); }
.nav-item.active { background: linear-gradient(135deg, rgba(124,58,237,0.35), rgba(168,85,247,0.2)); color: #fff; }
.nav-item.active .dot { background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3); }
.nav-item .badge-count {
  margin-left: auto; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 1px 7px; border-radius: 999px;
}

.main { flex: 1; padding: 26px 30px 60px; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.topbar h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.topbar .subtitle { color: var(--text-muted); font-size: 13px; margin-top: 3px; }
.top-actions { display: flex; gap: 10px; align-items: center; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: var(--glass); color: var(--text-1); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: background 0.2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.14); }

.btn-accent {
  padding: 10px 16px; border-radius: 12px; border: none; cursor: pointer; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  box-shadow: 0 8px 20px rgba(124,58,237,0.35); display: inline-flex; align-items: center; gap: 6px;
  transition: transform 0.15s;
}
.btn-accent:hover { transform: translateY(-1px); }
.btn-ghost {
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--glass-border); cursor: pointer; font-weight: 700; font-size: 13px;
  background: var(--glass); color: var(--text-1);
}
.btn-danger { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; border: none; }
.btn-success { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; border: none; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 9px; }

.avatar-chip { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); cursor: pointer; }
.avatar-chip .av {
  width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-3), var(--accent));
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; color: #fff;
}
.avatar-chip .name { font-size: 12.5px; font-weight: 700; }
.avatar-chip .role { font-size: 10.5px; color: var(--text-muted); text-transform: capitalize; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--card-radius);
  padding: 18px 20px; backdrop-filter: blur(14px); position: relative; overflow: hidden;
  transition: transform 0.2s ease;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-icon { font-size: 20px; opacity: 0.85; margin-bottom: 10px; }
.stat-card .stat-value { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.stat-card .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 600; }
.stat-card .stat-glow { position: absolute; width: 90px; height: 90px; border-radius: 50%; filter: blur(30px); opacity: 0.5; top: -30px; right: -30px; }

.panel {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--card-radius);
  padding: 22px; backdrop-filter: blur(14px); margin-bottom: 22px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
.panel-head h2 { font-size: 16px; font-weight: 800; }
.panel-head .sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.search-box { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); border-radius: 11px; padding: 8px 12px; min-width: 220px; }
.search-box input { background: transparent; border: none; outline: none; color: var(--text-1); font-size: 13px; width: 100%; }

table { width: 100%; border-collapse: collapse; }
thead th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); padding: 10px 12px; border-bottom: 1px solid var(--glass-border); }
tbody td { padding: 12px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: middle; }
tbody tr:hover { background: rgba(255,255,255,0.04); }
.cell-name { font-weight: 700; }
.cell-sub { color: var(--text-muted); font-size: 11.5px; }

.badge { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; display: inline-block; text-transform: capitalize; }
.badge-pending { background: rgba(245,158,11,0.18); color: #fbbf24; }
.badge-approved { background: rgba(34,197,94,0.18); color: #4ade80; }
.badge-rejected { background: rgba(239,68,68,0.18); color: #f87171; }
.badge-suspended { background: rgba(148,163,184,0.18); color: #cbd5e1; }

.actions-cell { display: flex; gap: 6px; flex-wrap: wrap; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 13.5px; }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr; } .sidebar { position: fixed; z-index: 50; transform: translateX(-100%); transition: transform 0.3s; } .sidebar.open { transform: translateX(0); } }

.course-card { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 14px; padding: 16px; }
.course-card h3 { font-size: 14.5px; margin-bottom: 6px; }
.course-card p { font-size: 12.5px; color: var(--text-muted); margin-bottom: 10px; min-height: 32px; }
.course-card .price { font-weight: 800; color: var(--accent-3); font-size: 14px; }

.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(2,6,23,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal-box {
  width: 440px; max-width: 90vw; background: var(--bg-2); border: 1px solid var(--glass-border); border-radius: 18px;
  padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); animation: cardIn 0.35s ease;
}
[data-theme="light"] .modal-box { background: #ffffff; }
.modal-box h2 { font-size: 17px; margin-bottom: 16px; font-weight: 800; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-actions .btn-primary, .modal-actions .btn-ghost { flex: 1; }

.progress-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; margin-top: 6px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent-3), var(--accent)); border-radius: 999px; }

.toast-container { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 18px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,0.3); animation: cardIn 0.3s ease; color: #fff; }
.toast.ok { background: linear-gradient(135deg, #22c55e, #15803d); }
.toast.err { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.chart-wrap { height: 220px; }

/* ---------------- OTP verification page ---------------- */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 20px 0; }
.otp-inputs input {
  width: 44px; height: 52px; text-align: center; font-size: 20px; font-weight: 800;
  border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.06);
  color: var(--text-1); outline: none;
}
.otp-inputs input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,0.25); }
.otp-hint { text-align: center; color: var(--text-muted); font-size: 12.5px; margin-bottom: 4px; }
.otp-email { text-align: center; font-weight: 700; color: var(--accent-2); margin-bottom: 18px; }
.otp-dev-box {
  background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.3); color: #67e8f9;
  padding: 10px 14px; border-radius: 10px; font-size: 12.5px; text-align: center; margin-bottom: 16px;
}
.resend-row { text-align: center; margin-top: 14px; font-size: 12.5px; color: var(--text-muted); }

/* ---------------- Badges (email verified, roles) ---------------- */
.badge-verified { background: rgba(34,211,238,0.16); color: #67e8f9; }
.badge-unverified { background: rgba(148,163,184,0.16); color: #cbd5e1; }
.badge-role-super { background: rgba(168,85,247,0.2); color: #d8b4fe; }
.badge-role-admin { background: rgba(124,58,237,0.18); color: #c4b5fd; }

/* ---------------- Wide modal / course builder ---------------- */
.modal-box.wide { width: 640px; max-width: 94vw; max-height: 88vh; overflow-y: auto; }
.module-block {
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 14px;
  padding: 14px; margin-bottom: 14px;
}
.module-block-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.module-block-head input { flex: 1; }
.module-block-head .module-num {
  width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.video-row {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: start;
  padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.04); margin-bottom: 8px;
}
.video-row input, .video-row textarea {
  padding: 8px 10px; border-radius: 9px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05); color: var(--text-1); font-size: 12.5px; outline: none; font-family: inherit;
}
.video-row textarea { resize: vertical; min-height: 36px; }
.remove-video-btn, .remove-module-btn {
  border: none; background: rgba(239,68,68,0.15); color: #f87171; border-radius: 8px; width: 28px; height: 28px;
  cursor: pointer; font-size: 14px; flex-shrink: 0;
}
.add-video-btn {
  width: 100%; padding: 8px; border-radius: 9px; border: 1px dashed var(--glass-border); background: transparent;
  color: var(--accent-2); font-size: 12px; font-weight: 700; cursor: pointer; margin-top: 4px;
}
.add-video-btn:hover { background: rgba(124,58,237,0.08); }
.add-module-btn {
  width: 100%; padding: 12px; border-radius: 12px; border: 1px dashed var(--glass-border); background: transparent;
  color: var(--accent-2); font-size: 13px; font-weight: 700; cursor: pointer; margin-bottom: 16px;
}

/* ---------------- Video upload row (course builder) ---------------- */
.video-upload-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.upload-file-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12px;
  font-weight: 700; cursor: pointer; flex-shrink: 0; box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}
.upload-file-btn:hover { filter: brightness(1.08); }

/* ---------------- Assignment / Quiz cards ---------------- */
.assignment-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 10px;
}
.assignment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.add-module-btn:hover { background: rgba(124,58,237,0.08); }
.module-count-chip {
  font-size: 11px; color: var(--text-muted); background: rgba(255,255,255,0.05);
  border-radius: 999px; padding: 3px 10px; display: inline-block; margin-top: 6px;
}

/* ---------------- HERO / MARKETING LANDING PAGE ---------------- */
.hero-body {
  min-height: 100vh; position: relative; overflow-x: hidden;
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2), var(--bg-3));
  background-size: 300% 300%; animation: gradientShift 18s ease infinite;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none;
  opacity: 0.55;
}
.blob-1 { width: 480px; height: 480px; top: -160px; left: -120px; background: radial-gradient(circle, var(--accent), transparent 70%); }
.blob-2 { width: 420px; height: 420px; top: 260px; right: -140px; background: radial-gradient(circle, var(--accent-3), transparent 70%); }
.blob-3 { width: 380px; height: 380px; bottom: -140px; left: 30%; background: radial-gradient(circle, var(--accent-2), transparent 70%); }

.hero-nav {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6%; backdrop-filter: blur(10px);
}
.hero-nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.hero-nav-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.hero-nav-links a { color: var(--text-2); text-decoration: none; }
.hero-nav-links a:hover { color: var(--text-1); }
.hero-nav-login { width: auto !important; padding: 9px 20px !important; font-size: 13px !important; }

.hero-section { position: relative; z-index: 2; text-align: center; padding: 70px 6% 40px; max-width: 860px; margin: 0 auto; }
.hero-title { font-size: 46px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin: 16px 0 18px; }
.hero-title-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { font-size: 15.5px; color: var(--text-2); line-height: 1.7; max-width: 620px; margin: 0 auto 30px; }
.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-cta { width: auto !important; padding: 14px 30px !important; font-size: 14.5px !important; text-decoration: none; display: inline-block; }
.hero-cta-ghost { text-decoration: none; display: inline-block; padding: 14px 26px; }
.hero-note { margin-top: 18px; font-size: 12px; color: var(--text-muted); }

.hero-features { position: relative; z-index: 2; padding: 50px 6%; max-width: 1100px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 18px; padding: 22px 18px;
  backdrop-filter: blur(14px); text-align: left; transition: transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 26px; margin-bottom: 10px; }
.feature-card h3 { font-size: 14.5px; margin-bottom: 6px; }
.feature-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.hero-steps { position: relative; z-index: 2; padding: 50px 6% 80px; max-width: 1000px; margin: 0 auto; text-align: center; }
.section-heading { font-size: 26px; font-weight: 800; margin-bottom: 30px; letter-spacing: -0.02em; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 18px; padding: 26px 20px;
  backdrop-filter: blur(14px);
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800; font-size: 15px;
}
.step-card h3 { font-size: 14.5px; margin-bottom: 6px; }
.step-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.hero-footer { position: relative; z-index: 2; text-align: center; padding: 34px 6px 40px; border-top: 1px solid var(--glass-border); font-size: 13px; color: var(--text-2); }

.back-home-link { position: absolute; top: 24px; left: 28px; z-index: 3; color: var(--text-2); text-decoration: none; font-size: 12.5px; font-weight: 600; }
.back-home-link:hover { color: var(--text-1); }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .hero-nav-links { gap: 14px; }
}
