/* ==========================================================================
   SIMULATEUR DE PLUS-VALUE IMMOBILIÈRE - SYSTEM DESIGN & STYLES (MODERN FINTECH)
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary: #0077B6;
  --primary-dark: #005689;
  --primary-light: #0096C7;
  --accent: #00B4D8;
  --accent-light: #48CAE4;
  --secondary: #90E0EF;
  --secondary-light: #E0F7FA;
  
  /* Dark / Surface Colors */
  --dark: #0B132B;
  --dark-surface: #1C2541;
  --dark-card: #1E293B;
  
  /* Neutral Grays */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --white: #FFFFFF;
  
  /* Functional Colors */
  --success: #10B981;
  --success-bg: #ECFDF5;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;
  
  /* Spacing & Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows & Depth */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 45px -10px rgba(0, 119, 182, 0.14), 0 10px 20px -8px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(0, 180, 216, 0.25);
  
  /* Transitions & Font */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding, .section {
  padding: 4.5rem 0;
}

.bg-light, .bg-gray-100 {
  background-color: var(--gray-100);
}

.text-center {
  text-align: center;
}

/* Scroll Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  position: relative;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.3);
  transition: var(--transition);
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.4);
}

.brand-text span {
  color: var(--primary);
  font-weight: 800;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.nav-link svg, .nav-link i {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
  background-color: var(--secondary-light);
}

.nav-link:hover svg, .nav-link.active svg {
  transform: translateY(-1px);
  color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  min-width: 270px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.nav-dropdown-item a:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
  transform: translateX(3px);
}

.nav-dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* CTA Nav Button */
.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
  font-weight: 700;
  transition: var(--transition);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.45);
  transform: translateY(-2px);
}

.mobile-nav-toggle {
  display: none;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  background: var(--gray-200);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero-section, .hero-sub {
  background: linear-gradient(135deg, #0A192F 0%, #003B5C 50%, #0077B6 100%);
  color: var(--white);
  padding: 5rem 0 6.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before, .hero-sub::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(144, 224, 239, 0.2) 0%, rgba(0, 119, 182, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.15; }
  100% { transform: scale(1.15); opacity: 0.3; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-badge i, .hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title, .hero-sub h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.9px;
}

.hero-title span, .hero-sub h1 span {
  background: linear-gradient(135deg, #90E0EF 0%, #48CAE4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle, .hero-sub .lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature-item svg, .hero-feature-item i {
  color: var(--secondary);
  width: 18px;
  height: 18px;
}

.hero-card-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.hero-card-img:hover {
  transform: translateY(-4px);
  border-color: rgba(144, 224, 239, 0.5);
}

/* ==========================================================================
   SIMULATOR & CALCULATOR WIDGET
   ========================================================================== */

.simulator-container {
  margin-top: -4.5rem;
  position: relative;
  z-index: 100;
  margin-bottom: 3.5rem;
}

.sim-card, .calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.sim-header, .calc-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  color: var(--white);
  padding: 1.75rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(0, 119, 182, 0.4);
}

.sim-header h2, .calc-title h2 {
  font-size: 1.45rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: -0.3px;
}

.sim-header h2 svg, .calc-title h2 svg {
  color: var(--secondary);
}

.sim-body, .calc-grid {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.75rem;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label, label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tooltip-icon {
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  transition: var(--transition-fast);
}

.tooltip-icon:hover {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  pointer-events: none;
  transition: var(--transition-fast);
}

.input-suffix {
  position: absolute;
  right: 1rem;
  color: var(--gray-600);
  font-weight: 700;
  font-size: 0.9rem;
  pointer-events: none;
}

.form-control, .select-control {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
}

.select-control {
  padding-left: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%200077B6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.form-control:focus, .select-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.12);
  background-color: #FFFFFF;
}

.input-wrapper:focus-within .input-icon {
  color: var(--primary);
}

.form-control.has-suffix {
  padding-right: 3.25rem;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-800);
  background: var(--gray-50);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.custom-checkbox:hover {
  background: var(--secondary-light);
  border-color: var(--secondary);
}

.custom-checkbox input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* Simulator Results Panel */
.sim-results, .calc-results {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.results-header, .calc-results h3 {
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 1.1rem;
  margin-bottom: 1.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.results-header svg, .calc-results h3 svg {
  color: var(--primary);
}

.results-summary, .result-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.res-row, .result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.res-label {
  color: var(--gray-600);
  font-weight: 600;
}

.res-val {
  font-weight: 700;
  color: var(--dark);
}

.res-row.highlight, .result-box {
  background: var(--white);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary);
}

.res-row.total-tax {
  border-left-color: var(--danger);
  background: var(--danger-bg);
}

.res-row.net-profit, .highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.25);
  border-left: none;
}

.highlight-box .result-label {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-box .result-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 0.25rem;
  letter-spacing: -0.5px;
}

.res-row.total-tax .res-val, .text-danger {
  color: var(--danger);
  font-weight: 800;
}

.res-row.net-profit .res-val, .text-success {
  color: var(--success);
  font-weight: 800;
}

.progress-bar-container {
  margin-top: 1.25rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 0.45rem;
}

.progress-track {
  height: 12px;
  background: var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
  height: 100%;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-primary { background-color: var(--primary); }
.bg-danger { background-color: var(--danger); }
.bg-success { background-color: var(--success); }

.info-badge-box {
  background: var(--secondary-light);
  border: 1px solid rgba(144, 224, 239, 0.8);
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--primary-dark);
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  line-height: 1.5;
}

.info-badge-box svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.exemption-banner {
  background: var(--success-bg);
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.exemption-banner svg, .exemption-banner i {
  font-size: 1.6rem;
  color: var(--success);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   CARDS & GRID LAYOUTS
   ========================================================================== */

.section-title-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.75rem;
  background: var(--secondary-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
}

.heading-1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.6px;
}

.heading-2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.4px;
}

.lead {
  font-size: 1.12rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.cards-grid, .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.align-center {
  align-items: center;
}

.feature-card, .card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before, .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover, .card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 182, 0.2);
}

.feature-card:hover::before, .card:hover::before {
  opacity: 1;
}

.feature-icon-box, .feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--secondary-light) 0%, #E0F2FE 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(0, 119, 182, 0.1);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.08) rotate(-4deg);
  background: var(--primary);
  color: var(--white);
}

