/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0a0510;
  --bg-2: #110818;
  --surface: rgba(28, 18, 38, 0.6);
  --surface-2: rgba(40, 25, 55, 0.5);
  --border: rgba(236, 72, 153, 0.12);
  --border-strong: rgba(236, 72, 153, 0.25);
  --text: #f5f3f7;
  --text-muted: #a89db4;
  --text-dim: #6e6478;
  --primary: #ec4899;
  --primary-hover: #f472b6;
  --primary-glow: rgba(236, 72, 153, 0.45);
  --accent: #a855f7;
  --tg: #2aabee;
  --success: #10b981;
  --radius: 16px;
  --radius-lg: 22px;
}

html, body { margin: 0; padding: 0; }
html { scroll-padding-top: 90px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

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

/* ============ Background ============ */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(236, 72, 153, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(168, 85, 247, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(236, 72, 153, 0.10), transparent 60%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(236, 72, 153, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 72, 153, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  will-change: transform;
}

.bg-orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
  top: 5%;
  left: -10%;
  animation: float-orb-1 22s ease-in-out infinite;
}

.bg-orb-2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  bottom: 5%;
  right: -12%;
  animation: float-orb-2 28s ease-in-out infinite;
}

.bg-orb-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #d946ef 0%, transparent 65%);
  top: 45%;
  left: 40%;
  opacity: 0.3;
  animation: float-orb-3 20s ease-in-out infinite;
}

@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(180px, 120px) scale(1.1); }
  66%      { transform: translate(60px, 240px) scale(0.95); }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-220px, -140px) scale(1.15); }
}

@keyframes float-orb-3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
  50%      { transform: translate(-120px, 80px) scale(1.2); opacity: 0.45; }
}

main, .header, .footer { position: relative; z-index: 1; }

/* ============ Header ============ */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 5, 16, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.is-scrolled {
  background: rgba(10, 5, 16, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 901px) {
  .nav {
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-40px);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.4s ease;
  transform-origin: center;
  position: relative;
}

.logo-icon img,
.logo-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.logo-text {
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-flash,
.logo-accent {
  color: var(--text);
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

.logo:hover,
.logo.is-intro {
  transform: scale(1.03);
}

.logo:hover .logo-icon,
.logo.is-intro .logo-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 0 12px var(--primary)) drop-shadow(0 0 25px rgba(236, 72, 153, 0.6));
}

.logo:hover .logo-icon::after,
.logo.is-intro .logo-icon::after {
  opacity: 1;
  animation: logo-pulse 1.4s ease-in-out infinite;
}

.logo:hover .logo-flash,
.logo:hover .logo-accent,
.logo.is-intro .logo-flash,
.logo.is-intro .logo-accent {
  color: var(--primary);
  text-shadow: 0 0 16px var(--primary-glow), 0 0 4px rgba(236, 72, 153, 0.55);
}

.logo:hover .logo-flash:nth-of-type(1),
.logo.is-intro .logo-flash:nth-of-type(1) { transition-delay: 0.04s; }
.logo:hover .logo-flash:nth-of-type(2),
.logo.is-intro .logo-flash:nth-of-type(2) { transition-delay: 0.10s; }
.logo:hover .logo-accent,
.logo.is-intro .logo-accent              { transition-delay: 0.16s; }

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

.nav {
  display: flex;
  gap: 32px;
}

.nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav a:not(.btn):hover { color: var(--text); }

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav a:not(.btn):hover::after { width: 100%; }

.nav-login { display: none !important; }

/* ===== Mobile nav toggle (burger) ===== */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 11px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 110;
  transition: background 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.nav-toggle:hover {
  background: rgba(236, 72, 153, 0.08);
  border-color: var(--border-strong);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #d946ef);
  color: white;
  box-shadow: 0 8px 24px -8px var(--primary-glow), 0 0 0 1px rgba(236, 72, 153, 0.4) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px var(--primary-glow), 0 0 0 1px rgba(236, 72, 153, 0.6) inset;
}

.btn-secondary {
  background: rgba(42, 171, 238, 0.12);
  color: #5cc5f0;
  border: 1px solid rgba(42, 171, 238, 0.3);
}

.btn-secondary:hover {
  background: rgba(42, 171, 238, 0.2);
  border-color: rgba(42, 171, 238, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background: rgba(236, 72, 153, 0.08);
  border-color: var(--primary);
}

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

.btn-ghost:hover {
  background: rgba(236, 72, 153, 0.08);
  border-color: var(--border-strong);
}

/* ============ Hero ============ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #34d399;
  margin-bottom: 28px;
}

.hero-badge-trial {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.12));
  border-color: var(--border-strong);
  color: #fbcfe8;
  font-size: 14px;
  padding: 10px 20px;
  box-shadow: 0 8px 24px -12px var(--primary-glow);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-badge-trial:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.18));
  box-shadow: 0 12px 32px -10px var(--primary-glow);
  color: #fff;
}

.trial-spark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
  animation: trial-shimmer 2.4s ease-in-out infinite;
}

.trial-spark svg { width: 100%; height: 100%; }

@keyframes trial-shimmer {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.15) rotate(15deg); opacity: 0.85; }
}

.dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #ec4899 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ============ Connect cards ============ */
.connect-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto 64px;
}

.connect-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  will-change: transform;
}

