/* ============================================
   FRENCHWISEACADEMY.COM — MAIN STYLESHEET
   ============================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #1A3C6E;
  --primary-light: #2B5FA8;
  --primary-dark: #0F2548;
  --secondary: #C8102E;
  --accent: #D4A017;
  --accent-light: #F0C040;
  --success: #16A34A;
  --light: #EBF4FF;
  --light-gray: #F8FAFC;
  --border: #E2E8F0;
  --text-dark: #0D1B2A;
  --text-body: #374151;
  --text-muted: #6B7280;
  --white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(26,60,110,0.20);

  --transition: 0.25s ease;
  --nav-height: 76px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION BASE ---- */
.section {
  padding: 96px 0;
}

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

.section-tag {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(26,60,110,0.12);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

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

.text-accent { color: var(--primary); }
.text-gradient {
  color: var(--secondary);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,60,110,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { margin-left: 4px; transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.announcement-bar a {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: underline;
}
.announcement-bar p { margin: 0; }
.announcement-close {
  position: absolute;
  right: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 8px;
  transition: color var(--transition);
}
.announcement-close:hover { color: var(--white); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; }
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}
.logo-accent { color: var(--primary); }

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--light); }

.nav-dropdown { position: relative; }
.dropdown-arrow { font-size: 0.7rem; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown-menu a:hover { background: var(--light); color: var(--primary); }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height) - 40px);
  background:
    linear-gradient(135deg, rgba(8,20,50,0.92) 0%, rgba(20,50,100,0.86) 50%, rgba(26,82,118,0.82) 100%),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1800&q=80') center/cover no-repeat fixed;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--white);
}
.hero-shape-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -200px;
}
.hero-shape-2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}
.proof-avatars {
  display: flex;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  object-fit: cover;
}
.avatar + .avatar { margin-left: -10px; }
.proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.proof-stars { color: var(--accent-light); font-size: 0.9rem; }

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 420px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
}

.hero-card-main {
  width: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hcard-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hcard-icon { font-size: 2rem; }
.hcard-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; }
.hcard-value { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); }
.progress-bar-wrap {
  height: 8px;
  background: var(--light);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 100px;
  animation: fillBar 1.5s ease forwards;
}
@keyframes fillBar {
  from { width: 0; }
}
.hcard-note { font-size: 0.78rem; color: var(--success); font-weight: 600; }

.hero-card-stat {
  padding: 16px 20px;
  text-align: center;
  border-radius: var(--radius);
  min-width: 110px;
}
.stat-left { bottom: 60px; left: 0; z-index: 3; }
.stat-right { top: 60px; right: 0; z-index: 3; }
.stat-num { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-lbl { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.hero-flag {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--light-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.trust-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}
.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================
   WHY FRENCH
   ============================================ */
.why-french { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  background: var(--white);
}
.why-icon { font-size: 2.2rem; margin-bottom: 16px; }
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.why-card p { font-size: 0.925rem; color: var(--text-muted); line-height: 1.7; }
.why-card strong { color: var(--primary); }

/* ============================================
   COURSES
   ============================================ */
.courses-section { background: var(--light-gray); }

.course-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.course-tab {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--border);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.course-tab:hover { color: var(--primary); background: var(--light); }
.course-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.course-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.course-ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(35deg);
  letter-spacing: 0.05em;
}

.course-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--light);
  color: var(--primary);
  width: fit-content;
}
.badge-blue { background: #EFF6FF; color: #1D4ED8; }
.badge-gold { background: #FFFBEB; color: #92400E; }
.badge-red { background: #FEF2F2; color: var(--secondary); }

.course-level {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.course-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.course-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.course-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.course-features li { font-size: 0.875rem; color: var(--text-body); }

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.course-price { font-size: 0.875rem; color: var(--text-muted); }
.course-price strong { font-size: 1.2rem; color: var(--primary); }

.courses-cta {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--primary);
}
.courses-cta p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; }
.courses-cta strong { color: var(--primary); }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works { background: var(--primary); }
.how-it-works .section-tag { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.2); }
.how-it-works .section-title { color: var(--white); }
.how-it-works .text-accent { color: var(--accent-light); }
.how-it-works .section-subtitle { color: rgba(255,255,255,0.75); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  max-width: 240px;
  transition: all var(--transition);
}
.step-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 10px;
}
.step-card p { font-size: 0.875rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

.step-connector {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.35);
  padding: 0 8px;
  margin-top: 80px;
  flex-shrink: 0;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us { background: var(--white); }

.why-us-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 10px;
}
.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.feature-text p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

