/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1A1325;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --ink: #1A1325;
  --ink-2: #2D2440;
  --body: #5D5570;
  --body-2: #8B8399;
  --bg: #FFFFFF;
  --bg-lilac: #F6F1FF;
  --bg-lilac-2: #EFE7FF;
  --bg-mint: #EAF7F0;
  --border: #E9E4F0;
  --border-strong: #D6CEE5;
  --purple: #6B2EE8;
  --purple-ink: #4A1CB8;
  --purple-soft: #F1EAFF;
  --purple-softer: #F8F4FF;
  --lilac: #B8A1E8;
  --mint: #1FB26E;
  --mint-soft: #E4F7ED;
  --coral: #FF6B5C;
  --amber: #F5A524;
  --star: #FFB627;
  --shadow-sm: 0 2px 10px rgba(30,15,60,0.04);
  --shadow-md: 0 10px 30px rgba(50,25,100,0.08);
  --shadow-lg: 0 20px 50px rgba(60,30,120,0.12);
  --shadow-xl: 0 30px 80px rgba(60,30,120,0.18);
}

/* ========== Layout ========== */
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

section { padding: 120px 0; position: relative; }
@media (max-width: 900px) { section { padding: 80px 0; } }

h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.022em; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.6vw, 46px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0; color: var(--body); font-size: 17px; line-height: 1.65; }