.connect-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(236, 72, 153, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.connect-card-tg::before {
  background: linear-gradient(135deg, transparent 0%, rgba(42, 171, 238, 0.12) 100%);
}

.connect-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 28px 56px -18px rgba(236, 72, 153, 0.45),
              0 0 0 1px var(--border-strong);
}

.connect-card-tg:hover {
  border-color: rgba(42, 171, 238, 0.4);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(42, 171, 238, 0.4);
}

.connect-card:hover::before { opacity: 1; }

.connect-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.15));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.connect-card-tg .connect-card-icon {
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.2), rgba(42, 171, 238, 0.1));
  border-color: rgba(42, 171, 238, 0.3);
  color: var(--tg);
}

.connect-card-icon svg { width: 28px; height: 28px; }

.connect-card-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.connect-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 6px;
}

.connect-card-tg .connect-card-label { color: var(--tg); }

.connect-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.connect-card-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.connect-card-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.connect-card-arrow svg { width: 18px; height: 18px; }

.connect-card:hover .connect-card-arrow {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
}

.connect-card-tg:hover .connect-card-arrow {
  background: var(--tg);
}

/* ============ Hero stats ============ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-stats:hover {
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px -18px rgba(236, 72, 153, 0.35);
}

.stat { text-align: center; }

.stat-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #e9d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ Sections ============ */
section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

/* ============ Features ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
              border-color 0.3s ease,
              background 0.3s ease,
              box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent 30%, rgba(236, 72, 153, 0.18) 50%, transparent 70%);
  transform: skewX(-18deg);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.feature:hover::after {
  left: 220%;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: 0 22px 44px -16px rgba(236, 72, 153, 0.4);
}

.feature:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  border-color: var(--primary);
}

.feature-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.feature-highlight {
  background: linear-gradient(160deg, rgba(236, 72, 153, 0.12), rgba(168, 85, 247, 0.06));
  border-color: var(--border-strong);
  position: relative;
}

.feature-highlight::before {
  content: 'Триал';
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--primary), #d946ef);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 4px 12px -4px var(--primary-glow);
  z-index: 2;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.1));
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ============ Steps ============ */
.steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.step {
  flex: 1;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  transition: all 0.3s ease;
}

.step {
  overflow: hidden;
}

.step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(236, 72, 153, 0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -14px rgba(236, 72, 153, 0.4);
}

.step:hover::after {
  opacity: 1;
}

.step:hover .step-number {
  animation: step-glow 1.4s ease-in-out infinite;
}

@keyframes step-glow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50%      { filter: drop-shadow(0 0 16px var(--primary-glow)); }
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  line-height: 1;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.step-connector {
  align-self: center;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  flex-shrink: 0;
  border-radius: 2px;
  opacity: 0.4;
}

