/* ============================================================
   EduTrack — Static Landing Page Stylesheet
   RTL Arabic • Blue/Emerald brand • Professional UI
   ============================================================ */

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

:root {
  /* Brand */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  --amber-50:  #fffbeb;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  --rose-50:  #fff1f2;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;

  --indigo-50: #eef2ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  --cyan-50:  #ecfeff;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;

  /* Neutrals */
  --white: #ffffff;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Gradients */
  --cta-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --hero-gradient:
    radial-gradient(1200px 600px at 85% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(5, 150, 105, 0.08), transparent 60%),
    linear-gradient(180deg, #eff6ff 0%, #f8fafc 55%, #f0fdf4 100%);
  --final-cta:
    radial-gradient(600px 300px at 20% 10%, rgba(37, 99, 235, 0.6), transparent 70%),
    radial-gradient(500px 300px at 90% 90%, rgba(5, 150, 105, 0.35), transparent 70%),
    linear-gradient(135deg, #2563eb 0%, #0f172a 100%);
  --footer-gradient: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 4px 16px rgba(15, 23, 42, 0.06), 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-cta: 0 4px 16px rgba(37, 99, 235, 0.28), 0 12px 40px rgba(37, 99, 235, 0.22);
  --shadow-hero: 0 20px 60px rgba(15, 23, 42, 0.15), 0 8px 20px rgba(15, 23, 42, 0.08);

  /* Radii */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.25rem;
  --r-2xl: 1.75rem;
  --r-full: 9999px;

  --container: 1200px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow.emerald { color: var(--emerald-600); }

.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn i[data-lucide] { width: 16px; height: 16px; transition: transform 0.25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { box-shadow: 0 10px 36px rgba(37, 99, 235, 0.38); }
.btn-primary:hover i[data-lucide] { transform: translateX(-4px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--slate-300);
  color: var(--slate-800);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; border-color: var(--slate-400); }
.btn-ghost .play {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--slate-900); color: #fff;
}
.btn-ghost .play svg { width: 10px; height: 10px; }

.btn-outline {
  background: #fff;
  border: 1px solid var(--slate-300);
  color: var(--slate-800);
}
.btn-outline:hover { border-color: var(--slate-400); }

.btn-light {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--slate-900); font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.brand-mark svg { width: 20px; height: 20px; }

.nav-links { display: none; gap: 2rem; }
.nav-links a {
  color: var(--slate-600);
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--slate-900); }

.nav-cta { display: none; align-items: center; gap: 0.75rem; }
.nav-cta a.link { color: var(--slate-600); font-weight: 500; }
.nav-cta a.link:hover { color: var(--slate-900); }

.nav-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  color: var(--slate-700);
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer.open { pointer-events: auto; }
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0; transition: opacity 0.3s ease;
}
.drawer.open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 320px; max-width: 85vw;
  background: #fff;
  padding: 1.5rem;
  box-shadow: -20px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-links { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.drawer-links a {
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  font-weight: 500;
  color: var(--slate-700);
}
.drawer-links a:hover { background: var(--slate-50); }
.drawer .btn { justify-content: center; margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 6rem;
  background: var(--hero-gradient);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  top: -8rem; left: -6rem;
  width: 420px; height: 420px;
  background: rgba(59, 130, 246, 0.12);
}
.hero::after {
  bottom: -10rem; right: -4rem;
  width: 500px; height: 500px;
  background: rgba(16, 185, 129, 0.12);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(191, 219, 254, 0.7);
  backdrop-filter: blur(8px);
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.82rem;
  box-shadow: var(--shadow-sm);
}
.badge-pill svg { width: 14px; height: 14px; }

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero h1 .block { display: block; color: rgba(15, 23, 42, 0.92); }
.hero .lead {
  margin-top: 1.25rem;
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.85;
  color: var(--slate-600);
}
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.stat {
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(226, 232, 240, 0.7);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04), 0 10px 30px rgba(15,23,42,0.04);
}
.stat-value { display: flex; align-items: baseline; gap: 0.25rem; color: var(--slate-900); }
.stat-value .num { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-value .suffix { font-size: 1.15rem; font-weight: 700; color: var(--blue-600); }
.stat-label {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  z-index: -1;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), transparent 50%, rgba(16,185,129,0.2));
  filter: blur(24px);
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: #fff;
  box-shadow: var(--shadow-hero);
}
.hero-card img { width: 100%; height: auto; object-fit: cover; }

