* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: #ffffff;
  background-color: #17212b;

  /* Telegram background: dots + mini circles */
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(rgba(34,158,217,0.12) 3px, transparent 3px);

  background-size:
    28px 28px,
    160px 160px;

  background-position:
    0 0,
    80px 120px;
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(23, 33, 43, 0.85);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.header-btn {
  margin-left: 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #229ed9;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(34,158,217,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-btn:hover {
  transform: translateY(-2px);
  background: #1d8cc7;
  box-shadow: 0 14px 32px rgba(34,158,217,0.45);
}

/* ================= HERO ================= */

.hero {
  padding-top: 160px;
  padding-bottom: 180px;
}


.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(34,158,217,0.15);
  color: #229ed9;
}

.hero-badge img {
  width: 16px;
  height: 16px;
  display: block;
}

.hero-left h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-left h1 span {
  color: #229ed9;
}

.hero-left p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

/* BUTTONS */

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn.primary {
  background: #229ed9;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(34,158,217,0.35);
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.03);
  background: #1d8cc7;
  box-shadow: 0 16px 36px rgba(34,158,217,0.45);
}

.btn.secondary {
  background: transparent;
  color: #229ed9;
  border: 1px solid rgba(34,158,217,0.5);
}

.btn.secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(34,158,217,0.25);
}

/* TRUST LINE */

.hero-trust {
  display: flex;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* HERO IMAGE */

.hero-right {
  position: relative;
}

.hero-right::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34,158,217,0.25), transparent 70%);
  filter: blur(50px);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

/* ================= DIVIDER ================= */

.section-divider {
  position: relative;
  height: 1px;
  margin: 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(34,158,217,0.6),
    transparent
  );
}

.section-divider::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 40px;
  background: radial-gradient(circle, rgba(34,158,217,0.35), transparent 70%);
  filter: blur(30px);
}

/* ================= SERVICES ================= */

.services {
  padding: 60px 20px 180px;
}


.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-title {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,158,217,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #229ed9;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons,
  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-right {
    display: none;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  .nav {
    display: none;
  }

  .header-btn {
    margin-left: auto;
  }
}

.service-image {
  display: block;
  width: 100%;
  max-width: 180px;
  margin: 0 auto 20px;

  filter: drop-shadow(0 10px 30px rgba(34,158,217,0.25));
}


.service-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-icon {
  font-size: 20px;
  line-height: 1;
  color: #229ed9;

  filter: drop-shadow(0 4px 12px rgba(34,158,217,0.35));
}

/* ================= PROCESS (STEP 1) ================= */

.process {
  padding: 60px 20px 180px;
}

.process-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: block; /* КРИТИЧНО */
}


.process-title {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  margin-bottom: 64px;
}

/* ================= PROCESS ================= */

.process-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.process-step {
  display: flex;
  gap: 20px;
}

.step-number {
  font-size: 22px;
  font-weight: 600;
  color: #229ed9;
  min-width: 36px;
}

.step-text h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.step-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

/* RIGHT */

.process-visual {
  display: flex;
  justify-content: center;
}

.process-image-placeholder {
  width: 360px;
  height: 360px;
  border-radius: 32px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(34,158,217,0.35),
    rgba(34,158,217,0.05)
  );
  box-shadow:
    0 40px 80px rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* MOBILE */

@media (max-width: 900px) {
  .process-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-visual {
    order: -1;
  }
}

/* ================= CASES ================= */

.cases {
  padding: 60px 20px 180px;
}

.cases-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cases-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 80px;
}

.case-item {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* IMAGE */

.case-visual img {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

/* CONTENT */

.case-title {
  font-size: 26px;
  margin-bottom: 12px;
}

.case-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.case-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.case-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.case-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.5;
}

.case-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #229ed9;
}

.case-result {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 18px;
}

.case-result strong {
  color: #ffffff;
}

/* MOBILE */

@media (max-width: 900px) {
  .case-item {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cases-title {
    font-size: 30px;
    margin-bottom: 48px;
  }
}

/* ===== CASE PHONES SIMPLE VIEW ===== */

/* общий стиль айфонов */
.case-phone {
  width: 210px; /* ← было ~260px, уменьшили ~на 20% */
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.4));
}

/* убираем абсолютное позиционирование */
.case-phone.main,
.case-phone.secondary {
  position: static;
  transform: none;
  opacity: 1;
}

.case-visual img.case-phone {
  width: 235px !important;
  max-width: 235px !important;
  height: auto;
}

/* ===== ZOOM CASE SCREEN ON CLICK ===== */

