/* ==========================================================================
   FINANCE QUICKLY HOME & AUTO FINANCING DESIGN SYSTEM
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
  --primary-color: #0d9488;      /* Teal */
  --primary-hover: #0f766e;      /* Dark Teal */
  --primary-light: #2dd4bf;      /* Light Teal */
  --accent-color: #d97706;       /* Gold */
  --accent-light: #f59e0b;       /* Light Gold */
  
  --bg-dark: #070d19;            /* Deep Slate Navy */
  --bg-card: rgba(15, 23, 42, 0.7); /* Slate Card */
  --border-glass: rgba(13, 148, 136, 0.15); /* Teal Border */
  
  --text-main: #f1f5f9;          /* Gray 100 */
  --text-muted: #94a3b8;         /* Gray 400 */
  --text-highlight: #ffffff;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.finance-body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background glowing lights */
body.finance-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 900px;
  background: radial-gradient(circle at 75% 20%, rgba(13, 148, 136, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* 2. Header & Navigation */
.site-header {
  position: relative;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(7, 13, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-highlight);
}

.logo-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.4));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 50%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.site-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

/* 3. Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 10;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(13, 148, 136, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-highlight);
  background: linear-gradient(to right, #ffffff, #99f6e4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* 4. Choice Tracks Styles */
.financing-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .financing-tracks {
    grid-template-columns: 1fr;
  }
}

.track-card {
  padding: 1.75rem !important;
  border-color: rgba(13, 148, 136, 0.25) !important;
  background: rgba(15, 23, 42, 0.5) !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: var(--transition-smooth);
}

.track-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light) !important;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25) !important;
}

.track-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.track-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-highlight);
  font-family: var(--font-display);
}

.track-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.track-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  font-family: var(--font-display);
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* 5. Pre-Qualify Form Panel */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-form-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-highlight);
  font-family: var(--font-display);
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  width: 100%;
  background: rgba(7, 13, 25, 0.7);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-group select option {
  background: #0f172a;
  color: #fff;
}

.pricing-box {
  background: rgba(13, 148, 136, 0.05);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-light);
  font-family: var(--font-display);
}

.price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-submit-match {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
  transition: var(--transition-smooth);
}

.btn-submit-match:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
}

/* 6. Layout Grid & Main Content */
.main-layout-container {
  max-width: 1200px;
  margin: 3rem auto 6rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.layout-grid {
  display: grid;
  grid-template-columns: 2.3fr 0.7fr;
  gap: 3rem;
}

@media (max-width: 968px) {
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.main-article {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2.5rem;
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.meta-item.category {
  color: var(--primary-light);
  font-weight: 600;
}

.meta-item.date {
  color: var(--text-muted);
}

.article-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-highlight);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.article-content {
  font-size: 1.05rem;
  color: #cbd5e1;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  color: var(--text-highlight);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem 0;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Planners style */
.curriculum-accordion {
  margin: 3rem 0;
}

.curriculum-accordion h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-highlight);
  border-left: 3px solid var(--primary-color);
  padding-left: 0.75rem;
  font-family: var(--font-display);
}

.accordion-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.module-num {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.item-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-highlight);
}

.item-body {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 7. Sidebar Components */
.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-highlight);
}

.card-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.sidebar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats list */
.stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-light);
  min-width: 60px;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sidebar-link {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.link-bullet {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.link-text {
  display: flex;
  flex-direction: column;
}

.link-title {
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.sidebar-link:hover .link-title {
  color: var(--primary-light);
}

.link-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.benefit-list li strong {
  color: var(--primary-light);
}

/* 8. Footer Section */
.site-footer {
  background: #050a12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  z-index: 10;
}

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

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}

.footer-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-col ul a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