.float-chip {
  position: absolute;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.float-chip .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.float-chip .lbl { font-size: 0.72rem; font-weight: 600; color: var(--slate-500); }
.float-chip .val { font-size: 0.9rem; font-weight: 700; color: var(--slate-900); }
.float-chip.bl { top: -1rem; left: 1rem; transform: rotate(2deg); }
.float-chip.br { bottom: -1.5rem; right: 1.5rem; transform: rotate(-3deg); }

/* ---------- Trust bar ---------- */
.trust {
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.trust p {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}
.marquee { position: relative; overflow: hidden; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; inset-block: 0; width: 96px; z-index: 2;
  pointer-events: none;
}
.marquee::before { right: 0; background: linear-gradient(to left, #fff, transparent); }
.marquee::after  { left: 0;  background: linear-gradient(to right, #fff, transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-400);
  transition: color 0.2s ease;
}
.marquee-track span:hover { color: var(--slate-700); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section headings ---------- */
.section { padding: 6rem 0; }
.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
}
.section-head p { margin-top: 1rem; color: var(--slate-600); line-height: 1.8; }

/* ---------- Features ---------- */
.features-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}
.features-intro h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
}
.features-intro p { color: var(--slate-600); line-height: 1.8; font-size: 1.05rem; }

.features-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-card .bar {
  position: absolute; inset: 0 0 auto 0;
  height: 4px;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
.feature-card:hover .bar { opacity: 1; }
.feature-card .ic-lg {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  transition: transform 0.3s ease;
}
.feature-card:hover .ic-lg { transform: scale(1.06); }
.feature-card .ic-lg svg { width: 24px; height: 24px; }
.feature-card h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 700; }
.feature-card p { margin-top: 0.5rem; color: var(--slate-600); line-height: 1.7; }
.feature-card .more {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--blue-600);
  opacity: 0; transform: translateX(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.feature-card:hover .more { opacity: 1; transform: translateX(-2px); }
.feature-card .more svg { width: 16px; height: 16px; }

/* Icon color variants */
.ic-blue    { background: var(--blue-50);    color: var(--blue-600); }
.ic-emerald { background: var(--emerald-50); color: var(--emerald-600); }
.ic-indigo  { background: var(--indigo-50);  color: var(--indigo-600); }
.ic-amber   { background: var(--amber-50);   color: var(--amber-600); }
.ic-rose    { background: var(--rose-50);    color: var(--rose-600); }
.ic-cyan    { background: var(--cyan-50);    color: var(--cyan-600); }
.bar-blue    { background: var(--blue-500); }
.bar-emerald { background: var(--emerald-500); }
.bar-indigo  { background: var(--indigo-500); }
.bar-amber   { background: var(--amber-500); }
.bar-rose    { background: var(--rose-500); }
.bar-cyan    { background: var(--cyan-500); }

/* ---------- How it works ---------- */
.how { background: var(--slate-50); }
.steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.step { position: relative; }
.step-img {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}
.step:hover .step-img { box-shadow: var(--shadow-card-hover); }
.step-img img {
  aspect-ratio: 5 / 4;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.step:hover .step-img img { transform: scale(1.03); }
.step-num {
  position: absolute;
  top: -14px; right: 16px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-cta);
}
.step h3 { margin-top: 1.5rem; font-size: 1.2rem; font-weight: 700; }
.step p { margin-top: 0.5rem; color: var(--slate-600); line-height: 1.7; }

.centered-cta { margin-top: 3.5rem; text-align: center; }

/* ---------- Pricing ---------- */
.plans {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.plan.featured {
  border: 2px solid var(--blue-600);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.18);
}
.plan-badge {
  position: absolute;
  top: -14px; right: 50%; transform: translateX(50%);
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  background: var(--cta-gradient);
  color: #fff;
  font-size: 0.75rem; font-weight: 700;
  box-shadow: var(--shadow-cta);
  animation: soft-pulse 2.4s ease-in-out infinite;
}
.plan-badge svg { width: 14px; height: 14px; fill: currentColor; }
@keyframes soft-pulse {
  0%, 100% { transform: translateX(50%) scale(1); box-shadow: 0 0 0 0 rgba(5,150,105,0.35); }
  50% { transform: translateX(50%) scale(1.04); box-shadow: 0 0 0 10px rgba(5,150,105,0); }
}
.plan h3 { font-size: 1.15rem; font-weight: 700; }
.plan .desc { margin-top: 0.25rem; font-size: 0.9rem; color: var(--slate-500); }
.plan .price { margin-top: 1.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.plan .price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--slate-900); line-height: 1; }
.plan .price .period { font-size: 0.9rem; color: var(--slate-500); }
.plan ul { margin-top: 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.plan li { display: flex; align-items: flex-start; gap: 0.75rem; }
.plan li .check {
  display: grid; place-items: center;
  width: 20px; height: 20px; flex: none;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-600);
  margin-top: 2px;
}
.plan li .check svg { width: 12px; height: 12px; }
.plan li span.txt { font-size: 0.98rem; color: var(--slate-700); }
.plan .btn { margin-top: 2rem; justify-content: center; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--slate-50); }
.testimonials .container { max-width: 900px; text-align: center; }
.testimonial-card {
  position: relative;
  margin-top: 3rem;
  padding: 3rem 2rem;
  border-radius: var(--r-2xl);
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
}
.testimonial-quote-mark {
  position: absolute;
  top: -24px; right: 2rem;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  box-shadow: var(--shadow-cta);
}
.stars { display: flex; justify-content: center; gap: 0.25rem; color: var(--amber-500); margin-bottom: 1rem; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.quote { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.9; color: var(--slate-800); }
.author { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author .name { font-size: 0.9rem; font-weight: 700; color: var(--slate-900); }
.author .role { font-size: 0.78rem; color: var(--slate-500); }
.dots { margin-top: 2rem; display: flex; justify-content: center; gap: 0.5rem; }
.dots button {
  height: 8px; width: 8px; border-radius: var(--r-full);
  background: var(--slate-300);
  transition: background 0.3s ease, width 0.3s ease;
}
.dots button.active { background: var(--blue-600); width: 32px; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 6rem 0; }
.final-cta .box {
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  border-radius: 2rem;
  text-align: center;
  color: #fff;
  background: var(--final-cta);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}
.final-cta .box::before,
.final-cta .box::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none;
}
.final-cta .box::before { left: -4rem; top: 50%; transform: translateY(-50%); width: 256px; height: 256px; background: rgba(255,255,255,0.1); }
.final-cta .box::after  { right: -3rem; top: -3rem; width: 288px; height: 288px; background: rgba(52, 211, 153, 0.2); }
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.final-cta .lead { margin: 1rem auto 0; max-width: 640px; color: #bfdbfe; line-height: 1.8; }
.final-cta .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; position: relative; }
.final-cta .note { margin-top: 1.5rem; font-size: 0.85rem; color: rgba(191, 219, 254, 0.8); position: relative; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--footer-gradient);
  color: var(--slate-300);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -10rem; left: -10rem;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.04);
  filter: blur(80px);
  pointer-events: none;
}

.footer .container { padding-top: 4.5rem; padding-bottom: 2.5rem; }

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

.footer-col { position: relative; }

.footer-col.brand-col { grid-column: 1 / -1; }

.footer .brand { color: #fff; }

.footer .about {
  margin-top: 0.85rem;
  max-width: 380px;
  color: var(--slate-400);
  line-height: 1.85;
  font-size: 0.9rem;
}

.footer h3 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer ul a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-right 0.2s ease;
  display: inline-block;
}

.footer ul a:hover {
  color: #fff;
  padding-right: 4px;
}

/* Newsletter */
.newsletter-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s ease;
  max-width: 320px;
}

.newsletter:focus-within {
  border-color: rgba(59, 130, 246, 0.3);
}

.newsletter input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0.5rem 0.75rem;
  color: #fff;
  font-family: inherit;
  outline: none;
  font-size: 0.88rem;
}

.newsletter input::placeholder { color: var(--slate-500); }

.newsletter button {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--cta-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

/* Socials in brand column */
.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--slate-400);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.socials a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.socials i { font-size: 1rem; }

/* Footer bottom */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom .copy {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.footer-lang {
  font-size: 0.78rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 40;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: var(--shadow-cta);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Animation utilities ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-col.brand-col { grid-column: span 1; }
  .footer-bottom { flex-direction: row; }
}
@media (min-width: 900px) {
  .float-chip { display: inline-flex; }
  .features-intro { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
}
@media (min-width: 1024px) {
  .nav-inner { height: 80px; }
  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero { padding: 10rem 0 8rem; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: repeat(6, 1fr); }
  .col-3 { grid-column: span 3; }
  .col-2 { grid-column: span 2; }
  .col-6 { grid-column: span 6; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan.featured { transform: translateY(-16px); }
  .plan.featured:hover { transform: translateY(-20px); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .section { padding: 8rem 0; }
}