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

:root {
  --bg: #f8f9fc;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f8;
  --border: #e2e4ec;
  --border-accent: #d0d4e0;
  --text: #1a1d2d;
  --text-dim: #5a6070;
  --text-muted: #8a8f9f;
  --accent: #00b861;
  --accent-dim: #009a50;
  --accent-glow: rgba(0, 184, 97, 0.12);
  --accent-glow-strong: rgba(0, 184, 97, 0.25);
  --red: #e63950;
  --blue: #3d7aed;
  --yellow: #e6a800;
  --purple: #9333ea;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Manrope', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

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

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 249, 252, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--text-dim); }

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

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-phone {
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none;
  margin-right: 8px;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: var(--accent) !important;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer;
  transition: all 0.2s !important;
}

.nav-cta:hover { box-shadow: 0 0 20px var(--accent-glow-strong); }

/* ---- HERO ---- */
.hero {
  padding: 130px 0 70px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 184, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow-strong); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--accent-glow-strong), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--text-dim);
  background: var(--bg-card);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- SECTIONS ---- */
section {
  padding: 70px 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.service-card:hover::before { opacity: 1; }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

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

/* ---- AI SECTION ---- */
.ai-section {
  border-top: 1px solid var(--border);
  position: relative;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(147, 51, 234, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ai-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  background: var(--bg-card-hover);
}

.ai-card:hover::before { opacity: 1; }

.ai-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.12);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 20px;
}

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

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

/* ---- EXPORT ---- */
.export-section { border-top: 1px solid var(--border); }

.export-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.export-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.export-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.export-item-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.export-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.export-item-content {
  flex: 1;
}

.export-item-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.export-item-content p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .export-grid { grid-template-columns: 1fr; }
}

/* ---- CASES ---- */
.cases-section { border-top: 1px solid var(--border); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.case-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.case-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.case-card-content {
  padding: 24px;
}

.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.case-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- TECH STACK ---- */
.stack-section { border-top: 1px solid var(--border); }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stack-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stack-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.stack-item-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stack-item-content {
  flex: 1;
}

.stack-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stack-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .stack-grid { grid-template-columns: 1fr; }
  .stack-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 12px;
  }
  .stack-item-icon {
    width: 48px;
    height: 48px;
  }
  .stack-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .stack-item p {
    font-size: 12px;
  }
}

