:root {
  --bg: #07020f;
  --bg-2: #0d0620;
  --card: #140a28;
  --card-2: #1c1036;
  --accent: #FF3DA6;
  --accent-2: #8B5CF6;
  --text: #F5F0FF;
  --text-dim: #A99BC7;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

/* Cosmic background */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 15%, rgba(255,255,255,.9) 50%, transparent 0),
    radial-gradient(1.5px 1.5px at 30% 65%, rgba(255,255,255,.6) 50%, transparent 0),
    radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,.8) 50%, transparent 0),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(255,255,255,.5) 50%, transparent 0),
    radial-gradient(1px 1px at 85% 20%, rgba(255,255,255,.7) 50%, transparent 0),
    radial-gradient(1.5px 1.5px at 92% 55%, rgba(255,255,255,.5) 50%, transparent 0),
    radial-gradient(1px 1px at 15% 90%, rgba(255,255,255,.6) 50%, transparent 0),
    radial-gradient(1.5px 1.5px at 45% 95%, rgba(255,255,255,.4) 50%, transparent 0);
  background-size: 600px 600px;
  background-repeat: repeat;
  opacity: .8;
}

.glow {
  position: fixed;
  z-index: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .35;
}
.glow-1 {
  width: 480px; height: 480px;
  top: -120px; left: -100px;
  background: var(--accent);
}
.glow-2 {
  width: 520px; height: 520px;
  top: 400px; right: -160px;
  background: var(--accent-2);
}
.glow-3 {
  width: 420px; height: 420px;
  top: 900px; left: 38%;
  background: #22D3EE;
  opacity: .22;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 2, 15, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 44px; width: auto; display: block; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.footer-name { font-size: 15px; }

.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-dim); font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AABEE, #229ED9);
  flex-shrink: 0;
  transition: transform .15s, box-shadow .15s;
}
.icon-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(42, 171, 238, 0.45); }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s, opacity .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 61, 166, 0.25);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(255, 61, 166, 0.4); }

.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.btn-outline {
  border: 1px solid rgba(255, 61, 166, 0.55);
  color: var(--text);
  background: rgba(255, 61, 166, 0.08);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(255, 61, 166, 0.16); }

.btn-small { padding: 9px 18px; font-size: 14px; }

.btn-hero {
  padding: 17px 44px;
  font-size: 17px;
  box-shadow: 0 10px 34px rgba(255, 61, 166, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.btn-hero:hover { box-shadow: 0 14px 44px rgba(255, 61, 166, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.18) inset; }

/* Hero */
.hero { padding: 130px 0 110px; text-align: center; position: relative; }
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; }

.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 56px 64px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.glass-card { position: relative; z-index: 2; }

@media (max-width: 960px) {
  .glass-card { padding: 40px 28px; }
}

.slogan {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 50px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #d9c8f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 600;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 61, 166, 0.08);
  border: 1px solid rgba(255, 61, 166, 0.25);
}

/* Sections */
section { padding: 90px 0; position: relative; }

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 48px;
}

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

.card {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .15s, transform .15s;
  position: relative;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }

