/* ══════════════════════════════════════════════════
   TradeReg Pro — Main Stylesheet
   Aesthetic: Authoritative Navy + Warm Gold
   Fonts: Playfair Display + DM Sans
══════════════════════════════════════════════════ */

:root {
  --navy:      #0F1E3C;
  --navy-mid:  #162847;
  --navy-light:#1E3659;
  --gold:      #C9922A;
  --gold-light:#E5AD47;
  --gold-pale: #FBF3E2;
  --white:     #FFFFFF;
  --off-white: #F8F7F4;
  --text:      #1A2332;
  --text-mid:  #4A5568;
  --text-light:#718096;
  --border:    #E2E8F0;
  --success:   #059669;
  --error:     #DC2626;
  --warning:   #D97706;
  --info:      #2563EB;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(15,30,60,0.10);
  --shadow-lg: 0 12px 48px rgba(15,30,60,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

.gold { color: var(--gold); }
em { font-style: italic; color: var(--gold); }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; }

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ══ NAVBAR ══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0;
}
.navbar.scrolled, .inner-page .navbar {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white);
}
.logo-icon { font-size: 1.6rem; }
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.btn-nav {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 8px 18px !important; border-radius: 6px !important;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--gold-light) !important; }
.btn-nav-outline {
  border: 1px solid rgba(255,255,255,0.4) !important;
  color: rgba(255,255,255,0.9) !important;
}
.hamburger {
  display: none; background: none; border: none;
  color: white; font-size: 1.5rem; cursor: pointer;
}
.mobile-menu {
  display: none; flex-direction: column; padding: 16px 24px;
  background: var(--navy-mid);
  gap: 4px;
}
.mobile-menu a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 10px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }
.btn-mobile {
  margin-top: 10px; background: var(--gold) !important;
  color: white !important; padding: 12px !important;
  text-align: center; border-radius: 8px; font-weight: 600;
  border-bottom: none !important;
}

/* ══ HERO ══ */
.hero {
  position: relative; min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  overflow: hidden; padding-top: 70px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(201,146,42,0.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(201,146,42,0.08) 0%, transparent 40%),
    repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 80px 24px; text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,146,42,0.15); color: var(--gold-light);
  border: 1px solid rgba(201,146,42,0.3);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 28px;
  letter-spacing: 0.03em;
}
.hero-title { color: var(--white); margin-bottom: 24px; }
.hero-title .gold { color: var(--gold-light); }
.hero-sub {
  color: rgba(255,255,255,0.72); font-size: 1.15rem;
  max-width: 580px; margin: 0 auto 40px;
}
.hero-sub strong { color: var(--gold-light); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 14px 32px; border-radius: 8px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  border: 2px solid var(--gold); transition: all 0.2s; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,146,42,0.35); }
.btn-secondary {
  background: transparent; color: var(--white);
  padding: 14px 32px; border-radius: 8px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  border: 2px solid rgba(255,255,255,0.4); transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--gold-light); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

