/* ════════════════════════════════════════════════════════════════════════════
   VARIABLES & RESET
   ════════════════════════════════════════════════════════════════════════════ */
:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --primary-bg: rgba(79,70,229,.06);
  --primary-border: rgba(79,70,229,.15);
  --accent: #7c3aed;
  --success: #059669;
  --success-bg: rgba(5,150,105,.08);
  --warning: #d97706;
  --warning-bg: rgba(217,119,6,.08);
  --danger: #dc2626;
  --danger-bg: rgba(220,38,38,.08);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-primary: 0 12px 40px rgba(79,70,229,.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

img { max-width: 100%; height: auto; }

/* ════════════════════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════════════════════ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ════════════════════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

.btn-outline {
  background: white;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

.btn-ghost {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
}

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

.btn-nav {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--primary);
  color: white;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-nav:hover {
  background: var(--primary-dark);
}

/* ════════════════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0 1.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.25rem 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, rgba(79,70,229,.08) 0%, rgba(124,58,237,.08) 100%);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 0.25rem;
}

/* Hero Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-dots span:first-child { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:last-child { background: #22c55e; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: white;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.mockup-body {
  padding: 1.25rem;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.m-kpi {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.85rem;
}

.m-kpi-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.m-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.m-kpi-val.red { color: var(--danger); }
.m-kpi-val.orange { color: var(--warning); }
.m-kpi-val.blue { color: var(--primary); }
.m-kpi-val.green { color: var(--success); }

.mockup-calendar {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.m-cal-header {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.m-cal-events {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.m-event {
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.m-event.blue { background: rgba(79,70,229,.1); color: var(--primary); }
.m-event.green { background: rgba(5,150,105,.1); color: var(--success); }
.m-event.orange { background: rgba(217,119,6,.1); color: var(--warning); }

/* ════════════════════════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════════════════════════ */
.stats-bar {
  padding: 2.5rem 0;
  background: var(--text);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

/* ════════════════════════════════════════════════════════════════════════════
   PROBLEM
   ════════════════════════════════════════════════════════════════════════════ */
.problem {
  background: var(--bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.problem-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.problem-icon-wrap.warn {
  background: var(--warning-bg);
  color: var(--warning);
}

.problem-icon-wrap.danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════════════════════ */
.features {
  background: var(--bg-subtle);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.feature-text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.feature-text > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "\2713";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

/* Feature Visuals */
.feature-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* Workflow viz */
.workflow-viz {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.wf-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.wf-step.done {
  background: var(--success-bg);
  border-color: rgba(5,150,105,.2);
  color: var(--success);
}

.wf-step.active {
  background: var(--primary-bg);
  border-color: var(--primary-border);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

.wf-icon {
  font-size: 0.85rem;
}

.wf-line {
  width: 2px;
  height: 16px;
  background: var(--border);
  margin-left: 1.5rem;
}

.wf-line.done {
  background: var(--success);
}

/* Planning viz */
.planning-viz {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pv-day {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1rem;
}

.pv-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.pv-event {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.pv-event.blue { background: rgba(79,70,229,.08); color: var(--primary); }
.pv-event.green { background: var(--success-bg); color: var(--success); }

.pv-tag {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(79,70,229,.1);
  color: var(--primary);
}

.pv-tag.done {
  background: var(--success-bg);
  color: var(--success);
}

.pv-free {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.5rem 0.8rem;
}

/* Finance viz */
.finance-viz {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fv-kpi {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.fv-kpi.alert {
  border-color: rgba(220,38,38,.2);
  background: var(--danger-bg);
}

.fv-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.fv-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.fv-value.red { color: var(--danger); }

.fv-bar {
  margin-top: 0.5rem;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.fv-fill {
  height: 100%;
  background: var(--success);
  border-radius: 999px;
  transition: width 1s ease;
}

.fv-fill.blue {
  background: var(--primary);
}

.fv-relance {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.fv-relance-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.fv-relance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.fv-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.fv-badge.red { background: var(--danger-bg); color: var(--danger); }
.fv-badge.orange { background: var(--warning-bg); color: var(--warning); }

/* Library viz */
.library-viz {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lv-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  transition: all 0.2s;
}

.lv-item:hover {
  border-color: var(--primary-border);
  background: var(--primary-bg);
}

.lv-left {
  flex: 1;
}

.lv-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.lv-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lv-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.lv-add {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.lv-add:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Portal viz */
.portal-viz {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.85rem;
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--primary);
  color: white;
}

.portal-logo-small {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.portal-title {
  font-size: 0.82rem;
  opacity: 0.85;
}

.portal-section {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
}

.portal-section:last-child {
  border-bottom: none;
}

.portal-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.portal-devis {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
}

.portal-devis-num {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.portal-devis-desc {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.portal-devis-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.portal-actions {
  display: flex;
  gap: 0.6rem;
}

.portal-btn {
  flex: 1;
  padding: 0.5rem;
  border-radius: 7px;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.portal-btn.accept {
  background: var(--success);
  color: white;
}

.portal-btn.refuse {
  background: var(--bg-muted);
  color: var(--text-secondary);
}

.portal-facture {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}

.portal-facture-num {
  flex: 1;
  color: var(--text);
  font-weight: 600;
}

.portal-facture-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

.portal-facture-status.paid {
  background: var(--success-bg);
  color: var(--success);
}

.portal-facture-amount {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════════════════════
   BENEFITS
   ════════════════════════════════════════════════════════════════════════════ */
.benefits {
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-border);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════════════════════ */
.how-it-works {
  background: var(--bg-subtle);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.step-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.step-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════════════════════════════════ */
.pricing {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-primary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
}

.pricing-old {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-lock {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features .check {
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--success-bg);
  border: 1px solid rgba(5,150,105,.2);
  border-radius: var(--radius);
  color: var(--success);
  font-size: 0.9rem;
}

.pricing-guarantee strong {
  color: var(--text);
}

.pricing-guarantee svg {
  flex-shrink: 0;
  color: var(--success);
}

/* ════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--bg-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.testimonial-card > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.author-job {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════════════════ */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.faq-item[open] {
  border-color: var(--primary-border);
  box-shadow: 0 0 0 3px rgba(79,70,229,.05);
}

.faq-item summary {
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

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

.faq-answer {
  padding: 0 1.25rem 1.15rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════════════════
   CTA FINAL
   ════════════════════════════════════════════════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 5rem 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.cta-content > p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ════════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--text);
  color: white;
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer .logo {
  color: white;
}

.footer .logo-mark {
  background: rgba(255,255,255,.15);
}

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

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.4);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,.4);
}

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-subtitle { max-width: 100%; }

  .hero-cta {
    align-items: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    max-width: 400px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

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

  .section-title { font-size: 2rem; }

  .hero-title { font-size: 2.4rem; }

  .nav-links,
  .nav-actions { display: none; }

  .mobile-menu-btn { display: block; }

  .stats-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-divider { display: none; }

  .stat-item { flex: 0 0 calc(50% - 0.75rem); }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }

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

  .step-card { max-width: 100%; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-content h2 { font-size: 2rem; }

  .cta-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .mockup-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }

  .section-title { font-size: 1.7rem; }

  .hero-badge { font-size: 0.78rem; }

  .pricing-card { padding: 2rem 1.25rem; }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number { font-size: 1.6rem; }
}
