:root {
  --bg: #08090e;
  --bg-soft: #11131c;
  --glass: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f8ff;
  --muted: #b7bdcc;
  --orange: #ff6a00;
  --orange-2: #ff8a2b;
  --red: #ff244f;
  --blue: #1677ff;
  --blue-2: #55a6ff;
  --green: #48e5a2;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.44);
  --radius-xl: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 106, 0, 0.23), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(22, 119, 255, 0.22), transparent 30%),
    radial-gradient(circle at 50% 110%, rgba(255, 36, 79, 0.16), transparent 36%),
    var(--bg);
  font-family: Tahoma, Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

::selection { background: rgba(255, 106, 0, .45); color: white; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: anywhere; }

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.navbar {
  margin-top: 18px;
  min-height: 76px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 12px;
  z-index: 30;
  border-radius: 24px;
  max-width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 0 30px rgba(255, 36, 79, .35);
}

.brand-copy { min-width: 0; display: flex; flex-direction: column; }
.brand-title { font-weight: 900; letter-spacing: 1.1px; font-size: 15px; white-space: nowrap; }
.brand-subtitle { color: var(--muted); font-size: 11px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; flex: 0 0 auto; }

.pill,
.primary-btn,
.secondary-btn {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.06);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.pill {
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.pill:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
}

.primary-btn,
.secondary-btn {
  min-height: 48px;
  border-radius: 16px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-align: center;
}

.primary-btn {
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 14px 38px rgba(255, 70, 40, .25);
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(255, 70, 40, .34); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px;
  align-items: center;
  padding: 64px 0 42px;
}
.hero > * { min-width: 0; }
.hero-copy { padding: 26px 2px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-size: 12px;
  color: #dce8ff;
  background: rgba(22, 119, 255, .12);
  border: 1px solid rgba(85, 166, 255, .28);
  border-radius: 999px;
  padding: 9px 12px;
  letter-spacing: .7px;
  white-space: normal;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
  animation: pulse 1.7s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(48px, 8.4vw, 104px);
  line-height: .9;
  margin: 26px 0 22px;
  letter-spacing: -4px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  direction: ltr;
  text-align: right;
  max-width: 100%;
}
.hero h1 span { display: block; }
.hero h1 .hot {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.82);
  text-shadow: 0 0 40px rgba(255, 106, 0, .22);
}
.hero h1 .solid {
  color: white;
  text-shadow: 0 0 38px rgba(22, 119, 255, .22);
}
.hero-lead { max-width: 620px; color: var(--muted); line-height: 2; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }

.hero-visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border-radius: 38px;
}

.hero-panel {
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  max-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.hero-panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,5,9,.92), transparent 62%); }
.hero-panel-copy { position: absolute; z-index: 3; inset-inline: 24px; bottom: 24px; }
.hero-panel-copy small { color: #ffd6c0; letter-spacing: 1.5px; }
.hero-panel-copy h2 { margin: 10px 0 8px; font-size: clamp(24px, 5vw, 32px); direction: ltr; text-align: right; }
.hero-panel-copy p { margin: 0; color: var(--muted); line-height: 1.8; }

.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  animation: spin 18s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.orbit.one { width: 560px; height: 560px; }
.orbit.two { width: 650px; height: 650px; animation-direction: reverse; animation-duration: 26s; opacity: .6; }
.orbit::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 22px var(--blue-2);
  position: absolute;
  top: 50%;
  left: -5px;
}

