/* =====================================================
   AUTOVAL EXPERT - GLOBAL STYLESHEET
   css/style.css
===================================================== */

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  background: #F8FAFC;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }
select, input { font-family: inherit; }

/* =====================================================
   CSS VARIABLES
===================================================== */
:root {
  --blue-dark: #081D45;
  --blue: #0D2F6B;
  --blue-light: #1A4FAA;
  --red: #D42027;
  --red-light: #E8444A;
  --bg: #F8FAFC;
  --text: #1E293B;
  --gray: #64748B;
  --light-gray: #F1F5F9;
}

/* =====================================================
   CUSTOM SCROLLBAR
===================================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-light); }

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.animate-on-scroll {
  opacity: 0; transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  .particle, .glow { animation: none !important; }
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.5s ease;
  animation: slideDown 0.6s ease;
}
.navbar.scrolled {
  background: rgba(13, 47, 107, 0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.navbar-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.navbar-links { display: flex; align-items: center; gap: 0.25rem; }

/* Nav links with icons */
.nav-link {
  display: flex; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.7) !important; font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 0.6rem; border-radius: 0.4rem;
  position: relative; transition: all 0.3s; white-space: nowrap;
}
.nav-link i {
  font-size: 0.75rem; color: var(--red-light);
  transition: all 0.3s; opacity: 0.6;
  min-width: 14px; text-align: center;
}
.nav-link:hover { color: #fff !important; background: rgba(255,255,255,0.08); }
.nav-link:hover i { opacity: 1; transform: scale(1.15); }
.nav-link:active { transform: scale(0.95); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--red); border-radius: 1px;
  transition: all 0.3s; transform: translateX(-50%);
}
.nav-link:hover::after { width: 50%; }
.nav-link.active-link { color: #fff !important; }
.nav-link.active-link i { opacity: 1; }
.nav-link.active-link::after { width: 50%; }

/* CTA button */
.navbar-cta {
  background: var(--red); color: #fff !important;
  padding: 0.5rem 1rem; border-radius: 0.4rem;
  font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.35rem;
  transition: all 0.3s; white-space: nowrap; margin-left: 0.25rem;
}
.navbar-cta:hover {
  background: var(--red-light);
  box-shadow: 0 6px 20px rgba(212,32,39,0.25); transform: translateY(-1px);
}
.navbar-cta:active { transform: scale(0.95); }
.navbar-cta::after { display: none !important; }
.navbar-cta i { font-size: 0.7rem; }

/* Login button */
.navbar-login {
  display: flex; align-items: center; gap: 0.35rem;
  color: #fff !important; padding: 0.5rem 1rem; border-radius: 0.4rem;
  font-size: 0.8rem; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.3s; white-space: nowrap; margin-left: 0.15rem;
}
.navbar-login:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5); transform: translateY(-1px);
}
.navbar-login:active { transform: scale(0.95); }
.navbar-login::after { display: none !important; }
.navbar-login i { font-size: 0.75rem; }

/* Mobile */
.mobile-toggle {
  display: none; background: none; color: #fff; font-size: 1.5rem; padding: 0.5rem;
}
.mobile-menu {
  display: none; background: rgba(13,47,107,0.98);
  backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.8); padding: 0.75rem 0; font-size: 1rem; font-weight: 500;
}
.mobile-menu a:hover { color: #fff; }
.mobile-menu a i { width: 20px; text-align: center; color: var(--red-light); font-size: 0.85rem; }

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .mobile-toggle { display: block; }
}

