/* ═══════════════════════════════════════
   FLEAZO — Jaipur Intelligence Engine
   Premium Dark Glassmorphism UI
═══════════════════════════════════════ */

:root {
  --bg: #080b12;
  --bg2: #0d1120;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.09);
  --border2: rgba(255,255,255,0.15);
  --gold: #f0b429;
  --gold2: #ffd166;
  --teal: #06d6a0;
  --accent: #e040fb;
  --text: #f0f2f8;
  --text2: #9ba3b8;
  --text3: #5d6580;
  --red: #ff4757;
  --glow-gold: 0 0 40px rgba(240,180,41,0.25);
  --glow-teal: 0 0 40px rgba(6,214,160,0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,180,41,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,180,41,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240,180,41,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(8,11,18,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e09820 100%);
  color: #080b12;
  box-shadow: 0 4px 20px rgba(240,180,41,0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(240,180,41,0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(240,180,41,0.4);
}

.btn-outline:hover {
  background: rgba(240,180,41,0.08);
  border-color: var(--gold);
}

.btn-ghost {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, #e09820 100%);
  color: #080b12 !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}

.nav-cta:hover {
  box-shadow: var(--glow-gold);
  transform: translateY(-1px);
}

/* ── GLASS CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border2);
  background: var(--surface2);
}

.card-gold {
  border-color: rgba(240,180,41,0.25);
  background: rgba(240,180,41,0.04);
}

.card-teal {
  border-color: rgba(6,214,160,0.25);
  background: rgba(6,214,160,0.04);
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold2);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6,214,160,0.6); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(6,214,160,0); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── CHAT INTERFACE ── */
.chat-container {
  position: relative;
  z-index: 1;
}

.chat-box {
  background: rgba(13,17,32,0.9);
  border: 1px solid var(--border2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(240,180,41,0.1), 0 40px 80px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.chat-status {
  font-size: 12px;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chat-messages {
  padding: 20px;
  min-height: 320px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.msg {
  display: flex;
  gap: 10px;
  animation: msgIn 0.3s ease-out;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msg-ai { align-items: flex-start; }
.msg-user { align-items: flex-start; flex-direction: row-reverse; }

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.msg-ai .msg-avatar { background: linear-gradient(135deg, var(--gold), var(--teal)); }
.msg-user .msg-avatar { background: var(--surface2); border: 1px solid var(--border); }

.msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.msg-ai .msg-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
  color: var(--text);
}

.msg-user .msg-bubble {
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.2);
  border-top-right-radius: 4px;
  color: var(--gold2);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text3);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.option-btn {
  padding: 8px 14px;
  background: rgba(240,180,41,0.08);
  border: 1px solid rgba(240,180,41,0.25);
  border-radius: 100px;
  color: var(--gold2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}

.option-btn:hover {
  background: rgba(240,180,41,0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.chat-input:focus {
  border-color: rgba(240,180,41,0.4);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.08);
}

.chat-input::placeholder { color: var(--text3); }

.chat-send {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), #e09820);
  border: none;
  border-radius: 10px;
  color: #080b12;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.chat-send:hover {
  box-shadow: var(--glow-gold);
  transform: scale(1.05);
}

/* ── SECTIONS ── */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 32px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 600px;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── INSIGHT CARD ── */
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  opacity: 0;
  transition: var(--transition);
}

.insight-card:hover {
  border-color: rgba(240,180,41,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.insight-card:hover::before { opacity: 1; }

.insight-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.insight-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.insight-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.insight-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── TREND METER ── */
.trend-meter {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 12px;
}

.trend-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 1.5s ease;
}

/* ── TAG ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.tag-gold { background: rgba(240,180,41,0.12); color: var(--gold2); border: 1px solid rgba(240,180,41,0.2); }
.tag-teal { background: rgba(6,214,160,0.1); color: var(--teal); border: 1px solid rgba(6,214,160,0.2); }
.tag-purple { background: rgba(224,64,251,0.1); color: var(--accent); border: 1px solid rgba(224,64,251,0.2); }
.tag-red { background: rgba(255,71,87,0.1); color: var(--red); border: 1px solid rgba(255,71,87,0.2); }

/* ── STICKY CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: rgba(13,17,32,0.95);
  border: 1px solid rgba(240,180,41,0.3);
  border-radius: 100px;
  padding: 10px 12px 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(240,180,41,0.1);
  white-space: nowrap;
  font-size: 13px;
  color: var(--text2);
  animation: floatUp 0.5s ease-out 2s both;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── SEASONAL BANNER ── */
.seasonal-banner {
  background: linear-gradient(135deg, rgba(240,180,41,0.08), rgba(6,214,160,0.05));
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.seasonal-text {
  font-size: 14px;
  color: var(--gold2);
  font-weight: 500;
}

/* ── TRUST LOGOS ── */
.trust-section {
  text-align: center;
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text3);
  margin-bottom: 24px;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text3);
  opacity: 0.5;
  letter-spacing: -0.5px;
}

/* ── DAILY INSIGHT ── */
.daily-block {
  background: linear-gradient(135deg, rgba(6,214,160,0.06), rgba(240,180,41,0.04));
  border: 1px solid rgba(6,214,160,0.2);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.daily-block::after {
  content: '📊';
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 60px;
  opacity: 0.06;
}

.daily-date {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.daily-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.daily-content {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  white-space: pre-line;
}

/* ── FORM STYLES ── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: rgba(240,180,41,0.4);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.08);
}

.form-control::placeholder { color: var(--text3); }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6580' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ── AREAS GRID ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.area-chip {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.area-chip:hover {
  border-color: rgba(240,180,41,0.3);
  color: var(--gold2);
  background: rgba(240,180,41,0.06);
  transform: translateY(-2px);
}

/* ── PROGRESS BAR ── */
.progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* ── USER PAGE ── */
.user-hero {
  background: linear-gradient(135deg, rgba(240,180,41,0.06), rgba(6,214,160,0.04));
  border: 1px solid rgba(240,180,41,0.15);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.user-hero::before {
  content: '⬡';
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 100px;
  opacity: 0.04;
  font-family: 'Syne', sans-serif;
}

.user-name {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.user-meta {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 20px;
}

/* ── QR CODE ── */
.qr-card {
  text-align: center;
  padding: 24px;
}

.qr-img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(240,180,41,0.3);
  margin: 0 auto 16px;
  display: block;
}

/* ── SHARE BUTTONS ── */
.share-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #20bc5a;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.btn-copy {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-copy:hover { background: rgba(255,255,255,0.1); }

/* ── ADMIN ── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: rgba(0,0,0,0.4);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.admin-nav a:hover, .admin-nav a.active {
  color: var(--gold);
  background: rgba(240,180,41,0.06);
  border-left-color: var(--gold);
}

.admin-main {
  padding: 32px;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  color: var(--text3);
}

.metric-change {
  font-size: 12px;
  margin-top: 8px;
  font-weight: 600;
}

.metric-change.up { color: var(--teal); }
.metric-change.down { color: var(--red); }

/* ── TABLE ── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  background: rgba(0,0,0,0.3);
  padding: 12px 16px;
  text-align: left;
  color: var(--text3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--text2);
  vertical-align: middle;
}

tr:hover td { background: var(--surface); }

/* ── HNI PAGE ── */
.hni-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}

.hni-box {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.hni-crown {
  font-size: 48px;
  margin-bottom: 24px;
  display: block;
}

/* ── NEWS PAGE ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card:hover {
  border-color: rgba(240,180,41,0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.news-img {
  height: 180px;
  background: linear-gradient(135deg, rgba(240,180,41,0.1), rgba(6,214,160,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.news-body { padding: 20px; }

.news-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-date {
  font-size: 12px;
  color: var(--text3);
}

/* ── SEO PAGE ── */
.seo-header {
  background: linear-gradient(135deg, rgba(240,180,41,0.05), rgba(13,17,32,0));
  border-bottom: 1px solid var(--border);
  padding: 100px 32px 60px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text2); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text3); }

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 32px 32px;
  background: rgba(0,0,0,0.3);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: var(--text3);
  opacity: 0.7;
}

/* ── LEGAL ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}

.legal-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--gold2);
}

.legal-content p, .legal-content li {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul { padding-left: 24px; }

.last-updated {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 40px;
}

/* ── SUCCESS STATE ── */
.success-box {
  background: rgba(6,214,160,0.06);
  border: 1px solid rgba(6,214,160,0.25);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--teal);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 100px 20px 60px; }
  .section { padding: 60px 20px; }
  .hero-stats { gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sticky-cta { font-size: 12px; padding: 8px 10px 8px 16px; gap: 10px; }
  .trust-items { gap: 24px; }
}

/* ── UTILITIES ── */
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--text2); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.hidden { display: none; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.highlight-box {
  background: rgba(240,180,41,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--gold2);
  margin: 16px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.badge-new { background: rgba(240,180,41,0.15); color: var(--gold); }
.badge-hot { background: rgba(255,71,87,0.15); color: var(--red); }
.badge-trending { background: rgba(6,214,160,0.15); color: var(--teal); }

/* Fade-in animation on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