/* ============ Pricing ============ */
.pricing-group {
  max-width: 1080px;
  margin: 0 auto 48px;
}

.pricing-group:last-child { margin-bottom: 0; }

.pricing-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 0 4px;
}

.pricing-group-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.12));
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-group-icon svg { width: 22px; height: 22px; }

.pricing-group-icon-family {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(236, 72, 153, 0.12));
  color: var(--accent);
}

.pricing-group-head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.pricing-group-meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
}

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

.price-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.price-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent 30%, rgba(236, 72, 153, 0.18) 50%, transparent 70%);
  transform: skewX(-18deg);
  transition: left 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.price-card:hover::after {
  left: 220%;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 48px -16px rgba(236, 72, 153, 0.4);
}

.price-card-popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.08), var(--surface));
  box-shadow: 0 16px 48px -16px var(--primary-glow);
}

.price-card-popular:hover {
  border-color: var(--primary-hover);
}

.price-card-popular {
  padding-top: 54px;
}

.price-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary), #d946ef);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px -8px var(--primary-glow);
  animation: badge-pulse 2.4s ease-in-out infinite;
  z-index: 2;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 8px 24px -8px var(--primary-glow); }
  50%      { box-shadow: 0 8px 24px -4px var(--primary-glow), 0 0 0 4px rgba(236, 72, 153, 0.15); }
}

.price-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.price-value {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 26px;
  position: relative;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: rgba(236, 72, 153, 0.15);
  border-radius: 50%;
  background-image: 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='%23ec4899' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============ CTA ============ */
.cta-card {
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.1));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
  border-color: var(--primary);
  box-shadow: 0 22px 50px -20px rgba(236, 72, 153, 0.5);
}

.cta-card.is-pulsed {
  animation: cta-pulse 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.55),
                0 0 0 0 rgba(236, 72, 153, 0);
    border-color: var(--primary);
    transform: scale(1);
  }
  35% {
    box-shadow: 0 0 0 14px rgba(236, 72, 153, 0),
                0 30px 64px -18px rgba(236, 72, 153, 0.6),
                inset 0 0 60px rgba(236, 72, 153, 0.18);
    border-color: var(--primary);
    transform: scale(1.012);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0),
                0 0 0 0 rgba(236, 72, 153, 0);
    transform: scale(1);
  }
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(236, 72, 153, 0.25), transparent 60%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-item:hover {
  border-color: var(--border-strong);
  box-shadow: 0 14px 32px -16px rgba(236, 72, 153, 0.28);
}

.faq-item.is-open {
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: 0 16px 36px -16px rgba(236, 72, 153, 0.22);
}

.faq-summary {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
  letter-spacing: -0.005em;
}

.faq-summary:hover { background: rgba(236, 72, 153, 0.05); }
.faq-summary:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }

.faq-q { flex: 1; }

.faq-toggle {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 6px transparent);
}

