:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-gold: #F59E0B;
  --emerald: #10B981;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-official-logo {
  height: 72px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-official-logo:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #38BDF8;
}

.nav-link:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

.btn-whatsapp:hover {
  background: #1EBE5D;
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #EEF2FF, #F8FAFC);
  padding: 4.5rem 2rem 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DBEAFE;
  color: #1E40AF;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 900px;
  margin: 0 auto 1.25rem auto;
}

.hero h1 span {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

/* Hero Search Bar */
.search-widget {
  background: #fff;
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 12px;
  border: 1px solid var(--border);
}

.search-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.search-field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-field select, .search-field input {
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  font-weight: 500;
  background: #F8FAFC;
}

.search-field select:focus, .search-field input:focus {
  border-color: var(--accent);
  background: #fff;
}

/* Metrics Ribbon */
.metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: -1.5rem auto 3rem auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.metric-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.metric-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Program Catalog Cards */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.badge-dual {
  background: #DEF7EC;
  color: #03543F;
}

.badge-safe {
  background: #E1EFFE;
  color: #1E429F;
}

.badge-target {
  background: #FDF6B2;
  color: #723B13;
}

.badge-dream {
  background: #EDEBFE;
  color: #5521B5;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.card-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-meta-list {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
}

.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.highlight-tag {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
}

/* AI Evaluator Tool Box */
.evaluator-box {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  margin: 3rem 0;
}

.evaluator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #94A3B8;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0F172A;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
}

.result-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.meter-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#10B981 0% 88%, #334155 88% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.meter-inner {
  width: 95px;
  height: 95px;
  background: #0F172A;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meter-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #10B981;
}

.meter-lbl {
  font-size: 0.65rem;
  color: #94A3B8;
  text-transform: uppercase;
}

/* Dual Study ROI Calculator */
.calc-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.calc-result-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.savings-highlight {
  font-size: 2.2rem;
  font-weight: 900;
  color: #166534;
}

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  font-size: 30px;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.1);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #0B1120;
  color: #94A3B8;
  padding: 4rem 2rem 2rem 2rem;
  border-top: 1px solid #1E293B;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .navbar { padding: 0.5rem 1rem; }
  .brand-official-logo { height: 52px; max-width: 190px; }
  .hero h1 { font-size: 2.2rem; }
  .metrics-ribbon { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .evaluator-grid, .calc-grid, .footer-grid { grid-template-columns: 1fr; }
  .search-widget { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
