/* === Design Tokens === */
:root {
  --bg-white: #ffffff;
  --bg-alt: #fafafa;
  --text-primary: #0f0f0f;
  --text-secondary: #5a5a5a;
  --accent: #ff024c;
  --accent-hover: #d9023f;
  --accent-soft: #fff0f3;
  --border: #ececec;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-card: 0 2px 8px rgba(0,0,0,.06);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,.10);
  --font: -apple-system, 'Segoe UI', Inter, Roboto, sans-serif;
  --container: 1200px;
  --section-py: 96px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* === Container === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Section === */
.section {
  padding: var(--section-py) 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section__title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: center;
}
.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  transition: background .2s, border-color .2s, transform .1s;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--lg {
  font-size: 1.125rem;
  padding: 16px 40px;
}
.btn--sm {
  font-size: .875rem;
  padding: 10px 20px;
}
.btn--block {
  width: 100%;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  position: relative;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.header__logo img {
  width: 28px;
  height: 28px;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header__logo-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.header__logo-tagline {
  font-size: .65rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: .3px;
}
.header__nav {
  display: flex;
  gap: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header__nav a {
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}
.header__nav a:hover { color: var(--text-primary); }
.header__nav a:hover::after { width: 100%; }
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header__phone {
  color: var(--text-primary);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.header__login {
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}
.header__login:hover { color: var(--accent); }
.header__cta { flex-shrink: 0; }

/* Mobile burger */
.burger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* === Hero === */
.hero {
  padding: 80px 0 96px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.5;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .875rem;
  color: var(--text-secondary);
}
.hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__trust span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero__mockup {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-bar span:first-child { background: var(--accent); }
.mockup-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.mockup-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--accent-soft);
  flex-shrink: 0;
}
.mockup-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-text span:first-child {
  height: 10px;
  background: var(--text-primary);
  border-radius: 4px;
  opacity: .15;
  width: 70%;
}
.mockup-text span:last-child {
  height: 8px;
  background: var(--text-primary);
  border-radius: 4px;
  opacity: .08;
  width: 50%;
}
.mockup-badge {
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* === Pain === */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  transition: box-shadow .2s;
}
.pain-card:hover { box-shadow: var(--shadow-card-hover); }
.pain-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.pain-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.pain-card__text {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Steps === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  text-align: center;
  padding: 24px;
}
.step-card__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card__text {
  font-size: .9rem;
  color: var(--text-secondary);
}

/* === Features === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover { box-shadow: var(--shadow-card-hover); }
.feature-card__bg {
  position: absolute;
  bottom: -16px;
  right: -16px;
  opacity: .06;
  pointer-events: none;
  color: var(--accent);
}
.feature-card__icon {
  margin-bottom: 12px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.feature-card__text {
  font-size: .875rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* === Social proof === */
.logos-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}
.logo-placeholder {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .85rem;
  color: #aaa;
  font-weight: 500;
  background: var(--bg-white);
}
.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.testimonial__quote {
  color: var(--accent);
  opacity: .3;
  margin-bottom: 12px;
}
.testimonial__text {
  font-size: .95rem;
  margin-bottom: auto;
  padding-bottom: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__name {
  font-weight: 600;
  font-size: .9rem;
}
.testimonial__role {
  font-size: .8rem;
  color: var(--text-secondary);
}

/* === Slider === */
.slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.slider__track {
  display: flex;
  gap: 24px;
  transition: transform .4s ease;
}
.slider__slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}
.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color .2s, color .2s;
}
.slider__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.slider__dots {
  display: flex;
  gap: 8px;
}
.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s;
}
.slider__dot.active {
  background: var(--accent);
}

/* === Compare table === */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: .9rem;
}
.compare-table th, .compare-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child, .compare-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.compare-table th {
  font-weight: 700;
  background: var(--bg-alt);
}
.compare-table tr:hover td {
  background: var(--accent-soft);
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  position: relative;
  transition: box-shadow .2s;
}
.price-card:hover { box-shadow: var(--shadow-card-hover); }
.price-card--popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}
.price-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-card__price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.price-card__period {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.price-card__features {
  margin-bottom: 24px;
}
.price-card__features li {
  font-size: .875rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.price-card__features li:last-child { border-bottom: none; }
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: .95rem;
  color: var(--text-secondary);
}

/* === Implementation === */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
}
.timeline-step {
  text-align: center;
  position: relative;
}
.timeline-step__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  margin: 22px auto 16px;
  position: relative;
  z-index: 1;
}
.timeline-step__num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}
.timeline-step__title {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 4px;
}
.timeline-step__text {
  font-size: .85rem;
  color: var(--text-secondary);
}
.impl-bonus {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  font-weight: 600;
  color: var(--accent);
}