.feature-card h3, .card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--dark);
}

.feature-card p, .card p {
  color: var(--gray-600);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.styled-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

.styled-list.light li {
  color: rgba(255, 255, 255, 0.9);
}

.styled-list.light li::before {
  color: var(--secondary);
}

/* ==========================================================================
   TABLES & ACCORDIONS
   ========================================================================== */

.table-responsive {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: var(--dark-surface);
  color: var(--white);
  padding: 1.1rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.custom-table td {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-800);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover {
  background-color: var(--gray-50);
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-primary { background: var(--secondary-light); color: var(--primary-dark); }
.badge-accent { background: var(--primary); color: var(--white); }

/* FAQ Accordion */
.faq-accordion, .accordion {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item, .accordion-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-item:hover, .accordion-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question, .accordion-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover, .accordion-header:hover {
  background-color: var(--gray-50);
  color: var(--primary);
}

.faq-icon, .accordion-header svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-answer, .accordion-content {
  padding: 0 1.75rem 1.5rem;
  color: var(--gray-600);
  font-size: 1rem;
  display: none;
  line-height: 1.65;
  border-top: 1px solid var(--gray-100);
}

.faq-item.active, .accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question, .accordion-item.active .accordion-header {
  color: var(--primary-dark);
  background-color: var(--secondary-light);
}

.faq-item.active .faq-answer, .accordion-item.active .accordion-content {
  display: block;
}

.faq-item.active .faq-icon, .accordion-item.active svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 119, 182, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, var(--dark) 0%, #050B18 100%);
  color: var(--gray-300);
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  color: var(--white);
}

.footer-brand p {
  color: var(--gray-400);
  margin-top: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: -0.2px;
}

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

.footer-links a {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--gray-400);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid, .sim-body, .calc-grid, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .cards-grid, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .hero-title, .hero-sub h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .form-grid, .form-row {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .cards-grid, .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-title, .hero-sub h1 {
    font-size: 2.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .sim-header, .calc-header {
    padding: 1.25rem 1.5rem;
  }

  .sim-body, .calc-grid {
    padding: 1.5rem;
  }
}