:root {
  --bg: #0a0b12;
  --bg-alt: #10121d;
  --surface: #161827;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0f6;
  --muted: #9aa0b4;
  --brand: #6d5efc;
  --brand-2: #21d4fd;
  --radius: 16px;
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .logo { font-family: "Space Grotesk", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-2);
  margin-bottom: 14px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10, 11, 18, 0.8);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 700; }
.logo span { color: var(--brand-2); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 10px;
  color: var(--text) !important;
}
.nav-cta:hover { border-color: var(--brand); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 14px 26px;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(109, 94, 252, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(109, 94, 252, 0.7); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-2); background: rgba(255, 255, 255, 0.03); }
.btn-lg { font-size: 1.1rem; padding: 16px 34px; }

/* Hero */
.hero { position: relative; padding: 180px 0 110px; text-align: center; }
.hero-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(109, 94, 252, 0.32) 0%, rgba(33, 212, 253, 0.12) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: 24px; }
.hero-subtitle { max-width: 620px; margin: 0 auto 38px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 50px; justify-content: center; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2, .approche-text h2, .contact h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 1.1rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(109, 94, 252, 0.5); }
.card-icon {
  font-size: 1.6rem;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(109, 94, 252, 0.18), rgba(33, 212, 253, 0.18));
  color: var(--brand-2);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Approche */
.approche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.steps li { display: flex; gap: 22px; padding: 22px; border-radius: var(--radius); transition: background 0.25s; }
.steps li:hover { background: var(--surface); }
.step-num { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--brand-2); flex-shrink: 0; }
.steps h3 { font-size: 1.2rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 0.98rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature { padding: 28px; border-left: 2px solid var(--brand); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.feature strong { font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; display: block; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.97rem; }

/* Contact */
.contact { text-align: center; }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact .section-lead { margin-bottom: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 0.9rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 820px) {
  .approche-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; width: 100%; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding: 140px 0 80px; }
  .hero-stats { gap: 32px; }
}
