/* ========================================
   FACTO DIGITAL — Redesign v3
   Aesthetic: Modern Tech / Violet & Teal
   Fonts: Plus Jakarta Sans
   ======================================== */

/* === VARIABLES === */
:root {
  --violet:      #3B0F6F;
  --violet-2:    #5C1FA0;
  --violet-3:    #7C3AED;
  --teal:        #0DD9A8;
  --teal-dark:   #0AB891;
  --lavender:    #F5F0FF;
  --lavender-2:  #EDE8FF;
  --white:       #FFFFFF;
  --ink:         #1A0A33;
  --muted:       #6E6A8A;
  --border:      #E8E4F5;
  --green:       #10B981;
  --radius-sm:   6px;
  --radius:      14px;
  --radius-lg:   20px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.3rem; font-weight: 800;
  color: var(--violet); text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--teal); }
.nav-links {
  display: flex; gap: 36px; list-style: none; align-items: center;
}
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.88rem; font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--violet); }
.nav-cta {
  background: linear-gradient(135deg, var(--violet-2), var(--violet-3)) !important;
  color: var(--white) !important;
  padding: 10px 24px; border-radius: 50px !important;
  font-size: 0.85rem !important; font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(92,31,160,0.35);
  transition: all 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(92,31,160,0.45) !important; }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--violet); margin: 5px 0; transition: 0.3s;
  border-radius: 2px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 40px 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1A0438 0%, #3B0F6F 30%, #5C1FA0 60%, #1A3A8F 100%);
}
/* Animated background glow */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(13,217,168,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 30%, rgba(124,58,237,0.2) 0%, transparent 55%);
  animation: hero-glow 6s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
/* Wave lines */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%23ffffff' fill-opacity='0.03' d='M0,80 C240,140 480,20 720,90 C960,160 1200,40 1440,100 L1440,180 L0,180 Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='0.04' d='M0,120 C360,60 720,160 1080,80 C1260,40 1380,120 1440,100 L1440,180 L0,180 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,217,168,0.15);
  border: 1px solid rgba(13,217,168,0.35);
  color: var(--teal);
  padding: 7px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal); border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--teal);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}
