@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #090D1A;
  --surface-1: #0F1629;
  --surface-2: #161F35;
  --accent-purple: #7C3AED;
  --accent-blue: #3B82F6;
  --gradient: linear-gradient(135deg, #7C3AED, #3B82F6);
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --border: rgba(124, 58, 237, 0.3);
  --border-hover: rgba(124, 58, 237, 0.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 6px; }

.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover, .nav a.active {
  color: var(--text);
  background: var(--surface-2);
}

.btn-nav {
  padding: 9px 18px;
  background: var(--gradient);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  transition: opacity 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-nav:hover {
  opacity: 0.9;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
  background: var(--surface-2) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span { margin: 0 6px; }

/* ── MAIN WRAPPER ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(59,130,246,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  background: var(--surface-1);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
}

.btn-cta:hover {
  box-shadow: 0 0 32px rgba(124,58,237,0.5), 0 0 64px rgba(59,130,246,0.25);
  transform: translateY(-1px);
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-badges span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.counter-wrap {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.counter-num {
  font-weight: 700;
  color: var(--text);
}

/* ── DPI ANIMATION ── */
.dpi-anim {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 48px auto 0;
}

.dpi-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: var(--surface-2);
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  z-index: 2;
}

.dpi-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.3);
  animation: dpi-pulse 3s ease-in-out infinite;
}

.dpi-ring:nth-child(2) { width: 120px; height: 120px; animation-delay: 0s; }
.dpi-ring:nth-child(3) { width: 160px; height: 160px; animation-delay: 0.5s; }
.dpi-ring:nth-child(4) { width: 210px; height: 210px; animation-delay: 1s; }

@keyframes dpi-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); border-color: rgba(59,130,246,0.5); }
}

.packet {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  animation: packet-fly 2.5s linear infinite;
}

@keyframes packet-fly {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

/* ── SERVICE ICONS (hero) ── */
.hero-services {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s;
}

.service-chip:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.service-chip img { width: 20px; height: 20px; }

/* ── FEATURES CARDS ── */
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.2;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(24px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.15);
}

.card-icon { font-size: 28px; margin-bottom: 14px; }

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ── SERVICES TILE ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.service-tile {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  cursor: default;
}

.service-tile:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  background: var(--surface-2);
}

.service-tile a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.service-tile .s-icon { font-size: 28px; }
.section-note { text-align: center; color: var(--text-muted); font-size: 14px; max-width: 700px; margin: 0 auto; }

/* ── STEPS ── */
.steps-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps-line {
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.step.visible { opacity: 1; transform: translateY(0); }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.step.active .step-num {
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(124,58,237,0.5);
  background: var(--gradient);
  color: #fff;
}

.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-muted); }

.steps-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.steps-links a {
  color: var(--accent-blue);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.steps-links a:hover { color: var(--accent-purple); }

.steps-cta { text-align: center; margin-top: 40px; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-purple);
  box-shadow: 0 0 32px rgba(124,58,237,0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.pricing-price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-price.free { -webkit-text-fill-color: var(--text); }
.pricing-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.pricing-note { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.pricing-cta { text-align: center; }

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.review-stars { font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.review-author { font-size: 13px; font-weight: 600; color: var(--text); }

.reviews-count { text-align: center; font-size: 15px; color: var(--text-muted); }
.reviews-count .counter-num { font-size: 22px; display: block; }

/* ── GUARANTEES ── */
.guarantees {
  background: var(--surface-1);
  position: relative;
  overflow: hidden;
}

.guarantees::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124,58,237,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

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

.guarantee-item { text-align: center; }

.guarantee-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(124,58,237,0); }
}

.guarantee-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.guarantee-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── SEO BLOCK ── */
.seo-block { background: var(--surface-1); }
.seo-block h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; margin-bottom: 16px; }
.seo-block p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; }
.seo-block p:last-child { margin-bottom: 0; }
.seo-block a { color: var(--accent-blue); text-decoration: underline; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--surface-1);
}

.faq-q {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.faq-q:hover { color: var(--accent-blue); }

.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gradient); border-color: transparent; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-a-inner a { color: var(--accent-blue); text-decoration: underline; }

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(124,58,237,0.12) 0%, transparent 70%);
}

.final-cta h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; }

.btn-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── CROSSLINK CARDS ── */
.crosslink-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.crosslink-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}

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

.crosslink-icon { font-size: 36px; flex-shrink: 0; }

.crosslink-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.crosslink-card p { font-size: 13px; color: var(--text-muted); }
.crosslink-card .arrow { margin-left: auto; color: var(--accent-blue); font-size: 20px; flex-shrink: 0; }

.crosslink-cta { text-align: center; }

/* ── FOOTER ── */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand .logo { font-size: 22px; display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); max-width: 300px; line-height: 1.6; }

.footer-nav { display: flex; gap: 24px; align-items: center; }
.footer-nav a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }

.footer-copy {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface-1); padding: 16px; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .steps-wrap { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .guarantees-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 70px 0 56px; }
  .steps-wrap { grid-template-columns: 1fr; }
  .crosslink-grid { grid-template-columns: 1fr; }
  .btn-cta { padding: 14px 24px; font-size: 15px; }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* ── MOBILE NAV OPEN ── */
.header { position: relative; }
@media (max-width: 900px) {
  .header { position: sticky; }
}