/* ══ SECTIONS ══ */
.section { padding: 96px 0; }
.section-label {
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.section-title { margin-bottom: 48px; color: var(--navy); }

/* ══ WHY CARDS ══ */
.why-section { background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.why-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
  transition: all 0.25s; box-shadow: var(--shadow);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.why-icon { font-size: 2.2rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.why-card p { color: var(--text-mid); font-size: 0.93rem; }

/* ══ SERVICES ══ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--navy); border-radius: var(--radius);
  padding: 32px; color: var(--white); transition: all 0.25s;
  border: 2px solid transparent;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 8px; color: var(--gold-light); }
.service-card p { color: rgba(255,255,255,0.7); font-size: 0.93rem; }

/* ══ HOW IT WORKS ══ */
.how-section { background: var(--gold-pale); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; align-items: start; position: relative;
}
.step-card {
  padding: 28px 24px; text-align: center;
  position: relative;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 900; color: var(--gold);
  opacity: 0.25; line-height: 1; margin-bottom: 16px;
}
.step-body h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.step-body p { font-size: 0.88rem; color: var(--text-mid); }
.step-arrow {
  position: absolute; top: 40px; right: -14px; z-index: 2;
  font-size: 1.5rem; color: var(--gold); opacity: 0.5;
}

/* ══ PRICING ══ */
.pricing-section { background: var(--navy); }
.pricing-section .section-label { color: var(--gold-light); }
.pricing-section .section-title { color: var(--white); }
.pricing-sub { color: rgba(255,255,255,0.6); margin-top: -32px; margin-bottom: 56px; font-size: 0.95rem; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; align-items: center;
}
.pricing-card {
  background: rgba(255,255,255,0.05); border-radius: 14px;
  padding: 36px 28px; border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.25s; position: relative;
  color: var(--white);
}
.pricing-card.popular {
  background: var(--white); color: var(--text);
  border-color: var(--gold); transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(201,146,42,0.3);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: white;
  padding: 4px 20px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.plan-name { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-bottom: 12px; }
.plan-price { margin-bottom: 28px; }
.currency { font-size: 1.5rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.plan-price > span:first-child + * { /* number */ }
.plan-price { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; }
.per { font-size: 0.85rem; font-weight: 400; opacity: 0.6; margin-left: 4px; font-family: 'DM Sans', sans-serif; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li { padding: 8px 0; font-size: 0.92rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.pricing-card:not(.popular) .plan-features li { border-bottom-color: rgba(255,255,255,0.08); }
.btn-plan {
  display: block; text-align: center; padding: 14px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
  font-size: 0.95rem; transition: all 0.2s;
  border: 2px solid rgba(255,255,255,0.3); color: var(--white);
}
.btn-plan:hover { background: rgba(255,255,255,0.1); }
.btn-plan-popular {
  background: var(--gold); border-color: var(--gold); color: white;
}
.btn-plan-popular:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ══ DOCS SECTION ══ */
.docs-section { background: var(--off-white); }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 24px; }
.docs-col { background: white; padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); }
.docs-col h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.1rem; }
.docs-col ul { list-style: none; }
.docs-col ul li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text-mid);
  padding-left: 20px; position: relative;
}
.docs-col ul li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.docs-note { background: #FEF3C7; border: 1px solid #F59E0B; padding: 14px 20px; border-radius: 8px; font-size: 0.9rem; color: #92400E; }

/* ══ TESTIMONIALS ══ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
}
.testimonial-stars { font-size: 1rem; margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--text-mid); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.95rem; }
.author-detail { font-size: 0.82rem; color: var(--text-light); }

/* ══ CONTACT ══ */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { color: var(--text-mid); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item > span { font-size: 1.4rem; }
.contact-item strong { display: block; margin-bottom: 2px; color: var(--navy); }
.contact-item div { color: var(--text-mid); font-size: 0.92rem; }
.contact-form-box {
  background: white; border-radius: 14px; padding: 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.contact-form-box h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 24px; }

/* ══ CTA BANNER ══ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #A67520 100%);
  padding: 60px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-inner h2 { color: white; font-size: 2rem; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.85); }
.btn-cta {
  background: white; color: var(--gold); padding: 16px 36px;
  border-radius: 8px; font-size: 1rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: all 0.2s;
}
.btn-cta:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ══ FOOTER ══ */
.footer { background: var(--navy); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; max-width: 280px; }
.footer-links h4, .footer-contact h4 { color: var(--gold-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-family: 'DM Sans', sans-serif; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--gold-light); }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.83rem; text-align: center; }
.footer-simple { padding-top: 0; }
.footer-bottom-simple { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-simple p { color: rgba(255,255,255,0.5); font-size: 0.83rem; }
.footer-bottom-simple a { color: var(--gold-light); text-decoration: none; font-size: 0.85rem; }

/* ══ FORMS ══ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
  color: var(--text); background: white; transition: border-color 0.2s;
  outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,146,42,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { grid-template-columns: 1.5fr 1.5fr 1fr; }
.w-full { width: 100%; }

/* ALERTS */
.alert {
  padding: 14px 18px; border-radius: 8px; margin-bottom: 20px;
  font-size: 0.93rem; font-weight: 500;
}
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FCD34D; }
.alert-info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #93C5FD; }

/* ══ INNER PAGE ══ */
.page-hero-sm {
  background: var(--navy); padding: 100px 0 48px; text-align: center;
}
.page-hero-sm h1 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero-sm p { color: rgba(255,255,255,0.65); }
.main-content { padding: 56px 24px 80px; }

/* ══ REGISTER PAGE ══ */
.form-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.register-form { display: flex; flex-direction: column; gap: 0; }
.form-section {
  background: white; border-radius: 14px; padding: 36px;
  border: 1px solid var(--border); margin-bottom: 24px;
}
.form-section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.form-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.form-section-header h2 { font-size: 1.3rem; color: var(--navy); margin: 0; }
.plan-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-option {
  border: 2px solid var(--border); border-radius: 12px;
  padding: 20px; cursor: pointer; position: relative;
  transition: all 0.2s;
}
.plan-option:hover { border-color: var(--gold); }
.plan-option.selected { border-color: var(--gold); background: var(--gold-pale); }
.plan-option input[type=radio] { position: absolute; opacity: 0; }
.plan-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: white; padding: 2px 14px;
  border-radius: 20px; font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.plan-option-name { font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.plan-option-price { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 900; color: var(--gold); margin-bottom: 12px; }
.plan-option-features { list-style: none; font-size: 0.82rem; color: var(--text-mid); }
.plan-option-features li { padding: 3px 0; }
.terms-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.terms-check input[type=checkbox] { flex-shrink: 0; margin-top: 3px; accent-color: var(--gold); }
.terms-check label { font-size: 0.88rem; color: var(--text-mid); cursor: pointer; }
.btn-submit { width: 100%; font-size: 1.05rem; padding: 16px; }
.register-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: white; border-radius: 12px; padding: 24px;
  border: 1px solid var(--border);
}
.sidebar-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; }
.sidebar-card ul { list-style: none; }
.sidebar-card ul li { padding: 6px 0; font-size: 0.88rem; color: var(--text-mid); border-bottom: 1px solid var(--border); }
.sidebar-card ul li strong { color: var(--text); }
.sidebar-help { background: var(--navy); color: white; }
.sidebar-help h3 { color: var(--gold-light); }
.sidebar-help p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 4px; }

/* ══ SUCCESS CARD ══ */
.success-card {
  background: white; border-radius: 16px; padding: 60px 48px;
  text-align: center; border: 2px solid #6EE7B7; max-width: 600px; margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.success-icon {
  width: 72px; height: 72px; background: #ECFDF5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--success); margin: 0 auto 24px; font-weight: 700;
}
.success-card h2 { color: var(--navy); margin-bottom: 12px; font-size: 1.8rem; }
.success-card p { color: var(--text-mid); margin-bottom: 8px; }
.app-number-display {
  background: var(--navy); color: var(--gold-light);
  padding: 16px 32px; border-radius: 10px; font-family: monospace;
  font-size: 1.5rem; font-weight: 700; margin: 16px 0; letter-spacing: 0.05em;
}
.success-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ══ TRACK PAGE ══ */
.track-search-box { max-width: 600px; margin: 0 auto 40px; }
.track-form { display: flex; gap: 0; }
.track-input-group { display: flex; gap: 12px; width: 100%; }
.track-input {
  flex: 1; padding: 14px 18px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 1rem; font-family: 'DM Sans', sans-serif;
  color: var(--text); outline: none;
}
.track-input:focus { border-color: var(--gold); }
.track-alert { max-width: 600px; margin: 0 auto 24px; }
.track-result {
  background: white; border-radius: 14px; padding: 36px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.track-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.track-app-num { font-family: monospace; font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.track-business { font-size: 1.1rem; color: var(--text-mid); margin: 4px 0; }
.track-date { font-size: 0.85rem; color: var(--text-light); }
.track-status-badge { padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; border: 2px solid; }
.progress-tracker { display: flex; align-items: center; margin: 32px 0; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.progress-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--off-white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: all 0.3s;
}
.progress-step.done .progress-icon { background: var(--success); border-color: var(--success); color: white; }
.progress-step.active .progress-icon { background: var(--gold); border-color: var(--gold); color: white; font-size: 0.9rem; }
.progress-label { font-size: 0.75rem; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.progress-step.done .progress-label, .progress-step.active .progress-label { color: var(--text); }
.progress-line { flex: 1; height: 2px; background: var(--border); margin: 0 4px; margin-bottom: 24px; }
.progress-line.done { background: var(--success); }
.track-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.track-details-col h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.details-table { width: 100%; border-collapse: collapse; }
.details-table td { padding: 8px 4px; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.details-table td:first-child { color: var(--text-light); width: 45%; }
.details-table td:last-child { font-weight: 500; color: var(--text); }
.track-notes { background: #FFFBEB; border: 1px solid #FCD34D; border-radius: 8px; padding: 20px; margin: 20px 0; }
.track-notes h3 { font-size: 0.95rem; color: #92400E; margin-bottom: 8px; }
.track-notes p { font-size: 0.9rem; color: #92400E; }
.track-help { text-align: center; margin-top: 32px; color: var(--text-mid); font-size: 0.9rem; }

/* ══ CONTACT FORM ══ */
.contact-form { margin-top: 4px; }

/* ══ ADMIN ══ */
.admin-body { display: flex; min-height: 100vh; background: #F1F4F9; }
.admin-sidebar {
  width: 256px; flex-shrink: 0; background: var(--navy);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.admin-logo {
  padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  color: white; display: flex; align-items: center; gap: 10px;
}
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-link {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.65); text-decoration: none;
  padding: 12px 16px; border-radius: 8px; font-size: 0.93rem;
  margin-bottom: 4px; transition: all 0.2s;
}
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(255,255,255,0.1); color: white; }
.logout-link:hover { background: rgba(220,38,38,0.2) !important; color: #FCA5A5 !important; }
.badge {
  background: var(--error); color: white; border-radius: 50%;
  width: 20px; height: 20px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 0.7rem; font-weight: 700;
}
.admin-user {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08);
}
.admin-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.admin-name { color: white; font-size: 0.9rem; font-weight: 600; }
.admin-role { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.admin-main { flex: 1; padding: 32px; overflow-y: auto; max-width: calc(100vw - 256px); }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-page-title { font-size: 1.8rem; color: var(--navy); }
.admin-date { color: var(--text-light); font-size: 0.88rem; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: white; border-radius: 12px; padding: 24px;
  border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.stat-card-icon { font-size: 1.5rem; margin-bottom: 10px; }
.stat-card-val { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--navy); }
.stat-card-label { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }
.stat-card-green { border-left: 4px solid var(--success); }
.stat-card-yellow { border-left: 4px solid var(--warning); }
.stat-card-gold { border-left: 4px solid var(--gold); }
.stat-card-blue { border-left: 4px solid var(--info); }
.admin-section { background: white; border-radius: 14px; padding: 28px; border: 1px solid var(--border); margin-bottom: 24px; }
.admin-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-section-header h2 { font-size: 1.3rem; color: var(--navy); }
.admin-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-filters input, .admin-filters select {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.9rem; font-family: 'DM Sans', sans-serif; outline: none;
}
.admin-filters input { flex: 1; min-width: 200px; }
.admin-filters input:focus, .admin-filters select:focus { border-color: var(--gold); }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { padding: 12px 14px; text-align: left; background: #F8F9FB; border-bottom: 2px solid var(--border); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); white-space: nowrap; }
.admin-table td { padding: 14px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table tr:hover td { background: #FAFBFC; }
.empty-row { text-align: center; color: var(--text-light); padding: 40px !important; }
.app-ref { background: var(--off-white); padding: 3px 8px; border-radius: 4px; font-size: 0.82rem; }
.app-name { font-weight: 600; }
.app-contact { font-size: 0.82rem; color: var(--text-light); margin-top: 2px; }
.status-pill { padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; border: 1.5px solid; white-space: nowrap; }
.payment-pill { padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.payment-pill.paid { background: #ECFDF5; color: var(--success); }
.payment-pill.unpaid { background: #FEF2F2; color: var(--error); }
.plan-tag { background: var(--navy); color: white; padding: 3px 10px; border-radius: 4px; font-size: 0.78rem; font-weight: 600; }
.btn-table { padding: 6px 14px; border-radius: 6px; background: var(--navy); color: white; text-decoration: none; font-size: 0.8rem; font-weight: 600; display: inline-block; }
.btn-sm { padding: 10px 20px !important; font-size: 0.88rem !important; }
.messages-list { display: flex; flex-direction: column; gap: 16px; }
.message-card { background: #F8F9FB; border-radius: 10px; padding: 20px; border: 1px solid var(--border); }
.message-card.unread { border-left: 4px solid var(--gold); background: #FFFBEB; }
.message-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.message-header strong { color: var(--navy); }
.message-email { margin-left: 10px; color: var(--text-light); font-size: 0.85rem; }
.message-meta { font-size: 0.82rem; color: var(--text-light); display: flex; gap: 10px; align-items: center; }
.read-label { color: var(--success); font-size: 0.78rem; }
.message-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: white; border-radius: 16px; width: 100%; max-width: 700px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: white;
}
.modal-header h2 { font-size: 1.2rem; color: var(--navy); }
.modal-close { text-decoration: none; font-size: 1.2rem; color: var(--text-light); padding: 4px 8px; }
.modal-body { padding: 28px; }
.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; background: var(--off-white); padding: 20px; border-radius: 10px; }
.modal-info-grid div { font-size: 0.88rem; color: var(--text-mid); }
.modal-info-grid strong { color: var(--navy); }
.modal-full { grid-column: 1 / -1; }
.modal-form { border-top: 1px solid var(--border); padding-top: 20px; }

/* Login */
.login-page { background: var(--navy); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-container { width: 100%; max-width: 400px; padding: 24px; }
.login-card { background: white; border-radius: 16px; padding: 40px; box-shadow: var(--shadow-lg); }
.login-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); }
.login-logo .logo-icon { font-size: 1.8rem; }
.login-title { font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.login-sub { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; }
.login-form { margin-top: 20px; }
.login-hint { text-align: center; margin-top: 16px; color: var(--text-light); }
.login-hint code { background: var(--off-white); padding: 2px 6px; border-radius: 4px; }
.login-back { display: block; text-align: center; margin-top: 20px; color: var(--gold); text-decoration: none; font-size: 0.88rem; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .track-details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .form-layout { grid-template-columns: 1fr; }
  .register-sidebar { display: none; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .plan-selector { grid-template-columns: 1fr; }
  .contact-grid, .docs-grid, .track-details { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .admin-sidebar { display: none; }
  .admin-main { max-width: 100%; padding: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-info-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .pricing-card.popular { transform: scale(1); }
  .success-actions { flex-direction: column; align-items: center; }
  .track-header { flex-direction: column; }
}

/* ══════════════════════════════════════════════════
   BLOG STYLES
══════════════════════════════════════════════════ */

/* ── Blog Preview on Homepage ── */
.blog-preview-section { background: var(--off-white); }
.blog-preview-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; flex-wrap: wrap; gap: 12px;
}
.blog-preview-head .section-title { margin-bottom: 0; }
.blog-view-all {
  color: var(--gold); font-weight: 600; text-decoration: none;
  font-size: 0.95rem; border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.blog-view-all:hover { border-bottom-color: var(--gold); }
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-preview-card {
  display: block; text-decoration: none;
  background: white; border-radius: 12px;
  padding: 28px; border: 1px solid var(--border);
  transition: all 0.25s; position: relative;
  color: var(--text);
}
.blog-preview-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.blog-preview-card.featured {
  grid-column: span 1;
  border-left: 4px solid var(--gold);
  background: var(--gold-pale);
}
.blog-card-cat {
  display: inline-block; background: var(--navy);
  color: var(--gold-light); padding: 3px 12px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em;
}
.blog-card-title {
  font-size: 1.05rem; color: var(--navy);
  margin-bottom: 10px; line-height: 1.4;
}
.blog-card-excerpt {
  font-size: 0.88rem; color: var(--text-mid);
  margin-bottom: 18px; line-height: 1.6;
}
.blog-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--text-light);
}
.blog-read-more { color: var(--gold); font-weight: 600; }

/* ── Blog Listing Page ── */
.blog-hero { padding-bottom: 60px; }
.blog-search-form {
  display: flex; gap: 10px; max-width: 500px;
  margin: 24px auto 0; justify-content: center;
}
.blog-search-input {
  flex: 1; padding: 12px 16px; border: 2px solid rgba(255,255,255,0.25);
  border-radius: 8px; background: rgba(255,255,255,0.1);
  color: white; font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
  outline: none;
}
.blog-search-input::placeholder { color: rgba(255,255,255,0.5); }
.blog-search-input:focus { border-color: var(--gold-light); background: rgba(255,255,255,0.15); }
.blog-main { padding: 56px 24px 80px; }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.blog-posts-col { min-width: 0; }
.blog-filter-bar {
  background: var(--gold-pale); border: 1px solid #E5C97A;
  padding: 12px 18px; border-radius: 8px; margin-bottom: 24px;
  font-size: 0.9rem; display: flex; align-items: center; gap: 10px;
}
.blog-clear-filter { color: var(--error); font-weight: 600; text-decoration: none; font-size: 0.85rem; }
.blog-grid { display: flex; flex-direction: column; gap: 24px; }
.blog-card {
  background: white; border-radius: 14px;
  padding: 28px 32px; border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: all 0.25s;
}
.blog-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.blog-card-featured {
  border-left: 5px solid var(--gold); background: var(--gold-pale);
}
.blog-card-top {
  display: flex; gap: 8px; align-items: center; margin-bottom: 12px;
}
.blog-cat-pill {
  display: inline-block; background: var(--navy); color: var(--gold-light);
  padding: 4px 14px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-featured-pill {
  display: inline-block; background: var(--gold); color: white;
  padding: 4px 14px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.blog-card-h2 { margin-bottom: 10px; }
.blog-card-h2 a {
  color: var(--navy); text-decoration: none; font-size: 1.2rem;
  line-height: 1.3;
}
.blog-card-h2 a:hover { color: var(--gold); }
.blog-card-excerpt-full {
  color: var(--text-mid); font-size: 0.92rem;
  line-height: 1.7; margin-bottom: 20px;
}
.blog-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.blog-card-meta-row {
  display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-light);
}
.blog-read-link {
  color: var(--gold); font-weight: 700; text-decoration: none; font-size: 0.9rem;
  border-bottom: 2px solid transparent; transition: border-color 0.2s;
}
.blog-read-link:hover { border-bottom-color: var(--gold); }
.blog-pagination {
  display: flex; gap: 8px; justify-content: center; margin-top: 40px;
}
.pag-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1.5px solid var(--border); text-decoration: none;
  color: var(--text); font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.pag-btn:hover, .pag-active {
  background: var(--navy); color: white; border-color: var(--navy);
}
.blog-empty {
  text-align: center; padding: 80px 40px;
  background: white; border-radius: 14px; border: 1px solid var(--border);
}
.blog-empty h3 { color: var(--navy); margin-bottom: 8px; }
.blog-empty p { color: var(--text-mid); }
.blog-empty a { color: var(--gold); }

/* ── Blog Sidebar ── */
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.blog-widget {
  background: white; border-radius: 12px;
  padding: 24px; border: 1px solid var(--border);
}
.widget-title {
  font-size: 1rem; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.widget-cat-list { list-style: none; }
.widget-cat-list li { border-bottom: 1px solid var(--border); }
.widget-cat-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; text-decoration: none;
  color: var(--text-mid); font-size: 0.9rem; transition: color 0.2s;
}
.widget-cat-link:hover, .widget-cat-link.active { color: var(--gold); font-weight: 600; }
.cat-count {
  background: var(--off-white); color: var(--text-light);
  padding: 2px 8px; border-radius: 12px; font-size: 0.78rem;
}
.widget-recent-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.widget-recent-link {
  display: block; color: var(--text); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; line-height: 1.4;
  transition: color 0.2s;
}
.widget-recent-link:hover { color: var(--gold); }
.widget-recent-date { display: block; font-size: 0.78rem; color: var(--text-light); margin-top: 3px; }
.blog-cta-widget { background: var(--navy); }
.blog-cta-widget h3 { color: var(--gold-light); margin-bottom: 8px; border-bottom-color: var(--gold); }
.blog-cta-widget p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

/* ── Single Post ── */
.post-main { padding: 56px 0 80px; }
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.post-article { min-width: 0; }
.post-breadcrumb {
  font-size: 0.83rem; color: var(--text-light); margin-bottom: 20px;
}
.post-breadcrumb a { color: var(--gold); text-decoration: none; }
.post-breadcrumb a:hover { text-decoration: underline; }
.post-header { margin-bottom: 28px; }
.post-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--navy);
  line-height: 1.25; margin: 14px 0 16px;
}
.post-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-light);
}
.post-excerpt-box {
  background: var(--gold-pale); border-left: 4px solid var(--gold);
  padding: 18px 22px; border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--text-mid); font-size: 1rem;
  margin-bottom: 32px; line-height: 1.7;
}
.post-content {
  font-size: 1rem; line-height: 1.85; color: var(--text);
  margin-bottom: 36px;
}
.post-content h2 {
  font-size: 1.5rem; color: var(--navy);
  margin: 36px 0 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.post-content h3 {
  font-size: 1.15rem; color: var(--navy);
  margin: 28px 0 10px;
}
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol {
  padding-left: 24px; margin-bottom: 18px;
}
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--navy); font-weight: 600; }
.post-content a { color: var(--gold); }
.post-content blockquote {
  border-left: 4px solid var(--gold); margin: 24px 0;
  padding: 14px 20px; background: var(--gold-pale);
  border-radius: 0 8px 8px 0; font-style: italic; color: var(--text-mid);
}
.post-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.post-tags strong { color: var(--text-mid); font-size: 0.9rem; }
.post-tag {
  background: var(--off-white); border: 1px solid var(--border);
  padding: 4px 14px; border-radius: 20px; font-size: 0.8rem; color: var(--text-mid);
}
.post-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 20px; background: var(--off-white); border-radius: 10px;
  margin-bottom: 40px; font-size: 0.9rem; font-weight: 600; color: var(--text-mid);
}
.share-btn {
  padding: 7px 16px; border-radius: 6px; text-decoration: none;
  font-size: 0.82rem; font-weight: 600; transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-wa { background: #25D366; color: white; }
.share-fb { background: #1877F2; color: white; }
.share-tw { background: #1DA1F2; color: white; }
.post-comments { border-top: 2px solid var(--border); padding-top: 40px; }
.comments-title {
  font-size: 1.4rem; color: var(--navy); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.comments-count {
  background: var(--navy); color: white;
  padding: 3px 12px; border-radius: 20px; font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
}
.no-comments { color: var(--text-light); font-style: italic; margin-bottom: 32px; }
.comments-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.comment-item { display: flex; gap: 16px; }
.comment-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.comment-body { flex: 1; background: var(--off-white); padding: 16px 20px; border-radius: 10px; }
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.comment-header strong { color: var(--navy); }
.comment-date { font-size: 0.8rem; color: var(--text-light); }
.comment-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; margin: 0; }
.comment-form-box {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.comment-form-box h3 { color: var(--navy); margin-bottom: 20px; font-size: 1.2rem; }
.comment-note { font-size: 0.8rem; color: var(--text-light); margin-bottom: 12px; }
.post-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.post-sidebar-cta {
  background: var(--navy); border-radius: 12px; padding: 24px;
  color: white;
}
.post-sidebar-cta h3 { color: var(--gold-light); margin-bottom: 8px; font-size: 1rem; }
.post-sidebar-cta p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

/* ── Responsive Blog ── */
@media (max-width: 900px) {
  .blog-layout, .post-layout { grid-template-columns: 1fr; }
  .blog-sidebar, .post-sidebar { position: static; }
}
@media (max-width: 600px) {
  .blog-search-form { flex-direction: column; }
  .blog-card { padding: 20px; }
  .post-meta { gap: 10px; }
  .post-share { flex-direction: column; align-items: flex-start; }
  .blog-preview-head { flex-direction: column; align-items: flex-start; }
}