.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}
.hero-em {
  display: inline;
  color: var(--teal);
  position: relative;
}
.hero > .hero-inner > div:first-child > p {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  margin-bottom: 40px; max-width: 480px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-size: 0.88rem; font-weight: 700;
  text-decoration: none; transition: all 0.25s;
  border: 2px solid transparent; cursor: pointer;
  border-radius: 50px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(13,217,168,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(13,217,168,0.5); }
.btn-outline {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.btn-whatsapp {
  background: #1DAF48; color: var(--white);
  border-color: #1DAF48;
  box-shadow: 0 4px 20px rgba(29,175,72,0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #178f3c; box-shadow: 0 8px 32px rgba(29,175,72,0.4); }
/* Dark section button overrides */
.btn-outline-dark {
  background: transparent; color: var(--violet);
  border: 2px solid var(--border);
  border-radius: 50px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: 0.88rem; font-weight: 700;
  text-decoration: none; transition: all 0.25s; cursor: pointer;
}
.btn-outline-dark:hover { background: var(--lavender); border-color: var(--violet-3); }

/* === HERO CARD === */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden; max-width: 400px; width: 100%;
  backdrop-filter: blur(20px);
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
.hero-card-header {
  background: rgba(13,217,168,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 12px;
}
.hero-card-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-card-icon svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-card-title { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.hero-card-sub { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
.hero-card-body { padding: 20px 22px 22px; }
.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stat-row:last-of-type { border: none; }
.stat-label { color: rgba(255,255,255,0.55); font-size: 0.83rem; }
.stat-value { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.stat-value.up { color: var(--teal); }
.stat-bar {
  height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px;
  margin-top: 14px; overflow: hidden;
}
.stat-bar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), #7C3AED);
  width: 0%; transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* === MARQUEE === */
.marquee-band {
  background: var(--lavender);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-content { display: flex; flex-shrink: 0; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0 40px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); white-space: nowrap;
}
.marquee-item strong { color: var(--violet-2); }
.marquee-sep {
  width: 5px; height: 5px;
  background: var(--teal); border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === SECTIONS GENERAL === */
section { padding: 100px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.section-num { font-size: 0.7rem; font-weight: 800; color: var(--teal); letter-spacing: 0.1em; }
.section-line { width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-label-text {
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  color: var(--ink); line-height: 1.2;
  margin-bottom: 16px; letter-spacing: -0.5px; font-weight: 800;
}
.section-desc {
  font-size: 1.02rem; color: var(--muted);
  max-width: 560px; margin-bottom: 52px; line-height: 1.8;
}

/* === PROBLEM === */
.problem {
  background: linear-gradient(150deg, #1A0438 0%, #3B0F6F 50%, #1A3A8F 100%);
  color: var(--white);
}
.problem .section-num        { color: rgba(13,217,168,0.7); }
.problem .section-line       { background: rgba(13,217,168,0.5); }
.problem .section-label-text { color: rgba(255,255,255,0.35); }
.problem .section-title      { color: var(--white); }
.problem .section-desc       { color: rgba(255,255,255,0.5); }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}
.problem-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(13,217,168,0.3);
  transform: translateY(-4px);
}
.problem-num {
  font-size: 3rem; font-weight: 800;
  color: rgba(13,217,168,0.15);
  line-height: 1; margin-bottom: 20px;
  letter-spacing: -2px;
}
.problem-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(13,217,168,0.12);
  border: 1px solid rgba(13,217,168,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.problem-icon-wrap svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--white); font-weight: 700; }
.problem-card p  { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* === SERVICES === */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  background: var(--lavender);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.3s;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.service-card:hover {
  background: var(--white);
  border-color: var(--violet-3);
  box-shadow: 0 8px 40px rgba(92,31,160,0.12);
  transform: translateY(-4px);
}
.service-icon-wrap {
  width: 52px; height: 52px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(92,31,160,0.08);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--violet-2), var(--violet-3));
  border-color: var(--violet-2);
}
.service-icon-wrap svg { width: 24px; height: 24px; stroke: var(--violet-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.service-card:hover .service-icon-wrap svg { stroke: var(--white); }
.service-card h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 10px; font-weight: 700; }
.service-card p  { font-size: 0.87rem; color: var(--muted); line-height: 1.75; text-align: justify; }

/* === SECTEURS === */
.secteurs { background: var(--lavender); }
.sectors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
}
.sector-tag {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  text-align: center;
  transition: all 0.25s;
  border: 1px solid var(--border);
}
.sector-tag:hover {
  border-color: var(--violet-3);
  box-shadow: 0 8px 32px rgba(92,31,160,0.1);
  transform: translateY(-3px);
}
.sector-tag:hover .sector-icon { color: var(--violet-3); }
.sector-tag:hover .sector-name  { color: var(--violet-2); }
.sector-emoji { display: none; }
.sector-icon {
  width: 64px; height: 64px;
  color: var(--violet-2);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: color 0.25s;
}
.sector-icon svg { display: block; width: 64px; height: 64px; }
.sector-name {
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; line-height: 1.3;
  transition: color 0.2s;
}
.sector-desc {
  font-size: 0.87rem; color: var(--muted); line-height: 1.7;
  text-align: justify;
}

/* === IA SECTION === */
.ia-section {
  background: var(--white);
  position: relative; overflow: hidden;
}
.ia-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.ia-section .section-inner { position: relative; z-index: 1; text-align: center; }
.ia-section .section-eyebrow { justify-content: center; }
.ia-section .section-title { margin: 0 auto 16px; }
.ia-section .section-desc  { margin: 0 auto 52px; }

.ia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ia-card {
  background: var(--lavender);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px; text-align: left;
  transition: all 0.3s;
}
.ia-card:hover {
  border-color: var(--violet-3);
  box-shadow: 0 8px 40px rgba(92,31,160,0.12);
  transform: translateY(-4px);
}
.ia-card-indicator {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; margin-bottom: 18px;
}
.ia-card-indicator.green  { background: #10B981; box-shadow: 0 0 12px rgba(16,185,129,0.5); }
.ia-card-indicator.purple { background: #8B5CF6; box-shadow: 0 0 12px rgba(139,92,246,0.5); }
.ia-card-indicator.blue   { background: #3B82F6; box-shadow: 0 0 12px rgba(59,130,246,0.5); }
.ia-platform-name {
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--violet-2); margin-bottom: 10px;
}
.ia-card h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 12px; font-weight: 800; }
.ia-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }

/* === STATS SECTION === */
.stats-section { background: linear-gradient(135deg, #2D0A6B 0%, #4A1D96 50%, #1A3A8F 100%); padding: 80px 40px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-item { }
.stat-big { font-size: 3.5rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 8px; letter-spacing: -2px; }
.stat-label-big { font-size: 0.9rem; color: rgba(255,255,255,0.6); font-weight: 500; }

/* === PRICING === */
.pricing { background: var(--lavender); }
.pricing .section-inner   { text-align: center; }
.pricing .section-eyebrow { justify-content: center; }
.pricing .section-title   { margin: 0 auto 16px; }
.pricing .section-desc    { margin: 0 auto 52px; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px; text-align: left;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover { box-shadow: 0 12px 48px rgba(92,31,160,0.1); }
.pricing-card.featured {
  background: linear-gradient(150deg, #2D0A6B 0%, #4A1D96 100%);
  border-color: var(--violet-2);
  box-shadow: 0 12px 48px rgba(59,15,111,0.35);
}
.pricing-badge {
  position: absolute; top: -1px; left: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--ink);
  font-size: 0.65rem; font-weight: 800;
  padding: 5px 14px; border-radius: 0 0 8px 8px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.pricing-name {
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 8px;
}
.pricing-card.featured .pricing-name { color: rgba(255,255,255,0.4); }
.pricing-title { font-size: 1.6rem; color: var(--ink); margin-bottom: 20px; font-weight: 800; }
.pricing-card.featured .pricing-title { color: var(--white); }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pricing-amount { font-size: 3.2rem; font-weight: 800; color: var(--violet); line-height: 1; }
.pricing-card.featured .pricing-amount { color: var(--teal); }
.pricing-currency { font-size: 1rem; color: var(--muted); }
.pricing-card.featured .pricing-currency { color: rgba(255,255,255,0.4); }
.pricing-period { font-size: 0.82rem; color: var(--muted); margin-bottom: 28px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.45); }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: 0.87rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border: none; }
.pricing-card.featured .pricing-features li {
  color: rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.07);
}
.pricing-features li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8.5' fill='%23EDE8FF' stroke='%237C3AED' stroke-width='1'/%3E%3Cpath fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 9l3 3 5-5'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.pricing-card.featured .pricing-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8.5' fill='rgba(13,217,168,0.15)' stroke='%230DD9A8' stroke-width='1'/%3E%3Cpath fill='none' stroke='%230DD9A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 9l3 3 5-5'/%3E%3C/svg%3E");
}
.pricing-note { font-size: 0.77rem; color: var(--muted); margin-top: 12px; text-align: center; }
.pricing-card.featured .pricing-note { color: rgba(255,255,255,0.3); }

/* === PROCESS === */
.process { background: var(--white); }
.process .section-inner   { text-align: center; }
.process .section-eyebrow { justify-content: center; }
.process .section-title   { margin: 0 auto 16px; }
.process .section-desc    { margin: 0 auto 52px; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: var(--lavender);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: left;
  transition: all 0.3s; position: relative;
}
.step:hover {
  border-color: var(--violet-3);
  box-shadow: 0 8px 32px rgba(92,31,160,0.1);
  transform: translateY(-4px);
}
.step-number {
  font-size: 2.5rem; font-weight: 800;
  color: var(--violet-3); opacity: 0.2;
  line-height: 1; margin-bottom: 16px;
}
.step h3 { font-size: 1rem; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.step p  { font-size: 0.83rem; color: var(--muted); line-height: 1.7; }

/* === FAQ === */
.faq { background: var(--lavender); }
.faq-list { max-width: 780px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-item:has(.faq-question.active) {
  border-color: var(--violet-3);
  box-shadow: 0 4px 20px rgba(92,31,160,0.1);
}
.faq-question {
  font-weight: 700; color: var(--ink); font-size: 1rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; gap: 20px;
  transition: color 0.2s;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem; color: var(--violet-3);
  transition: transform 0.3s; flex-shrink: 0;
  font-weight: 400;
}
.faq-question.active { color: var(--violet-2); }
.faq-question.active::after { transform: rotate(45deg); }
.faq-answer {
  color: var(--muted); font-size: 0.9rem; line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }

/* === CTA === */
.cta {
  background: linear-gradient(140deg, #1A0438 0%, #3B0F6F 40%, #5C1FA0 70%, #1A3A8F 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(13,217,168,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta .section-inner { position: relative; z-index: 1; }
.cta .section-eyebrow     { justify-content: center; }
.cta .section-num         { color: rgba(13,217,168,0.6); }
.cta .section-line        { background: rgba(13,217,168,0.4); }
.cta .section-label-text  { color: rgba(255,255,255,0.4); }
.cta .section-title       { color: var(--white); margin: 0 auto 16px; max-width: 640px; }
.cta .section-desc        { color: rgba(255,255,255,0.6); margin: 0 auto 40px; max-width: 500px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
footer {
  background: #0D0520;
  color: rgba(255,255,255,0.3);
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
footer .logo { color: rgba(255,255,255,0.85); display: inline-block; margin-bottom: 4px; font-size: 1.3rem; font-weight: 800; text-decoration: none; }
footer .logo span { color: var(--teal); }
footer p { font-size: 0.82rem; }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.05); margin: 12px 0; }
.disclaimer {
  max-width: 580px;
  font-size: 0.71rem; color: rgba(255,255,255,0.17); line-height: 1.65;
}

/* === ANIMATIONS === */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .hero { padding: 100px 24px 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-card { animation: none; max-width: 100%; }
  section { padding: 72px 24px; }
  .problem-grid, .ia-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 24px; gap: 20px;
    box-shadow: 0 8px 40px rgba(59,15,111,0.12);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