/* === About === */
.about-content {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.about-stat__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat__label {
  font-size: .9rem;
  color: var(--text-secondary);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer__inner {
  padding: 0 0 20px;
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Final CTA === */
.final-cta {
  text-align: center;
  padding: var(--section-py) 0;
  background: var(--accent-soft);
}
.final-cta__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.final-cta__phone {
  margin-top: 16px;
  font-size: .95rem;
  color: var(--text-secondary);
}

/* === Footer === */
.footer {
  background: var(--text-primary);
  color: #ccc;
  padding: 64px 0 32px;
}
.footer a { color: #ccc; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer__brand img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.footer__desc {
  font-size: .85rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer__col-title {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer__col a {
  display: block;
  font-size: .85rem;
  padding: 4px 0;
}
.footer__bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
}

/* === Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  max-width: 440px;
  width: 90%;
  position: relative;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  line-height: 1;
}
.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color .2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}
.form-success {
  text-align: center;
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  display: none;
}

/* === Responsive === */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__mockup { max-width: 480px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .slider__slide { flex: 0 0 calc(50% - 12px); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
}
@media (max-width: 768px) {
  :root { --section-py: 48px; }
  .section__title { font-size: 1.75rem; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1.05rem; }
  .pain-grid, .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .slider__slide { flex: 0 0 100%; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonials { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
  .header__nav, .header__phone, .header__login { display: none; }
  .burger { display: flex; }
  .header__nav { position: static; transform: none; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 12px;
  }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .timeline { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* === Blog === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  color: var(--text-primary);
}
.blog-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}
.blog-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
}
.blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__date {
  font-size: .8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.blog-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-card__excerpt {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.blog-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
}

/* Article content */
.article-content { font-size: 1.05rem; line-height: 1.8; color: var(--text-primary); }
.article-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.article-content h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.article-content blockquote { border-left: 3px solid var(--accent); padding: 12px 20px; margin: 20px 0; background: var(--accent-soft); border-radius: 0 8px 8px 0; color: var(--text-secondary); }
.article-content ul { padding-left: 24px; margin: 16px 0; }
.article-content li { margin-bottom: 8px; list-style: disc; }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content strong { font-weight: 600; }

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.anim { opacity: 0; transition: opacity .1s; }
.anim.visible { opacity: 1; animation-fill-mode: both; }
.anim-stagger { opacity: 1; }
.anim-stagger > * { opacity: 0; }
.anim-fade-up.visible { animation: fadeUp .6s ease forwards; }
.anim-fade-in.visible { animation: fadeIn .6s ease forwards; }
.anim-scale-in.visible { animation: scaleIn .5s ease forwards; }
.anim-slide-right.visible { animation: slideRight .5s ease forwards; }

/* Stagger children */
.anim-stagger.visible > *:nth-child(1) { animation: fadeUp .5s ease .0s both; }
.anim-stagger.visible > *:nth-child(2) { animation: fadeUp .5s ease .1s both; }
.anim-stagger.visible > *:nth-child(3) { animation: fadeUp .5s ease .2s both; }
.anim-stagger.visible > *:nth-child(4) { animation: fadeUp .5s ease .3s both; }
.anim-stagger.visible > *:nth-child(5) { animation: fadeUp .5s ease .4s both; }
.anim-stagger.visible > *:nth-child(6) { animation: fadeUp .5s ease .5s both; }

/* Hero animations (always visible) */
.hero__title { animation: fadeUp .7s ease .1s both; }
.hero__subtitle { animation: fadeUp .7s ease .2s both; }
.hero__buttons { animation: fadeUp .7s ease .3s both; }
.hero__trust { animation: fadeIn .7s ease .5s both; }
.hero__mockup { animation: scaleIn .8s ease .4s both; }

/* Card hover lift */
.pain-card, .feature-card, .price-card, .testimonial {
  transition: box-shadow .3s ease, transform .3s ease;
}
.pain-card:hover, .feature-card:hover, .price-card:hover {
  transform: translateY(-4px);
}

/* Feature card bg icon hover */
.feature-card__bg {
  transition: transform .4s ease, opacity .4s ease;
}
.feature-card:hover .feature-card__bg {
  transform: scale(1.15) rotate(5deg);
  opacity: .1;
}

/* Button hover glow */
.btn--primary {
  transition: background .2s, border-color .2s, transform .1s, box-shadow .3s;
}
.btn--primary:hover {
  box-shadow: 0 4px 20px rgba(255, 2, 76, .3);
}

/* Timeline dot pulse */
.timeline-step__dot {
  transition: transform .3s;
}
.timeline-step:hover .timeline-step__dot {
  animation: pulse .8s ease infinite;
}

/* Step number hover */
.step-card__num {
  transition: transform .3s, color .3s;
}
.step-card:hover .step-card__num {
  transform: scale(1.15);
}

/* Logo placeholder hover */
.logo-placeholder {
  transition: border-color .2s, transform .2s;
}
.logo-placeholder:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Modal entrance */
.modal-overlay.active .modal {
  animation: scaleIn .3s ease both;
}

/* Section title underline effect */
.section__title {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Smooth counter animation for stat numbers */
.about-stat__num {
  transition: transform .3s;
}
.about-stat__num:hover {
  transform: scale(1.1);
}

/* FAQ arrow rotation */
.faq-question::after {
  transition: transform .3s ease;
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