.case-phone {
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-phone.is-zoomed {
  transform: scale(1.3);
  z-index: 5;
  cursor: zoom-out;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

/* ===== CASES SPACING FIX ===== */

.case-item + .case-item {
  margin-top: 140px;
}

/* ---------- REVIEWS ---------- */

.reviews {
  padding: 120px 20px;
  position: relative;
}

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

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
}

.reviews-slider {
  padding-bottom: 60px;
}

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 32px;
  height: auto;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255,255,255,0.06);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}

.review-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #e5e7eb;
}

.review-author strong {
  display: block;
  font-size: 15px;
}

.review-author span {
  font-size: 14px;
  opacity: 0.7;
}

/* dots */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #229ed9;
}

/* mobile */
@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

.case-visual {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
}

/* ===== REVIEWS AVATAR ===== */

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #229ed9,
    #1b7fb0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.review-author-info strong {
  display: block;
  font-size: 15px;
}

.review-author-info span {
  font-size: 14px;
  opacity: 0.7;
}

/* ===== REVIEWS EQUAL HEIGHT FIX ===== */

.review-card {
  display: flex;
  flex-direction: column;
}

.review-card > :first-child {
  flex-grow: 1;
}

.reviews-slider .swiper-wrapper {
  align-items: stretch;
}

.reviews-slider .swiper-slide {
  height: auto;
  display: flex;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 120px 20px 180px;
}

.faq .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  overflow: hidden;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question:hover {
  background: rgba(255,255,255,0.03);
}

.faq-icon {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 26px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #e5e7eb;
}

/* mobile */
@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
  }
}

/* ---------- FOOTER ---------- */

.footer {
  padding: 80px 20px 40px;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}

.footer-description {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #9ca3af;
  max-width: 360px;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav strong,
.footer-contacts strong {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-nav a,
.footer-contacts a {
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  opacity: 1;
}

.footer-copy {
  margin-top: 20px;
  font-size: 13px;
  color: #9ca3af;
}

/* mobile */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- FOOTER LOGO ---------- */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(34,158,217,0.4));
}

.footer-policy {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-policy:hover {
  opacity: 1;
}

/* ---------- PRIVACY PAGE ---------- */

.privacy {
  padding: 160px 20px;
}

.privacy .container {
  max-width: 800px;
  margin: 0 auto;
}

.privacy h1 {
  font-size: 36px;
  margin-bottom: 32px;
}

.privacy h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy p {
  font-size: 16px;
  line-height: 1.7;
  color: #d1d5db;
}

.privacy-back {
  display: inline-block;
  margin-top: 60px;
  font-size: 14px;
  color: #229ed9;
  text-decoration: none;
}

.privacy-back:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

/* ---------- WHATSAPP FLOAT BUTTON ---------- */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  z-index: 1500;

  border-radius: 50%;
  background: #25d366;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.6);
}

/* ---------- MOBILE FIXES ---------- */
@media (max-width: 480px) {

  /* HEADER */
  .top-header-inner {
    padding: 10px 14px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* HERO */
  .hero {
    padding: 100px 16px 140px;
  }

  .badge {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .hero-left h1 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 28px;
  }

  /* HERO BUTTONS */
  .hero-buttons {
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-buttons .btn {
    padding: 14px 20px;
    font-size: 14px;
  }

  /* CHECKLIST */
  .hero-benefits {
    gap: 10px;
    font-size: 14px;
  }

  .hero-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
  }

}

/* ---------- HERO CENTER FIX (MOBILE) ---------- */
@media (max-width: 480px) {

  .hero-content {
    justify-items: center;
    text-align: center;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-benefits {
    justify-content: center;
  }

}

/* ---------- HERO GRID FIX (MOBILE) ---------- */
@media (max-width: 480px) {

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-left {
    width: 100%;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-left h1,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-benefits {
    justify-content: center;
  }

}

.logo {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.process-image {
  max-width: 360px;
  width: 100%;
  height: auto;
  display: block;

  filter: drop-shadow(0 30px 60px rgba(34,158,217,0.25));
  animation: float 6s ease-in-out infinite;
}

/* ===== FIX 1: Header CTA button on iPhone ===== */
@media (max-width: 480px) {

  .header-btn,
  .header .btn {
    white-space: nowrap;
    width: auto;
    max-width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.2;
  }

}

/* ===== FIX 2: Case text sizes on iPhone ===== */
@media (max-width: 480px) {

  .case-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .case-lead {
    font-size: 14px;
  }

  .case-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .case-list li {
    font-size: 14px;
    line-height: 1.5;
  }

  .case-result {
    font-size: 14px;
  }

}

/* Prevent text overflow in cases */
@media (max-width: 480px) {

  .case-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

}

/* Fix case phone overflow on mobile */
@media (max-width: 480px) {

  .case-visual {
    flex-wrap: wrap;
  }

  .case-phone {
    max-width: 100%;
    height: auto;
  }

}