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

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

body {
  background: #0D1117;
  color: #F1F5F9;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== AMBIENT GLOW ===== */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  bottom: -200px;
  right: -150px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  bottom: -100px;
  right: 100px;
}

/* ===== NAVBAR ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #1E2433;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: #6366F1;
  letter-spacing: -1px;
  flex-shrink: 0;
}

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

.nav-link {
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #F1F5F9;
}

.nav-cta {
  background: #6366F1;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #5558E3;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

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

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #94A3B8;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.1);
  color: #818CF8;
  border: 1px solid rgba(99,102,241,0.2);
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.8px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.accent {
  color: #6366F1;
}

.hero-sub {
  color: #94A3B8;
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: #6366F1;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-block;
}

.btn-primary:hover {
  background: #5558E3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.35);
}

.btn-secondary {
  background: transparent;
  color: #F1F5F9;
  border: 1px solid #2D3748;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: #6366F1;
  color: #818CF8;
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 0.5rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}

.marquee-content span {
  color: #4A5568;
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS COMMON ===== */
.section-label {
  font-size: 12px;
  color: #6366F1;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.section-sub {
  color: #64748B;
  font-size: 15px;
  margin-bottom: 2rem;
}

/* ===== CURRENCY SELECTOR ===== */
.currency-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.currency-selector-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  flex-shrink: 0;
}

.currency-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.currency-btn {
  background: #161B27;
  color: #64748B;
  border: 1px solid #252D3D;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.currency-btn:hover {
  border-color: #6366F1;
  color: #818CF8;
}

.currency-btn.active {
  background: rgba(99,102,241,0.15);
  color: #818CF8;
  border-color: #6366F1;
}

/* ===== DEMO ===== */
.demo {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #161B27;
  color: #64748B;
  border: 1px solid #252D3D;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: #6366F1;
  color: #818CF8;
}

.filter-btn.active {
  background: #6366F1;
  color: white;
  border-color: #6366F1;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  transition: all 0.3s;
  overflow: hidden;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 8px 30px rgba(99,102,241,0.08);
}

.kpi-label {
  font-size: 10px;
  color: #4A5568;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  word-break: break-word;
}

.kpi-value.green { color: #10B981; }
.kpi-value.red { color: #EF4444; }

.kpi-change {
  font-size: 11px;
  color: #4A5568;
  margin-top: 4px;
}

.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.chart-card {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 12px;
  padding: 1.3rem;
  transition: all 0.3s;
  overflow: hidden;
}

.chart-card:hover {
  border-color: rgba(99,102,241,0.25);
}

.chart-title {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 1rem;
}

.chart-container {
  position: relative;
  height: 200px;
}

.chart-container-sm {
  height: 140px;
}

.leg {
  display: flex;
  gap: 1.2rem;
  margin-top: 10px;
}

.leg span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #64748B;
}

.leg-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.country-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.country-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 8px;
}

.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}

.c-name { color: #94A3B8; }
.c-val {
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 5rem 0;
  background: #0A0F1A;
  position: relative;
  z-index: 1;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2rem;
}

.pain-card {
  background: #111827;
  border: 1px solid #1E2433;
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239,68,68,0.3);
  box-shadow: 0 8px 30px rgba(239,68,68,0.06);
}

.pain-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.pain-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pain-text {
  font-size: 13px;
  color: #64748B;
  line-height: 1.65;
}

/* ===== FEATURES ===== */
.features {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2rem;
}

.feat-card {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 8px 30px rgba(99,102,241,0.08);
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6366F1;
  margin-bottom: 14px;
}

.feat-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feat-text {
  font-size: 13px;
  color: #64748B;
  line-height: 1.65;
}

/* ===== COMPARISON TABLE ===== */
.comparison {
  padding: 5rem 0;
  background: #0A0F1A;
  position: relative;
  z-index: 1;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid #252D3D;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #161B27;
  font-size: 14px;
  min-width: 480px;
}

.compare-table thead {
  background: #111827;
}

.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid #252D3D;
  white-space: nowrap;
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #1E2433;
  color: #94A3B8;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: rgba(99,102,241,0.04);
}

.col-faida {
  color: #F1F5F9 !important;
  font-weight: 600;
}

.col-sheets {
  color: #64748B !important;
}

.check-yes {
  color: #10B981;
  font-weight: 700;
  margin-right: 4px;
}

.check-no {
  color: #EF4444;
  font-weight: 700;
  margin-right: 4px;
}

.check-partial {
  color: #F59E0B;
  font-weight: 700;
  margin-right: 4px;
}

/* ===== PRICING ===== */
.pricing {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 780px;
  margin: 2rem auto 0;
}

.pricing-card {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}

