/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-dark: #0d1b2a;
  --bg-dark-2: #1b263b;
  --text: #0d1b2a;
  --muted: #5a6778;
  --muted-dark: #94a3b8;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.1);
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 27, 42, 0.1);
  --shadow-lg: 0 20px 50px rgba(13, 27, 42, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: white;
  border-radius: 10px;
}
.logo-icon svg { width: 28px; height: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -0.5px; }
.logo-sub { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

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

.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header-phone-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.header-phone-num { font-size: 17px; font-weight: 700; color: var(--text); }
.header-phone-num:hover { color: var(--accent); }

.burger { display: none; flex-direction: column; gap: 5px; width: 32px; height: 32px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: var(--text); transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: white; box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  color: white;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(13,27,42,0.85) 0%, rgba(27,38,59,0.92) 100%),
    url('https://images.unsplash.com/photo-1762813384339-c526d5533976?fm=jpg&q=60&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.hero-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.accent { color: var(--accent); }
.hero-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-points {
  display: flex; gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-point { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.hero-point-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent);
  border-radius: 10px;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn-ghost { color: white; border-color: rgba(255,255,255,0.25); }
.hero-cta .btn-ghost:hover { color: white; border-color: var(--accent); background: rgba(249,115,22,0.1); }

/* Lead form card */
.lead-card {
  background: white;
  color: var(--text);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.lead-card-head { margin-bottom: 20px; }
.lead-card-head h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.lead-card-head p { font-size: 14px; color: var(--muted); }

.field { display: block; margin-bottom: 14px; }
.field span {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.lead-policy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.lead-policy a { color: var(--accent); }
.lead-success {
  margin-top: 16px;
  padding: 14px;
  background: #d1fae5;
  color: #065f46;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

/* ============ STATS ============ */
.stats {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 36px 24px;
  gap: 20px;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.stat-lbl {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); color: white; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-dark .section-tag { background: rgba(249,115,22,0.15); }
.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 17px;
  color: var(--muted);
}
.section-dark .section-lead { color: var(--muted-dark); }

/* ============ PRODUCT CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 28px;
}
.card-icon svg { width: 40px; height: 40px; }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.card-meta { font-size: 14px; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.card-list { margin-bottom: 24px; }
.card-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.card-list li:last-child { border-bottom: none; }
.card-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.card-cta {
  display: inline-flex; align-items: center;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}
.card-cta:hover { gap: 12px; }
.card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, white 0%, #fff8f3 100%);
  box-shadow: 0 8px 24px rgba(249,115,22,0.12);
}
.card-badge {
  position: absolute; top: -10px; right: 20px;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-soft {
  background: var(--bg-soft);
  border-style: dashed;
}

/* ============ APPLICATIONS ============ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.app:hover { background: rgba(249,115,22,0.08); border-color: var(--accent); }
.app-num {
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.app h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.app p { color: var(--muted-dark); font-size: 15px; }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  font-size: 22px; font-weight: 800;
  margin-bottom: 20px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ============ ADVANTAGES ============ */
.advs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}
.adv:hover { background: rgba(249,115,22,0.08); border-color: var(--accent); transform: translateY(-4px); }
.adv-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  background: rgba(249,115,22,0.15);
  border-radius: 16px;
}
.adv h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.adv p { color: var(--muted-dark); font-size: 15px; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text .section-title { text-align: left; margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-badges { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.about-badge {
  flex: 1; min-width: 110px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
}
.about-badge b {
  display: block;
  font-size: 28px; font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.about-badge span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.about-image-card {
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.about-image-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(13,27,42,0.85) 100%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 60px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 16px;
}

/* ============ CONTACTS ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-title { text-align: left; margin-bottom: 20px; }
.contact-info > p { color: var(--muted); margin-bottom: 32px; font-size: 16px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.contact-item-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item-lbl {
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.contact-item a { color: var(--text); font-weight: 600; }
.contact-item a:hover { color: var(--accent); }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.logo-footer .logo-name, .logo-footer .logo-sub { color: white; }
.footer-about { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.footer h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer ul li { margin-bottom: 10px; font-size: 15px; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}

/* ============ FAB ============ */
.fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(249,115,22,0.5);
  z-index: 50;
  animation: fab-pulse 2.5s infinite;
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { background: var(--accent-hover); transform: scale(1.08); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(249,115,22,0.5); }
  50% { box-shadow: 0 8px 24px rgba(249,115,22,0.5), 0 0 0 12px rgba(249,115,22,0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 80px; left: 0; right: 0;
    background: white;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .burger { display: flex; }
  .header-phone { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards, .apps-grid, .steps, .advs { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .hero-points { gap: 12px; }
  .hero-point { font-size: 13px; }
  .cards, .apps-grid, .steps, .advs { grid-template-columns: 1fr; gap: 16px; }
  .lead-card, .contact-form { padding: 24px; }
  .card, .step, .app, .adv { padding: 24px; }
  .header-inner { height: 64px; }
  .nav.open { top: 64px; }
  .logo-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fab { bottom: 16px; right: 16px; width: 54px; height: 54px; }
}