.image-card-wrap {
  position: relative;
  height: 440px;
}

.placeholder-image {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, var(--light) 0%, #D6E8FF 100%);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-content { text-align: center; }
.placeholder-icon { font-size: 4rem; margin-bottom: 12px; }
.placeholder-content p { color: var(--text-muted); font-size: 1rem; font-weight: 500; }

.floating-badge {
  position: absolute;
  top: 24px;
  right: -24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  z-index: 2;
  animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.badge-emoji { font-size: 1.5rem; }
.floating-badge strong { display: block; font-size: 0.85rem; color: var(--text-dark); font-weight: 700; }
.floating-badge span { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--light-gray); }

.testimonials-slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto 32px;
  min-height: 280px;
}

.testimonial-card {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 48px 36px;
  position: relative;
}
.testimonial-card.active { display: block; }

.tcard-quote {
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 0.6;
  margin-bottom: 16px;
}

.tcard-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}

.tcard-author {
  display: block;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.tcard-info { display: flex; flex-direction: column; gap: 3px; }
.tcard-info strong { font-size: 1rem; color: var(--text-dark); font-weight: 700; }
.tcard-info span { font-size: 0.82rem; color: var(--text-muted); }
.tcard-result { color: var(--primary) !important; font-weight: 600 !important; }

.tcard-stars {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 1px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.slider-dot.active { background: var(--primary); transform: scale(1.3); }

/* ============================================
   PRICING
   ============================================ */
.pricing { background: var(--white); }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 100px;
  transition: background var(--transition);
  cursor: pointer;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); }
.badge-save {
  background: var(--success);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pcard-ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 44px;
  transform: rotate(35deg);
  letter-spacing: 0.05em;
}

.pcard-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.pcard-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }

.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.price-curr { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); }
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-period { font-size: 0.875rem; color: var(--text-muted); }

.pcard-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pcard-features li { font-size: 0.9rem; color: var(--text-body); }
.feature-off { color: var(--text-muted); text-decoration: line-through; opacity: 0.6; }

.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-body);
}
.guarantee-icon { font-size: 1.75rem; flex-shrink: 0; }

/* ============================================
   INSTRUCTORS
   ============================================ */
.instructors { background: var(--light-gray); }

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.instructor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.instructor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.instructor-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  overflow: hidden;
  margin: 0 auto 16px;
}
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.instructor-title { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.instructor-bio { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.instructor-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.instructor-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--light);
  color: var(--primary);
  border: 1px solid rgba(26,60,110,0.12);
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-section {
  background: linear-gradient(135deg, var(--light) 0%, #E8F4FF 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.demo-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}
.demo-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }

.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.demo-benefits li { font-size: 0.95rem; color: var(--text-body); font-weight: 500; }

.demo-schedule {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  background: rgba(26,60,110,0.06);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.demo-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.demo-form h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,110,0.1);
}
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

.demo-success {
  text-align: center;
  padding: 48px 32px;
}
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.demo-success h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-dark); margin-bottom: 12px; }
.demo-success p { color: var(--text-muted); }

/* ============================================
   FAQ
   ============================================ */
.faq-section { background: var(--white); }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light-gray); }
.faq-item.open .faq-question { background: var(--light); color: var(--primary); }

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 4px 22px 20px;
}
.faq-answer p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