.section { padding: 74px 0; }
.compact-section { padding-top: 28px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.section-head > * { min-width: 0; }
.section-kicker { color: var(--orange-2); font-size: 12px; letter-spacing: 1.5px; font-weight: 900; }
.section-title { font-size: clamp(30px, 5vw, 56px); margin: 9px 0 0; line-height: 1.2; }
.section-caption { color: var(--muted); max-width: 530px; line-height: 1.9; margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  border-radius: var(--radius-xl);
  min-height: 370px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, border-color .28s ease;
}
.product-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.28); }
.product-card::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  filter: blur(5px);
  opacity: .32;
  top: -120px;
  left: -80px;
  background: var(--card-glow, var(--orange));
}
.stars-card { --card-glow: #1677ff; }
.premium-card { --card-glow: #ff5d00; }
.product-card > * { position: relative; z-index: 2; }
.product-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 31px;
  font-weight: 900;
  background: rgba(255,255,255,.095);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px rgba(255,255,255,.12);
}
.product-card h3 { font-size: clamp(28px, 4vw, 34px); margin: 28px 0 12px; }
.product-card p { color: var(--muted); line-height: 1.9; max-width: 500px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.card-meta { font-size: 12px; color: #dbe4ff; letter-spacing: .6px; }
.arrow { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.09); border: 1px solid var(--line); font-size: 24px; transition: transform .24s ease; }
.product-card:hover .arrow { transform: translateX(-5px); }

.inner-hero {
  padding: 58px 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 24px;
  align-items: center;
}
.inner-hero > * { min-width: 0; }
.inner-hero h1 { font-size: clamp(42px, 7vw, 82px); line-height: 1.08; margin: 18px 0; }
.inner-hero p { color: var(--muted); line-height: 2; max-width: 700px; }
.inner-art { width: 100%; aspect-ratio: 16 / 10; min-height: 260px; border-radius: 34px; overflow: hidden; position: relative; }
.inner-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.inner-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,106,0,.06), rgba(4,5,9,.7)); }
.inner-art-mark { position: absolute; z-index: 2; bottom: 22px; inset-inline: 22px; font-size: 12px; color: #fff2e8; letter-spacing: 1.4px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  border-radius: 26px;
  padding: 24px;
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.price-card .badge { align-self: flex-start; padding: 7px 10px; border-radius: 999px; color: #ffe9d8; background: rgba(255,106,0,.14); border: 1px solid rgba(255,138,43,.25); font-size: 10px; letter-spacing: 1px; }
.price-card h3 { font-size: 31px; margin: 22px 0 8px; }
.plan-mode { color: var(--muted); font-size: 13px; }
.price-card .toman { font-size: clamp(21px, 3vw, 25px); font-weight: 900; margin-top: 14px; overflow-wrap: anywhere; }
.price-card .price-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.8; }
.customer-note { min-height: 42px; }
.price-card .secondary-btn { margin-top: auto; width: 100%; }

.calculator {
  margin-top: 22px;
  border-radius: 30px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.calculator > * { min-width: 0; }
.calc-copy h2 { font-size: clamp(28px, 5vw, 36px); margin-bottom: 12px; }
.calc-copy p { color: var(--muted); line-height: 1.9; }
.form-box { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 18px; min-width: 0; }
.input-label { display: block; color: #dbe1ed; font-size: 12px; margin-bottom: 9px; }
.input-wrap { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.055); border-radius: 16px; padding: 5px 13px; min-width: 0; }
.input-wrap input { width: 100%; min-width: 0; flex: 1 1 auto; color: white; background: transparent; border: 0; outline: 0; height: 46px; font-size: 20px; font-weight: 900; }
.input-suffix { color: var(--muted); font-size: 12px; flex: 0 0 auto; }
.calc-result { border-top: 1px solid rgba(255,255,255,.1); margin-top: 16px; padding-top: 16px; display: grid; gap: 10px; }
.calc-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; color: var(--muted); font-size: 13px; min-width: 0; }
.calc-line > * { min-width: 0; }
.calc-line strong { color: white; text-align: left; overflow-wrap: anywhere; }
.calc-total { font-size: 20px; font-weight: 900; }
.form-box .primary-btn { width: 100%; margin-top: 16px; }

.segmented { display: inline-flex; gap: 6px; border-radius: 17px; padding: 5px; background: rgba(255,255,255,.06); border: 1px solid var(--line); max-width: 100%; }
.segmented button { color: var(--muted); background: transparent; border: 0; border-radius: 12px; padding: 11px 16px; transition: .2s; white-space: nowrap; }
.segmented button.active { color: white; background: linear-gradient(135deg, rgba(255,106,0,.74), rgba(255,36,79,.72)); box-shadow: 0 8px 24px rgba(255,70,40,.18); }

.notice { margin-top: 18px; border-radius: 18px; padding: 15px 17px; color: #d9deea; background: rgba(22,119,255,.075); border: 1px solid rgba(85,166,255,.17); line-height: 1.8; font-size: 12px; }

.footer { margin-top: 76px; border-top: 1px solid rgba(255,255,255,.1); padding: 34px 0 44px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-copy { color: var(--muted); font-size: 12px; line-height: 1.9; }
.made-by { color: #fff; font-weight: 800; letter-spacing: .5px; }

.toast {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  max-width: min(360px, calc(100% - 28px));
  padding: 14px 16px;
  border-radius: 15px;
  background: rgba(20,22,31,.96);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: .3s ease;
  z-index: 60;
  font-size: 13px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 50% { transform: scale(1.35); opacity: .65; } }
@keyframes float { 0%,100% { transform: perspective(1100px) rotateY(-4deg) rotateX(1deg) translateY(0); } 50% { transform: perspective(1100px) rotateY(-1deg) translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 44px; }
  .hero-copy { text-align: center; }
  .hero h1 { text-align: center; letter-spacing: -2px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 460px; }
  .orbit.two { display: none; }
  .section-head, .footer-grid { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .inner-hero { grid-template-columns: 1fr; }
  .inner-art { min-height: 0; }
  .calculator { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .page-shell { width: min(100% - 18px, 1180px); }
  .navbar {
    top: 6px;
    margin-top: 7px;
    min-height: 62px;
    padding: 8px 9px;
    border-radius: 18px;
    gap: 8px;
  }
  .brand { gap: 8px; }
  .brand-logo { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
  .brand-title { font-size: 12px; letter-spacing: .5px; }
  .brand-subtitle { display: none; }
  .nav-actions { gap: 6px; }
  .channel-pill { display: none; }
  .pill { padding: 9px 10px; font-size: 11px; }

  .hero { padding-top: 28px; gap: 14px; }
  .hero-copy { padding: 16px 0 0; }
  .eyebrow { font-size: 10px; padding: 8px 10px; }
  .hero h1 { font-size: clamp(48px, 18vw, 68px); line-height: .92; margin: 20px 0 18px; }
  .hero-lead { font-size: 14px; line-height: 1.9; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions > * { width: 100%; }
  .hero-visual { min-height: 0; padding: 10px 0; overflow: visible; }
  .hero-panel { width: 100%; max-height: none; border-radius: 25px; animation: none; transform: none; }
  .hero-panel-copy { inset-inline: 18px; bottom: 18px; }
  .hero-panel-copy h2 { font-size: 24px; }
  .orbit { display: none; }

  .section { padding: 52px 0; }
  .compact-section { padding-top: 20px; }
  .section-head { gap: 14px; margin-bottom: 18px; }
  .section-title { font-size: 32px; }
  .section-caption { font-size: 13px; }

  .product-card { min-height: 330px; padding: 21px; border-radius: 25px; }
  .product-card h3 { font-size: 29px; margin-top: 22px; }
  .product-card p { font-size: 14px; }
  .product-icon { width: 64px; height: 64px; border-radius: 19px; }

  .inner-hero { padding-top: 32px; gap: 18px; }
  .inner-hero h1 { font-size: clamp(40px, 13vw, 54px); }
  .inner-hero p { font-size: 14px; }
  .inner-art { aspect-ratio: 16 / 11; border-radius: 24px; }
  .inner-art-mark { inset-inline: 16px; bottom: 16px; font-size: 10px; }

  .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 235px; padding: 20px; }
  .price-card h3 { font-size: 29px; }
  .price-card .toman { font-size: 23px; }

  .segmented { width: 100%; }
  .segmented button { flex: 1; min-width: 0; padding-inline: 8px; font-size: 12px; }
  .calculator { padding: 16px; border-radius: 24px; }
  .form-box { padding: 15px; }
  .calc-line { font-size: 12px; }
  .calc-total { font-size: 17px; }
  .footer { margin-top: 48px; padding-bottom: max(34px, env(safe-area-inset-bottom)); }
  .footer-grid { align-items: stretch; text-align: center; }
  .footer-links { width: 100%; display: grid; grid-template-columns: 1fr; }
  .footer-links .pill { width: 100%; text-align: center; }
}

@media (max-width: 380px) {
  .page-shell { width: min(100% - 12px, 1180px); }
  .navbar { padding-inline: 7px; }
  .brand-logo { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-title { font-size: 11px; }
  .pill { padding: 8px 9px; font-size: 10px; }
  .hero h1 { font-size: 46px; }
  .section-title { font-size: 28px; }
  .product-card { padding: 18px; }
  .price-card { padding: 18px; }
}

@media (hover: none) {
  .product-card:hover,
  .primary-btn:hover,
  .secondary-btn:hover,
  .pill:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
