/* ===== VARIABLES ===== */
:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --muted-bg: #F1F5F9;
  --text: #0F172A;
  --text-secondary: #475569;
  --muted: #64748B;
  --light: #94A3B8;
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --primary-text: #4338CA;
  --border: #E2E8F0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

/* ===== ACCESSIBILITE ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ===== LAYOUT ===== */
.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 80px 0; }
.section--muted { background: var(--muted-bg); }

.section--cta {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: white;
}
.section--cta .section__title { color: white; }
.section--cta .section__subtitle { color: rgba(255,255,255,0.8); }

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section__subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
  font-size: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.section__text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 720px;
}

.text-center { text-align: center; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 9px;
  letter-spacing: 0;
}

.logo__text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav a:hover { color: var(--text); }

.header__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.nav__mobile-cta {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--primary);
  color: white;
}
.btn--primary:hover { background: var(--primary-hover); }

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--secondary:hover { background: var(--muted-bg); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn--ghost:hover { background: var(--muted-bg); }

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero__content {
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-text);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  font-weight: 800;
}

.grad {
  background: linear-gradient(90deg, var(--primary), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__hint {
  color: var(--light);
  font-size: 13px;
}

/* ===== GRILLES ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ===== BENEFIT CARDS ===== */
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.benefit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
  max-width: 720px;
  text-align: center;
}

.problem-section .section__title {
  margin-bottom: 20px;
}

.problem-section .section__text {
  margin: 0 auto;
  text-align: center;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 24px 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 28px;
  color: var(--light);
  flex-shrink: 0;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== IMPACT CARDS ===== */
.impact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  padding-left: 28px;
}

.impact-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 2px;
  background: var(--primary);
}

.impact-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.impact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== WAITLIST ===== */
.waitlist {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.waitlist__form {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.waitlist__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist__input::placeholder { color: rgba(255,255,255,0.5); }
.waitlist__input:focus { border-color: rgba(255,255,255,0.5); }

.section--cta .btn--primary {
  background: white;
  color: var(--primary);
}
.section--cta .btn--primary:hover {
  background: #F1F5F9;
}

.waitlist__hint {
  margin-top: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.waitlist__msg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

.waitlist__msg--ok { color: #86EFAC; }
.waitlist__msg--err { color: #FCA5A5; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 680px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.12s;
}

.faq-item summary:hover { background: var(--muted-bg); }

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--light);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 24px;
}

.footer__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.footer__baseline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--primary); }

.footer__copy {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.footer__copy p {
  font-size: 12px;
  color: var(--light);
}

/* ===== MOCKUP ===== */
.mockup-section {
  padding: 0 0 40px;
}

.mockup-window {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 20px 60px rgba(79, 70, 229, 0.1);
  border: 1px solid var(--border);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E2E8F0;
}
.mockup-dot:nth-child(1) { background: #FCA5A5; }
.mockup-dot:nth-child(2) { background: #FDE68A; }
.mockup-dot:nth-child(3) { background: #86EFAC; }

.mockup-url {
  margin-left: 12px;
  font-size: 11px;
  color: var(--light);
  background: white;
  padding: 3px 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.mockup-body {
  display: flex;
  background: var(--bg);
  min-height: 280px;
}

.mockup-sidebar {
  width: 56px;
  background: white;
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mockup-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.mockup-sidebar-item {
  width: 32px;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
}

.mockup-sidebar-item.active {
  background: var(--primary-light);
}

.mockup-main {
  flex: 1;
  padding: 16px;
  min-width: 0;
}

.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-topbar-title {
  width: 120px;
  height: 12px;
  border-radius: 4px;
  background: #CBD5E1;
}

.mockup-topbar-btn {
  width: 80px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary);
}

.mockup-grid {
  display: flex;
  gap: 12px;
}

.mockup-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-col-header {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.mockup-col-header.blue { background: var(--primary); opacity: 0.3; }
.mockup-col-header.yellow { background: #F59E0B; opacity: 0.3; }
.mockup-col-header.green { background: #10B981; opacity: 0.3; }

.mockup-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-card-line {
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
}
.mockup-card-line.long { width: 90%; }
.mockup-card-line.medium { width: 65%; }
.mockup-card-line.short { width: 40%; }

.mockup-card-badge {
  width: 36px;
  height: 10px;
  border-radius: 3px;
  margin-top: 2px;
}
.mockup-card-badge.urgent { background: #FEE2E2; }
.mockup-card-badge.high { background: #FFF7ED; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2rem); margin-bottom: 14px; }
  .badge { margin-bottom: 16px; }
  .lead { margin-bottom: 24px; }
  .section { padding: 56px 0; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }

  .nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
  }

  .header__actions { display: none; }
  .mobile-menu-btn { display: flex; margin-left: auto; }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .mockup-section { padding: 0 0 24px; }
  .mockup-body { min-height: 180px; }
  .mockup-sidebar { width: 40px; padding: 8px 4px; }
  .mockup-logo { width: 22px; height: 22px; font-size: 10px; }
  .mockup-sidebar-item { width: 24px; height: 6px; }
  .mockup-main { padding: 10px; }
  .mockup-grid { gap: 6px; }
  .mockup-card { padding: 6px; gap: 4px; }
  .mockup-card-line { height: 4px; }

  .waitlist__form { flex-direction: column; }

  .footer__inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer__links {
    gap: 12px;
  }
}