.faq-more {
  text-align: center;
  margin-top: 36px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.faq-more a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* ============================================
   CONTACT STRIP
   ============================================ */
.contact-strip {
  background: var(--primary);
  padding: 48px 0;
}
.contact-strip-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-icon { font-size: 2rem; }
.cs-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); font-weight: 500; margin-bottom: 2px; }
.cs-value { font-size: 0.95rem; color: var(--white); font-weight: 600; }
a.cs-value:hover { color: var(--accent-light); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #ffffff;
  mix-blend-mode: normal;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 0 3px rgba(255,255,255,0.1), 0 0 0 4px rgba(200,16,30,0.25);
}
.footer-motto {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 280px;
  letter-spacing: 0.01em;
  padding-left: 14px;
  border-left: 3px solid var(--secondary);
}
.footer-motto strong {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 8px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
}
.social-link:hover { background: var(--primary-light); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.footer-disclaimer { font-size: 0.75rem !important; max-width: 600px; margin: 0 auto; }

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  border-radius: 100px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.whatsapp-icon { font-size: 1.2rem; }

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 998;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top.visible { display: flex; }

/* ============================================
   LEVELS SECTION
   ============================================ */
.levels-section { background: var(--light-gray); }

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.level-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
}
.level-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.level-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.level-icon { font-size: 2.5rem; }
.level-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--light);
  color: var(--primary);
  width: fit-content;
  letter-spacing: 0.04em;
}
.level-badge-blue { background: #EFF6FF; color: #1D4ED8; }
.level-badge-red { background: #FEF2F2; color: var(--secondary); }

.level-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}
.level-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.level-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.level-points li {
  font-size: 0.875rem;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}
.level-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   RESPONSIVE — TABLET (≤960px)
   ============================================ */
@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-visual { display: none; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .step-connector { display: none; }
  .why-us-container { grid-template-columns: 1fr; }
  .why-us-image { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .instructors-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================ */
@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  .section { padding: 64px 0; }

  .announcement-bar { font-size: 0.78rem; padding: 10px 40px 10px 16px; }

  /* Nav */
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { display: flex; flex-direction: column; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
  .nav-link { font-size: 1rem; padding: 12px 16px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--light); padding: 4px 0 4px 16px; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-actions { margin-top: 8px; flex-direction: column; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .trust-container { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-divider { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .levels-grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 40px; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-card { max-width: 100%; }

  .testimonial-card { padding: 32px 24px 28px; }
  .tcard-stars { position: static; margin-bottom: 16px; }

  .demo-form-wrap { padding: 24px 20px; }

  .contact-strip-container { flex-direction: column; text-align: center; gap: 24px; }
  .contact-strip-item { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-tagline { max-width: 100%; }

  .instructors-grid { grid-template-columns: 1fr; }
  .pricing-grid { max-width: 100%; }

  .back-to-top { bottom: 28px; }
}

/* ============================================
   DEMO POPUP MODAL
   ============================================ */
.demo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,25,55,0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.demo-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.demo-popup {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(10,25,55,0.25);
  animation: popupSlideIn 0.4s ease forwards;
}
@keyframes popupSlideIn {
  from { transform: translateY(24px) scale(0.97); }
  to   { transform: translateY(0) scale(1); }
}
.demo-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.demo-popup-close:hover { background: var(--light-gray); color: var(--text-dark); }
.demo-popup-badge {
  display: inline-block;
  background: rgba(200,16,46,0.1);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.demo-popup-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.25;
}
.demo-popup-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.demo-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-popup-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.demo-popup-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,110,0.1);
}
.demo-popup-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  margin-bottom: 0;
}
.demo-popup-success {
  text-align: center;
  padding: 16px 0 8px;
}
.demo-popup-success p:first-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.demo-popup-success p:last-child {
  font-size: 0.88rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .demo-popup { padding: 36px 24px 28px; }
  .demo-popup-title { font-size: 1.3rem; }
}

/* ============================================
   GLOSS LAYER — PREMIUM VISUAL POLISH
   ============================================ */

/* Announcement bar: brand gradient */
.announcement-bar {
  background: linear-gradient(90deg, #0a1937 0%, #1a3c6e 45%, #8b0a1e 75%, #c8102e 100%);
}

/* Navbar: glass blur on scroll */
.navbar.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 28px rgba(26,60,110,0.13);
}

/* Buttons: gradient + shimmer sweep + glow */
.btn-primary {
  background: linear-gradient(135deg, #2B5FA8 0%, #1A3C6E 60%, #0F2548 100%);
  box-shadow: 0 4px 18px rgba(26,60,110,0.34), inset 0 1px 0 rgba(255,255,255,0.16);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -110%; width: 65%; bottom: 0;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3068b8 0%, #1A3C6E 100%);
  box-shadow: 0 6px 26px rgba(26,60,110,0.44), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-primary:hover::after { left: 150%; }

/* Trust bar: dark premium strip */
.trust-bar {
  background: linear-gradient(135deg, #08142a 0%, #0f2548 50%, #1a3c6e 100%);
  border-top: none;
  border-bottom: none;
  padding: 44px 0;
}
.trust-num { color: #ffffff !important; text-shadow: 0 0 20px rgba(255,255,255,0.15); }
.trust-label { color: rgba(255,255,255,0.62) !important; }
.trust-divider { background: rgba(255,255,255,0.14) !important; }

/* Why French cards */
.why-card {
  background: linear-gradient(155deg, #ffffff 0%, #f4f7ff 100%);
  border: 1px solid rgba(26,60,110,0.08);
  box-shadow: 0 2px 18px rgba(26,60,110,0.06), inset 0 1px 0 rgba(255,255,255,1);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(26,60,110,0.2), transparent);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(26,60,110,0.13), inset 0 1px 0 rgba(255,255,255,1);
  border-color: rgba(26,60,110,0.16);
}

/* Pricing cards */
.pricing-card {
  background: linear-gradient(155deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 4px 26px rgba(26,60,110,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(26,60,110,0.10);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), #2d7dd2);
  opacity: 0.55;
}
.pricing-card-featured {
  background: linear-gradient(145deg, #deeeff 0%, #c3ddff 100%);
  box-shadow: 0 10px 36px rgba(26,60,110,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 2px solid rgba(26,60,110,0.18);
}
.pricing-card-featured::before {
  background: linear-gradient(90deg, var(--primary), #2B5FA8);
  opacity: 0.7;
}
.pricing-card:not(.pricing-card-featured):hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 48px rgba(26,60,110,0.14);
}

/* Price offer strip (10% first-month discount) */
.pcard-offer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pcard-original {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.pcard-save {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(200,16,46,0.1);
  color: var(--secondary);
  padding: 2px 9px;
  border-radius: 100px;
}
.pricing-card-featured .pcard-original { color: rgba(255,255,255,0.50); }
.pricing-card-featured .pcard-save { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.90); }

/* Level cards */
.level-card {
  background: linear-gradient(155deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow: 0 3px 22px rgba(26,60,110,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.level-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), #2d7dd2);
}
.level-card:not(.level-card-featured):hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 38px rgba(26,60,110,0.13);
}
.level-card-featured {
  background: linear-gradient(145deg, #deeeff 0%, #c3ddff 100%);
  box-shadow: 0 10px 36px rgba(26,60,110,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 2px solid rgba(26,60,110,0.18);
}
.level-card-featured::before {
  background: linear-gradient(90deg, var(--primary), #2B5FA8);
}

/* How-it-works step cards */
.step-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 22px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 14px 40px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* Testimonial cards */
.testimonial-card {
  background: linear-gradient(155deg, #ffffff 0%, #f6f9ff 100%) !important;
  box-shadow: 0 4px 30px rgba(26,60,110,0.09), inset 0 1px 0 rgba(255,255,255,0.9) !important;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26,60,110,0.07) !important;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary-light));
}

/* FAQ items */
.faq-item {
  background: linear-gradient(155deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 2px 14px rgba(26,60,110,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item.open {
  box-shadow: 0 5px 22px rgba(26,60,110,0.10);
  border-color: rgba(26,60,110,0.18);
}

/* Demo form */
.demo-form-wrap {
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 10px 44px rgba(26,60,110,0.13), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Section backgrounds */
.levels-section { background: linear-gradient(178deg, #eef2ff 0%, #e3ecfa 100%); }
.faq-section    { background: linear-gradient(178deg, #f0f4ff 0%, #e8eefb 100%); }

/* Footer deep gradient */
.footer {
  background: linear-gradient(175deg, #08142a 0%, #0d1f40 55%, #0a1730 100%);
}

/* Demo popup glossy */
.demo-popup {
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 28px 80px rgba(8,20,42,0.28), inset 0 1px 0 rgba(255,255,255,0.9);
}
