/* ═══════════════════════════════════════════════════════════
   EduManager ERP — Landing Page Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --indigo:        #4f46e5;
  --indigo-dark:   #3730a3;
  --indigo-light:  #e0e7ff;
  --purple:        #7c3aed;
  --purple-light:  #ede9fe;
  --amber:         #f59e0b;
  --amber-light:   #fffbeb;
  --green:         #10b981;
  --green-light:   #d1fae5;
  --blue:          #3b82f6;
  --blue-light:    #dbeafe;
  --teal:          #0d9488;
  --teal-light:    #ccfbf1;
  --red:           #ef4444;
  --red-light:     #fee2e2;

  --slate-900:     #0f172a;
  --slate-800:     #1e293b;
  --slate-700:     #334155;
  --slate-600:     #475569;
  --slate-500:     #64748b;
  --slate-400:     #94a3b8;
  --slate-200:     #e2e8f0;
  --slate-100:     #f1f5f9;
  --slate-50:      #f8fafc;

  --bg-body:       #ffffff;
  --bg-dark:       #0f172a;

  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:        14px;
  --radius-sm:     8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:     0 20px 50px rgba(0,0,0,.12);
  --shadow-xl:     0 30px 80px rgba(0,0,0,.18);

  --transition:    .2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--slate-900);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

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

/* ── Section spacing ── */
.section { padding: 96px 0; }
.section--dark {
  background: var(--slate-900);
  position: relative;
}

/* ── Typography helpers ── */
.text-gradient {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Pill badges ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.pill--indigo { background: var(--indigo-light); color: var(--indigo); }
.pill--amber  { background: rgba(251,191,36,.15); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.pill--light  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.2); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79,70,229,.4);
}
.btn--primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,70,229,.5);
}
.btn--ghost {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-200);
}
.btn--ghost:hover { background: var(--slate-100); }
.btn--outline-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn--outline-light:hover { background: rgba(255,255,255,.2); }
.btn--lg { padding: 13px 28px; font-size: 15px; border-radius: 12px; }
.btn--full { width: 100%; justify-content: center; }

/* ── Avatar ── */
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

