/* ReUnited Broker Growth Audit — Main Stylesheet */

:root {
  --orange:       #E8510A;
  --orange-light: #FF8C00;
  --orange-pale:  #FFF3EC;
  --dark:         #111111;
  --dark-2:       #1A1A1A;
  --grey-1:       #333333;
  --grey-2:       #555555;
  --grey-3:       #888888;
  --grey-4:       #CCCCCC;
  --grey-5:       #F5F5F5;
  --white:        #FFFFFF;
  --green:        #16A34A;
  --red:          #DC2626;
  --blue:         #2563EB;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.14);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-full:  9999px;
  --transition:   all 0.25s cubic-bezier(0.4,0,0.2,1);
  --gradient:     linear-gradient(135deg, #E8510A, #FF8C00);
  --gradient-dark:linear-gradient(135deg, #C43E07, #E8510A);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--grey-1);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.8px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--grey-2); line-height: 1.7; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-6 { margin-top: 48px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 48px; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-sm); }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-brand img { height: 40px; }
.navbar-brand .brand-text { font-weight: 800; font-size: 1.1rem; color: var(--dark); }
.navbar-cta .btn { padding: 10px 24px; font-size: 14px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 15px; font-weight: 700; letter-spacing: 0.3px;
  border: none; cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,81,10,0.35);
}
.btn-primary:hover {
  background: var(--gradient-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,81,10,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange-pale); }
.btn-dark {
  background: var(--dark-2);
  color: var(--white);
}
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(232,81,10,0.18), transparent 70%),
              radial-gradient(ellipse 60% 40% at 10% 80%, rgba(255,140,0,0.10), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,81,10,0.15);
  border: 1px solid rgba(232,81,10,0.35);
  color: #FF8C00;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #FF8C00; animation: pulse 2s infinite; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: rgba(255,255,255,0.65); font-size: 18px; margin-bottom: 36px; max-width: 520px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 14px; }
.hero-trust-item .icon { color: #FF8C00; font-size: 16px; }

/* Hero Visual Card */
.hero-visual {
  position: relative;
}
.score-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px);
}
.score-gauge-wrap { text-align: center; margin-bottom: 28px; }
.score-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.score-section-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.score-section-item .label { color: rgba(255,255,255,0.5); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.score-section-item .bar-wrap { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 6px; }
.score-section-item .bar-fill { height: 4px; border-radius: 2px; background: var(--gradient); }
.score-section-item .val { color: #fff; font-size: 13px; font-weight: 700; margin-top: 4px; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--orange-pale);
  border-top: 1px solid rgba(232,81,10,0.15);
  border-bottom: 1px solid rgba(232,81,10,0.15);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--grey-1); }
.trust-item .num { font-size: 22px; font-weight: 900; color: var(--orange); }

/* ── How It Works ── */
.hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.hiw-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232,81,10,0.12);
  position: relative;
  transition: var(--transition);
}
.hiw-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.hiw-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 900; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.hiw-card h4 { margin-bottom: 8px; }
.hiw-card p { font-size: 14px; }

/* ── What You Get ── */
.wyg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.wyg-card {
  background: var(--grey-5);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.wyg-card:hover { background: var(--orange-pale); border-color: var(--orange); }
.wyg-icon { font-size: 32px; margin-bottom: 16px; }
.wyg-card h4 { margin-bottom: 8px; color: var(--dark); }
.wyg-card p { font-size: 14px; }

/* ── Forms ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 700; color: var(--grey-1); text-transform: uppercase; letter-spacing: 0.5px; }
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--grey-4);
  border-radius: var(--radius-sm);
  font-size: 15px; color: var(--grey-1);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,81,10,0.12); }
.form-input.error { border-color: var(--red); }
.form-error { color: var(--red); font-size: 12px; display: none; }
.form-error.show { display: block; }
.form-select { 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='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ── Progress Bar ── */
.progress-wrap {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 16px 0;
  position: sticky; top: 68px; z-index: 100;
}
.progress-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.progress-bar-outer { height: 6px; background: var(--grey-5); border-radius: 3px; overflow: hidden; }
.progress-bar-inner { height: 6px; border-radius: 3px; background: var(--gradient); transition: width 0.5s ease; }
.section-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.section-tab {
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
  background: var(--grey-5); color: var(--grey-3);
  transition: var(--transition);
}
.section-tab.active { background: var(--gradient); color: #fff; }
.section-tab.done { background: #dcfce7; color: var(--green); }

/* ── Question Cards ── */
.audit-wrap { max-width: 780px; margin: 48px auto; padding: 0 24px 80px; }
.section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 32px;
  background: var(--grey-5);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--orange);
}
.section-number { font-size: 13px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.question-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0,0,0,0.07);
  padding: 32px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.question-card:hover { border-color: rgba(232,81,10,0.25); }
.question-num { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.question-text { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 20px; line-height: 1.5; }
.options-list { display: flex; flex-direction: column; gap: 10px; }
.option-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.option-item:hover { border-color: var(--orange); background: var(--orange-pale); }
.option-item.selected { border-color: var(--orange); background: var(--orange-pale); }
.option-item.selected .option-dot { background: var(--orange); border-color: var(--orange); }
.option-item.selected .option-dot::after { opacity: 1; }
.option-dot {
  width: 20px; height: 20px; min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--grey-4);
  background: var(--white);
  position: relative; transition: var(--transition);
}
.option-dot::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  transition: var(--transition);
}
.option-badge {
  margin-left: auto;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--grey-5);
  color: var(--grey-3);
}
.option-item.selected .option-badge { background: rgba(232,81,10,0.15); color: var(--orange); }
.option-label { font-size: 15px; color: var(--grey-1); flex: 1; }
.nav-buttons { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }

/* ── Results Page ── */
.results-hero {
  background: var(--dark-2);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.results-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(232,81,10,0.2), transparent 70%);
}
.results-hero .container { position: relative; z-index: 1; }
.score-display {
  width: 220px; height: 220px;
  margin: 0 auto 24px;
  position: relative;
}
.score-display svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-display .score-num {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.score-display .score-num .num { font-size: 56px; font-weight: 900; color: #fff; line-height: 1; }
.score-display .score-num .denom { font-size: 18px; color: rgba(255,255,255,0.4); }
.category-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-weight: 800; font-size: 15px;
  margin: 12px 0;
}
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.result-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-sm);
}
.result-card h3 { margin-bottom: 20px; font-size: 18px; }
.chart-wrap { position: relative; height: 280px; }
.swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.swot-item { padding: 16px; border-radius: var(--radius-sm); }
.swot-item.strength { background: #f0fdf4; }
.swot-item.weakness { background: #fef2f2; }
.swot-item.opportunity { background: #eff6ff; }
.swot-item.risk { background: #fefce8; }
.swot-item h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.swot-item.strength h5 { color: var(--green); }
.swot-item.weakness h5 { color: var(--red); }
.swot-item.opportunity h5 { color: var(--blue); }
.swot-item.risk h5 { color: #92400e; }
.swot-item ul li { font-size: 13px; color: var(--grey-2); margin-bottom: 4px; padding-left: 14px; position: relative; }
.swot-item ul li::before { content: '•'; position: absolute; left: 0; }

/* Roadmap */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.roadmap-phase {
  border-radius: var(--radius-md);
  padding: 28px;
  border-top: 4px solid;
}
.roadmap-phase.d30 { border-color: var(--red); background: #fef2f2; }
.roadmap-phase.d60 { border-color: var(--orange); background: var(--orange-pale); }
.roadmap-phase.d90 { border-color: var(--green); background: #f0fdf4; }
.roadmap-phase h4 { margin-bottom: 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.roadmap-phase.d30 h4 { color: var(--red); }
.roadmap-phase.d60 h4 { color: var(--orange); }
.roadmap-phase.d90 h4 { color: var(--green); }
.roadmap-item { display: flex; gap: 12px; margin-bottom: 12px; }
.roadmap-item .ri-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.roadmap-phase.d30 .ri-dot { background: var(--red); }
.roadmap-phase.d60 .ri-dot { background: var(--orange); }
.roadmap-phase.d90 .ri-dot { background: var(--green); }
.roadmap-item .ri-text { font-size: 14px; color: var(--grey-1); }

/* Benchmark Bars */
.benchmark-list { display: flex; flex-direction: column; gap: 14px; }
.benchmark-row { }
.benchmark-row .br-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.benchmark-row .br-bar-wrap { height: 10px; background: var(--grey-5); border-radius: 5px; position: relative; overflow: visible; }
.benchmark-row .br-bar-you { height: 10px; border-radius: 5px; background: var(--gradient); position: absolute; left: 0; top: 0; transition: width 1s ease; }
.benchmark-row .br-bar-elite { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--dark); }
.benchmark-row .br-bar-elite::after { content: 'Elite'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 9px; white-space: nowrap; color: var(--dark); font-weight: 700; }

/* ReUnited CTA Section */
.reunited-section {
  background: var(--dark-2);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reunited-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(232,81,10,0.15), transparent 70%);
}
.reunited-section .container { position: relative; z-index: 1; }
.reunited-section h2 { color: #fff; margin-bottom: 16px; }
.reunited-section p { color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto 36px; font-size: 17px; }
.opportunity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0; }
.opp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  transition: var(--transition);
}
.opp-card:hover { background: rgba(232,81,10,0.12); border-color: rgba(232,81,10,0.3); }
.opp-gap { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.opp-feature { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.opp-arrow { color: var(--orange); margin-bottom: 8px; }
.opp-benefit { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ── Admin Dashboard ── */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--dark-2);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 200; overflow-y: auto;
}
.sidebar-logo {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sidebar-logo .logo-text { font-size: 16px; font-weight: 800; color: #fff; margin-top: 6px; }
.sidebar-logo .logo-sub { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }
.sidebar-nav { flex: 1; padding: 16px 0; }
.sidebar-section-label { padding: 12px 20px 4px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1.5px; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.55);
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.sidebar-link.active { color: #fff; background: rgba(232,81,10,0.15); border-left-color: var(--orange); }
.sidebar-link .icon { font-size: 18px; width: 20px; text-align: center; }
.sidebar-footer { padding: 20px; border-top: 1px solid rgba(255,255,255,0.07); }
.admin-main { margin-left: 260px; flex: 1; background: #f8f8f8; min-height: 100vh; }
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 0 32px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.admin-topbar .page-title { font-size: 18px; font-weight: 800; color: var(--dark); }
.admin-content { padding: 32px; }

/* Stat Cards */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
}
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-icon.orange { background: var(--orange-pale); color: var(--orange); }
.stat-icon.green  { background: #f0fdf4; color: var(--green); }
.stat-icon.blue   { background: #eff6ff; color: var(--blue); }
.stat-icon.red    { background: #fef2f2; color: var(--red); }
.stat-val { font-size: 28px; font-weight: 900; color: var(--dark); line-height: 1; }
.stat-label { font-size: 13px; color: var(--grey-3); margin-top: 2px; }
.stat-change { font-size: 12px; font-weight: 600; margin-top: 4px; }
.stat-change.up { color: var(--green); }
.stat-change.dn { color: var(--red); }

/* Data Table */
.table-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-header { padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; }
.table-header h3 { font-size: 16px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--grey-3); background: var(--grey-5); border-bottom: 1px solid rgba(0,0,0,0.06); }
.data-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,0.04); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--grey-5); }
.badge {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700;
}
.badge-hot    { background: #fef2f2; color: var(--red); }
.badge-warm   { background: #fef9ec; color: #92400e; }
.badge-cold   { background: var(--grey-5); color: var(--grey-3); }
.badge-elite  { background: rgba(232,81,10,0.1); color: var(--orange); }
.badge-growth { background: #eff6ff; color: var(--blue); }
.badge-developing { background: #f0fdf4; color: var(--green); }
.badge-emerging { background: var(--grey-5); color: var(--grey-3); }
.score-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-weight: 900; font-size: 13px; color: #fff;
  background: var(--gradient);
}

/* ── Animations ── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes scoreCount { from{stroke-dashoffset:565} to{stroke-dashoffset:var(--target-offset)} }
.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ── Toast ── */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--dark-2); color: #fff;
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange);
  animation: fadeUp 0.3s ease;
  max-width: 320px;
}
.toast.success { border-color: var(--green); }
.toast.error   { border-color: var(--red); }

/* ── OTP Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 440px; width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px); transition: var(--transition);
}
.modal-overlay.show .modal-box { transform: translateY(0); }
.otp-inputs { display: flex; gap: 12px; justify-content: center; margin: 28px 0; }
.otp-input {
  width: 52px; height: 62px;
  border: 2px solid var(--grey-4);
  border-radius: var(--radius-sm);
  text-align: center; font-size: 28px; font-weight: 900;
  color: var(--dark); outline: none;
  transition: var(--transition);
}
.otp-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,81,10,0.12); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .wyg-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .opportunity-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-group.full { grid-column: auto; }
  .results-grid { grid-template-columns: 1fr; }
  .swot-grid { grid-template-columns: 1fr; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .sidebar { position: relative; width: 100%; height: auto; }
  .admin-main { margin-left: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 28px 20px; }
  .hiw-grid { grid-template-columns: 1fr 1fr; }
  .wyg-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
