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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --accent: #10b981;
  --accent2: #34d399;
  --text: #f0f0f8;
  --muted: #8888aa;
  --border: rgba(255,255,255,0.08);
  --card: rgba(255,255,255,0.04);
  --radius: 16px;
}

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

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

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: all 0.3s; }
.header.scrolled { background: rgba(10,10,15,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; gap: 32px; }
.logo { font-size: 22px; font-weight: 800; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.btn-tg { background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.2s; white-space: nowrap; }
.btn-tg:hover { background: var(--accent2); transform: translateY(-1px); }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(16,185,129,0.15) 0%, transparent 70%); pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: var(--accent2); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-title { font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.1; margin-bottom: 24px; }
.hero-title span { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 18px; margin-bottom: 40px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary { background: var(--accent); color: #fff; padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 15px; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(16,185,129,0.4); }
.btn-secondary { background: transparent; color: var(--text); padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid var(--border); transition: all 0.2s; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-clients { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-clients span { color: var(--muted); font-size: 13px; }
.hero-clients a { color: var(--muted); font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.hero-clients a:hover { color: var(--accent); }
.hero-visual { position: relative; height: 400px; }
.hero-card { position: absolute; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; backdrop-filter: blur(20px); font-weight: 600; font-size: 15px; animation: float 3s ease-in-out infinite; }
.card-sub { color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 4px; }
.card-icon { font-size: 24px; margin-bottom: 8px; }
.card-1 { top: 20px; left: 20px; animation-delay: 0s; }
.card-2 { top: 50%; right: 20px; transform: translateY(-50%); animation-delay: 1s; }
.card-3 { bottom: 20px; left: 60px; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.card-2 { animation: float2 3s ease-in-out infinite; animation-delay: 1s; }
@keyframes float2 { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 12px)); } }

/* STATS */
.stats { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-num { font-size: 48px; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* SERVICES */
.services { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: var(--accent); padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.section-header h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--muted); font-size: 16px; max-width: 500px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; position: relative; transition: all 0.3s; }
.service-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-card.featured { border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.05); }
.service-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.service-icon { font-size: 36px; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
.service-card ul { list-style: none; }
.service-card ul li { color: var(--muted); font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.service-card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* AI BLOCK */
.ai-block { padding: 100px 0; background: var(--bg2); }
.ai-block .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ai-block h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.ai-block > .container > .ai-content > p { color: var(--muted); font-size: 16px; margin-bottom: 40px; line-height: 1.7; }
.ai-features { display: flex; flex-direction: column; gap: 24px; }
.ai-feature { display: flex; gap: 16px; align-items: flex-start; }
.ai-icon { font-size: 28px; flex-shrink: 0; }
.ai-feature strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.ai-feature p { color: var(--muted); font-size: 14px; margin: 0; }
.chat-demo { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.chat-avatar { font-size: 32px; }
.chat-name { font-weight: 700; font-size: 15px; }
.chat-status { color: #4ade80; font-size: 12px; }
.chat-messages { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 80%; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.msg.bot { background: var(--card); border: 1px solid var(--border); align-self: flex-start; }
.msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-radius: 12px 12px 4px 12px; }

/* WORKS */
.works { padding: 100px 0; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.work-img { height: 240px; position: relative; overflow: hidden; background: #000; }
.work-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-info { padding: 20px; background: var(--card); }
.work-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.work-tags span { background: rgba(16,185,129,0.15); color: var(--accent); padding: 2px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.work-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.work-info p { color: var(--muted); font-size: 13px; }

/* HOW */
.how { padding: 100px 0; background: var(--bg2); }
.steps { display: flex; align-items: flex-start; gap: 16px; }
.step { flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; transition: all 0.3s; }
.step:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-4px); }
.step-num { font-size: 48px; font-weight: 900; color: rgba(16,185,129,0.3); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.step-arrow { font-size: 24px; color: var(--muted); padding-top: 60px; flex-shrink: 0; }

/* CONTACT */
.contact { padding: 100px 0; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select { width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--text); font-size: 15px; font-family: inherit; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg2); }
.checkboxes { display: flex; gap: 16px; flex-wrap: wrap; }
.checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--muted); }
.checkbox input { width: auto; accent-color: var(--accent); }
.btn-full { width: 100%; margin-top: 8px; font-size: 16px; padding: 16px; border-radius: 12px; }
.form-success { display: none; text-align: center; color: #4ade80; margin-top: 16px; font-weight: 600; padding: 16px; background: rgba(74,222,128,0.1); border-radius: 12px; border: 1px solid rgba(74,222,128,0.2); }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.tg-link { display: flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; font-weight: 700; font-size: 16px; transition: color 0.2s; }
.tg-link:hover { color: var(--accent2); }
.niches { display: flex; flex-wrap: wrap; gap: 10px; }
.niches span { background: var(--bg3); border: 1px solid var(--border); padding: 6px 14px; border-radius: 50px; font-size: 13px; color: var(--muted); }

/* FOOTER */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); text-align: center; }
.footer .logo { font-size: 24px; margin-bottom: 12px; display: block; }
.footer p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: rgba(136,136,170,0.5); font-size: 12px; }

/* CHAT WIDGET */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 1000; }
.chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(16,185,129,0.4); transition: all 0.3s; }
.chat-toggle:hover { background: var(--accent2); transform: scale(1.1); }
.chat-close { display: none; font-size: 20px; color: #fff; }
.chat-widget.open .chat-icon { display: none; }
.chat-widget.open .chat-close { display: block; }
.chat-box { position: absolute; bottom: 80px; right: 0; width: 340px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); display: none; flex-direction: column; }
.chat-widget.open .chat-box { display: flex; }
.chat-box-header { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg3); border-bottom: 1px solid var(--border); }
.chat-box-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow-y: auto; }
.chat-typing { padding: 0 16px 12px; display: flex; gap: 4px; }
.chat-typing span { width: 8px; height: 8px; background: var(--muted); border-radius: 50%; animation: typing 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100% { opacity: 0.3; transform: scale(1); } 30% { opacity: 1; transform: scale(1.3); } }
.chat-box-input { display: flex; border-top: 1px solid var(--border); }
.chat-box-input input { flex: 1; background: none; border: none; padding: 14px 16px; color: var(--text); font-size: 14px; font-family: inherit; outline: none; }
.chat-box-input button { background: var(--accent); border: none; color: #fff; padding: 0 20px; font-size: 18px; cursor: pointer; transition: background 0.2s; }
.chat-box-input button:hover { background: var(--accent2); }

/* AOS animations */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 200px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .ai-block .container { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .chat-box { width: 300px; }
}

/* EXTRA ANIMATIONS */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-title span {
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7, #10b981);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* Glow on buttons */
.btn-primary {
  box-shadow: 0 0 20px rgba(16,185,129,0.3);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(16,185,129,0.6);
  transform: translateY(-3px) scale(1.02);
}

/* Card glow on hover */
.service-card:hover {
  box-shadow: 0 20px 60px rgba(16,185,129,0.15), 0 0 0 1px rgba(16,185,129,0.2);
}

.work-card:hover {
  box-shadow: 0 20px 60px rgba(16,185,129,0.2);
}

/* Animated border on featured card */
.service-card.featured {
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
              linear-gradient(135deg, #10b981, #34d399) border-box;
  border: 1px solid transparent;
}

/* Step number glow */
.step:hover .step-num {
  color: rgba(16,185,129,0.6);
  text-shadow: 0 0 30px rgba(16,185,129,0.4);
  transition: all 0.3s;
}

/* Hero cards pulse */
.hero-card {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s;
}
.hero-card:hover {
  box-shadow: 0 8px 32px rgba(16,185,129,0.2);
}

/* Smooth underline nav */
.nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: #10b981;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav a:hover::after {
  transform: scaleX(1);
}

/* Chat widget pulse */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.chat-toggle {
  animation: pulse-ring 2s infinite;
}
.chat-widget.open .chat-toggle {
  animation: none;
}

/* Section fade-in smoother */
[data-aos] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero bg animated */
.hero-bg {
  animation: gradient-shift 8s ease infinite;
  background-size: 200% 200%;
}


/* PRICING */
.pricing { padding: 80px 0; }
.trial-banner { display: flex; align-items: center; gap: 20px; max-width: 800px; margin: 0 auto 60px; padding: 24px 32px; background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05)); border: 1px solid rgba(16,185,129,0.3); border-radius: 20px; }
.trial-icon { font-size: 48px; flex-shrink: 0; }
.trial-text { display: flex; flex-direction: column; gap: 4px; }
.trial-text strong { font-size: 22px; font-weight: 800; color: var(--accent); }
.trial-text span { font-size: 15px; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.price-card { position: relative; padding: 36px 28px; background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; display: flex; flex-direction: column; transition: all 0.3s; }
.price-card:hover { transform: translateY(-4px); border-color: rgba(16,185,129,0.3); }
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(16,185,129,0.08), var(--card)); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #000; padding: 6px 18px; border-radius: 50px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.price-name { font-size: 18px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.price-amount { font-size: 38px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 6px; }
.price-from { font-size: 16px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.price-period { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.price-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.price-features li { padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.05); }
.price-features li:last-child { border-bottom: none; color: var(--accent); font-weight: 700; }
.price-btn { display: block; text-align: center; padding: 14px 24px; background: rgba(255,255,255,0.05); color: #fff; text-decoration: none; border-radius: 12px; font-weight: 700; font-size: 15px; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.1); }
.price-btn:hover { background: rgba(255,255,255,0.1); }
.price-btn-primary { background: var(--accent); color: #000; border-color: var(--accent); }
.price-btn-primary:hover { background: #0ea271; border-color: #0ea271; }
.pricing-note { max-width: 720px; margin: 40px auto 0; text-align: center; padding: 20px; font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .trial-banner { flex-direction: column; text-align: center; gap: 12px; } }


/* PAINS */
.pains { padding: 80px 0; background: linear-gradient(180deg, transparent, rgba(255,80,80,0.03), transparent); position: relative; }
.pains-tag { background: rgba(255,80,80,0.15) !important; color: #ff7a7a !important; border-color: rgba(255,80,80,0.3) !important; }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.pain-card { padding: 28px 24px; background: var(--card); border: 1px solid rgba(255,255,255,0.06); border-radius: 18px; transition: all 0.3s; position: relative; overflow: hidden; }
.pain-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,80,80,0.5), transparent); opacity: 0; transition: opacity 0.3s; }
.pain-card:hover { transform: translateY(-4px); border-color: rgba(255,80,80,0.25); background: linear-gradient(180deg, rgba(255,80,80,0.04), var(--card)); }
.pain-card:hover::before { opacity: 1; }
.pain-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.pain-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; color: #fff; }
.pain-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.pains-cta { margin-top: 50px; text-align: center; padding: 32px; background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02)); border: 1px solid rgba(16,185,129,0.2); border-radius: 20px; }
.pains-cta p { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 20px; line-height: 1.5; }
.pains-cta strong { color: var(--accent); font-weight: 800; }
@media (max-width: 900px) { .pains-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pains-cta { padding: 24px 20px; } .pains-cta p { font-size: 15px; } }


/* ANIMATIONS-ITER2 */

/* Fade-in-up при появлении в viewport */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Каскадная задержка для карточек в сетках */
.pains-grid [data-aos]:nth-child(1),
.pricing-grid [data-aos]:nth-child(1),
.works-grid [data-aos]:nth-child(1),
.services-grid [data-aos]:nth-child(1) { transition-delay: 0s; }
.pains-grid [data-aos]:nth-child(2),
.pricing-grid [data-aos]:nth-child(2),
.works-grid [data-aos]:nth-child(2),
.services-grid [data-aos]:nth-child(2) { transition-delay: 0.1s; }
.pains-grid [data-aos]:nth-child(3),
.pricing-grid [data-aos]:nth-child(3),
.works-grid [data-aos]:nth-child(3),
.services-grid [data-aos]:nth-child(3) { transition-delay: 0.2s; }
.pains-grid [data-aos]:nth-child(4) { transition-delay: 0.3s; }
.pains-grid [data-aos]:nth-child(5) { transition-delay: 0.4s; }
.pains-grid [data-aos]:nth-child(6) { transition-delay: 0.5s; }

/* Glow-пульсация на главных CTA */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5), 0 4px 20px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0), 0 4px 30px rgba(16, 185, 129, 0.5); }
}
.btn-primary {
  animation: pulse-glow 2.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { animation: none; transform: translateY(-2px); }

/* Glow на популярном тарифе */
.price-card.featured { animation: featured-glow 3s ease-in-out infinite; }
@keyframes featured-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.15); }
  50% { box-shadow: 0 0 50px rgba(16, 185, 129, 0.3); }
}