/* ════════════════════════════════ NAVBAR ══ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--slate-200), var(--shadow-sm);
  padding: 10px 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  box-shadow: 0 4px 12px rgba(99,102,241,.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 17px; font-weight: 800; color: var(--slate-900); letter-spacing: -.3px; }
.logo-tag  { font-size: 10px; color: var(--slate-500); text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
.navbar.hero-mode .logo-name { color: #fff; }
.navbar.hero-mode .logo-tag  { color: rgba(255,255,255,.5); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
}
.nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.navbar.scrolled .nav-link { color: var(--slate-600); }
.navbar.scrolled .nav-link:hover { background: var(--slate-100); color: var(--slate-900); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.navbar.hero-mode .btn--ghost {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.25);
}
.navbar.hero-mode .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .navbar__burger span { background: var(--slate-700); }

/* ════════════════════════════════ HERO ══ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 35%, #4f46e5 70%, #6366f1 100%);
  padding: 130px 0 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero__bg-grid {
  display: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: rgba(139,92,246,.3);
  top: -200px; right: -100px;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: rgba(251,191,36,.15);
  bottom: 100px; left: -100px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  padding-bottom: 60px;
}
.hero__content { color: #fff; }
.hero__headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
}
.hero__stat span { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 3px; display: block; }
.hero__stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* Browser frame in hero */
.browser-frame {
  background: #1e293b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}
.browser-bar {
  background: #0f172a;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot--red    { background: #ef4444; }
.dot--yellow { background: #f59e0b; }
.dot--green  { background: #22c55e; }
.browser-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.browser-screenshot { width: 100%; display: block; }

/* Floating cards */
.hero__floating {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  animation: float 3s ease-in-out infinite;
}
.hero__floating strong { display: block; font-weight: 700; }
.hero__floating span   { color: rgba(255,255,255,.65); font-size: 11px; }
.hero__floating i      { font-size: 22px; color: #fbbf24; }
.hero__floating--1 { bottom: 120px; left: -30px; animation-delay: 0s; }
.hero__floating--2 { top: 60px;    right: -20px; animation-delay: 1.5s; }

.check-ring {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(16,185,129,.25);
  border: 2px solid rgba(16,185,129,.5);
  display: flex; align-items: center; justify-content: center;
  color: #34d399;
  font-size: 14px;
}

.hero__visual { position: relative; }

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

.hero__wave {
  margin-top: auto;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 60px; }

/* ════════════════════════════════ TRUST BAR ══ */
.trust-bar {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-bar__label {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
  white-space: nowrap;
}
.trust-bar__logos {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  flex: 1;
}
.trust-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}
.trust-logo i { color: var(--indigo); }

/* ════════════════════════════════ SECTION HEADERS ══ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header--light .section-title { color: #fff; }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--slate-900);
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ════════════════════════════════ FEATURES ══ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  opacity: 0;
  transition: opacity .3s;
  border-radius: var(--radius);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--indigo); }
.feature-card:hover::before { opacity: .03; }
.feature-card--large { grid-column: span 1; }
.feature-card__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px; font-weight: 700;
  color: var(--slate-900); margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }
.feature-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.feature-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--slate-600); font-weight: 500;
}
.feature-list li i { color: var(--green); font-size: 11px; }

/* ════════════════════════════════ MODULES ══ */
.modules__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: var(--slate-400);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.tab-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.tab-btn--active, .tab-btn.tab-btn--active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 12px rgba(79,70,229,.4);
}

.tab-panel { display: none; }
.tab-panel--active { display: grid; }

.modules__grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.module-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}
.module-card:hover:not(.module-card--soon) {
  background: rgba(255,255,255,.08);
  border-color: rgba(99,102,241,.4);
  transform: translateY(-2px);
}
.module-card--soon { opacity: .55; }
.module-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  flex-shrink: 0;
}
.module-card__body h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.module-card__body p  { font-size: 12px; color: var(--slate-400); line-height: 1.5; }
.module-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
  align-self: flex-start; margin-top: auto;
}
.module-badge--on     { background: rgba(16,185,129,.15); color: #34d399; }
.module-badge--toggle { background: rgba(251,191,36,.15);  color: #fbbf24; }
.module-badge--soon   { background: rgba(255,255,255,.08); color: var(--slate-400); }

/* ════════════════════════════════ PREVIEW ══ */
.preview__showcase {
  position: relative;
  margin-bottom: 56px;
}
.preview__browser {
  background: var(--slate-900);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}
.preview__bar {
  background: var(--slate-800);
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}
.preview__url {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--slate-500);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.preview__img { width: 100%; display: block; }

.callout {
  position: absolute;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  max-width: 200px;
}
.callout i { font-size: 20px; flex-shrink: 0; }
.callout strong { display: block; font-weight: 700; color: var(--slate-900); font-size: 13px; }
.callout span   { display: block; color: var(--slate-500); font-size: 11px; margin-top: 1px; }
.callout--top-left   { top: -20px;    left: -20px; }
.callout--top-right  { top: -20px;    right: -20px; }
.callout--bottom-left{ bottom: -20px; left: 20px; }

/* Preview tabs */
.preview__tabs-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.preview__tab-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-right: 1px solid var(--slate-200);
  min-width: 220px;
}
.preview-tab {
  padding: 16px 20px;
  border: none;
  border-bottom: 1px solid var(--slate-100);
  background: none;
  text-align: left;
  font-size: 13px; font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.preview-tab:hover { background: var(--slate-50); color: var(--slate-900); }
.preview-tab.active {
  background: var(--indigo-light);
  color: var(--indigo);
  border-right: 3px solid var(--indigo);
}
.preview__tab-desc { padding: 36px 40px; }
.preview__desc { display: none; }
.preview__desc.active { display: block; animation: fadeIn .25s ease; }
.preview__desc h3 { font-size: 22px; font-weight: 800; color: var(--slate-900); margin-bottom: 12px; }
.preview__desc p  { font-size: 15px; color: var(--slate-500); line-height: 1.7; margin-bottom: 24px; }

/* ════════════════════════════════ STATS ══ */
.stats-section { background: linear-gradient(135deg, var(--indigo), var(--purple)); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item__label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ════════════════════════════════ TECH ══ */
.tech__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tech__stack { display: flex; flex-direction: column; gap: 14px; }
.tech-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 18px;
  transition: var(--transition);
}
.tech-item:hover { background: rgba(255,255,255,.08); border-color: rgba(99,102,241,.3); }
.tech-item__icon { font-size: 26px; flex-shrink: 0; }
.tech-item strong { display: block; font-size: 13px; font-weight: 700; color: #fff; }
.tech-item span   { display: block; font-size: 12px; color: var(--slate-500); margin-top: 2px; }

.benefits-list { display: flex; flex-direction: column; gap: 22px; }
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.benefit__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.benefit h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.benefit p  { font-size: 13px; color: var(--slate-400); line-height: 1.5; }

/* ════════════════════════════════ TESTIMONIALS ══ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonials__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-card__stars { color: #f59e0b; font-size: 13px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: 14px; color: var(--slate-600);
  line-height: 1.7; font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__author strong { display: block; font-size: 13px; font-weight: 700; color: var(--slate-900); }
.testimonial-card__author span   { display: block; font-size: 11px; color: var(--slate-500); margin-top: 2px; }

/* ════════════════════════════════ CTA ══ */
.cta-box {
  background: linear-gradient(135deg, #1e1b4b, #312e81, #4f46e5);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-box__orb--1 { width: 300px; height: 300px; background: rgba(139,92,246,.3); top: -100px; right: -50px; }
.cta-box__orb--2 { width: 200px; height: 200px; background: rgba(251,191,36,.15); bottom: -50px; left: -50px; }
.cta-box__content { position: relative; z-index: 1; }
.cta-box__content h2 {
  font-size: 36px; font-weight: 800; color: #fff;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px;
}
.cta-box__content p { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.7; }

.cta-form { position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #fff;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(165,180,252,.6);
  background: rgba(255,255,255,.15);
}
.form-group { margin-bottom: 14px; }
.form-success {
  display: none;
  text-align: center;
  padding: 14px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 10px;
  color: #34d399;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  margin-top: 12px;
}
.form-success.show { display: flex; align-items: center; justify-content: center; }

/* ════════════════════════════════ FOOTER ══ */
.footer {
  background: var(--slate-900);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--slate-800);
}
.footer__brand .navbar__logo { margin-bottom: 16px; }
.footer__brand .logo-name { color: var(--slate-100); }
.footer__brand .logo-tag  { color: var(--slate-500); }
.footer__brand p { font-size: 14px; color: var(--slate-500); line-height: 1.7; margin-bottom: 20px; max-width: 320px; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer__contact a,
.footer__contact span {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--slate-400); font-weight: 500;
}
.footer__contact a:hover { color: var(--indigo); }
.footer__contact i { color: var(--indigo); width: 14px; }

.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h5 { font-size: 12px; font-weight: 700; color: var(--slate-300); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer__col a {
  display: block; font-size: 13px; color: var(--slate-500);
  margin-bottom: 10px; transition: var(--transition);
}
.footer__col a:hover { color: var(--slate-200); padding-left: 4px; }

.footer__bottom { padding: 20px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom-inner > span { font-size: 12px; color: var(--slate-600); }
.footer__badges { display: flex; gap: 8px; }
.badge-tech {
  background: var(--slate-800);
  color: var(--slate-400);
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
}
.badge-tech--green { color: #34d399; }

/* ════════════════════════════════ WHATSAPP BTN ══ */
.whatsapp-btn {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 18px rgba(37,211,102,.5);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.65);
}
.whatsapp-btn__tooltip {
  position: absolute;
  right: 62px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  font-family: var(--font);
}
.whatsapp-btn__tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #111;
}
.whatsapp-btn:hover .whatsapp-btn__tooltip { opacity: 1; }

/* ════════════════════════════════ BACK TO TOP ══ */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--indigo);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79,70,229,.5);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-2px); background: var(--indigo-dark); }

/* ════════════════════════════════ ANIMATIONS ══ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate="fade-left"]  { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="scale-in"]   { transform: scale(.92); }
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ════════════════════════════════ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .hero { min-height: auto; padding: 110px 0 60px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .modules__grid  { grid-template-columns: repeat(2, 1fr); }
  .tech__inner    { grid-template-columns: 1fr; gap: 48px; }
  .cta-box { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid--two { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .preview__tabs-section { grid-template-columns: 1fr; }
  .preview__tab-nav { flex-direction: row; border-right: none; border-bottom: 1px solid var(--slate-200); overflow-x: auto; }
  .preview-tab { white-space: nowrap; border-bottom: none; border-right: 1px solid var(--slate-100); }
  .preview-tab.active { border-right: 1px solid var(--slate-100); border-bottom: 3px solid var(--indigo); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* ── Navbar ── */
  .navbar__nav { display: none; }
  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    z-index: 998;
    background: rgba(15,23,42,.97);
    backdrop-filter: blur(16px);
    padding: 20px;
    gap: 4px;
    border-top: 1px solid var(--slate-800);
  }
  .navbar__nav.open .nav-link { color: rgba(255,255,255,.85); padding: 12px 16px; }
  .navbar.scrolled .navbar__nav.open { background: rgba(255,255,255,.97); }
  .navbar.scrolled .navbar__nav.open .nav-link { color: var(--slate-700); }
  .navbar__burger { display: flex; }
  .navbar__actions .btn--ghost { display: none; }

  /* ── Hero ── */
  .hero__headline { font-size: 36px; letter-spacing: -1px; }
  .hero__sub { font-size: 16px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__stats { gap: 16px; }
  .hero__stat-divider { display: none; }

  /* ── Trust bar ── */
  .trust-bar__inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .trust-bar__logos { justify-content: center; }

  /* ── Features ── */
  .features__grid { grid-template-columns: 1fr; }

  /* ── Modules ── */
  .modules__grid  { grid-template-columns: 1fr 1fr; }
  .modules__tabs  { flex-wrap: wrap; justify-content: center; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item__number { font-size: 42px; }

  /* ── Preview ── */
  .preview__tab-desc { padding: 24px 20px; }

  /* ── Testimonials ── */
  .testimonials__grid,
  .testimonials__grid--two { grid-template-columns: 1fr; }

  /* ── CTA ── */
  .cta-box { padding: 36px 24px; }
  .cta-box__content h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer__badges { flex-wrap: wrap; justify-content: center; }

  /* ── Decorative overlays ── */
  .callout { display: none; }

  /* ── Animations: remplacer translateX par translateY sur mobile ── */
  [data-animate="fade-left"],
  [data-animate="fade-right"] { transform: translateY(28px); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 40px; }

  /* ── Navbar ── */
  .navbar__actions .btn--primary { display: none; }

  /* ── Hero ── */
  .hero { padding: 88px 0 44px; }
  .hero__headline { font-size: 28px; letter-spacing: -0.5px; }
  .hero__sub { font-size: 15px; }
  .hero__stat strong { font-size: 24px; }

  /* ── Trust bar ── */
  .trust-bar__logos { gap: 12px; }

  /* ── Modules ── */
  .modules__grid { grid-template-columns: 1fr; }
  .tab-btn { font-size: 13px; padding: 9px 16px; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 10px; }
  .stat-item__number { font-size: 34px; letter-spacing: -1px; }

  /* ── CTA ── */
  .cta-box { padding: 28px 18px; border-radius: 16px; }
  .cta-box__content h2 { font-size: 24px; }

  /* ── Footer ── */
  .footer { padding-top: 48px; }
  .footer__links { grid-template-columns: 1fr; }

  /* ── Floating buttons ── */
  .whatsapp-btn { bottom: 76px; right: 20px; width: 48px; height: 48px; font-size: 22px; }
  .back-top { bottom: 24px; right: 20px; width: 40px; height: 40px; font-size: 14px; }
}

/* ════════════════════════════════ VIDEO MODAL ══ */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.demo-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.demo-modal__container {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  z-index: 1;
}

.demo-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.demo-modal__close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg);
}

.demo-modal__header {
  margin-bottom: 24px;
  padding-right: 48px;
}

.demo-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-modal__title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.demo-modal__sub {
  font-size: 14px;
  color: var(--slate-400);
  margin: 0;
}

.demo-modal__video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-modal__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Modal Open State Animations */
.demo-modal--visible .demo-modal__backdrop {
  opacity: 1;
}

.demo-modal--visible .demo-modal__container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@media (max-width: 768px) {
  .demo-modal {
    padding: 16px;
  }
  .demo-modal__container {
    padding: 20px;
    border-radius: 16px;
  }
  .demo-modal__title {
    font-size: 20px;
  }
  .demo-modal__header {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .demo-modal { padding: 10px; }
  .demo-modal__container { padding: 14px; border-radius: 14px; }
  .demo-modal__title { font-size: 17px; }
  .demo-modal__sub { display: none; }
  .demo-modal__header { margin-bottom: 10px; padding-right: 40px; }
  .demo-modal__close { top: 14px; right: 14px; width: 34px; height: 34px; font-size: 14px; }
}