.faq-item.is-open .faq-toggle {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.faq-body {
  height: 0;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-body-inner {
  padding: 4px 24px 22px;
}

.faq-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s;
}

.faq-item.is-open .faq-body p {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Community ============ */
.community {
  padding-top: 0;
  padding-bottom: 80px;
}

.community .connect-cards {
  margin-bottom: 0;
}

/* ============ Footer ============ */
.footer {
  background: rgba(10, 5, 16, 0.6);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 16px 0 0;
  max-width: 320px;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 70ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gradient-text,
  .dot,
  .trial-spark,
  .bg-orb,
  .price-badge,
  .feature-highlight::before { animation: none !important; }
  .bg-orb { opacity: 0.3; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex !important; }
  .header-login { display: none !important; }

  .nav {
    display: flex;
    position: fixed;
    top: 72px;
    right: 16px;
    left: auto;
    bottom: auto;
    width: min(260px, calc(100vw - 32px));
    background: rgba(15, 8, 22, 0.97);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    z-index: 95;
    padding: 10px;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
                opacity 0.22s ease;
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.65),
                0 0 0 1px rgba(236, 72, 153, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a:not(.btn) {
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav a:not(.btn):hover {
    background: rgba(236, 72, 153, 0.1);
    color: var(--primary);
  }

  .nav a:not(.btn)::after,
  .nav a:not(.btn):hover::after { display: none; }

  .nav-login {
    display: inline-flex !important;
    margin-top: 6px;
    padding: 11px 18px;
    font-size: 14.5px;
    width: 100%;
    justify-content: center;
  }

  .connect-cards { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-group-head { flex-wrap: wrap; }
  .pricing-group-meta { margin-left: 54px; width: 100%; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-card { padding: 36px 28px; flex-direction: column; align-items: flex-start; text-align: left; }
  .bg-orb-1, .bg-orb-2, .bg-orb-3 { transform: scale(0.7); }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }

  section { padding: 52px 0; }
  .hero { padding: 36px 0 32px; }

  .header { padding: 14px 0; }
  .header.is-scrolled { padding: 10px 0; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-text { font-size: 16px; }

  .hero-title { line-height: 1.08; margin-bottom: 18px; }
  .hero-subtitle { margin-bottom: 32px; }

  .features-grid { grid-template-columns: 1fr; gap: 14px; }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px 12px;
    gap: 6px;
    margin-top: 0;
  }
  .stat-value { font-size: 15px; line-height: 1.15; }
  .stat-label { font-size: 10px; line-height: 1.2; }

  .connect-cards { gap: 12px; margin-bottom: 36px; }
  .connect-card { padding: 18px; gap: 14px; }
  .connect-card-icon { width: 44px; height: 44px; }
  .connect-card-icon svg { width: 22px; height: 22px; }
  .connect-card-content h3 { font-size: 16px; margin-bottom: 4px; }
  .connect-card-content p { font-size: 13px; }
  .connect-card-arrow { width: 32px; height: 32px; }
  .connect-card-arrow svg { width: 14px; height: 14px; }

  .section-head { margin-bottom: 36px; }
  .section-head h2 { line-height: 1.18; }

  .feature { padding: 22px; }
  .feature-icon { width: 42px; height: 42px; margin-bottom: 14px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature h3 { font-size: 17px; }
  .feature p { font-size: 13.5px; }
  .feature-highlight::before { top: 12px; right: 12px; font-size: 9px; padding: 3px 8px; }

  .step { padding: 26px 22px; }
  .step-number { font-size: 40px; }
  .step h3 { font-size: 18px; }

  .pricing-group { margin-bottom: 36px; }
  .pricing-group-head { gap: 12px; margin-bottom: 18px; }
  .pricing-group-head h3 { font-size: 18px; }
  .pricing-group-meta { font-size: 12px; padding: 5px 12px; }
  .price-card { padding: 26px 22px; }
  .price-card-popular { padding-top: 46px; }
  .price-badge { top: 12px; font-size: 11px; padding: 5px 12px; }
  .price-value { font-size: 36px; }
  .price-features li { font-size: 13.5px; }

  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer { padding-top: 40px; }
  .footer-inner { padding-bottom: 28px; }

  .cta-card { padding: 32px 24px; gap: 24px; border-radius: 22px; }
  .cta-content h2 { font-size: 26px; }
  .cta-content p { font-size: 15px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; padding: 14px 18px; font-size: 14px; }

  .faq-summary { padding: 16px 18px; font-size: 15px; }
  .faq-body-inner { padding: 2px 18px 18px; }
  .faq-body p { font-size: 14px; }

  .hero-badge-trial { font-size: 12.5px; padding: 8px 14px; }
  .hero-badge-trial .trial-spark { width: 16px; height: 16px; }

  .nav a:not(.btn) { font-size: 19px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 14.5px; }
  .stat-value { font-size: 14px; }
  .stat-label { font-size: 9.5px; }
  .logo-text { font-size: 15px; }
  .connect-card-arrow { display: none; }
  .price-value { font-size: 32px; }
  .section-head h2 { font-size: 24px; }
  .hero-badge-trial { font-size: 11.5px; padding: 7px 12px; }
}