.serif-italic { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.grad-text {
  background: linear-gradient(95deg, #6B2EE8 0%, #B14AFF 55%, #FF6B5C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 10px 24px rgba(107,46,232,0.28);
}
.btn-primary:hover { background: var(--purple-ink); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(107,46,232,0.38); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-light {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(30,15,60,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 40px;
}
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6B2EE8 0%, #B14AFF 100%);
  display: grid; place-items: center;
  color: white;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(107,46,232,0.35);
  letter-spacing: -0.02em;
}
.logo-mark-img {
  width: 34px; height: 34px;
  object-fit: contain;
  display: block;
}
.mini-mark-img {
  width: 26px; height: 26px;
  object-fit: contain;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .nav-cta .btn-ghost { display: none; }
}

/* ========== Hero ========== */
.hero {
  padding: 10px 0 110px !important;
  margin-top: 0 !important;
  background:
    radial-gradient(90% 60% at 50% -10%, #F3EBFF 0%, transparent 55%),
    radial-gradient(60% 50% at 90% 20%, #FFE9E5 0%, transparent 60%),
    #FFFFFF;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,46,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,46,232,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center top, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.avatar-stack { display: flex; }
.avatar-stack > div {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.avatar-stack > div + div { margin-left: -10px; }

.hero h1 { margin-bottom: 26px; }
.hero h1 .serif-italic { color: var(--purple); }
.hero-sub {
  font-size: 19px;
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--body);
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-micro {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--body);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-micro .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--body-2); }
.hero-micro span.check { display: inline-flex; align-items: center; gap: 6px; }
.hero-micro .check svg { color: var(--mint); }

.hero-visual {
  margin-top: 72px;
  position: relative;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* Platform mockup — Amplimed-style "plataforma" hero */
.platform {
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.03);
  overflow: hidden;
  position: relative;
}
.platform-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #F0EBF7;
}
.platform-dots { display: flex; gap: 7px; }
.platform-dots span { width: 11px; height: 11px; border-radius: 50%; }
.platform-dots span:nth-child(1) { background: #FF5F56; }
.platform-dots span:nth-child(2) { background: #FFBD2E; }
.platform-dots span:nth-child(3) { background: #27C93F; }
.platform-url {
  margin-left: 16px;
  flex: 1;
  background: #F6F3FB;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--body);
  display: flex; align-items: center; gap: 8px;
}
.platform-url svg { color: var(--mint); }

.platform-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
}
.platform-shot { background: #fff; }
.platform-shot img { display: block; width: 100%; height: auto; }
.platform-side {
  background: #FAF7FE;
  border-right: 1px solid #F0EBF7;
  padding: 22px 16px;
}
.side-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 0 8px; }
.side-brand .mini-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, #6B2EE8 0%, #B14AFF 100%);
  display: grid; place-items: center;
  color: white; font-size: 13px; font-weight: 800;
}
.side-brand span { font-weight: 700; font-size: 14px; color: var(--ink); }

.side-section { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body-2); padding: 0 10px; margin: 14px 0 8px; font-weight: 700; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background 0.15s;
}
.side-item:hover { background: #F0EBF7; }
.side-item.active { background: linear-gradient(95deg, #6B2EE8, #8E3FE8); color: white; box-shadow: 0 4px 12px rgba(107,46,232,0.25); }
.side-item.active svg { color: white; }
.side-item svg { color: var(--purple); flex-shrink: 0; }
.side-badge { margin-left: auto; font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: var(--coral); color: white; font-weight: 700; }
.side-item.active .side-badge { background: rgba(255,255,255,0.25); }

.platform-main { padding: 24px 28px; background: white; overflow: hidden; }
.pm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pm-head h4 { font-size: 18px; font-weight: 700; }
.pm-head .pm-actions { display: flex; gap: 8px; }
.pm-tag {
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 600;
  background: #F6F3FB;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.pm-tag.live { background: var(--mint-soft); color: #0F7A45; }
.pm-tag.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(31,178,110,0.22); }

.pm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.pm-kpi {
  background: #FBF9FE;
  border: 1px solid #F0EBF7;
  border-radius: 12px;
  padding: 13px 14px;
}
.pm-kpi-label { font-size: 11.5px; color: var(--body); margin-bottom: 4px; font-weight: 500; }
.pm-kpi-val { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.pm-kpi-trend { font-size: 11px; color: var(--mint); font-weight: 700; margin-top: 2px; }

.pm-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.pm-card {
  background: #FBF9FE;
  border: 1px solid #F0EBF7;
  border-radius: 12px;
  padding: 16px;
}
.pm-card h5 { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.pm-chart { position: relative; height: 140px; }

.pm-convos { display: flex; flex-direction: column; gap: 10px; }
.pm-convo { display: flex; gap: 10px; align-items: center; padding: 8px 8px; border-radius: 9px; transition: background 0.15s; }
.pm-convo:hover { background: #F0EBF7; }
.pm-convo-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #B14AFF, #6B2EE8);
  color: white; display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
  position: relative;
}
.pm-convo-av.ch1 { background: linear-gradient(135deg, #25D366, #128C7E); }
.pm-convo-av.ch2 { background: linear-gradient(135deg, #E1306C, #833AB4); }
.pm-convo-av.ch3 { background: linear-gradient(135deg, #1877F2, #0866E0); }
.pm-convo-body { flex: 1; min-width: 0; }
.pm-convo-name { font-size: 12.5px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; }
.pm-convo-time { font-size: 10.5px; color: var(--body-2); font-weight: 500; }
.pm-convo-msg { font-size: 11.5px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.pm-convo-badge { width: 18px; height: 18px; border-radius: 50%; background: var(--purple); color: white; font-size: 10px; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

/* Floating badges over hero */
.float-chip {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.float-chip .fc-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.float-chip .fc-body { font-size: 12.5px; }
.float-chip .fc-title { font-weight: 700; color: var(--ink); font-size: 13px; }
.float-chip .fc-sub { color: var(--body); font-size: 11.5px; margin-top: 1px; }

.fc-left { top: 40%; left: -60px; animation-delay: 0.2s; }
.fc-right { top: 22%; right: -50px; animation-delay: 0.8s; }
.fc-bottom { bottom: -30px; left: 14%; animation-delay: 1.4s; }

@media (max-width: 900px) {
  .platform-body { grid-template-columns: 1fr; min-height: auto; }
  .platform-side { display: none; }
  .pm-kpis { grid-template-columns: repeat(2, 1fr); }
  .pm-row { grid-template-columns: 1fr; }
  .fc-left, .fc-right, .fc-bottom { display: none; }
}

/* ========== Stats Strip ========== */
.stats {
  padding: 60px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8FE 100%);
  border-top: 1px solid #F2ECF7;
  border-bottom: 1px solid #F2ECF7;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat { text-align: center; padding: 0 10px; position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-val {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #6B2EE8 0%, #B14AFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}
.stat-val svg {
  stroke: #6B2EE8 !important;
  color: #6B2EE8;
}
.stat-label { font-size: 14px; color: var(--body); font-weight: 500; }
@media (max-width: 780px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat + .stat::before { display: none; }
}

/* ========== Clients Strip ========== */
.clients {
  padding: 48px 0;
  background: white;
}
.clients-label {
  text-align: center;
  font-size: 13px;
  color: var(--body-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 26px;
}
.clients-row {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.client-logo {
  font-size: 22px;
  font-weight: 700;
  color: #5A5368;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 7px;
  opacity: 0.85;
  transition: opacity 0.2s;
  text-align: center;
}
.client-logo:hover { opacity: 1; color: var(--ink-2); }
.client-logo .dt { width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
.client-logo.sq::before { content: ''; width: 12px; height: 12px; background: currentColor; display: inline-block; }
.client-logo.tr::before { content: ''; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid currentColor; display: inline-block; }

/* ========== Section common ========== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 18px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--purple-soft);
  color: var(--purple-ink);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}
.eyebrow .spark {
  width: 6px; height: 6px; background: var(--purple); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(107,46,232,0.2);
}

/* ========== Gestão section (split image) ========== */
.split {
  background: linear-gradient(180deg, #FBF8FE 0%, #FFFFFF 100%);
}
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.split-left h2 { margin-bottom: 22px; }
.split-left h2 span { display: inline; }
.split-left p { margin-bottom: 28px; max-width: 480px; }
.split-checks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.split-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.split-check .check-ico {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Visual: pyramid of cards */
.split-right { position: relative; min-height: 580px; }
.card-stack-v2 {
  position: relative;
  height: 580px;
}
.csv-card {
  position: absolute;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.csv-1 { top: 0; left: 0; width: 320px; z-index: 3; }
.csv-2 { top: 40px; right: 0; width: 300px; z-index: 2; }
.csv-3 { bottom: 0; left: 30px; width: 340px; z-index: 4; }

@media (max-width: 900px) {
  .split-inner { grid-template-columns: 1fr; gap: 48px; }
  .split-right { min-height: auto; }
  .card-stack-v2 { height: auto; display: flex; flex-direction: column; gap: 20px; }
  .csv-card { position: static; width: 100%; max-width: 420px; margin: 0 auto; }
}

/* Transcription card */
.trans-card-body { padding: 18px; }
.trans-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.trans-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); animation: recording 1.4s ease-in-out infinite; }
@keyframes recording { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.trans-label { font-size: 13px; font-weight: 700; }
.trans-time { margin-left: auto; font-size: 12px; color: var(--body); font-variant-numeric: tabular-nums; }
.trans-wave { display: flex; gap: 3px; align-items: center; height: 36px; margin-bottom: 14px; }
.trans-wave span { flex: 1; background: linear-gradient(180deg, #B14AFF, #6B2EE8); border-radius: 2px; animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.trans-text { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.trans-text .hl { background: linear-gradient(180deg, transparent 60%, #F1EAFF 60%); font-weight: 600; }

/* Pipeline card */
.pipe-card-body { padding: 16px; }
.pipe-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.pipe-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pipe-col h6 { font-size: 10.5px; color: var(--body); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 8px; }
.pipe-lead {
  background: #FBF9FE;
  border: 1px solid #EFE9F7;
  border-radius: 7px;
  padding: 7px 9px;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
}
.pipe-lead .val { font-size: 10.5px; color: var(--purple); display: block; font-weight: 700; margin-top: 2px; }

/* Confirm card */
.confirm-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.confirm-head { display: flex; gap: 10px; align-items: center; }
.confirm-ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--mint-soft); color: var(--mint);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.confirm-title { font-size: 14px; font-weight: 700; }
.confirm-sub { font-size: 12px; color: var(--body); }
.confirm-msg {
  background: #F6F3FB;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.confirm-btns { display: flex; gap: 8px; }
.cbtn {
  flex: 1; padding: 9px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; text-align: center;
}
.cbtn.yes { background: var(--mint); color: white; }
.cbtn.no { background: #F6F3FB; color: var(--ink-2); }

/* ========== Feature Accordion (Amplimed-style) ========== */
.features { background: #FBF8FE; }
.features .section-head { margin-bottom: 56px; }

.acc-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acc-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.acc-item.open {
  border-color: #D6CEE5;
  box-shadow: 0 14px 40px rgba(60,30,120,0.08);
}
.acc-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  text-align: left;
  transition: background 0.15s;
}
.acc-title:hover { background: #FBF8FE; }
.acc-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.25s;
}
.acc-item.open .acc-ico {
  background: var(--purple);
  color: white;
  transform: scale(1.04);
}
.acc-ttl { flex: 1; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
.acc-plus {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.25s;
  font-size: 18px;
  font-weight: 300;
}
.acc-item.open .acc-plus { background: var(--purple); color: white; transform: rotate(45deg); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-item.open .acc-body { max-height: 500px; }
.acc-inner {
  padding: 0 28px 28px 90px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.acc-desc h4 { font-size: 19px; margin-bottom: 14px; letter-spacing: -0.015em; }
.acc-ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.acc-ul li {
  display: flex; gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.acc-ul li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  margin-top: 2px;
  background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236B2EE8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;
}
.acc-cta {
  display: inline-flex;
  align-items: center; gap: 8px;
  color: var(--purple);
  font-weight: 600;
  font-size: 14.5px;
}
.acc-cta:hover { gap: 12px; }

.acc-visual {
  background: linear-gradient(135deg, #F6F1FF 0%, #FFE9E5 100%);
  border-radius: 14px;
  padding: 24px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 780px) {
  .acc-title { padding: 18px 18px; gap: 14px; }
  .acc-ttl { font-size: 16px; }
  .acc-inner { grid-template-columns: 1fr; padding: 0 18px 22px; gap: 20px; }
}

/* ========== Process strip ========== */
.process { background: white; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--lilac) 0, var(--lilac) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.proc-step { text-align: center; position: relative; z-index: 1; }
.proc-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: white;
  border: 2px solid var(--purple);
  color: var(--purple);
  display: grid; place-items: center;
  font-size: 28px; font-weight: 800;
  margin: 0 auto 22px;
  position: relative;
}
.proc-num::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--purple-soft);
}
.proc-step h4 { font-size: 20px; margin-bottom: 10px; }
.proc-step p { font-size: 15px; max-width: 300px; margin: 0 auto; }

@media (max-width: 780px) {
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid::before { display: none; }
}

/* ========== Testimonial (Amplimed-style card) ========== */
.testimonial {
  background: linear-gradient(135deg, #2A1250 0%, #4E2092 60%, #6B2EE8 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.testimonial::before, .testimonial::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177,74,255,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.testimonial::before { top: -150px; left: -100px; }
.testimonial::after { bottom: -180px; right: -120px; background: radial-gradient(circle, rgba(255,107,92,0.25) 0%, transparent 70%); }

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.testi-left h2 { color: white; margin-bottom: 16px; }
.testi-left p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 24px; }
.testi-stats { display: flex; gap: 40px; }
.testi-stat .v { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: white; line-height: 1; }
.testi-stat .l { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }

.testi-card {
  background: white;
  color: var(--ink);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  position: relative;
}
.testi-quote-mark {
  position: absolute;
  top: -22px;
  left: 32px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6B2EE8, #B14AFF);
  display: grid; place-items: center;
  color: white;
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  line-height: 1;
  padding-top: 24px;
  box-shadow: 0 10px 24px rgba(107,46,232,0.4);
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 18px; color: var(--star); }
.testi-body {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 26px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.testi-body .serif-italic { color: var(--purple); font-size: 1.1em; }
.testi-cite { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #B14AFF, #6B2EE8);
  color: white; display: grid; place-items: center;
  font-weight: 700;
}
.testi-name { font-size: 15.5px; font-weight: 700; }
.testi-role { font-size: 13px; color: var(--body); margin-top: 2px; }

.testi-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.testi-stack .testi-card { margin-top: 6px; }

.testi-nav { display: flex; gap: 8px; margin-top: 28px; }
.testi-dot { width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.2s; }
.testi-dot.active { background: white; }

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-stats { flex-wrap: wrap; gap: 24px; }
  .testi-card { padding: 30px 24px; }
  .testi-body { font-size: 17px; }
}

/* ========== FAQ ========== */
.faq { background: white; }
.faq-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item.open { border-color: #C9B8F0; box-shadow: 0 6px 24px rgba(107,46,232,0.06); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-ico-wrap {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.faq-q-text { flex: 1; }
.faq-plus {
  width: 24px; height: 24px;
  color: var(--body-2);
  transition: transform 0.3s;
}
.faq-item.open .faq-plus { transform: rotate(180deg); color: var(--purple); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 22px 22px 68px; color: var(--body); font-size: 15px; line-height: 1.65; }

@media (max-width: 600px) {
  .faq-a-inner { padding-left: 22px; }
}

/* ========== CTA ========== */
.cta {
  background:
    radial-gradient(60% 80% at 20% 40%, #F1EAFF 0%, transparent 60%),
    radial-gradient(60% 80% at 80% 60%, #FFE9E5 0%, transparent 60%),
    white;
  padding: 100px 0;
}
.cta-box {
  background: white;
  border-radius: 28px;
  padding: 60px 56px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F1EAFF, #FFE9E5);
  z-index: 0;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-left h2 { margin-bottom: 16px; }
.cta-left p { margin-bottom: 26px; font-size: 17px; }
.cta-bullets { display: flex; flex-direction: column; gap: 10px; }
.cta-bullet { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.cta-bullet svg { color: var(--mint); flex-shrink: 0; }

.cta-form {
  background: linear-gradient(180deg, #FAF7FE 0%, white 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--body); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: white;
  transition: all 0.15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,46,232,0.12);
}
.form-submit {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: var(--purple);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 8px 22px rgba(107,46,232,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover { background: var(--purple-ink); transform: translateY(-1px); }
.form-legal { font-size: 11.5px; color: var(--body-2); text-align: center; margin-top: 10px; line-height: 1.5; }
.form-success {
  text-align: center;
  padding: 20px 0;
}
.form-success .check-big {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--mint-soft); color: var(--mint);
  display: grid; place-items: center;
  margin: 0 auto 16px;
}

@media (max-width: 900px) {
  .cta-box { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
}

/* ========== Footer ========== */
.footer {
  background: #14091F;
  color: #9C92B2;
  padding: 72px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177,74,255,0.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: #7D7395; font-size: 14px; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.footer-brand .logo { color: white; }
.footer h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #9C92B2; font-size: 14px; transition: color 0.15s; }
.footer a:hover { color: white; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials-links { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: #B4AAC8;
  transition: all 0.2s;
}
.footer-socials a:hover { background: var(--purple); color: white; transform: translateY(-2px); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #7D7395;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ===== Real dashboard mockup ===== */
.platform-body.rd{grid-template-columns:180px 1fr;min-height:0}
.rd-side{background:linear-gradient(180deg,#7C3AED 0%,#6B2EE8 100%);color:#EDE4FF;display:flex;flex-direction:column;padding:14px 10px 10px;text-align:left}
.rd-brand img{height:17px;width:auto;display:block;margin:0 0 12px 4px}
.rd-sec{font-size:7.5px;letter-spacing:0.12em;text-transform:uppercase;color:rgba(255,255,255,0.55);font-weight:700;margin:0 0 6px 6px}
.rd-nav{display:flex;flex-direction:column;gap:1px}
.rd-nav a{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:500;color:#EDE4FF;padding:5px 8px;border-radius:7px;line-height:1}
.rd-nav a svg{opacity:0.85;flex-shrink:0}
.rd-nav a.on{background:#fff;color:#6B2EE8;font-weight:700;box-shadow:0 3px 8px rgba(20,9,31,0.18)}
.rd-badge{margin-left:auto;background:#EF4444;color:#fff;font-size:8px;font-weight:700;border-radius:999px;padding:2px 5px;line-height:1}
.rd-bottom{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.rd-cfg{display:flex;align-items:center;gap:7px;font-size:10px;color:#EDE4FF;padding:5px 8px}
.rd-user{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,0.12);border-radius:9px;padding:6px 8px;font-size:8.5px;color:rgba(255,255,255,0.75);line-height:1.3}
.rd-user b{display:block;font-size:9.5px;color:#fff}
.rd-av{width:22px;height:22px;border-radius:50%;background:#fff;color:#6B2EE8;font-size:8.5px;font-weight:800;display:grid;place-items:center;flex-shrink:0}
.rd-main{background:#F6F4FA;padding:12px 14px;display:flex;flex-direction:column;gap:10px;text-align:left;min-width:0}
.rd-head{display:flex;align-items:center;justify-content:space-between}
.rd-head b{font-size:13px;color:#1A1325}
.rd-head span{font-size:9.5px;color:#9C92B2}
.rd-head-ico{display:flex;gap:6px}
.rd-head-ico span{width:22px;height:22px;border-radius:7px;background:#fff;border:1px solid #EBE6F3;display:grid;place-items:center;color:#5D5570}
.rd-filters{display:flex;gap:6px;flex-wrap:wrap}
.rd-filters span{font-size:9px;font-weight:600;color:#5D5570;background:#fff;border:1px solid #EBE6F3;border-radius:999px;padding:5px 10px;line-height:1;display:inline-flex;align-items:center;gap:4px}
.rd-filters span.on{background:#6B2EE8;border-color:#6B2EE8;color:#fff}
.rd-filters span.sel{border-radius:8px}
.rd-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.rd-kpi{background:#fff;border:1px solid #EBE6F3;border-radius:10px;padding:9px 11px}
.rd-kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:8.5px;font-weight:600;color:#5D5570}
.rd-kpi-ico{width:18px;height:18px;border-radius:6px;background:#F1EAFF;color:#6B2EE8;display:grid;place-items:center}
.rd-kpi-val{font-size:17px;font-weight:800;color:#1A1325;letter-spacing:-0.02em;margin-top:3px}
.rd-kpi-tr{font-size:7.5px;color:#9C92B2;margin-top:2px}
.rd-kpi-tr.up{color:#16A34A}
.rd-kpi-tr i{font-style:normal;color:#9C92B2}
.rd-row{display:grid;grid-template-columns:1.55fr 1fr;gap:8px}
.rd-card{background:#fff;border:1px solid #EBE6F3;border-radius:10px;padding:10px 12px;min-width:0}
.rd-card-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
.rd-card-head b{font-size:10px;color:#1A1325}
.rd-card-head span{font-size:8px;color:#9C92B2}
.rd-line{width:100%;height:auto;display:block}
.rd-donut-wrap{display:flex;align-items:center;gap:10px}
.rd-donut{width:86px;height:86px;flex-shrink:0}
.rd-legend{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.rd-legend div{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:600;color:#2D2440}
.rd-legend i{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.rd-legend em{font-style:normal;color:#9C92B2;margin-left:auto;font-size:8px}
.rd-legend b{font-size:9px}
.rd-funnel{display:flex;flex-direction:column;gap:4px}
.rd-frow{display:flex;align-items:center;gap:7px}
.rd-fl{font-size:8.5px;color:#5D5570;width:64px;flex-shrink:0}
.rd-ftrack{flex:1;height:11px;background:#F1EFF6;border-radius:999px;overflow:hidden}
.rd-fbar{display:flex;align-items:center;justify-content:flex-end;height:100%;border-radius:999px;color:#fff;font-size:7.5px;font-weight:700;padding:0 5px;min-width:14px;box-sizing:border-box}
.rd-fp{font-size:8px;color:#9C92B2;width:22px;text-align:right;flex-shrink:0}
.rd-iabar{display:flex;height:22px;border-radius:7px;overflow:hidden;margin-bottom:8px}
.rd-iabar .ia{width:92%;background:linear-gradient(90deg,#6B2EE8,#8B5CF6);color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;gap:4px;padding:0 8px;flex-shrink:0}
.rd-iabar .hu{width:8%;flex-shrink:0;background:#DBEAFE;color:#1D4ED8;font-size:8px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0;min-width:0}
.rd-iacards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rd-iacard{border:1px solid #EBE6F3;border-radius:9px;padding:8px 10px}
.rd-iacard.ia{background:#F8F4FF;border-color:#E4D5FF}
.rd-iah{display:flex;align-items:center;gap:4px;font-size:7.5px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:#6B2EE8}
.rd-iacard:not(.ia) .rd-iah{color:#5D5570}
.rd-iav{font-size:15px;font-weight:800;color:#1A1325;margin-top:3px}
.rd-iam{font-size:11px;font-weight:700;color:#1A1325;margin-top:4px}
.rd-ias{font-size:7.5px;color:#9C92B2}
@media (max-width:900px){.rd-side{display:none}.platform-body.rd{grid-template-columns:1fr}.rd-kpis{grid-template-columns:1fr 1fr}.rd-row{grid-template-columns:1fr}}

/* ========== Floating WhatsApp ========== */
.fab-wa {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  z-index: 90;
  transition: all 0.25s;
}
.fab-wa::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: fabpulse 2s ease-in-out infinite;
  z-index: -1;
}
@keyframes fabpulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 0; }
}
.fab-wa:hover { transform: scale(1.08); }

/* ========== Reveal animation ========== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
