/* ===========================
   CDC ZAPP — Dark Purple Theme
   =========================== */

:root {
  --primary: #6C63FF;
  --primary-light: #8B85FF;
  --primary-dark: #4A42D4;
  --secondary: #3F3D56;
  --accent: #FF6B6B;
  --accent2: #FFD93D;
  --green: #25D366;
  --blue: #4ECDC4;

  --bg: #0d0b1e;
  --bg-2: #13102a;
  --bg-3: #1a1633;
  --bg-card: #1e1a36;
  --bg-card-hover: #252040;
  --border: rgba(108, 99, 255, 0.2);
  --border-hover: rgba(108, 99, 255, 0.5);

  --text: #e8e6f0;
  --text-muted: #8b87a8;
  --text-dim: #5a567a;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.25);

  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.55);
}

.btn--outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid rgba(108, 99, 255, 0.5);
}
.btn--outline:hover {
  background: rgba(108, 99, 255, 0.1);
  border-color: var(--primary-light);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--lg { padding: 15px 32px; font-size: 16px; border-radius: 12px; }
.btn--full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(13, 11, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon { font-size: 20px; }
.accent { color: var(--primary-light); }

.nav__links {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 100px;
  right: -150px;
  animation-delay: -3s;
}

.blob--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  bottom: 0;
  left: 40%;
  opacity: 0.2;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat__num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== PHONE MOCKUP ===== */
.hero__mockup {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.phone {
  width: 300px;
  height: 600px;
  background: var(--bg-card);
  border-radius: 40px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-glow), var(--shadow);
  overflow: hidden;
  position: relative;
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: var(--bg);
  border-radius: 100px;
  z-index: 2;
}

.phone__screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 52px 20px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

.chat-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.chat-status {
  font-size: 11px;
  color: var(--green);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.msg--in {
  background: var(--bg-3);
  border: 1px solid var(--border);
  align-self: flex-start;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.msg--out {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  align-self: flex-end;
  color: #fff;
  border-bottom-right-radius: 4px;
}

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

.msg-btns button {
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--primary-light);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.msg--typing {
  background: var(--bg-3);
  border: 1px solid var(--border);
  align-self: flex-start;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
  border-bottom-left-radius: 4px;
}

.msg--typing span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.msg--typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
  white-space: nowrap;
}

.float-card--1 { top: 60px; right: 320px; animation-delay: -1s; }
.float-card--2 { top: 220px; right: 320px; animation-delay: -2.5s; }
.float-card--3 { top: 380px; right: 320px; animation-delay: -4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.fc-icon--green { background: rgba(37,211,102,0.15); color: var(--green); }
.fc-icon--purple { background: rgba(108,99,255,0.15); color: var(--primary-light); }
.fc-icon--coral { background: rgba(255,107,107,0.15); color: var(--accent); }

.fc-title { font-size: 13px; font-weight: 600; color: #fff; }
.fc-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===== LOGOS ===== */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos__label {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 32px;
}

.logos__track { overflow: hidden; }

.logos__inner {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: -0.02em;
  transition: color var(--transition);
  cursor: default;
}

.logo-brand:hover { color: var(--text-muted); }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card--wide {
  grid-column: span 2;
}

.fc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.fc-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon--purple { background: rgba(108,99,255,0.15); color: var(--primary-light); }
.feature-icon--green { background: rgba(37,211,102,0.12); color: var(--green); }
.feature-icon--coral { background: rgba(255,107,107,0.12); color: var(--accent); }
.feature-icon--blue { background: rgba(78,205,196,0.12); color: var(--blue); }
.feature-icon--yellow { background: rgba(255,217,61,0.12); color: var(--accent2); }

.fc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.fc-list li::before {
  content: '✓';
  color: var(--primary-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 0;
  background: var(--bg-2);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step__num {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.step__content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step__content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step__line {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin-top: 28px;
}

/* ===== NPS ===== */
.nps-section {
  padding: 100px 0;
}

.nps-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nps-content .section-badge { display: inline-block; }
.nps-content .section-title { text-align: left; }
.nps-content > p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.nps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.nps-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }

.nps-list strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.nps-list span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.nps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-glow), var(--shadow);
}

.nps-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.nps-live {
  color: var(--green);
  font-size: 12px;
}

.nps-score {
  text-align: center;
  margin-bottom: 28px;
}

.nps-score__num {
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.nps-score__label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.nps-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.nps-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.nps-bar__label { width: 80px; color: var(--text-muted); flex-shrink: 0; }
.nps-bar__track { flex: 1; height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.nps-bar__fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.nps-bar__fill--green { background: var(--green); }
.nps-bar__fill--yellow { background: var(--accent2); }
.nps-bar__fill--red { background: var(--accent); }
.nps-bar__val { width: 36px; text-align: right; color: var(--text-muted); font-weight: 600; flex-shrink: 0; }

.nps-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nps-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 8px 12px;
  border-radius: 8px;
}

.nps-msg__score {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.nps-msg__score--high { background: rgba(37,211,102,0.2); color: var(--green); }
.nps-msg__score--mid { background: rgba(255,217,61,0.2); color: var(--accent2); }
.nps-msg__score--low { background: rgba(255,107,107,0.2); color: var(--accent); }

/* ===== AUTOMATIONS ===== */
.automations {
  padding: 100px 0;
  background: var(--bg-2);
}

.automations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.auto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

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

.auto-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.auto-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.auto-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.auto-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
}

.automations__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.automations__cta p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== TEMPLATES ===== */
.templates {
  padding: 100px 0;
}

.templates__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.templates__content .section-badge { display: inline-block; }
.templates__content .section-title { text-align: left; }
.templates__content > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.template-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.ttype {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.ttype:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.ttype__icon { font-size: 20px; }

.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow);
}

.tc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.tc-dot { width: 8px; height: 8px; border-radius: 50%; }
.tc-dot--green { background: var(--green); box-shadow: 0 0 6px var(--green); }

.tc-badge {
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
}

.tc-body { padding: 20px; }

.tc-preview-msg {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.tc-wpp-header {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.tc-preview-msg p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.tc-btns { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }

.tc-btn {
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--primary-light);
  padding: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition);
}

.tc-btn:hover { background: rgba(108,99,255,0.2); }

.tc-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background: var(--bg-2);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pc-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pc-header { margin-bottom: 24px; }
.pc-header h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.pc-header p { font-size: 14px; color: var(--text-muted); }

.pc-price {
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pc-price__currency { font-size: 20px; font-weight: 700; color: var(--text-muted); }
.pc-price__num { font-size: 52px; font-weight: 900; color: #fff; line-height: 1; }
.pc-price__period { font-size: 16px; color: var(--text-muted); }
.pc-price__num-custom { font-size: 28px; font-weight: 800; color: #fff; line-height: 1.3; }

.pc-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.cross { color: var(--text-dim); flex-shrink: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.tcard:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.tcard--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.tcard--featured:hover { transform: scale(1.03) translateY(-4px); }

.tcard__stars {
  color: var(--accent2);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.tcard p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.tcard p::before { content: '"'; }
.tcard p::after { content: '"'; }

.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcard__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.tcard__avatar--1 { background: linear-gradient(135deg, var(--primary), var(--blue)); }
.tcard__avatar--2 { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.tcard__avatar--3 { background: linear-gradient(135deg, var(--green), var(--blue)); }

.tcard__author strong { display: block; font-size: 15px; color: #fff; }
.tcard__author span { font-size: 13px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--bg-2);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item[open] {
  border-color: var(--border-hover);
}

.faq-item summary {
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary-light);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob--cta1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
  top: -200px;
  left: -200px;
  opacity: 0.3;
}

.blob--cta2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  bottom: -200px;
  right: -100px;
  opacity: 0.25;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 24px;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-inner > p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 16px;
}

.cta-form input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all var(--transition);
  outline: none;
}

.cta-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

.cta-form input::placeholder { color: var(--text-dim); }

.cta-fine {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--bg-2);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__info .section-badge { display: inline-block; }
.contact__info .section-title { text-align: left; }

.contact__info > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.channel:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.channel__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel__icon--green { background: rgba(37,211,102,0.12); color: var(--green); }
.channel__icon--purple { background: rgba(108,99,255,0.12); color: var(--primary-light); }

.channel strong { display: block; font-size: 14px; color: #fff; font-weight: 600; }
.channel span { font-size: 13px; color: var(--text-muted); }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.recaptcha-wrap {
  display: flex;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}

.footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: rgba(108,99,255,0.12);
  border-color: var(--border-hover);
  color: var(--primary-light);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero__mockup { position: static; transform: none; display: none; }
  .hero { min-height: auto; }
  .hero__inner { max-width: 100%; }

  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature-card--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav__actions.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    padding: 0 24px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .steps { flex-direction: column; align-items: flex-start; }
  .step { text-align: left; padding: 0; }
  .step__line { display: none; }

  .nps-inner,
  .templates__inner,
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }

  .automations__grid,
  .pricing__grid,
  .testimonials__grid { grid-template-columns: 1fr 1fr; }

  .pricing-card--featured,
  .tcard--featured { transform: none; }

  .footer__top { grid-template-columns: 1fr; gap: 48px; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .features__grid,
  .automations__grid,
  .pricing__grid,
  .testimonials__grid { grid-template-columns: 1fr; }

  .feature-card--wide { grid-column: span 1; }

  .form-row { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat__divider { display: none; }

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

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