.card-flagship {
  border: 1px solid transparent;
  background:
    linear-gradient(#1b1030, #1b1030) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
}

.card-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 4px 12px;
  border-radius: 999px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-icon {
  font-size: 26px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 61, 166, 0.12);
  border: 1px solid rgba(255, 61, 166, 0.25);
  border-radius: 12px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.card:hover .card-icon {
  transform: translateY(-4px) scale(1.08);
  background: rgba(255, 61, 166, 0.22);
  box-shadow: 0 0 22px rgba(255, 61, 166, 0.55), 0 0 44px rgba(139, 92, 246, 0.35);
  animation: icon-pulse 1.6s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { box-shadow: 0 0 22px rgba(255, 61, 166, 0.55), 0 0 44px rgba(139, 92, 246, 0.35); }
  50% { box-shadow: 0 0 30px rgba(255, 61, 166, 0.8), 0 0 60px rgba(139, 92, 246, 0.5); }
}

.card-price {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 61, 166, 0.16);
  border: 1px solid rgba(255, 61, 166, 0.45);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.price-old {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.price-sale {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 3px 8px;
  border-radius: 999px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }

.btn-more {
  border: 1px solid rgba(255, 61, 166, 0.35);
  background: rgba(255, 61, 166, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.btn-more:hover { border-color: var(--accent); background: rgba(255, 61, 166, 0.16); }

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

.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  opacity: .45;
}

.step { position: relative; padding-top: 62px; }

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background:
    linear-gradient(#1b1030, #1b1030) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  border: 1px solid transparent;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 61, 166, 0.45);
  letter-spacing: .02em;
}

.step h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.step p { color: var(--text-dim); font-size: 15px; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 28px 20px;
}

.stat-n {
  display: block;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.stat-l {
  color: var(--text-dim);
  font-size: 14px;
}

/* Cases */
.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}

.case {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.case:hover { transform: translateY(-3px); border-color: var(--accent); }

.mockup { line-height: 0; }
.mockup svg,
.mockup img { display: block; width: 100%; height: auto; }

.case-body { padding: 22px; }

.case-tag {
  display: inline-block;
  background: rgba(255, 61, 166, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.case-body h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.case-body p { color: var(--text-dim); font-size: 14px; }

/* Honesty strip */
.honesty { padding: 40px 0 90px; }

.honesty-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 44px;
  border-radius: 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(#170d2b, #170d2b) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
}

.honesty-icon {
  font-size: 44px;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 61, 166, 0.12);
  border: 1px solid rgba(255, 61, 166, 0.3);
}

.honesty-inner h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.honesty-inner p { color: var(--text-dim); font-size: 15px; }

@media (max-width: 700px) {
  .honesty-inner { flex-direction: column; text-align: center; padding: 30px 22px; }
}

/* Call modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 1, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background:
    linear-gradient(#170d2b, #170d2b) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.modal-sub { color: var(--text-dim); font-size: 15px; margin-bottom: 22px; }

.modal-wide { max-width: 520px; text-align: left; }
.modal-wide h3 { text-align: left; }
.modal-wide .modal-sub { text-align: left; line-height: 1.6; }
.service-modal-cta { margin-top: 6px; }

.order-done { padding: 30px 10px; text-align: center; }
.order-done h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.modal-close:hover { border-color: var(--accent); color: var(--text); }

#call-form label {
  display: block;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

#call-form input {
  width: 100%;
  box-sizing: border-box;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .03em;
  font-family: inherit;
  margin-bottom: 18px;
  transition: border-color .15s;
}
#call-form input:focus { outline: none; border-color: var(--accent); }

.modal-done-icon { font-size: 44px; margin-bottom: 10px; }

.countdown {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal-note { color: var(--text-dim); font-size: 13px; }

/* Contact */
.contact-inner { text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; position: relative; z-index: 2; }
.footer-inner { display: flex; align-items: center; gap: 14px; }
.footer-inner p { color: var(--text-dim); font-size: 14px; }

/* Pain hook banner */
.pain-hook {
  padding: 60px 0;
}
.pain-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 61, 166, 0.25);
  background: linear-gradient(160deg, rgba(255, 61, 166, 0.1), rgba(139, 92, 246, 0.08));
}
.pain-inner h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.pain-inner p { color: var(--text-dim); font-size: 16px; margin-bottom: 26px; }

/* Order form */
.order-box {
  max-width: 640px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 8px;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 8px;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

#order-form { padding: 22px 26px 26px; }

#order-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

#order-form select,
#order-form input,
#order-form textarea {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 18px;
  transition: border-color .15s;
}
#order-form select:focus,
#order-form input:focus,
#order-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

#order-form textarea { resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-full { width: 100%; text-align: center; border: none; cursor: pointer; }

.form-hint {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  opacity: .85;
  margin-top: 14px;
}

.quick-contacts {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.quick-contact {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .15s;
}
.quick-contact:hover { border-color: var(--accent); }

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .cards, .steps, .case-list, .stats-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .pain-inner { padding: 32px 24px; }
  .steps::before {
    top: 8%;
    bottom: 8%;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), var(--accent-2), var(--accent));
  }
  .step { padding-top: 0; padding-left: 64px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 30px; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-small { padding: 8px 12px; font-size: 12.5px; white-space: nowrap; }
  .icon-btn { width: 34px; height: 34px; }
}
