:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface-2: #232735;
  --border: #2e3344;
  --text: #e8eaef;
  --text-muted: #9aa3b5;
  --accent-vc: #ff3b30;
  --accent-dtf: #ff6b35;
  --accent: #4f8cff;
  --success: #34c759;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  position: relative;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-vc), var(--accent-dtf));
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

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

/* Hero */

.hero {
  padding: 4rem 0 3rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.25);
  color: #8ab4ff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* Cards grid */

.section {
  padding: 2.5rem 0 4rem;
}

.section__title {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card--vc:hover {
  border-color: rgba(255, 59, 48, 0.45);
}

.card--dtf:hover {
  border-color: rgba(255, 107, 53, 0.45);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card__platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card__dot--vc {
  background: var(--accent-vc);
}

.card__dot--dtf {
  background: var(--accent-dtf);
}

.card__tag {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(52, 199, 89, 0.12);
  color: var(--success);
  border: 1px solid rgba(52, 199, 89, 0.25);
  white-space: nowrap;
}

.card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.stat__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat__value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat__value--price {
  color: #ffd166;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.btn--vc {
  background: var(--accent-vc);
  color: #fff;
}

.btn--dtf {
  background: var(--accent-dtf);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--full {
  width: 100%;
}

/* Product page */

.product-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

.product-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb span {
  opacity: 0.4;
}

.page-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.page-title--vc {
  color: #ff6b63;
}

.page-title--dtf {
  color: #ff8c5a;
}

.info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.info-block h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.info-block p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.info-block p:last-child {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(52, 199, 89, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.order-box {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.order-box__price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
  color: #ffd166;
}

.order-box__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.22);
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
}

.stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.order-box__row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.order-box__row:last-of-type {
  border-bottom: none;
  margin-bottom: 1.25rem;
}

.order-box__row dt {
  color: var(--text-muted);
}

.order-box__row dd {
  margin: 0;
  font-weight: 600;
}

.order-box__note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.highlight-banner {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(255, 107, 53, 0.08));
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-banner__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.highlight-banner strong {
  display: block;
  margin-bottom: 0.2rem;
}

.highlight-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.step {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.step__num {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
  margin-bottom: 0.65rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Features row on main */

.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.feature-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer__links a:hover {
  color: var(--text);
}

.contact-link {
  color: var(--accent);
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Contacts */

.contacts {
  padding: 3rem 0 4rem;
}

.contacts__header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.contacts__header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.contacts__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-card--phone:hover {
  border-color: rgba(79, 140, 255, 0.45);
}

.contact-card--telegram:hover {
  border-color: rgba(42, 171, 238, 0.45);
}

.contact-card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-card--phone .contact-card__icon {
  background: rgba(79, 140, 255, 0.15);
  color: #6ea8ff;
}

.contact-card--telegram .contact-card__icon {
  background: rgba(42, 171, 238, 0.15);
  color: #2aabee;
}

.contact-card--whatsapp .contact-card__icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.contact-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-card__value {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.2s;
}

.contact-card:hover .contact-card__value {
  color: #fff;
}

.contact-card--phone:hover .contact-card__value {
  color: #8ab4ff;
}

.contact-card--telegram:hover .contact-card__value {
  color: #2aabee;
}

.contact-card--whatsapp:hover .contact-card__value {
  color: #25d366;
}

.contact-card__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.order-contacts {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-contacts__title {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-contacts a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.order-contacts a:hover {
  color: var(--text);
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer__contacts a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer__contacts a:hover {
  color: var(--text);
}


/* Dropdown nav */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.25;
  height: auto;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown > a:hover,
.nav-dropdown > a.active {
  background: var(--surface-2);
  color: var(--text);
}
.nav > a {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  z-index: 200;
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: grid;
  gap: 0.15rem;
}
.nav-dropdown__menu a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.3;
}
.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 1.1rem;
}
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.card:hover {
  border-color: rgba(79, 140, 255, 0.35);
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
  }
  .nav.nav--open { display: flex; }
  .nav-dropdown__menu {
    position: static;
    display: none;
    max-height: 240px;
    box-shadow: none;
    margin-top: 0.35rem;
  }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav.nav--open .nav-dropdown__menu {
    display: grid;
  }
}

.card .btn--full {
  margin-top: auto;
}
.cards .card {
  min-height: 100%;
}
