/* ============================================
   AI-МАРКЕТОЛОГ — ПОЛНЫЕ СТИЛИ (БЕЗ TAILWIND)
   ============================================ */

/* --- RESET & BASE --- */
:root {
  --primary: #e10600;
  --primary-hover: #b90500;
  --primary-light: rgba(225, 6, 0, 0.1);
  --primary-lighter: rgba(225, 6, 0, 0.05);
  --white: #ffffff;
  --black: #000000;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --yellow-50: #fefce8;
  --yellow-100: #fef9c3;
  --yellow-200: rgba(234, 179, 8, 0.3);
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --- SCROLLBAR (desktop only) --- */
@media (min-width: 1024px) {
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--gray-100);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
  }
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}
@media (min-width: 1400px) {
  .container {
    padding: 0 3rem;
  }
}
@media (min-width: 1800px) {
  .container {
    max-width: 1600px;
    padding: 0 4rem;
  }
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 8vw, 5.5rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

@media (min-width: 768px) {
  p {
    font-size: 1.125rem;
  }
}

.text-primary {
  color: var(--primary);
}
.text-black {
  color: var(--black);
}
.text-gray {
  color: var(--gray-500);
}
.text-white {
  color: var(--white);
}
.font-bold {
  font-weight: 700;
}
.font-black {
  font-weight: 900;
}
.uppercase {
  text-transform: uppercase;
}
.text-center {
  text-align: center;
}

/* --- SECTIONS --- */
section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}
@media (min-width: 1024px) {
  section {
    padding: 8rem 0;
  }
}

.section-gray {
  background: var(--gray-50);
}
.section-white {
  background: var(--white);
}
.section-border {
  border-top: 1px solid var(--gray-200);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 4.5rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    height: 5.5rem;
    padding: 0 2rem;
  }
}

.logo {
  height: 2rem;
  width: auto;
}

@media (min-width: 768px) {
  .logo {
    height: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .logo {
    height: 3rem;
  }
}

/* --- NAV DESKTOP --- */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}
@media (min-width: 1280px) {
  .nav-desktop {
    gap: 2.5rem;
  }
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link-highlight {
  color: var(--primary);
}

/* --- HEADER BUTTONS --- */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .header-buttons {
    gap: 1rem;
  }
}

.btn-header {
  display: none;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .btn-header {
    display: flex;
    height: 3rem;
    padding: 0 1.5rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .btn-header {
    height: 3.25rem;
    padding: 0 2rem;
  }
}

.btn-header-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-200);
}

.btn-header-outline:hover {
  border-color: var(--black);
}

.btn-header-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

.btn-header-primary:hover {
  background: var(--primary-hover);
}

/* --- BURGER MENU --- */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 3px 0;
  transition:
    transform 0.3s,
    opacity 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 --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background: var(--white);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 5rem 1.5rem 2rem;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a.highlight {
  color: var(--primary);
}

.mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-lg {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .btn-lg {
    height: 4rem;
    padding: 0 2.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .btn-lg {
    height: 4.5rem;
    padding: 0 3rem;
    font-size: 1rem;
  }
}

.btn-xl {
  height: 4rem;
  padding: 0 2rem;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .btn-xl {
    height: 5rem;
    padding: 0 3rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: 0 10px 40px rgba(225, 6, 0, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--gray-50);
}

.btn-full {
  width: 100%;
}

/* --- HERO --- */
.hero {
  padding-top: 6rem;
  padding-bottom: 3rem;
  min-height: auto;
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 2rem;
  }
}

.hero h1 {
  line-height: 0.95;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  padding-left: 1rem;
  border-left: 4px solid rgba(225, 6, 0, 0.5);
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
    padding-left: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-badge svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

/* --- BADGE --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  background: var(--primary-lighter);
  color: var(--primary);
  border: 1px solid rgba(225, 6, 0, 0.2);
}

.badge-ping {
  position: relative;
  width: 0.75rem;
  height: 0.75rem;
}

.badge-ping::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-ping::after {
  content: "";
  position: relative;
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--primary);
  border-radius: 50%;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* --- WIDGET CARD --- */
.widget-card {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .widget-card {
    display: block;
  }
}

.widget-card-inner {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.widget-card::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: linear-gradient(
    135deg,
    rgba(225, 6, 0, 0.15),
    rgba(225, 6, 0, 0.05)
  );
  border-radius: 2.5rem;
  filter: blur(40px);
  z-index: -1;
}

/* --- CARDS --- */
.card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 1rem;
  padding: 1.5rem;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}

@media (min-width: 768px) {
  .card {
    border-radius: 1.5rem;
    padding: 2rem;
  }
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-colored {
  border-width: 2px;
}

.card-red {
  border-color: var(--red-100);
  background: linear-gradient(to bottom, var(--red-50), var(--white));
}
.card-orange {
  border-color: var(--orange-100);
  background: linear-gradient(to bottom, var(--orange-50), var(--white));
}
.card-yellow {
  border-color: var(--yellow-100);
  background: linear-gradient(to bottom, var(--yellow-50), var(--white));
}
.card-green {
  border-color: var(--green-100);
  background: linear-gradient(to bottom, var(--green-50), var(--white));
}
.card-blue {
  border-color: var(--blue-100);
  background: linear-gradient(to bottom, var(--blue-50), var(--white));
}
.card-purple {
  border-color: var(--purple-100);
  background: linear-gradient(to bottom, var(--purple-50), var(--white));
}

.card-primary {
  border-color: rgba(225, 6, 0, 0.2);
  background: linear-gradient(to bottom, var(--primary-lighter), var(--white));
}

.card-primary:hover {
  border-color: rgba(225, 6, 0, 0.4);
}

/* --- GRIDS --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-header .badge {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
}

@media (min-width: 768px) {
  .section-header p {
    font-size: 1.25rem;
  }
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(225, 6, 0, 0.3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

@media (min-width: 768px) {
  .faq-item summary {
    padding: 1.5rem 2rem;
  }
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

@media (min-width: 768px) {
  .faq-item summary h3 {
    font-size: 1.125rem;
  }
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--gray-400);
  transition:
    transform 0.3s,
    color 0.3s;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
}

@media (min-width: 768px) {
  .faq-content {
    padding: 0 2rem 2rem;
    padding-top: 1.5rem;
    font-size: 1.125rem;
  }
}

/* --- MODAL --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

@media (min-width: 768px) {
  .modal-content {
    border-radius: 2rem;
    padding: 2.5rem;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.modal p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

/* --- FORMS --- */
.form-group {
  margin-bottom: 1rem;
}

.form-input {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  background: var(--gray-50);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lighter);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* --- ALERT BOX --- */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid;
}

.alert-warning {
  background: var(--yellow-50);
  border-color: var(--yellow-200);
}

.alert-warning strong {
  color: #ca8a04;
}

.alert-info {
  background: var(--primary-lighter);
  border-color: rgba(225, 6, 0, 0.2);
}

/* --- AVATARS --- */
.avatars {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatars-stack {
  display: flex;
}

.avatars-stack img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -0.75rem;
}

.avatars-stack img:first-child {
  margin-left: 0;
}

/* --- STEPS --- */
.step-number {
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

/* --- PRICING --- */
.pricing-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .pricing-card {
    padding: 2.5rem;
  }
}

.pricing-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 25px 50px rgba(225, 6, 0, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--black);
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .pricing-price {
    font-size: 3rem;
  }
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* --- TABLE --- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 0 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  table {
    font-size: 1rem;
  }
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

th {
  font-weight: 700;
  background: var(--gray-50);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

/* --- COMPARISON TABLE --- */
.comparison-table {
  border-radius: 2rem;
  border: 2px solid var(--gray-200);
  overflow: hidden;
}

.comparison-table table {
  min-width: 1040px;
  background: var(--white);
}

.comparison-table thead {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table th {
  padding: 1.5rem 2rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comparison-table th:first-child {
  width: 30%;
  color: var(--gray-500);
}
.comparison-table th:nth-child(2) {
  width: 35%;
  color: var(--gray-400);
  background: var(--gray-50);
}
.comparison-table th:nth-child(3) {
  width: 35%;
  color: var(--primary);
  background: var(--primary-lighter);
}

.comparison-table td {
  padding: 1.75rem 2rem;
  vertical-align: top;
}

.comparison-table td:first-child {
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td:nth-child(2) {
  background: var(--gray-50);
  color: var(--gray-500);
}

.comparison-table td:nth-child(3) {
  background: var(--primary-lighter);
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.tag-minus {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.tag-plus {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--white);
  border: 1px solid rgba(225, 6, 0, 0.2);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* --- HOURS TABLE --- */
.hours-table {
  width: 100%;
  min-width: 820px;
}

.hours-table thead tr {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.hours-table th {
  padding: 1rem 1.5rem 1rem 0;
  font-weight: 900;
  background: transparent;
}

.hours-table tbody tr {
  border-top: 1px solid var(--gray-100);
}

.hours-table td {
  padding: 1.25rem 1.5rem 1.25rem 0;
  color: var(--gray-700);
}

.hours-table td:first-child {
  font-weight: 700;
  color: var(--black);
}

.hours-table td:nth-child(2) {
  font-weight: 900;
  color: var(--primary);
}

/* --- STAT CARDS --- */
.stat-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
}

.stat-card .label {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.stat-card .value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.stat-card .subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card p {
  margin-top: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- DAMAGE CARDS --- */
.damage-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
}

.damage-card .number {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.damage-card h3 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.damage-card .stats {
  text-align: right;
}

.damage-card .stats .label {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.damage-card .stats .current {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.damage-card .stats .could-be {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.damage-card .insight {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.damage-card .insight p {
  font-size: 0.875rem;
  color: var(--gray-700);
  margin: 0;
}

/* --- TYPEWRITER --- */
#typewriter-text {
  display: inline-block;
  min-width: 280px;
  text-align: left;
}

@media (min-width: 768px) {
  #typewriter-text {
    min-width: 420px;
  }
}

.cursor-blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* --- FOOTER --- */
.footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  height: 2rem;
  opacity: 0.5;
}

.footer-logo span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-links {
    gap: 2.5rem;
  }
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--black);
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* --- ICONS --- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}
.icon-lg {
  width: 2rem;
  height: 2rem;
}
.icon-xl {
  width: 2.5rem;
  height: 2.5rem;
}

/* --- SIDE NAV (dots) --- */
.side-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1280px) {
  .side-nav {
    display: flex;
  }
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.side-nav .label {
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--white);
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.side-nav a:hover .label {
  opacity: 1;
}

.side-nav .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: all 0.3s;
}

.side-nav a:hover .dot,
.side-nav .dot.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 4px 15px rgba(225, 6, 0, 0.4);
}

/* --- UTILITIES --- */
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}

.hidden {
  display: none;
}
.block {
  display: block;
}
.inline-flex {
  display: inline-flex;
}

.w-full {
  width: 100%;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.overflow-hidden {
  overflow: hidden;
}

.rounded {
  border-radius: 0.25rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}

.border {
  border: 1px solid var(--gray-200);
}
.border-2 {
  border: 2px solid var(--gray-200);
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}
.shadow-lg {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.shadow-xl {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- FLEX RESPONSIVE --- */
.flex-col-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .flex-col-mobile {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* --- PRICING ENHANCEMENTS --- */
.pricing-tier-box {
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 1rem;
}

.pricing-tier-box.featured {
  border-color: rgba(225, 6, 0, 0.3);
  background: var(--primary-lighter);
}

.pricing-tier-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.pricing-tier-price {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--black);
}

.pricing-tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
}

.pricing-tier-info {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.pricing-tier-info strong {
  font-weight: 700;
  color: var(--black);
}

.pricing-tier-savings {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 0.25rem;
}

/* --- AUDIENCE CARD ENHANCEMENTS --- */
.audience-card {
  border: 2px solid var(--gray-200);
  border-radius: 2rem;
  padding: 2.5rem;
  background: var(--white);
  transition: box-shadow 0.3s;
}

.audience-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.audience-card.featured {
  border-color: var(--primary);
  background: linear-gradient(to bottom, rgba(225, 6, 0, 0.1), var(--white));
  box-shadow: 0 25px 50px rgba(225, 6, 0, 0.1);
}

.audience-tag {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
}

/* --- EARLY BIRD ENHANCEMENTS --- */
.privilege-card {
  padding: 2rem;
  border-radius: 2rem;
  border: 2px solid rgba(225, 6, 0, 0.2);
  background: linear-gradient(to bottom, rgba(225, 6, 0, 0.05), var(--white));
  transition: all 0.3s;
}

.privilege-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(225, 6, 0, 0.4);
}

.privilege-card.highlighted {
  border-color: rgba(225, 6, 0, 0.3);
  background: linear-gradient(to bottom, rgba(225, 6, 0, 0.1), var(--white));
}

.privilege-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.privilege-title {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.privilege-text {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* --- CTA BOX --- */
.cta-box {
  padding: 2.5rem 3.5rem;
  border-radius: 2rem;
  background: linear-gradient(
    to right,
    rgba(225, 6, 0, 0.05),
    var(--white),
    rgba(225, 6, 0, 0.05)
  );
  border: 2px solid rgba(225, 6, 0, 0.2);
  text-align: center;
}

@media (max-width: 767px) {
  .cta-box {
    padding: 2rem 1.5rem;
  }
}

/* --- RADIAL BACKGROUND --- */
.bg-radial-primary {
  background: radial-gradient(
    circle at center,
    rgba(225, 6, 0, 0.05),
    white,
    white
  );
}

/* --- SAFE AREA (iPhone) --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-menu {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  .footer {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom));
  }
}
/* ============================================
   MOBILE FIXES v3 — ЧИСТЫЕ ФИКСЫ БЕЗ КОНФЛИКТОВ
   Добавить ПОСЛЕ основных стилей
   ============================================ */

/* ===========================================
   FIX 1: КНОПКА ЗАКРЫТЬ В МОБИЛЬНОМ МЕНЮ
   =========================================== */
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  z-index: 10;
}

.mobile-menu-close:hover {
  background: var(--gray-200);
  transform: rotate(90deg);
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  color: var(--black);
}

/* ===========================================
   FIX 2: МОБИЛЬНЫЕ КНОПКИ В ХЕДЕРЕ
   =========================================== */
.btn-header-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-header-outline-mobile {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
}

.btn-header-outline-mobile:hover {
  border-color: var(--black);
}

.btn-header-primary-mobile {
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: 0 2px 8px rgba(225, 6, 0, 0.25);
}

.btn-header-primary-mobile:hover {
  background: var(--primary-hover);
}

/* Скрываем мобильные кнопки на планшете+ */
@media (min-width: 768px) {
  .btn-header-mobile {
    display: none;
  }
}

/* Уменьшаем gap на мобилке */
@media (max-width: 767px) {
  .header-buttons {
    gap: 0.5rem;
  }
}

/* ===========================================
   FIX 3: ИКОНКИ В МОБИЛЬНОМ МЕНЮ
   =========================================== */
.mobile-nav-icon {
  font-size: 1.25rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

/* Переопределяем стиль ссылок для иконок */
.mobile-nav a {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* ===========================================
   FIX 4: STAT-CARDS — РАМКИ И СТИЛИ
   =========================================== */
.stat-card {
  border: 2px solid var(--gray-200) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
  border-color: rgba(225, 6, 0, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Бейдж факта */
.stat-card .label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-lighter);
  border-radius: 9999px;
  font-size: 0.6875rem !important;
  color: var(--primary) !important;
}

/* Мобильная версия */
@media (max-width: 639px) {
  .stat-card {
    padding: 1.25rem;
  }

  .stat-card .value {
    font-size: 2rem;
  }

  .stat-card .subtitle {
    font-size: 0.75rem;
  }

  .stat-card p {
    font-size: 0.875rem;
  }
}

/* ===========================================
   FIX 5: DAMAGE-CARDS НА МОБИЛКЕ
   =========================================== */
.damage-card {
  border: 2px solid var(--gray-200) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

@media (max-width: 639px) {
  /* Stats под заголовком */
  .damage-card > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .damage-card .stats {
    text-align: left !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    width: 100%;
  }

  .damage-card h3 {
    font-size: 1.25rem !important;
  }

  .damage-card .insight {
    padding: 1rem;
  }

  .damage-card .insight p {
    font-size: 0.8125rem !important;
  }
}

/* ===========================================
   FIX 6: СЕКЦИЯ "ДЛЯ КОГО" — УБИРАЕМ OVERFLOW
   =========================================== */
#audience {
  overflow-x: hidden !important;
}

#audience .grid-3 {
  padding-top: 1.5rem;
}

#audience .grid-3 > * {
  overflow: visible !important;
  min-width: 0;
}

@media (max-width: 639px) {
  #audience .card {
    padding: 1.5rem !important;
    border-radius: 1.25rem !important;
  }

  #audience .card h3 {
    font-size: 1.125rem !important;
    line-height: 1.3;
  }

  #audience .card ul li {
    font-size: 0.875rem;
    padding: 0.375rem 0 !important;
  }
}

/* ===========================================
   FIX 7: АВАТАРКИ
   =========================================== */
.avatars {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .avatars {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.avatars p {
  max-width: 260px;
  line-height: 1.5;
}

@media (min-width: 480px) {
  .avatars p {
    max-width: none;
  }
}

/* ===========================================
/* ===========================================
   FIX 9: ГЛОБАЛЬНЫЙ OVERFLOW
   =========================================== */
html,
body {
  overflow-x: hidden;
}

section {
  overflow-x: hidden;
}

/* ===========================================
   FIX 10: HERO НА МОБИЛКЕ
   =========================================== */
@media (max-width: 479px) {
  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    padding-left: 0.75rem;
    border-left-width: 3px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 360px) {
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ===========================================
   FIX 11: ALERT НА МОБИЛКЕ
   =========================================== */
@media (max-width: 479px) {
  .alert {
    padding: 1rem;
  }

  .alert p {
    font-size: 0.8125rem !important;
    line-height: 1.5;
  }
}

/* ===========================================
   FIX 12: EARLY BIRD НА МОБИЛКЕ
   =========================================== */
@media (max-width: 639px) {
  #early-bird .grid-4 > .card,
  #early-bird .grid-3 > .card {
    padding: 1.25rem !important;
  }

  #early-bird .grid-4 h3,
  #early-bird .grid-3 h3 {
    font-size: 0.875rem !important;
  }
}

/* flex-col-mobile */
@media (max-width: 639px) {
  .flex-col-mobile {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .flex-col-mobile .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   FIX 13: FAQ НА МОБИЛКЕ
   =========================================== */
@media (max-width: 479px) {
  .faq-item summary {
    padding: 1rem;
  }

  .faq-item summary h3 {
    font-size: 0.9375rem;
  }

  .faq-content {
    padding: 1rem;
    font-size: 0.9375rem;
  }
}

/* ===========================================
   FIX 14: PRICING НА МОБИЛКЕ
   =========================================== */
@media (max-width: 479px) {
  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-price {
    font-size: 2rem;
  }
}

/* ===========================================
   FIX 15: SECTION HEADERS НА МОБИЛКЕ
   =========================================== */
@media (max-width: 479px) {
  .section-header {
    margin-bottom: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }
}

/* ===========================================
   FIX 16: CARDS ОБЩИЕ
   =========================================== */
@media (max-width: 479px) {
  .card {
    padding: 1.25rem;
    border-radius: 1rem;
  }
}

/* ===========================================
   FIX 17: CONTAINER НА УЗКИХ ЭКРАНАХ
   =========================================== */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }
}

/* ===========================================
   FIX 18: MODAL НА МОБИЛКЕ
   =========================================== */
@media (max-width: 479px) {
  .modal-content {
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
  }
}

/* ===========================================
   FIX 19: COMPARISON TABLE
   =========================================== */
@media (max-width: 1023px) {
  .comparison-table {
    border-radius: 1rem;
  }
}

/* ===========================================
   FIX 20: БЕЗОПАСНАЯ ЗОНА IPHONE
   =========================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-menu {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}
/* ============================================
   TYPOGRAPHY FIX — Единые стандарты типографики
   ============================================ */

/* --- БАЗОВЫЕ ЗАГОЛОВКИ --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* H1 */
h1 {
  font-size: clamp(2rem, 8vw, 5.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

/* H2 — главные секционные заголовки */
h2 {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  text-transform: uppercase;
}

/* H3 — подзаголовки */
h3 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* H4 */
h4 {
  font-size: clamp(0.9375rem, 2vw, 1.25rem);
  line-height: 1.3;
}

/* --- ПАРАГРАФЫ --- */
p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* --- МОБИЛЬНЫЕ УЛУЧШЕНИЯ --- */
@media (max-width: 767px) {
  /* H2 на мобилке — увеличиваем межстрочку */
  h2 {
    font-size: clamp(1.375rem, 6vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  /* H3 на мобилке */
  h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  /* Параграфы на мобилке */
  p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}

@media (max-width: 479px) {
  /* Ещё меньшие экраны */
  h2 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  h3 {
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

/* --- SECTION HEADER ТИПОГРАФИКА --- */
.section-header h2 {
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-header p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-500);
}

@media (max-width: 767px) {
  .section-header h2 {
    line-height: 1.2;
  }

  .section-header p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-width: 479px) {
  .section-header p {
    font-size: 0.9375rem;
  }
}

/* --- HERO ТИПОГРАФИКА --- */
.hero h1 {
  line-height: 1;
}

@media (max-width: 767px) {
  .hero h1 {
    line-height: 1.05;
  }
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 479px) {
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

/* --- CARD ТИПОГРАФИКА --- */
.card h3 {
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.card p {
  line-height: 1.6;
}

@media (max-width: 639px) {
  .card h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .card p {
    font-size: 0.875rem;
    line-height: 1.55;
  }
}

/* --- STAT-CARD ТИПОГРАФИКА --- */
.stat-card .subtitle {
  font-size: 0.8125rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.stat-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (max-width: 639px) {
  .stat-card .subtitle {
    font-size: 0.75rem;
  }

  .stat-card p {
    font-size: 0.875rem;
  }
}

/* --- DAMAGE-CARD ТИПОГРАФИКА --- */
.damage-card h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.damage-card p {
  line-height: 1.6;
}

@media (max-width: 639px) {
  .damage-card h3 {
    font-size: 1.125rem;
    line-height: 1.25;
  }

  .damage-card p {
    font-size: 0.875rem;
    line-height: 1.55;
  }
}

/* --- PRICING ТИПОГРАФИКА --- */
.pricing-card h3 {
  line-height: 1.2;
}

/* --- FAQ ТИПОГРАФИКА --- */
.faq-item summary h3 {
  font-size: 1rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}

.faq-content {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 479px) {
  .faq-item summary h3 {
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .faq-content {
    font-size: 0.875rem;
    line-height: 1.55;
  }
}

/* --- ALERT ТИПОГРАФИКА --- */
.alert p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (max-width: 479px) {
  .alert p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

/* --- AUDIENCE КАРТОЧКИ --- */
#audience .card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 639px) {
  #audience .card h3 {
    font-size: 1.0625rem;
    line-height: 1.3;
  }
}
/* ============================================
   TABLE SCROLL — ПРОСТОЙ ИНДИКАТОР
   ============================================ */

/* Добавляем position для ::after */
.table-wrapper {
  position: relative;
}

/* Подсказка ПОД таблицей — только на мобилке */
@media (max-width: 1023px) {
  .table-wrapper::after {
    content: "← листай →";
    display: block;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
  }
}

/* Скрываем старый мусор если остался */
.table-scroll-wrapper,
.table-scroll-hint {
  display: none !important;
}
/* ============================================
   COMPARISON CARDS — КАРТОЧНЫЙ ФОРМАТ СРАВНЕНИЯ
   Заменяет старую таблицу
   ============================================ */

/* Контейнер карточек */
.comparison-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Одна карточка сравнения */
.comparison-card {
  border: 2px solid var(--gray-200);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--white);
}

/* Заголовок карточки */
.comparison-card-title {
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  border-bottom: 1px solid var(--gray-200);
}

/* Тело карточки — два блока */
.comparison-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Каждый элемент сравнения */
.comparison-item {
  padding: 1.25rem;
}

/* Конкуренты — серый фон */
.comparison-item.competitor {
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
}

/* Наш продукт — красноватый фон */
.comparison-item.ours {
  background: var(--primary-lighter);
}

/* Лейбл */
.comparison-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

.comparison-item.ours .comparison-label {
  color: var(--primary);
}

/* Текст */
.comparison-item p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0;
}

.comparison-item.ours p {
  color: var(--gray-700);
}

.comparison-item p strong {
  color: var(--black);
}

/* Теги МИНУС/ПЛЮС */
.tag-minus,
.tag-plus {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.5625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-minus {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-400);
}

.tag-plus {
  background: var(--white);
  border: 1px solid rgba(225, 6, 0, 0.3);
  color: var(--primary);
}

/* ===========================================
   МОБИЛЬНАЯ ВЕРСИЯ — вертикальный стек
   =========================================== */
@media (max-width: 767px) {
  .comparison-card-body {
    grid-template-columns: 1fr;
  }

  .comparison-item.competitor {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .comparison-card-title {
    padding: 0.875rem 1rem;
    font-size: 0.6875rem;
  }

  .comparison-item {
    padding: 1rem;
  }

  .comparison-item p {
    font-size: 0.8125rem;
  }
}

/* ===========================================
   СКРЫВАЕМ СТАРУЮ ТАБЛИЦУ НА МОБИЛКЕ
   =========================================== */
@media (max-width: 1023px) {
  .comparison-table {
    display: none;
  }
}

/* ПОКАЗЫВАЕМ КАРТОЧКИ ТОЛЬКО НА МОБИЛКЕ */
/* Если хочешь показывать везде — удали этот блок */
@media (min-width: 1024px) {
  .comparison-cards {
    display: none;
  }
}
/* Акцентный текст */
.text-accent {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1.4;
  padding-top: 1.2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .text-accent {
    font-size: 1.5rem;
  }
}
/* Аватарки по центру на мобилке */
@media (max-width: 479px) {
  .avatars {
    align-items: center;
    text-align: center;
  }

  .avatars p {
    text-align: center;
    max-width: 100%;
  }
}