/* ---- REVIEWS ---- */
.reviews-section { border-top: 1px solid var(--border); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  transition: border-color 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-card:hover { border-color: var(--border-accent); }

.review-stars {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card blockquote {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.review-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.review-source {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---- ADVANTAGES ---- */
.adv-section { border-top: 1px solid var(--border); }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.adv-item {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.adv-item .num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.adv-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.adv-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- FAQ ---- */
.faq-section { border-top: 1px solid var(--border); }

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

@media (max-width: 768px) {
  .faq-list { grid-template-columns: 1fr; }
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

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

.faq-q .chevron {
  font-size: 18px;
  color: var(--text-dim);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-q .chevron { transform: rotate(45deg); }

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

.faq-item.active .faq-a {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-a p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---- CTA ---- */
.cta-section {
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 184, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title { max-width: 100%; }
.cta-section .section-desc { margin: 0 auto 40px; text-align: center; }

.cta-contacts {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}

.cta-contact-item:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ---- CONTACT FORM ---- */
.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 56px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-form-subtitle {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.form-method-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input {
  width: 100%;
  padding: 18px 24px;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-submit {
  width: 100%;
  padding: 20px 32px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.form-submit:hover {
  background: var(--accent-dim);
  box-shadow: 0 4px 20px var(--accent-glow-strong);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

/* Honeypot spam protection */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-messengers {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.form-messenger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-messenger-btn:hover {
  transform: translateY(-2px);
}

.form-messenger-btn.telegram {
  background: #26A5E4;
  box-shadow: 0 4px 12px rgba(38, 165, 228, 0.3);
}

.form-messenger-btn.whatsapp {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.form-messenger-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  cursor: pointer;
  text-align: left;
}

.form-checkbox input {
  display: none;
}

.form-checkbox-mark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--border-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 1px;
}

.form-checkbox-mark::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 3px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s;
}

.form-checkbox input:checked + .form-checkbox-mark {
  border-color: var(--accent);
}

.form-checkbox input:checked + .form-checkbox-mark::after {
  opacity: 1;
  transform: scale(1);
}

.form-checkbox-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: left;
}

.form-checkbox-label a {
  color: var(--accent);
  text-decoration: none;
}

.form-checkbox-label a:hover {
  text-decoration: underline;
}

.form-checkbox-error {
  display: none;
  color: var(--red);
  font-size: 13px;
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(230, 57, 80, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--red);
}

.form-checkbox-error.show {
  display: block;
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(248, 249, 252, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
}

.form-contact-method {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.form-method-btn {
  flex: 1;
  padding: 16px 12px;
  border: 2px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.form-method-btn:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.form-method-btn.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--text);
}

.form-method-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.form-method-btn.telegram svg { fill: #26A5E4; }
.form-method-btn.whatsapp svg { fill: #25D366; }

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 28px 16px;
  }
  .form-contact-method {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .form-method-btn {
    flex: 1;
    padding: 10px 6px;
    font-size: 11px;
    gap: 4px;
  }
  .form-method-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ---- FOOTER ---- */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col {}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
  margin: 0;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-info { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 480px) {
  .footer-info { grid-template-columns: 1fr; }
}

/* ---- TERMINAL BLOCK ---- */
.terminal {
  background: #1e2130;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 48px;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #282d40;
  border-bottom: 1px solid #3a3f52;
}

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

.terminal-dot.r { background: #ff5f56; }
.terminal-dot.y { background: #ffbd2e; }
.terminal-dot.g { background: #27c93f; }

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
}

.terminal-body .prompt { color: #00e87b; }
.terminal-body .cmd { color: #e0e0e8; }
.terminal-body .output { color: #a0a4b4; }
.terminal-body .highlight { color: #ffd84d; }

/* ---- RESPONSIVE ---- */
/* ---- MOBILE MENU ---- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 16px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: var(--bg-card);
}

.mobile-menu .nav-cta {
  margin-top: 16px;
  text-align: center;
  padding: 16px 24px;
}

.mobile-menu-phone {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent) !important;
  padding: 16px 20px;
  margin-top: 8px;
}

.mobile-menu-social {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  justify-content: center;
}

.mobile-menu-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.mobile-menu-social .social-icon.telegram {
  background: #26A5E4;
}

.mobile-menu-social .social-icon.whatsapp {
  background: #25D366;
}

.mobile-menu-social .social-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: white;
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .services-grid, .ai-grid, .cases-grid, .reviews-grid { grid-template-columns: 1fr; }
  .export-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .export-grid { grid-template-columns: 1fr; }
}

/* ---- SCREENSHOTS SLIDER ---- */
.screenshots-section {
  border-top: 1px solid var(--border);
}

.screenshots-swiper {
  padding: 10px 0 40px;
}

.screenshots-swiper .swiper-slide {
  width: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshots-swiper .swiper-slide:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.screenshots-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshots-swiper .swiper-button-prev,
.screenshots-swiper .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.25s;
}

.screenshots-swiper .swiper-button-prev::after,
.screenshots-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
  color: var(--text);
}

.screenshots-swiper .swiper-button-prev:hover,
.screenshots-swiper .swiper-button-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.screenshots-swiper .swiper-button-prev:hover::after,
.screenshots-swiper .swiper-button-next:hover::after {
  color: white;
}

@media (max-width: 768px) {
  .screenshots-swiper .swiper-slide { width: 220px; }
  .screenshots-swiper .swiper-button-prev,
  .screenshots-swiper .swiper-button-next { width: 40px; height: 40px; }
  .screenshots-swiper .swiper-button-prev::after,
  .screenshots-swiper .swiper-button-next::after { font-size: 14px; }
}

/* ---- SOCIAL ICONS ---- */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon.telegram {
  background: #26A5E4;
  box-shadow: 0 4px 12px rgba(38, 165, 228, 0.3);
}

.social-icon.whatsapp {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.nav-social {
  display: flex;
  gap: 10px;
  margin-left: 16px;
  align-items: center;
}

.nav-social .social-icon {
  width: 32px;
  height: 32px;
}

.nav-social .social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-social .social-icon {
  width: 28px;
  height: 28px;
}

.footer-social .social-icon svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .nav-social { display: none; }
}

/* ---- QUIZ MODAL ---- */
.quiz-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.quiz-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quiz-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--bg-card);
  border-radius: 20px;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quiz-overlay.active + .quiz-modal,
.quiz-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.quiz-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-progress {
  display: flex;
  gap: 6px;
}

.quiz-progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}

.quiz-progress-dot.active {
  background: var(--accent);
}

.quiz-progress-dot.completed {
  background: var(--accent);
}

.quiz-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 20px;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.quiz-close:hover {
  background: var(--border);
  color: var(--text);
}

.quiz-body {
  padding: 32px 28px;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: quizFadeIn 0.3s ease;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.quiz-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.quiz-step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-option:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.quiz-option-radio {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.quiz-option.selected .quiz-option-radio {
  border-color: var(--accent);
}

.quiz-option.selected .quiz-option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.quiz-option-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.quiz-input {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.quiz-input::placeholder {
  color: var(--text-muted);
}

.quiz-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.quiz-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-input-label {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.quiz-contact-method {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.quiz-contact-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.quiz-contact-btn:hover {
  border-color: var(--border-accent);
}

.quiz-contact-btn.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--text);
}

.quiz-contact-btn svg {
  width: 18px;
  height: 18px;
}

.quiz-contact-btn.phone svg { fill: var(--accent); }
.quiz-contact-btn.telegram svg { fill: #26A5E4; }
.quiz-contact-btn.whatsapp svg { fill: #25D366; }

.quiz-footer {
  padding: 20px 28px 28px;
  display: flex;
  gap: 12px;
}

.quiz-btn {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-btn-back {
  background: var(--bg);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.quiz-btn-back:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

.quiz-btn-next {
  background: var(--accent);
  color: white;
}

.quiz-btn-next:hover {
  background: var(--accent-dim);
  box-shadow: 0 4px 20px var(--accent-glow-strong);
}

.quiz-btn-next:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.quiz-success {
  text-align: center;
  padding: 20px 0;
}

.quiz-success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 24px;
}

.quiz-success-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.quiz-success-text {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .quiz-modal {
    width: 95%;
    max-height: 95vh;
  }
  .quiz-header, .quiz-body, .quiz-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .quiz-contact-method {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .quiz-contact-btn {
    flex: 1;
    padding: 10px 6px;
    font-size: 11px;
    gap: 4px;
  }
  .quiz-contact-btn svg {
    width: 14px;
    height: 14px;
  }
}