/* =====================================================
   HERO SECTION (Landing page)
===================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #081D45 0%, #0D2F6B 30%, #1A4FAA 60%, #0D2F6B 80%, #081D45 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, transparent 40%, rgba(212,32,39,0.08) 60%, transparent 80%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.particle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05); }
.particle-1 { width: 60px; height: 60px; top: 10%; left: 5%; animation: float 5s ease-in-out infinite; }
.particle-2 { width: 100px; height: 100px; top: 25%; left: 21%; animation: float 6.5s ease-in-out infinite 0.8s; }
.particle-3 { width: 140px; height: 140px; top: 40%; left: 37%; animation: float 8s ease-in-out infinite 1.6s; }
.particle-4 { width: 180px; height: 180px; top: 55%; left: 53%; animation: float 9.5s ease-in-out infinite 2.4s; }
.particle-5 { width: 220px; height: 220px; top: 70%; left: 69%; animation: float 11s ease-in-out infinite 3.2s; }
.particle-6 { width: 260px; height: 260px; top: 85%; left: 85%; animation: float 12.5s ease-in-out infinite 4s; }
.glow-red {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,32,39,0.15) 0%, transparent 70%);
  top: 20%; right: -5%; animation: pulseGlow 4s ease-in-out infinite;
}
.glow-blue {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,79,170,0.2) 0%, transparent 70%);
  bottom: 10%; left: -10%; animation: pulseGlow 6s ease-in-out infinite;
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 1280px; margin: 0 auto; padding: 8rem 1.5rem 6rem; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-left { animation: fadeInLeft 0.8s ease 0.2s both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border-radius: 9999px; padding: 0.5rem 1rem; margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease 0.4s both;
}
.hero-badge i { color: var(--red); font-size: 0.875rem; }
.hero-badge span { color: rgba(255,255,255,0.9); font-size: 0.875rem; font-weight: 500; }
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 1.5rem;
}
.hero-title .highlight {
  background: linear-gradient(to right, var(--red), var(--red-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  color: rgba(255,255,255,0.7); font-size: 1.125rem; line-height: 1.7;
  margin-bottom: 2rem; max-width: 520px;
}
.hero-features { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-feature {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.6); font-size: 0.875rem;
}
.hero-feature i { color: var(--red); }
.hero-right { animation: fadeInRight 0.8s ease 0.4s both; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; display: block; }

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

/* =====================================================
   GLASS FORM CARD (Hero form)
===================================================== */
.form-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 1rem; padding: 2rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.form-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.form-icon {
  width: 2.5rem; height: 2.5rem; background: var(--red);
  border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
}
.form-icon i { color: #fff; font-size: 1.125rem; }
.form-header-text h2 {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1.125rem; color: #fff;
}
.form-header-text p { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.form-submit {
  width: 100%; margin-top: 1.5rem;
  background: linear-gradient(to right, var(--red), var(--red-light));
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700;
  padding: 1rem; border-radius: 0.75rem; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: all 0.3s;
}
.form-submit:hover { transform: scale(1.02); box-shadow: 0 20px 40px rgba(212,32,39,0.3); }
.form-submit:active { transform: scale(0.98); }
.form-submit i { transition: transform 0.3s; }
.form-submit:hover i { transform: translateX(4px); }
.form-note { text-align: center; color: rgba(255,255,255,0.3); font-size: 0.75rem; margin-top: 0.75rem; }

/* Form tabs & usage cards & custom selects — Landing page hero form */
.form-tabs { display: flex; gap: 4px; margin-bottom: 1.25rem; background: rgba(255,255,255,0.06); border-radius: 0.75rem; padding: 4px; }
.form-tab { flex: 1; padding: 0.65rem; border-radius: 0.6rem; background: none; color: rgba(255,255,255,0.45); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.3s; cursor: pointer; }
.form-tab:hover { color: rgba(255,255,255,0.7); }
.form-tab.active { background: rgba(255,255,255,0.15); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.form-label { display: block; color: rgba(255,255,255,0.65); font-size: 0.75rem; font-weight: 500; margin-bottom: 0.5rem; }
.usage-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; margin-bottom: 0.5rem; }
.usage-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.75rem 0.25rem; border-radius: 0.75rem; background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.08); cursor: pointer; transition: all 0.3s; text-align: center; }
.usage-card i:not(.fa-check) { font-size: 1.15rem; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.usage-card span { font-size: 0.6rem; color: rgba(255,255,255,0.4); font-weight: 500; line-height: 1.2; transition: color 0.3s; }
.usage-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); }
.usage-card:hover i:not(.fa-check), .usage-card:hover span { color: rgba(255,255,255,0.75); }
.usage-card.selected { background: rgba(255,255,255,0.14); border-color: #10B981; }
.usage-card.selected i:not(.fa-check), .usage-card.selected span { color: #fff; }
.usage-check { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #10B981; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; opacity: 0; transform: scale(0); transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.usage-card.selected .usage-check { opacity: 1; transform: scale(1); }
@media(max-width:480px) { .usage-grid { grid-template-columns: repeat(2,1fr); } }

/* Custom select (glass - hero form) */
.cselect-wrap { margin-bottom: 0.75rem; }
.cselect { position: relative; width: 100%; }
.cselect.disabled { opacity: 0.45; pointer-events: none; }
.cselect-trigger { display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 0.75rem; padding: 0.75rem 1rem; cursor: pointer; transition: all 0.3s; }
.cselect-trigger:hover { border-color: rgba(255,255,255,0.25); }
.cselect.open .cselect-trigger { border-color: rgba(212,32,39,0.5); box-shadow: 0 0 0 3px rgba(212,32,39,0.12); border-radius: 0.75rem 0.75rem 0 0; }
.cselect-val { flex: 1; color: rgba(255,255,255,0.35); font-size: 0.875rem; display: flex; align-items: center; gap: 0.6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect-val.has-val { color: #fff; }
.cselect-val img { width: 22px; height: 22px; object-fit: contain; border-radius: 3px; background: #fff; padding: 1px; }
.cselect-arrow { color: rgba(255,255,255,0.35); font-size: 0.7rem; transition: transform 0.3s; }
.cselect.open .cselect-arrow { transform: rotate(180deg); }
.cselect-loader { display: none !important; color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.cselect.loading .cselect-loader { display: inline-block !important; }
.cselect.loading .cselect-arrow { display: none !important; }
.cselect-drop { position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,47,107,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.12); border-top: none; border-radius: 0 0 0.75rem 0.75rem; max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.16,1,0.3,1); z-index: 50; }
.cselect.open .cselect-drop { max-height: 260px; overflow-y: auto; }
.cselect-search { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.08); position: sticky; top: 0; background: rgba(13,47,107,0.97); }
.cselect-search i { color: rgba(255,255,255,0.25); font-size: 0.75rem; }
.cselect-search input { flex: 1; background: none; border: none; outline: none; color: #fff; font-size: 0.825rem; font-family: inherit; }
.cselect-search input::placeholder { color: rgba(255,255,255,0.25); }
.cselect-list { padding: 0.25rem 0; }
.cselect-opt { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.8rem; cursor: pointer; transition: background 0.15s; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.cselect-opt:hover { background: rgba(255,255,255,0.1); }
.cselect-opt img { width: 24px; height: 24px; object-fit: contain; border-radius: 3px; background: #fff; padding: 2px; }
.cselect-opt.no-res { color: rgba(255,255,255,0.25); pointer-events: none; justify-content: center; padding: 1.2rem; font-size: 0.8rem; }
.cselect-drop::-webkit-scrollbar { width: 5px; }
.cselect-drop::-webkit-scrollbar-track { background: transparent; }
.cselect-drop::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }

/* =====================================================
   STATS SECTION
===================================================== */
.stats { background: var(--bg); padding: 4rem 0; }
.stats-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; background: rgba(13,47,107,0.1); border-radius: 1rem; margin-bottom: 1rem; }
.stat-icon i { color: var(--blue); font-size: 1.25rem; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--blue); }
.stat-label { color: var(--gray); font-size: 0.875rem; margin-top: 0.25rem; }
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   SECTIONS SHARED
===================================================== */
.section { padding: 6rem 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; color: var(--red); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem; }
.section-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; color: var(--blue); margin-bottom: 1rem; }
.section-desc { color: var(--gray); font-size: 1.125rem; max-width: 640px; margin: 0 auto; }

/* =====================================================
   HOW IT WORKS
===================================================== */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.how-card { position: relative; background: #fff; border-radius: 1rem; padding: 2rem; border: 1px solid #F1F5F9; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.how-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.how-number { position: absolute; top: -0.75rem; right: -0.5rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; font-weight: 700; font-size: 0.875rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(13,47,107,0.3); }
.how-icon { width: 4rem; height: 4rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: transform 0.5s; }
.how-card:hover .how-icon { transform: scale(1.1); }
.how-icon i { font-size: 1.5rem; }
.how-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--blue); margin-bottom: 0.75rem; }
.how-card p { color: var(--gray); line-height: 1.7; }
@media (max-width: 768px) { .how-grid { grid-template-columns: 1fr; } }

/* =====================================================
   ADVANTAGES
===================================================== */
.advantages { background: var(--bg); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.adv-card { background: #fff; border-radius: 1rem; padding: 1.75rem; border: 1px solid #F1F5F9; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.adv-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.adv-icon { width: 3.5rem; height: 3.5rem; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: transform 0.5s; box-shadow: 0 8px 20px rgba(13,47,107,0.2); }
.adv-card:hover .adv-icon { transform: scale(1.1); }
.adv-icon i { color: #fff; font-size: 1.25rem; }
.adv-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--blue); margin-bottom: 0.5rem; }
.adv-card p { color: var(--gray); font-size: 0.875rem; line-height: 1.7; }
@media (max-width: 968px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .adv-grid { grid-template-columns: 1fr; } }

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: linear-gradient(135deg, var(--bg), #fff); border-radius: 1rem; padding: 2rem; border: 1px solid #F1F5F9; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-stars i { color: #FBBF24; font-size: 1rem; }
.testimonial-text { color: #475569; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.875rem; }
.testimonial-name { font-weight: 600; color: var(--blue); font-size: 0.875rem; }
.testimonial-role { color: #94A3B8; font-size: 0.75rem; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* =====================================================
   FAQ
===================================================== */
.faq { background: var(--bg); }
.faq-inner { max-width: 768px; margin: 0 auto; padding: 0 1.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border-radius: 0.75rem; border: 1px solid #F1F5F9; box-shadow: 0 2px 8px rgba(0,0,0,0.02); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; text-align: left; background: none; font-weight: 600; color: var(--blue); font-size: 1rem; transition: background 0.3s; }
.faq-question:hover { background: rgba(248,250,252,0.5); }
.faq-question i { color: var(--red); transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 1.25rem 1.25rem; color: var(--gray); line-height: 1.7; }

/* =====================================================
   CTA SECTION
===================================================== */
.cta-section { padding: 6rem 0; background: #fff; }
.cta-box { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.cta-inner { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 4rem; background: linear-gradient(135deg, #081D45, #0D2F6B 40%, #1A4FAA 70%, #0D2F6B); text-align: center; }
.cta-bg-1 { position: absolute; width: 250px; height: 250px; border-radius: 50%; background: rgba(212,32,39,0.1); top: -80px; right: -80px; }
.cta-bg-2 { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.05); bottom: 40px; left: 40px; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 1.5rem; line-height: 1.2; }
.cta-title .highlight { background: linear-gradient(to right, var(--red), var(--red-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-desc { color: rgba(255,255,255,0.7); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(to right, var(--red), var(--red-light)); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; padding: 1rem 2.5rem; border-radius: 0.75rem; font-size: 1.125rem; transition: all 0.3s; box-shadow: 0 15px 30px rgba(212,32,39,0.2); }
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 25px 50px rgba(212,32,39,0.35); }
.cta-btn i { transition: transform 0.3s; }
.cta-btn:hover i { transform: translateX(4px); }

/* =====================================================
   CONTACT FORM
===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
@media(max-width:768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card { display: flex; align-items: center; gap: 1rem; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 0.75rem; padding: 1.25rem; transition: all 0.3s; }
.contact-info-card:hover { transform: translateX(5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: #CBD5E1; }
.ci-icon { width: 45px; height: 45px; border-radius: 0.65rem; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; flex-shrink: 0; box-shadow: 0 4px 12px rgba(13,47,107,0.2); }
.contact-info-card h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--blue); }
.contact-info-card p { color: #64748B; font-size: 0.8rem; margin-top: 0.15rem; }
.contact-form-card { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 1rem; padding: 2rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:500px) { .cf-row { grid-template-columns: 1fr; } }
.cf-group { margin-bottom: 1rem; }
.cf-group label { display: block; font-size: 0.75rem; font-weight: 600; color: #64748B; margin-bottom: 0.35rem; }
.cf-group label i { color: var(--red); margin-right: 0.3rem; font-size: 0.7rem; }
.cf-group input, .cf-group select, .cf-group textarea { width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid #E2E8F0; border-radius: 0.6rem; font-size: 0.85rem; font-family: inherit; color: #1E293B; background: #fff; outline: none; transition: all 0.3s; -webkit-appearance: none; appearance: none; }
.cf-group textarea { resize: vertical; min-height: 100px; }
.cf-group input::placeholder, .cf-group textarea::placeholder { color: #CBD5E1; }
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,47,107,0.08); }
.cf-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; }
.cf-error { display: none; background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; padding: 0.6rem 0.9rem; border-radius: 0.5rem; font-size: 0.8rem; margin-bottom: 1rem; }
.cf-error.show { display: flex; align-items: center; gap: 0.4rem; }
.cf-submit { width: 100%; padding: 0.85rem; background: linear-gradient(135deg, var(--red), var(--red-light)); color: #fff; border: none; border-radius: 0.65rem; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.cf-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(212,32,39,0.3); }
.cf-submit:active { transform: scale(0.98); }
.cf-btn-loading { display: none; }
.cf-submit.loading .cf-btn-text { display: none; }
.cf-submit.loading .cf-btn-loading { display: flex; align-items: center; gap: 0.5rem; }
.cf-submit.loading { opacity: 0.7; pointer-events: none; }
.contact-success { text-align: center; padding: 2.5rem 1.5rem; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 1rem; animation: fadeInUp 0.5s ease; }
.cs-icon { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #10B981, #34D399); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 2rem; color: #fff; }
.contact-success h3 { font-family: 'Poppins', sans-serif; font-weight: 700; color: #065F46; font-size: 1.25rem; margin-bottom: 0.75rem; }
.contact-success p { color: #047857; font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.5rem; }
.cs-copy { display: inline-flex; align-items: center; gap: 0.4rem; background: #DCFCE7; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.8rem; color: #065F46; font-weight: 500; margin: 1rem 0; }
.cs-btn { background: none; border: 2px solid #10B981; color: #10B981; padding: 0.6rem 1.5rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.3s; margin-top: 0.5rem; }
.cs-btn:hover { background: #10B981; color: #fff; }

/* =====================================================
   FOOTER
===================================================== */
.footer { background: var(--blue-dark); color: #fff; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.7; }
.footer h4 { font-family: 'Poppins', sans-serif; font-weight: 700; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer ul a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color 0.3s; }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-contact i { color: var(--red); font-size: 0.875rem; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.3); font-size: 0.875rem; transition: color 0.3s; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* =====================================================
   TOAST
===================================================== */
.toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 200; background: #fff; border-radius: 0.75rem; padding: 1rem 1.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 0.75rem; transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.toast.show { transform: translateX(0); }
.toast-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #10B981; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.toast-text h4 { font-weight: 600; color: var(--blue); font-size: 0.875rem; }
.toast-text p { color: var(--gray); font-size: 0.75rem; }

/* =====================================================
   PAGE HERO (Service pages)
===================================================== */
.page-hero { position: relative; padding: 10rem 0 10rem; overflow: hidden; background: linear-gradient(135deg, #081D45 0%, #0D2F6B 40%, #1A4FAA 70%, #0D2F6B 100%); }
.page-hero-inner { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.page-hero-icon { width: 80px; height: 80px; border-radius: 1.25rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 2rem; color: var(--red); animation: scaleIn 0.5s ease 0.2s both; }
.page-hero h1 { font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; animation: fadeInUp 0.6s ease 0.3s both; }
.page-hero h1 .hl { background: linear-gradient(to right, var(--red), var(--red-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; line-height: 1.7; max-width: 600px; margin: 0 auto; animation: fadeInUp 0.6s ease 0.45s both; }
.page-hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; margin-bottom: -2px; }
.page-hero-wave svg { display: block; width: 100%; height: auto; }

/* =====================================================
   PAGE SECTIONS (Service pages)
===================================================== */
.ps { padding: 5rem 0; }
.ps-alt { background: #F8FAFC; }
.ps-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ps-grid.reverse { direction: rtl; }
.ps-grid.reverse > * { direction: ltr; }
@media(max-width:768px) { .ps-grid, .ps-grid.reverse { grid-template-columns: 1fr; gap: 2rem; } }
.ps-tag { color: var(--red); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem; }
.ps-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--blue); margin-bottom: 1rem; line-height: 1.25; }
.ps-text { color: #64748B; font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.25rem; }
.ps-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.ps-list li { display: flex; align-items: flex-start; gap: 0.65rem; color: #475569; font-size: 0.9rem; line-height: 1.6; }
.ps-list li i { color: var(--red); margin-top: 0.2rem; flex-shrink: 0; font-size: 0.85rem; }
.ps-visual { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); border-radius: 1.25rem; padding: 2.5rem; text-align: center; position: relative; overflow: hidden; min-height: 250px; display: flex; align-items: center; justify-content: center; }
.ps-visual i { font-size: 5rem; color: var(--blue); opacity: 0.15; }
.ps-visual-badge { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--red); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.3rem 0.85rem; border-radius: 2rem; }
.ps-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media(max-width:768px) { .ps-stats { grid-template-columns: repeat(2, 1fr); } }
.ps-stat { background: #fff; border: 1px solid #E2E8F0; border-radius: 1rem; padding: 1.5rem; text-align: center; transition: all 0.3s; }
.ps-stat:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.ps-stat-num { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--blue); }
.ps-stat-label { color: #94A3B8; font-size: 0.75rem; margin-top: 0.25rem; }
.ps-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media(max-width:900px) { .ps-cards { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px) { .ps-cards { grid-template-columns: 1fr; } }
.ps-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 1rem; padding: 2rem; transition: all 0.4s; }
.ps-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,0.07); }
.ps-card-icon { width: 48px; height: 48px; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.2rem; }
.ps-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; color: var(--blue); margin-bottom: 0.5rem; }
.ps-card p { color: #64748B; font-size: 0.85rem; line-height: 1.7; }
.ps-cta { background: linear-gradient(135deg, #081D45, #0D2F6B 40%, #1A4FAA 70%, #0D2F6B); border-radius: 1.5rem; padding: 3.5rem; text-align: center; position: relative; overflow: hidden; }
.ps-cta h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 1rem; }
.ps-cta p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.ps-cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, var(--red), var(--red-light)); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; padding: 0.9rem 2rem; border-radius: 0.65rem; text-decoration: none; transition: all 0.3s; font-size: 0.95rem; }
.ps-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(212,32,39,0.3); }
.ps-num-icon { background: var(--blue); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; margin-top: 0.15rem; }
.ps-num-icon.red { background: var(--red); }

/* =====================================================
   LEGAL PAGES
===================================================== */
.legal-hero { background: linear-gradient(135deg, #081D45 0%, #0D2F6B 40%, #1A4FAA 100%); padding: 8rem 0 3rem; text-align: center; }
.legal-hero h1 { font-family: 'Poppins', sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.legal-hero p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.legal-content { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.legal-content h2 { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--blue); margin: 2.5rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid #EFF6FF; }
.legal-content h2 i { color: var(--red); margin-right: 0.5rem; font-size: 1rem; }
.legal-content h3 { font-size: 1rem; font-weight: 600; color: #334155; margin: 1.5rem 0 0.5rem; }
.legal-content p { color: #475569; font-size: 0.9rem; line-height: 1.8; margin-bottom: 0.75rem; }
.legal-content ul { margin: 0.75rem 0 1rem 1.25rem; list-style: disc; }
.legal-content ul li { color: #475569; font-size: 0.9rem; line-height: 1.8; margin-bottom: 0.35rem; }
.legal-content strong { color: #1E293B; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content a:hover { color: var(--red); }
.legal-info-box { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 0.75rem; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.legal-info-box p { margin-bottom: 0.35rem; }
.legal-highlight { background: #EFF6FF; border-left: 4px solid var(--blue); padding: 1rem 1.25rem; border-radius: 0 0.5rem 0.5rem 0; margin: 1.25rem 0; }
.legal-highlight p { color: var(--blue); font-weight: 500; margin: 0; }
.legal-warn { background: #FEF2F2; border-left: 4px solid var(--red); padding: 1rem 1.25rem; border-radius: 0 0.5rem 0.5rem 0; margin: 1.25rem 0; }
.legal-warn p { color: #991B1B; font-weight: 500; margin: 0; }


/* ===== NAVBAR USER (connecté) ===== */
.navbar-user {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 2rem; transition: all 0.3s;
  white-space: nowrap; margin-left: 0.15rem;
}
.navbar-user:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}
.navbar-user::after { display: none !important; }
.navbar-user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #34D399);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.7rem;
  flex-shrink: 0;
}
.navbar-user-name {
  color: #fff; font-size: 0.8rem; font-weight: 600;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis;
}