.pricing-card.popular {
  border-color: #6366F1;
  box-shadow: 0 0 40px rgba(99,102,241,0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #6366F1;
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
}

.pricing-period {
  font-size: 16px;
  font-weight: 500;
  color: #64748B;
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: #94A3B8;
  border-bottom: 1px solid #1E2433;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-btn {
  width: 100%;
  text-align: center;
  padding: 12px 24px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: #0A0F1A;
  position: relative;
  z-index: 1;
}

.cta-sub {
  color: #64748B;
  font-size: 15px;
  max-width: 480px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
}

.form-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
}

.form-input {
  flex: 1;
  min-width: 0;
  background: #161B27;
  border: 1px solid #252D3D;
  color: #F1F5F9;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #6366F1;
}

.form-input::placeholder {
  color: #4A5568;
}

.form-submit {
  background: #6366F1;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.25s;
  flex-shrink: 0;
}

.form-submit:hover {
  background: #5558E3;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

.form-message {
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}

.form-message.success { color: #10B981; }
.form-message.error { color: #EF4444; }

.reassurance {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.reassurance span {
  font-size: 13px;
  color: #64748B;
}

.check-icon {
  color: #10B981;
  font-weight: 700;
  margin-right: 4px;
}

/* ===== FEATURE STATES ===== */
.feature-disabled {
  opacity: 0.4;
}

.feature-disabled .check-no {
  color: #4A5568;
}

.plugin-feature {
  border-top: 1px solid rgba(99,102,241,0.15);
  padding-top: 8px;
  margin-top: 4px;
}

.plugin-feature:first-of-type {
  margin-top: 8px;
}

/* ===== FORM CARD ===== */
.form-card {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 16px;
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
}

.label-hint {
  font-weight: 400;
  color: #64748B;
  font-size: 12px;
}

.form-group input,
.form-group select {
  background: #0D1117;
  border: 1px solid #252D3D;
  border-radius: 10px;
  padding: 12px 14px;
  color: #F1F5F9;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input::placeholder {
  color: #4A5568;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: #161B27;
  color: #F1F5F9;
}

.form-submit-full {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 0.5rem;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  padding: 6rem 0 4rem;
  position: relative;
  z-index: 1;
}

.legal-content h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #F1F5F9;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
}

.legal-content ul li::before {
  content: "—";
  color: #6366F1;
  margin-right: 8px;
}

.legal-content a {
  color: #6366F1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: #818CF8;
}

.legal-date {
  color: #64748B;
  font-size: 13px;
  margin-bottom: 2rem;
}

/* ===== FORM CONSENT ===== */
.form-consent {
  text-align: center;
  font-size: 12px;
  color: #4A5568;
  margin-bottom: 1rem;
}

.form-consent a {
  color: #6366F1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: #818CF8;
}

/* ===== FOOTER ===== */
.footer {
  background: #050810;
  padding: 2rem 0;
  border-top: 1px solid #111827;
  position: relative;
  z-index: 1;
}

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

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: #6366F1;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 13px;
  color: #4A5568;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer-legal a {
  color: #4A5568;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #6366F1;
}

.footer-contact {
  color: #4A5568;
  font-size: 13px;
  margin-top: 0.5rem;
}

.footer-contact a {
  color: #6366F1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #818CF8;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ECOSYSTEM SECTION ===== */
.ecosystem-section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.ecosystem-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* Animation wrapper */
.eco-animation {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.ecosystem-wrapper {
  position: relative;
  width: 600px;
  max-width: 100%;
  padding: 2.5rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ecosystem-wrapper canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.ecosystem-grid {
  position: relative;
  width: 100%;
  height: 460px;
}

/* Ecosystem nodes */
.faida-node {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  border: 1.5px solid;
  background: #161B27;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}

.faida-node:hover .node-icon { transform: scale(1.08) !important; }

.node-label { font-size: 13px; font-weight: 700; margin-top: 8px; letter-spacing: 0.3px; }
.node-sub   { color: #64748b; font-size: 11px; margin-top: 3px; }

/* Node positions */
#eco-node-form  { top: 10px;  left: 50%; transform: translateX(-50%); }
#eco-node-grab  { top: 175px; left: 20px; }
#eco-node-boost { top: 175px; right: 20px; }

/* CRM center */
#eco-crm-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.crm-ring {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 2px solid #6366f1;
  background: #161B27;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px #6366f166, 0 0 80px #6366f122;
  animation: eco-float-crm 4s ease-in-out infinite;
}

.crm-label { color: #6366f1; font-size: 15px; font-weight: 700; margin-top: 10px; letter-spacing: 1px; }
.crm-sub   { color: #475569; font-size: 11px; margin-top: 3px; }

/* Float animations */
@keyframes eco-float-crm   { 0%,100%{ transform:translateY(0); }   50%{ transform:translateY(-8px); } }
@keyframes eco-float-top   { 0%,100%{ transform:translateX(-50%) translateY(0); }   50%{ transform:translateX(-50%) translateY(-9px); } }
@keyframes eco-float-left  { 0%,100%{ transform:translateY(0); }   50%{ transform:translateY(-9px); } }
@keyframes eco-float-right { 0%,100%{ transform:translateY(0); }   50%{ transform:translateY(-9px); } }

#eco-node-form  { animation: eco-float-top   4.2s ease-in-out infinite 0.4s; }
#eco-node-grab  { animation: eco-float-left  4s   ease-in-out infinite 1.1s; }
#eco-node-boost { animation: eco-float-right 4.4s ease-in-out infinite 0.7s; }

/* PRO badge */
.pro-badge {
  position: relative;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #161B27;
  border: 1px solid #6366f144;
  border-radius: 999px;
  padding: 10px 22px;
  z-index: 10;
}

.pro-pill {
  background: #6366f1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.pro-text { color: #94a3b8; font-size: 13px; }
.pro-economy { color: #10b981; font-weight: 700; }


/* Plugin cards */
.plugin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.plugin-card {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.plugin-card:hover {
  transform: translateY(-4px);
  border-color: var(--plugin-color, #6366F1);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--plugin-color, #6366F1) 15%, transparent);
}

.plugin-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  border: 1.5px solid;
  background: #0D1117;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

.plugin-card-name {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plugin-card-desc {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.plugin-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Economic banner */
.eco-banner {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.eco-banner-text {
  font-size: 16px;
  color: #94A3B8;
  max-width: 560px;
  line-height: 1.6;
}

.eco-banner-text strong {
  color: #F1F5F9;
}

.eco-banner-cta {
  padding: 12px 28px;
}

/* ===== SAVINGS / COMPARAISON ÉCONOMIQUE ===== */
.savings-section {
  padding: 5rem 0;
  background: #0A0F1A;
  position: relative;
  z-index: 1;
}

.savings-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.comparison-table-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.comparison-col {
  background: #161B27;
  border: 1px solid #252D3D;
  border-radius: 16px;
  padding: 1.5rem;
}

.comparison-col.shopify-col {
  background: #1a0f0f;
  border-color: #7f1d1d;
}

.comparison-col.faida-col {
  background: #0f1a14;
  border-color: #065f46;
}

.comparison-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #252D3D;
}

.comparison-col-title {
  font-size: 18px;
  font-weight: 800;
}

.comparison-col-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.shopify-badge {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
}

.faida-badge {
  background: rgba(16,185,129,0.15);
  color: #10B981;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(37,45,61,0.5);
  gap: 12px;
}

.comparison-row:last-of-type {
  border-bottom: none;
}

.comparison-label {
  font-size: 13px;
  color: #94A3B8;
}

.price-shopify {
  font-size: 14px;
  font-weight: 600;
  color: #ef4444;
  white-space: nowrap;
}

.price-faida {
  font-size: 14px;
  font-weight: 600;
  color: #10B981;
  white-space: nowrap;
}

.comparison-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid #252D3D;
}

.comparison-total .comparison-label {
  font-size: 15px;
  font-weight: 700;
  color: #F1F5F9;
}

.comparison-total .price-shopify {
  font-size: 1.5rem;
  font-weight: 700;
}

.comparison-total .price-faida {
  font-size: 1.5rem;
  font-weight: 700;
}

.savings-highlight {
  border: 1.5px solid #6366f1;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 400px;
  background: #0f0f1a;
}

.savings-highlight-label {
  font-size: 14px;
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.savings-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #10B981;
  display: block;
  margin: 0.5rem 0;
  letter-spacing: -1px;
}

.savings-highlight-sub {
  font-size: 13px;
  color: #64748B;
}

.savings-note {
  color: #94A3B8;
  font-size: 12px;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.savings-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ===== RESPONSIVE — TABLET (768px–1024px) ===== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .pricing-card {
    padding: 1.5rem 1.2rem;
  }

  .pricing-price {
    font-size: 34px;
  }

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

  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

}

/* ===== RESPONSIVE — TABLET SMALL (640px–768px) ===== */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  /* === CORRECTIFS MOBILE v2 === */

  /* Plugin cards : 1 colonne */
  .plugin-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Comparaison Shopify vs FAIDA : empiler */
  .comparison-table-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Economie annuelle : empêcher le retour à la ligne */
  .savings-amount {
    font-size: 2rem;
    white-space: nowrap;
  }

  .savings-highlight {
    max-width: 100%;
    padding: 1.5rem 1rem;
  }

  /* Animation écosystème : canvas visible sur mobile aussi */
  .ecosystem-wrapper canvas {
    display: block;
  }

  .ecosystem-wrapper {
    padding: 1rem 0;
  }

  .ecosystem-grid {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
  }

  #eco-node-form,
  #eco-node-grab,
  #eco-node-boost {
    position: static;
    transform: none;
    width: 100px;
    animation: eco-float-left 4s ease-in-out infinite;
  }

  #eco-crm-center {
    position: static;
    transform: none;
    order: -1;
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .crm-ring {
    width: 90px;
    height: 90px;
  }

  .node-icon {
    width: 56px;
    height: 56px;
  }

  .node-label {
    font-size: 11px;
  }

  .node-sub {
    font-size: 10px;
  }

  .pro-badge {
    margin-top: 1rem;
    padding: 8px 14px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .pro-text {
    font-size: 12px;
  }

  /* Centrage titres sections */
  .savings-intro,
  .ecosystem-intro {
    text-align: center;
  }

  /* Centrage de tous les titres de sections sur mobile */
  .section-label,
  .section-title,
  .section-sub,
  .cta-sub {
    text-align: center;
  }

  /* Bannière économique */
  .eco-banner {
    padding: 1.5rem 1rem;
  }

  .eco-banner-text {
    font-size: 14px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13,17,23,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #1E2433;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid #1E2433;
    font-size: 15px;
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-title {
    letter-spacing: -1.5px;
  }

  .hero-sub br {
    display: none;
  }


  .section-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

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

  .chart-container {
    height: 180px;
  }
}

/* ===== RESPONSIVE — MOBILE (320px–430px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .badge {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 26px;
    letter-spacing: -1px;
    line-height: 1.12;
  }

  .hero-sub {
    font-size: 14px;
    margin-bottom: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 13px 24px;
    font-size: 14px;
  }

  .marquee-content {
    gap: 1.5rem;
    padding-right: 1.5rem;
  }

  .marquee-content span {
    font-size: 12px;
  }


  /* Currency selector mobile */
  .currency-selector {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .currency-btns {
    gap: 5px;
  }

  .currency-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  /* Filters mobile */
  .filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* KPIs mobile */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .kpi-card {
    padding: 0.9rem;
  }

  .kpi-value {
    font-size: 18px;
  }

  .kpi-label {
    font-size: 9px;
  }

  .kpi-change {
    font-size: 10px;
  }

  /* Charts mobile */
  .charts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chart-card {
    padding: 1rem;
  }

  .chart-container {
    height: 160px;
  }

  .chart-container-sm {
    height: 120px;
  }

  .country-row {
    font-size: 11px;
  }

  .leg {
    gap: 0.8rem;
  }

  .leg span {
    font-size: 11px;
  }

  /* Cards mobile */
  .pain-grid,
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pain-card,
  .feat-card {
    padding: 1.2rem;
  }

  .pain-title,
  .feat-title {
    font-size: 14px;
  }

  .pain-text,
  .feat-text {
    font-size: 12px;
  }

  /* Table mobile */
  .compare-table {
    min-width: 420px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 10px;
    font-size: 12px;
  }

  /* Pricing mobile */
  .pricing-grid {
    max-width: 100%;
    gap: 16px;
  }

  .pricing-card {
    padding: 1.5rem 1.2rem;
  }

  .pricing-price {
    font-size: 36px;
  }

  /* CTA mobile */
  .cta-section {
    padding: 3.5rem 0;
  }

  .cta-sub {
    font-size: 14px;
  }

  .cta-sub br {
    display: none;
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
  }

  .form-input {
    min-width: 100%;
    padding: 12px 14px;
  }

  .form-submit {
    width: 100%;
    padding: 13px 20px;
  }

  .reassurance {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  /* Section spacing mobile */
  .demo,
  .problem,
  .features,
  .comparison,
  .ecosystem-section,
  .savings-section,
  .pricing {
    padding: 3.5rem 0;
  }

  .section-label {
    font-size: 11px;
  }

  .section-sub {
    font-size: 13px;
    margin-bottom: 1.5rem;
  }

  /* Footer mobile */
  .footer {
    padding: 1.5rem 0;
  }

  .footer-sub {
    font-size: 11px;
    padding: 0 1rem;
  }
}

/* ===== VERY SMALL SCREENS (320px) ===== */
@media (max-width: 360px) {
  .hero-title {
    font-size: 23px;
  }


  .kpi-value {
    font-size: 16px;
  }

  .pricing-price {
    font-size: 30px;
  }

  .currency-btn {
    padding: 4px 8px;
    font-size: 10px;
  }
}
