/* ===== CSS Variables ===== */
:root {
  --primary: #2D5016;
  --primary-light: #4A7C23;
  --primary-dark: #1E3A0F;
  --secondary: #F0FDF4;
  --accent: #22C55E;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-dark: #111827;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-icon-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-secondary);
}

.lang-toggle:hover {
  background: var(--secondary);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-icon {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 50%, #BBF7D0 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(45, 80, 22, 0.1) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title span {
  display: block;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.phone-illustration {
  max-width: 100%;
  width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(45, 80, 22, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(45, 80, 22, 0.2);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 20px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  border-radius: 32px;
  overflow: hidden;
}

.app-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 16px 16px;
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.app-time {
  font-size: 0.875rem;
  opacity: 0.8;
}

.app-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  flex: 1;
}

.dash-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.dash-icon {
  font-size: 1.5rem;
}

.dash-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.dash-card.primary { border-left: 3px solid var(--primary); }
.dash-card.success { border-left: 3px solid var(--accent); }
.dash-card.warning { border-left: 3px solid #F59E0B; }
.dash-card.info { border-left: 3px solid #3B82F6; }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== Section Styles ===== */
.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--secondary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: white;
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Pricing Section ===== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.billing-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.billing-label.active {
  color: var(--primary);
  font-weight: 600;
}

.discount-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 8px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: 0.3s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(28px);
}

/* pc-grid et pt-wrap désactivés — remplacés par pc4-wrap */
.pt-wrap { display: none; }
.pc-grid  { display: none; }

/* ══════════════════════════════════════════
   4 Cartes distinctes côte à côte — couleurs soft
══════════════════════════════════════════ */
.pc4-wrap {
  overflow-x: auto;
  padding: 4px 12px 8px; /* padding latéral pour que les bordures extérieures soient visibles */
}

.pc4-table {
  width: 100%;   /* pas de negative margin : les bordures ne sont plus clippées */
  margin: 0;
  border-collapse: separate;
  border-spacing: 12px 0;
  background: transparent;
  font-size: 0.865rem;
  table-layout: fixed;
}

/* Largeurs */
.pc4-col-feat    { width: 33%; }
.pc4-col-free,
.pc4-col-pro,
.pc4-col-premium { width: 22.3%; }

/* ── Bordures latérales par colonne (couleurs soft) ── */
.pc4-table tr > *:nth-child(1) { border-left: 2px solid #A7F3D0; border-right: 2px solid #A7F3D0; }
.pc4-table tr > *:nth-child(2) { border-left: 1.5px solid #BFDBFE; border-right: 1.5px solid #BFDBFE; }
.pc4-table tr > *:nth-child(3) { border-left: 2px solid #6EE7B7; border-right: 2px solid #6EE7B7; }
.pc4-table tr > *:nth-child(4) { border-left: 1.5px solid #FDE68A; border-right: 1.5px solid #FDE68A; }

/* ── Coins arrondis haut — première ligne du thead ── */
.pc4-table thead tr.pc4-head-row > *:nth-child(1) { border-top: 2px solid #A7F3D0; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pc4-table thead tr.pc4-head-row > *:nth-child(2) { border-top: 1.5px solid #BFDBFE; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pc4-table thead tr.pc4-head-row > *:nth-child(3) { border-top: 2px solid #6EE7B7; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pc4-table thead tr.pc4-head-row > *:nth-child(4) { border-top: 1.5px solid #FDE68A; border-top-left-radius: 16px; border-top-right-radius: 16px; }

/* ── Coins arrondis bas — ligne CTA finale ── */
.pc4-cta-final > *:nth-child(1) { border-bottom: 2px solid #A7F3D0; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pc4-cta-final > *:nth-child(2) { border-bottom: 1.5px solid #BFDBFE; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pc4-cta-final > *:nth-child(3) { border-bottom: 2px solid #6EE7B7; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pc4-cta-final > *:nth-child(4) { border-bottom: 1.5px solid #FDE68A; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }

/* ── En-tête "Fonctionnalités" ── */
.pc4-th-feat {
  background: #ECFDF5;
  text-align: center;
  padding: 30px 20px 26px;
  vertical-align: middle;
}
.pc4-feat-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #065F46;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.pc4-feat-desc {
  font-size: 0.78rem;
  color: #6B7280;
  font-weight: 400;
  line-height: 1.5;
  max-width: 190px;
  margin: 0 auto;
}

/* ── En-têtes plans ── */
.pc4-th {
  text-align: center;
  padding: 20px 12px 18px;
  vertical-align: top;
}
.pc4-th-free    { background: #EFF6FF; }
.pc4-th-pro     { background: #F0FDF4; }
.pc4-th-premium { background: #FFFBEB; }

.pc4-popular-tag {
  display: inline-block;
  background: #22C55E;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.pc4-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 50px;
  margin-bottom: 6px;
}
.pc4-badge-free    { background: #DBEAFE; color: #1E40AF; }
.pc4-badge-pro     { background: #BBF7D0; color: #14532D; }
.pc4-badge-premium { background: #FEF3C7; color: #78350F; }

.pc4-plan-name { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.04em; margin: 6px 0 4px; }
.pc4-th-free    .pc4-plan-name { color: #1E40AF; }
.pc4-th-pro     .pc4-plan-name { color: #14532D; }
.pc4-th-premium .pc4-plan-name { color: #78350F; }

.pc4-plan-price { font-size: 1rem; font-weight: 700; margin-top: 4px; }
.pc4-th-free    .pc4-plan-price { color: #1D4ED8; }
.pc4-th-pro     .pc4-plan-price { color: #15803D; }
.pc4-th-premium .pc4-plan-price { color: #B45309; }
.pc4-plan-price span { font-size: 0.75rem; font-weight: 400; }

.pc4-plan-annual { font-size: 0.72rem; margin-top: 3px; }
.pc4-th-free    .pc4-plan-annual { color: #93C5FD; }
.pc4-th-pro     .pc4-plan-annual { color: #4ADE80; }
.pc4-th-premium .pc4-plan-annual { color: #FCD34D; }

/* ── Ligne CTA finale — en bas du tableau ── */
.pc4-cta-final td { padding: 14px 12px 18px; text-align: center; }
.pc4-cta-final td:nth-child(1) { background: #ECFDF5; }
.pc4-cta-final td:nth-child(2) { background: #EFF6FF; }
.pc4-cta-final td:nth-child(3) { background: #F0FDF4; }
.pc4-cta-final td:nth-child(4) { background: #FFFBEB; }
.pc4-cta-feat-cell { background: #ECFDF5 !important; }
.pc4-cta-final td .btn,
.pc4-cta-final td button { width: 100%; }
.pc4-btn-premium { border-color: #F59E0B !important; color: #92400E !important; }
.pc4-btn-premium:hover { background: #FEF3C7 !important; }

/* ── Séparateurs de catégorie ── */
/* Base : neutre pour les 3 colonnes plan (2, 3, 4) */
.pc4-cat td {
  padding: 7px 16px 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  background: #F3F4F6;
  border-top: none;
  border-bottom: none;
}
/* Colonne Fonctionnalités uniquement → teinte verte */
.pc4-cat td:nth-child(1) {
  background: #D1FAE5;
  color: #065F46;
}

/* ── Lignes de fonctionnalités ── */
/* Pas de border-bottom : évite les lignes qui traversent les espaces entre cartes */
.pc4-row td {
  padding: 9px 14px;
  text-align: center;
  color: var(--text-primary);
  border-bottom: none;
  background: #fff;
  vertical-align: middle;
}
.pc4-row.pc4-alt td { background: #F9FAFB; }

/* Colonne features — texte à gauche */
.pc4-label { text-align: left !important; font-weight: 500; padding-left: 20px !important; }

/* Colonne PRO — pas de couleur de fond différente (comme les autres colonnes) */
.pc4-pro-col-val { background: inherit; }
.pc4-row.pc4-alt .pc4-pro-col-val { background: inherit; }

/* ✔ / ✗ */
.pc4-y { color: #16a34a; font-size: 1rem; font-weight: 700; }
.pc4-n { color: #D1D5DB; font-size: 0.95rem; }
.pc4-bold { font-weight: 700; }

/* ── Mobile : cartes individuelles (masquées sur desktop) ── */
.pc4-mobile { display: none; }

@media (max-width: 768px) {
  .pc4-wrap   { display: none; }
  .pc4-mobile { display: block; }

  .pc4m-card {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    border: 1.5px solid #E5E7EB;
  }
  .pc4m-card-pro {
    border-color: #6EE7B7;
    box-shadow: 0 4px 20px rgba(34,197,94,0.15);
  }

  .pc4m-header { padding: 24px 20px 20px; text-align: center; }
  .pc4m-header-free    { background: #EFF6FF; }
  .pc4m-header-pro     { background: #F0FDF4; }
  .pc4m-header-premium { background: #FFFBEB; }

  .pc4m-popular {
    display: inline-block;
    background: #22C55E;
    color: #fff;
    font-size: 0.63rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 6px;
  }
  .pc4m-badge {
    display: inline-block;
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
  }
  .pc4m-badge-free    { background: #DBEAFE; color: #1E40AF; }
  .pc4m-badge-pro     { background: #BBF7D0; color: #14532D; }
  .pc4m-badge-premium { background: #FEF3C7; color: #78350F; }

  .pc4m-name { font-size: 1.5rem; font-weight: 800; margin: 6px 0 4px; }
  .pc4m-header-free    .pc4m-name { color: #1E40AF; }
  .pc4m-header-pro     .pc4m-name { color: #14532D; }
  .pc4m-header-premium .pc4m-name { color: #78350F; }

  .pc4m-price { font-size: 1.05rem; font-weight: 700; }
  .pc4m-header-free    .pc4m-price { color: #1D4ED8; }
  .pc4m-header-pro     .pc4m-price { color: #15803D; }
  .pc4m-header-premium .pc4m-price { color: #B45309; }

  .pc4m-annual { font-size: 0.72rem; color: #9CA3AF; margin-top: 2px; margin-bottom: 4px; }

  .pc4m-features { background: #fff; }
  .pc4m-cat {
    padding: 8px 16px 6px;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6B7280;
    background: #F3F4F6;
  }
  .pc4m-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.83rem;
    background: #fff;
    gap: 8px;
  }
  .pc4m-row.pc4m-even { background: #F9FAFB; }
  .pc4m-feat { font-weight: 500; color: #1F2937; }
  .pc4m-pro-val { font-weight: 700; color: #15803D; }
  .pc4m-y { color: #16a34a; font-weight: 700; font-size: 1rem; }
  .pc4m-n { color: #D1D5DB; }
}

.pt-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.875rem;
  table-layout: fixed;
}

/* Column widths */
.pt-table .pt-feat-head,
.pt-table .pt-feat   { width: 34%; }
.pt-table td:not(.pt-feat):not(.pt-cta-empty),
.pt-table .pt-plan-head { width: 22%; }

/* ── Plan header cells ── */
.pt-plan-head {
  padding: 22px 12px 18px;
  text-align: center;
  vertical-align: top;
}
.pt-feat-head {
  padding: 22px 20px 18px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background: #2D5016;
  vertical-align: bottom;
}
.pt-h-free    { background: #6B7280; }
.pt-h-pro     { background: var(--primary); }
.pt-h-premium { background: #B45309; }

.pt-popular-tag {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.pt-plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.pt-plan-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  line-height: 1.2;
  margin-bottom: 2px;
}
.pt-plan-price span { font-size: 0.75rem; font-weight: 400; }
.pt-plan-annual {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

/* ── Category separator rows ── */
.pt-cat td {
  padding: 8px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6B7280;
  background: #F3F4F6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid #E5E7EB;
}

/* ── Feature rows ── */
.pt-row td {
  padding: 10px 12px;
  border-bottom: 1px solid #F3F4F6;
  text-align: center;
  color: #4B5563;
  font-size: 0.83rem;
  vertical-align: middle;
}
.pt-row:last-child td  { border-bottom: none; }
.pt-row:hover td       { background: #FAFAFA; }
.pt-row:hover .pt-pro  { background: #EDFAF3; }

.pt-feat {
  text-align: left;
  padding-left: 20px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

/* PRO column highlight */
.pt-pro {
  background: #F0FDF4;
  color: #15803d;
  font-weight: 600;
  border-left: 1.5px solid #86EFAC;
  border-right: 1.5px solid #86EFAC;
}

/* Check / Cross marks */
.pt-y { color: #16a34a; font-size: 16px; font-weight: 800; }
.pt-n { color: #D1D5DB; font-size: 15px; }

/* ── Footer CTA row ── */
.pt-table tfoot td {
  padding: 16px 10px;
  border-top: 2px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.pt-cta-empty { background: #2D5016; }
.pt-cta-pro {
  background: #F0FDF4;
  border-left: 1.5px solid #86EFAC;
  border-right: 1.5px solid #86EFAC;
}
.pt-cta-btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 9px 8px;
  white-space: nowrap;
}

/* Base card */
.pc-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09);
}

/* Popular card */
.pc-popular {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(22,163,74,0.15);
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100px);
}
.pc-popular:hover {
  box-shadow: 0 24px 56px rgba(22,163,74,0.2);
}

/* Premium card */
.pc-premium-card {
  border-color: #E5E7EB;
  background: linear-gradient(180deg, #FFFBF0 0%, #fff 80px);
}

/* "Most popular" ribbon */
.pc-popular-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 18px;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
}

/* Card header */
.pc-head {
  margin-bottom: 24px;
  padding-top: 10px;
}

/* Plan badge */
.pc-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.pc-free    { background: #E0E7FF; color: #4338CA; }
.pc-pro     { background: #DCFCE7; color: #15803d; }
.pc-premium { background: #FEF3C7; color: #B45309; }

/* Plan name */
.pc-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.1;
}

/* Tagline */
.pc-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

/* Price */
.pc-price-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.pc-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.pc-popular .pc-amount { color: var(--primary); }
.pc-unit {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-bottom: 4px;
}
.pc-unit-block {
  display: flex;
  flex-direction: column;
  padding-bottom: 2px;
  gap: 2px;
}
.pc-annual {
  font-size: 0.73rem;
  color: #9CA3AF;
}

/* CTA button — uses existing .btn classes */
.pc-card .btn-block { margin-bottom: 0; }

/* Features list */
.pc-features {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Category separator */
.pc-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  padding: 12px 0 5px;
}
.pc-cat:first-child { padding-top: 0; }

/* Feature item */
.pc-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  padding: 5px 0;
  color: var(--text-primary);
  line-height: 1.35;
}

/* Icon spans */
.pc-feat span:first-child {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.pc-yes span:first-child {
  background: #DCFCE7;
  color: #16a34a;
}
.pc-no span:first-child {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 10px;
}
.pc-no {
  color: #9CA3AF;
}

/* Highlighted features in Premium */
.pc-highlight {
  color: var(--text-primary);
  font-weight: 600;
}
.pc-highlight span:first-child {
  background: #FEF3C7;
  color: #B45309;
}

/* price-amount kept for JS billing toggle */
.price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.btn-block { width: 100%; }

/* ══════════════════════════════════════════
   Feature list inside cards — lignes alternées
══════════════════════════════════════════ */
.pf-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border);
}

/* Category separator */
.pf-cat {
  padding: 8px 16px 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  background: #F3F4F6;
  border-top: 1px solid #E5E7EB;
}
.pf-cat:first-child { border-top: none; }

/* Feature row */
.pf-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-size: 0.83rem;
  color: var(--text-primary);
  background: #fff;
  border-bottom: 1px solid #F3F4F6;
  line-height: 1.35;
}
.pf-row:last-child { border-bottom: none; }

/* Alternating row — grey */
.pf-row.pf-alt { background: #F9FAFB; }

/* Icon circle */
.pf-row span:first-child {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.pf-yes span:first-child { background: #DCFCE7; color: #16a34a; }
.pf-no  { color: #9CA3AF; }
.pf-no span:first-child  { background: #FEE2E2; color: #DC2626; font-size: 10px; }

/* PRO card feature rows — tint green when alt */
.pc-popular .pf-row.pf-alt { background: #F0FDF4; }

/* Deprecated */
.fc-wrap {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.875rem;
}

/* Column widths */
.fc-th-feat { width: 38%; }
.fc-th      { width: 20.6%; }

/* Header row */
.fc-table thead tr {
  border-bottom: 2px solid var(--border);
}
.fc-table thead th {
  padding: 14px 16px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: #F9FAFB;
}
.fc-th-feat {
  text-align: left;
  color: var(--text-primary);
}
.fc-th-pro {
  background: #F0FDF4;
  color: var(--primary);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* Category separator rows */
.fc-cat-row td {
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid #EEF2F7;
}

/* Feature rows */
.fc-row td {
  padding: 9px 16px;
  border-bottom: 1px solid #F3F4F6;
  text-align: center;
  color: #4B5563;
  vertical-align: middle;
  font-size: 0.84rem;
}
.fc-row:last-child td { border-bottom: none; }
.fc-row:hover td { background: #FAFAFA; }
.fc-row:hover .fc-pro-col { background: #EDFAF3; }

.fc-label {
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

/* PRO column highlight */
.fc-pro-col {
  background: #F0FDF4;
  color: #15803d;
  font-weight: 600;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* Check / Cross */
.fc-y {
  color: #16a34a;
  font-size: 15px;
  font-weight: 700;
}
.fc-n {
  color: #D1D5DB;
  font-size: 14px;
}

/* Enterprise Contact Card */
.enterprise-contact {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
}

.enterprise-contact h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.enterprise-contact p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.95;
}

.enterprise-contact .btn {
  background: white;
  color: var(--primary);
  border: none;
}

.enterprise-contact .btn:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ===== About Section ===== */
.about {
  padding: 100px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content .section-badge {
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-features {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--primary);
}

.about-icon {
  font-size: 1.25rem;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.africa-map-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.africa-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.africa-map-img {
  width: 100%;
  height: auto;
  filter: hue-rotate(75deg) saturate(1.2) brightness(1.05);
  transition: var(--transition);
}

.countries-highlight {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.highlight-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
}

.highlight-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.highlight-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}

.country-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background: var(--secondary);
}

.country-card .country-flag {
  font-size: 1.3rem;
}

.country-card .country-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ===== Download Section ===== */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.download-content {
  max-width: 700px;
  margin: 0 auto;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.download-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: white;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.store-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-small {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.store-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.download-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ===== Contact Section ===== */
.contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.method-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: var(--radius-sm);
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.method-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

a.method-value:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  margin-top: 8px;
}

.btn-submit svg {
  transition: var(--transition);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-dark);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-light);
}

.footer-column a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 1.25rem;
  transition: var(--transition);
}

.footer-social a:hover {
  transform: scale(1.2);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; margin-bottom: 40px; }
  .hero-description { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pc4-wrap { overflow-x: auto; }
  .pc4-table { min-width: 600px; font-size: 0.78rem; }
  .pc4-label { padding-left: 12px !important; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { margin-top: 40px; }
  .africa-map-container { max-width: 450px; margin: 0 auto; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-info .section-title { text-align: center; }
  .contact-methods { align-items: center; }
  .contact-method { width: 100%; max-width: 400px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.active { display: flex; }
  .nav-link { padding: 16px 0; }
  .nav-cta { text-align: center; margin-top: 16px; }
  .nav-toggle { display: flex; }
  .nav-auth {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
  }
  .nav-auth.active { display: flex; }
  .nav-auth .btn { width: 100%; justify-content: center; }
  .hero-title { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .pc4-wrap { border-radius: 12px; }
  .pc4-table { min-width: 480px; font-size: 0.73rem; }
  .about-features { flex-direction: column; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .country-card .country-name { font-size: 0.75rem; }
  .download-buttons { flex-direction: column; align-items: center; }
  .footer-links { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .phone-mockup { width: 250px; height: 500px; }
  .phone-illustration { width: 280px; }
  .section-title { font-size: 1.75rem; }
  .download-title { font-size: 1.75rem; }
}

/* ===== Payment Modal ===== */
.payment-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.payment-modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.payment-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.payment-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.payment-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.payment-modal-close:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.payment-modal-body {
  padding: 24px;
}

.payment-summary {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.payment-summary h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.summary-row span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.summary-row strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.payment-methods-info {
  background: #EFF6FF;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.payment-methods-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.payment-methods-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.payment-methods-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-methods-info li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.payment-terms {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.payment-terms a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .payment-modal-content {
    max-width: 100%;
    margin: 0;
    border-radius: var(--radius-md);
  }

  .payment-modal-header,
  .payment-modal-body {
    padding: 20px;
  }
}