/* Градиент на цифрах Stats */
.stat-num {
  background: linear-gradient(135deg, var(--accent), #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

/* Плавающие hero-карточки */
.hero-card { animation: float-card 4s ease-in-out infinite; }
.hero-card.card-2 { animation-delay: 0.5s; }
.hero-card.card-3 { animation-delay: 1s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hover на услугах */
.service-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}

/* Пульсация бейджа в hero */
.hero-badge { animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Уважение к настройкам пользователя */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* COMPARE */
.compare { padding: 80px 0; }
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: start; margin-top: 50px; }
.compare-col { padding: 36px; border-radius: 24px; }
.compare-before { background: linear-gradient(135deg, rgba(255,80,80,0.08), rgba(255,80,80,0.02)); border: 1px solid rgba(255,80,80,0.2); }
.compare-after { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02)); border: 1px solid rgba(16,185,129,0.2); }
.compare-head { margin-bottom: 24px; }
.compare-label { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.compare-before .compare-label { color: #ff7a7a; }
.compare-after .compare-label { color: var(--accent); }
.compare-title { font-size: 22px; font-weight: 800; color: #fff; }
.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-before .compare-list li { padding-left: 24px; position: relative; color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.5; }
.compare-before .compare-list li::before { content: "✗"; position: absolute; left: 0; color: #ff7a7a; font-weight: 800; }
.compare-after .compare-list li { padding-left: 24px; position: relative; color: rgba(255,255,255,0.9); font-size: 14px; line-height: 1.5; }
.compare-after .compare-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.compare-separator { display: flex; align-items: center; justify-content: center; padding: 0 24px; padding-top: 80px; }
.compare-arrow { font-size: 32px; color: var(--accent); animation: arrow-pulse 1.5s ease-in-out infinite; }
@keyframes arrow-pulse { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(6px); opacity: 0.6; } }
.compare-cta { text-align: center; margin-top: 50px; }
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } .compare-separator { padding: 20px 0; transform: rotate(90deg); } }


/* MARQUEE */
.marquee-wrap { overflow: hidden; background: rgba(16,185,129,0.06); border-top: 1px solid rgba(16,185,129,0.15); border-bottom: 1px solid rgba(16,185,129,0.15); padding: 14px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee-scroll 30s linear infinite; }
.marquee-track span { padding: 0 32px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); white-space: nowrap; border-right: 1px solid rgba(16,185,129,0.2); }
.marquee-track span:last-child { border-right: none; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* STICKY CTA — мобильный */
@media (max-width: 768px) {
  .sticky-cta { display: flex; }
}
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 20px;
  background: rgba(10, 20, 15, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(16,185,129,0.2);
  z-index: 999;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.sticky-cta a {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 14px 20px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 15px;
  border-radius: 12px;
  text-decoration: none;
}
