/* ============================================================
   SmartVersa — matte black & gold design system
   ============================================================ */

:root {
  --bg-0: #05070d;      /* primary matte black */
  --bg-1: #0a1526;      /* alt section */
  --bg-2: #0f2038;      /* alt section, lighter */
  --gold-1: #d4a94a;
  --gold-2: #f2c766;
  --gold-line: rgba(212, 169, 74, 0.2);
  --gold-line-strong: rgba(212, 169, 74, 0.45);
  --card-fill: rgba(255, 255, 255, 0.035);
  --card-fill-hover: rgba(255, 255, 255, 0.06);
  --ink-on-gold: #161005;
  --text-hi: #eef1f6;
  --text-mid: #b9c2d0;
  --text-low: #8a93a3;
  --danger: #e2584f;
  --success: #7fd499;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-hi);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-mid); margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--alt { background: var(--bg-1); }
.section--alt2 { background: var(--bg-2); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid var(--gold-line-strong);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: rgba(212,169,74,0.06);
}

.gold-text {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--ink-on-gold);
  box-shadow: 0 6px 24px -6px rgba(212,169,74,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -6px rgba(212,169,74,0.7); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-line-strong);
  color: var(--text-hi);
}
.btn-outline:hover { background: rgba(212,169,74,0.08); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,7,13,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-line);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-hi);
}
.brand svg { height: 34px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: .92rem;
  color: var(--text-mid);
}
.nav-links a:hover { color: var(--gold-2); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--gold-line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-hi);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-0);
  border-bottom: 1px solid var(--gold-line);
  padding: 10px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-mid);
}

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(212,169,74,0.14), transparent 70%);
  pointer-events: none;
}
.hero h1 { max-width: 820px; margin-inline: auto; }
.hero p.lead { max-width: 620px; margin: 0 auto 28px; font-size: 1.08rem; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 28px 0;
}
.trust-pill {
  font-size: .78rem;
  color: var(--text-low);
  border: 1px solid var(--gold-line);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card-fill);
}

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-fill);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.card:hover {
  background: var(--card-fill-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px -18px rgba(0,0,0,0.6);
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(212,169,74,0.22), rgba(242,199,102,0.08));
  color: var(--gold-2);
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .93rem; }

/* ---------- Course cards ---------- */
.course-card {
  background: var(--card-fill);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.course-card .cc-top {
  padding: 20px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.seats-badge {
  font-size: .72rem;
  color: var(--gold-2);
  border: 1px solid var(--gold-line-strong);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.course-card .cc-body { padding: 14px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.course-card .price { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-2); margin: 10px 0; }
.course-card .price span { font-size: .85rem; color: var(--text-low); font-weight: 400; font-family: var(--font-body); }
.course-card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--text-mid); }
.course-card ul li { padding: 5px 0; padding-left: 22px; position: relative; }
.course-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-2); }
.course-card .cc-cta { margin-top: auto; }

/* ---------- Process steps ---------- */
.steps { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--card-fill);
}
.step .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-2);
  margin-bottom: 8px;
}

/* ---------- Stats ---------- */
.stats-row { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.stat {
  text-align: center;
  padding: 30px 26px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--card-fill);
  min-width: 180px;
}
.stat .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-2); }
.stat .label { font-size: .85rem; color: var(--text-low); }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial .stars { color: var(--gold-2); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial .quote { font-size: .92rem; flex: 1; }
.testimonial .who { font-size: .85rem; color: var(--text-hi); font-weight: 600; margin-top: 12px; }
.testimonial .college { font-size: .78rem; color: var(--text-low); }
.show-more-wrap { text-align: center; margin-top: 28px; }

/* ---------- Comparison table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-fill);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gold-line);
  font-size: .92rem;
}
.compare-table th { color: var(--gold-2); font-family: var(--font-display); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--success); }
.compare-table .no { color: var(--danger); }
.table-scroll { overflow-x: auto; }

/* ---------- Badges strip ---------- */
.badges-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.badge-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text-mid);
  border: 1px solid var(--gold-line); border-radius: 999px;
  padding: 9px 16px; background: var(--card-fill);
}
.badge-item .dot { color: var(--gold-2); }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--card-fill);
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: .96rem;
}
.faq-q .chev { color: var(--gold-2); transition: transform .2s ease; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 20px;
  font-size: .9rem;
  color: var(--text-mid);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }

/* ---------- Forms ---------- */
.form-shell {
  background: var(--card-fill);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
label {
  display: block;
  font-size: .82rem;
  color: var(--text-mid);
  margin-bottom: 6px;
  margin-top: 16px;
}
label:first-of-type { margin-top: 0; }
input, textarea, select {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: .93rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(212,169,74,0.15);
}
input::placeholder, textarea::placeholder { color: var(--text-low); }
.form-note { font-size: .78rem; color: var(--text-low); margin-top: 14px; text-align: center; }
.form-msg { font-size: .85rem; margin-top: 14px; text-align: center; display: none; }
.form-msg.success { color: var(--success); display: block; }
.form-msg.error { color: var(--danger); display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--gold-line);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .95rem; color: var(--gold-2); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--text-mid); font-size: .88rem; }
.footer a:hover { color: var(--gold-2); }
.footer p { font-size: .88rem; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--gold-2);
  transition: background .15s ease, transform .15s ease;
}
.social-row a:hover { background: rgba(212,169,74,0.1); transform: translateY(-2px); }
.social-row svg { display: block; }
.brand img { display: block; }
.footer-bottom {
  border-top: 1px solid var(--gold-line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: var(--text-low);
}
.footer-bottom a { color: var(--text-low); margin-left: 16px; }
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- Mobile sticky bar ---------- */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(5,7,13,0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold-line);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-sticky a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
}
.mobile-sticky .call { border: 1px solid var(--gold-line-strong); color: var(--text-hi); }
.mobile-sticky .wa { border: 1px solid var(--gold-line-strong); color: var(--text-hi); }
.mobile-sticky .apply { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: var(--ink-on-gold); }
@media (max-width: 780px) {
  .mobile-sticky { display: flex; }
  body { padding-bottom: 68px; }
}
.floating-wa {
  position: fixed;
  bottom: 90px; right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--ink-on-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px -6px rgba(212,169,74,0.6);
  z-index: 150;
}
@media (min-width: 781px) { .floating-wa { bottom: 26px; } }

/* ---------- Misc content pages ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.prose ul { color: var(--text-mid); }
.breadcrumb { font-size: .82rem; color: var(--text-low); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-2); }
.tag-pill {
  display: inline-block;
  font-size: .74rem;
  color: var(--gold-2);
  border: 1px solid var(--gold-line-strong);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.soon-badge {
  display: inline-block;
  font-size: .72rem;
  color: var(--bg-0);
  background: var(--gold-2);
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.week-item {
  border-left: 2px solid var(--gold-line-strong);
  padding: 4px 0 20px 22px;
  position: relative;
}
.week-item::before {
  content: "";
  position: absolute;
  left: -6px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-2);
}
.week-item h4 { margin-bottom: 4px; font-size: 1rem; color: var(--gold-2); font-family: var(--font-body); }

/* ---------- Admin panel ---------- */
.admin-tab-btn.btn-primary { color: var(--ink-on-gold); }
#leadsTable th, #ticketsTable th, #certsTable th { white-space: nowrap; }
