
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --ozon-blue: #005BFF;
  --ozon-blue-dark: #0047CC;
  --ozon-text-dark: #001A34;
  --ozon-text-gray: #546378;
  --ozon-bg-gray: #F0F2F5;
  --ozon-border: #E2E7EC;
  --font: 'Onest', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--ozon-bg-gray);
  color: var(--ozon-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ==================== HEADER ==================== */
.site-header {
  background-color: var(--ozon-blue);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 36px;
  width: auto;
  display: block;
}

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

.nav-link {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.95;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 26px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.btn-register {
  background: #FFFFFF;
  border: none;
  border-radius: 8px;
  color: var(--ozon-blue);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.btn-register:hover {
  background: #F4F7FF;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  background-color: var(--ozon-blue);
  color: #FFFFFF;
  padding: 44px 0 84px 0;
  overflow: hidden;
  position: relative;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  padding-right: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: #FFFFFF;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  font-weight: 400;
}

/* Hero Right: Video Player matching Ozon ORD */
.hero-video-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video-box {
  width: 100%;
  max-width: 530px;
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 20, 50, 0.35);
  overflow: hidden;
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

/* Decorative 3D Spheres & Stamp Under Card */
.hero-deco-sphere {
  position: absolute;
  bottom: -45px;
  right: -25px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.2);
  z-index: 1;
}

.hero-deco-badge {
  position: absolute;
  bottom: -35px;
  right: 60px;
  width: 76px;
  height: 76px;
  background: radial-gradient(circle, #2F9BF9 0%, #005BFF 100%);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 3px solid #FFFFFF;
}

.hero-deco-badge svg {
  width: 36px;
  height: 36px;
  color: #FFFFFF;
}

/* ==================== COMMON SECTIONS ==================== */
.section-wrapper {
  padding: 80px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--ozon-text-dark);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

/* ==================== BENEFITS ==================== */
.benefits-section {
  background-color: var(--ozon-bg-gray);
}

.section-head-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-head-flex .section-title {
  margin-bottom: 0;
}

.slider-navigation-buttons {
  display: flex;
  gap: 12px;
}

.nav-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--ozon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ozon-text-dark);
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav-arrow-btn:hover {
  border-color: var(--ozon-blue);
  color: var(--ozon-blue);
  transform: translateY(-1px);
}

.nav-arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.slider-outer {
  overflow: hidden;
  margin: 0 -8px;
  padding: 8px;
}

.slider-track-container {
  display: flex;
  gap: 24px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefit-card {
  flex: 0 0 380px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.card-heading {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ozon-text-dark);
}

.card-icon-img {
  width: 88px;
  height: 66px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ozon-text-gray);
}

.card-description a {
  color: var(--ozon-blue);
  font-weight: 600;
}

.card-description a:hover {
  text-decoration: underline;
}

.slider-pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D2D8E0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot-bullet.active {
  background: var(--ozon-blue);
  width: 24px;
  border-radius: 4px;
}

/* ==================== FORM SECTION ==================== */
.form-section {
  background-color: var(--ozon-blue);
  color: #FFFFFF;
}

.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.form-info-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.form-info-desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
}

.form-interactive-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  color: var(--ozon-text-dark);
}

.card-form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.tax-category-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ozon-text-gray);
  margin-bottom: 12px;
}

.radio-group-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.custom-radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--ozon-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 15px;
  font-weight: 500;
}

.custom-radio-row:hover {
  border-color: var(--ozon-blue);
  background-color: #F0F6FF;
}

.custom-radio-row input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ozon-blue);
}

.form-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ozon-border);
}

.progress-circle-box {
  position: relative;
  width: 56px;
  height: 56px;
}

.progress-circle-box svg {
  width: 56px;
  height: 56px;
}

.progress-pct-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ozon-blue);
}

.btn-form-next {
  background: var(--ozon-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-form-next:hover {
  background: var(--ozon-blue-dark);
}

/* ==================== PARTNERS ==================== */
.partners-section {
  background-color: #FFFFFF;
}

.tabs-navigation-strip {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #E6EBF0;
  margin-bottom: 36px;
  overflow-x: auto;
}

.partner-tab-item {
  background: none;
  border: none;
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--ozon-text-gray);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.partner-tab-item:hover {
  color: var(--ozon-blue);
}

.partner-tab-item.active {
  color: var(--ozon-blue);
}

.partner-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--ozon-blue);
  border-radius: 3px 3px 0 0;
}

.partner-flow-container {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ozon-text-dark);
}

.flow-step-headline {
  font-size: 18px;
  font-weight: 700;
  color: var(--ozon-text-dark);
  margin: 28px 0 20px 0;
}

.flow-diagram-step {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
}

.step-circle-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ozon-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.step-details-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-bullet-list {
  padding-left: 20px;
  color: var(--ozon-text-gray);
}

.step-bullet-list li {
  margin-bottom: 6px;
}

/* ==================== TARIFF ==================== */
.tariff-section {
  background: linear-gradient(135deg, #001A34 0%, #002B5E 100%);
  color: #FFFFFF;
}

.tariff-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.tariff-info-block h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.tariff-info-block p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.tariff-cards-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tariff-item-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.tariff-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.info-tooltip-pill {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  cursor: help;
  color: rgba(255, 255, 255, 0.8);
}

.tariff-main-price {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.currency-symbol {
  font-size: 26px;
  font-weight: 600;
}

.price-sub-caption {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.marker-highlight {
  background: rgba(0, 91, 255, 0.4);
  color: #74C7FD;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.tariff-card-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 18px;
}

.tariff-min-payment {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tariff-included-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

/* ==================== HOW TO START ==================== */
.start-section {
  background-color: var(--ozon-bg-gray);
}

.step-card-item {
  flex: 0 0 290px;
}

.step-order-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ozon-text-gray);
  margin-bottom: 12px;
}

.step-badge-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ozon-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.step-body-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.step-body-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-body-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ozon-text-gray);
  flex: 1;
}

.step-link-btn {
  display: inline-block;
  color: var(--ozon-blue);
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--ozon-blue);
  border-radius: 8px;
  padding: 8px 16px;
  text-align: center;
  margin-top: 16px;
  transition: all 0.15s ease;
}

.step-link-btn:hover {
  background: #EBF3FF;
}

/* ==================== API & SANDBOX ==================== */
.api-sandbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.action-promo-card {
  border-radius: 24px;
  padding: 44px 40px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.api-theme-bg {
  background: linear-gradient(135deg, #002855 0%, #001A34 100%);
}

.sandbox-theme-bg {
  background: linear-gradient(135deg, #003630 0%, #001F24 100%);
}

.promo-card-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.promo-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 440px;
  margin-bottom: 32px;
}

.promo-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.btn-promo-outline {
  display: inline-flex;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 12px 28px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.15s ease;
}

.btn-promo-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.promo-corner-graphic {
  width: 140px;
  height: auto;
  object-fit: contain;
}

/* ==================== FAQ ==================== */
.faq-section {
  background-color: #FFFFFF;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

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

.faq-single-item:first-child {
  border-top: 1px solid var(--ozon-border);
}

.faq-trigger-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: var(--ozon-text-dark);
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq-trigger-button:hover {
  color: var(--ozon-blue);
}

.faq-arrow-svg {
  flex-shrink: 0;
  color: var(--ozon-text-gray);
  transition: transform 0.25s ease;
}

.faq-single-item.active .faq-arrow-svg {
  transform: rotate(180deg);
  color: var(--ozon-blue);
}

.faq-expanded-content {
  display: none;
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ozon-text-gray);
}

.faq-single-item.active .faq-expanded-content {
  display: block;
}

.faq-expanded-content a {
  color: var(--ozon-blue);
  font-weight: 600;
}

.faq-expanded-content a:hover {
  text-decoration: underline;
}

.more-faq-btn-link {
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  color: var(--ozon-blue);
}

.more-faq-btn-link:hover {
  text-decoration: underline;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: var(--ozon-text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 40px 0;
}

.footer-top-grid {
  display: flex;
  gap: 64px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand-side {
  flex: 0 0 220px;
}

.footer-brand-side img {
  height: 36px;
}

.footer-nav-columns {
  display: flex;
  gap: 48px;
  flex: 1;
  flex-wrap: wrap;
}

.footer-col-block {
  flex: 1;
  min-width: 200px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-icon-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  transition: color 0.15s ease;
}

.footer-icon-link:hover {
  color: #FFFFFF;
}

.footer-text-link {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.footer-text-link:hover {
  color: #FFFFFF;
}

.support-email-link {
  color: #74C7FD;
  font-weight: 600;
}

.support-email-link:hover {
  text-decoration: underline;
}

.footer-copyright-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 42px;
  }
  .form-grid-layout,
  .tariff-grid-layout,
  .api-sandbox-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .header-nav,
  .header-buttons {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .benefit-card {
    flex: 0 0 300px;
  }
  .step-card-item {
    flex: 0 0 250px;
  }
}


/* ==================== BENEFITS (1:1 TO OZON ОРД) ==================== */
.benefits-section {
  background-color: #FFFFFF;
  padding: 72px 0 84px 0;
}

.benefits-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.benefits-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--ozon-blue); /* #005BFF */
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.benefits-slider-arrows {
  display: flex;
  gap: 12px;
}

.benefits-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px; /* 12px rounded rectangle as in original */
  background: #EDF2F8;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ozon-blue);
  transition: all 0.15s ease;
}

.benefits-nav-btn:hover {
  background: #E2E8F0;
}

.benefits-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.benefits-slider-window {
  overflow: hidden;
  margin: 0 -8px;
  padding: 8px;
}

.benefits-track {
  display: flex;
  gap: 28px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefit-card-ozon {
  flex: 0 0 392px;
  background-color: #F3F7FC; /* Exact soft ice-blue fill from screenshot */
  border-radius: 28px; /* Large 28px rounded corners */
  padding: 32px 28px 36px 28px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.benefit-card-ozon:hover {
  transform: translateY(-3px);
}

.benefit-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.benefit-card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #001A34;
  flex: 1;
}

.benefit-card-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex-shrink: 0;
}

.benefit-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #001A34;
}

.benefit-card-desc a {
  color: var(--ozon-blue);
  font-weight: 600;
}

.benefit-card-desc a:hover {
  text-decoration: underline;
}


/* ==================== FORM SECTION (QUIZ 1:1 TO OZON ОРД) ==================== */
.form-section {
  background-color: var(--ozon-blue);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: flex-start;
}

.form-info-block {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-info-title {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
}

.form-info-desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  margin-bottom: 24px;
}

.form-left-graphic {
  margin-top: 10px;
}

.form-tablet-img {
  width: 280px;
  height: auto;
  display: block;
}

/* Form Card */
.form-interactive-card {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 40px 36px 36px 36px;
  box-shadow: 0 20px 50px rgba(0, 20, 60, 0.2);
  color: var(--ozon-text-dark);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-form-title {
  font-size: 26px;
  font-weight: 800;
  color: #001A34;
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-form-subtitle {
  font-size: 14px;
  color: #546378;
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Two-column layout in Step 1 */
.tax-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.tax-column-heading {
  font-size: 15px;
  font-weight: 700;
  color: #001A34;
  margin-bottom: 16px;
}

/* Clean Ozon Radio buttons */
.ozon-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #001A34;
  user-select: none;
  transition: color 0.15s ease;
}

.ozon-radio:hover {
  color: var(--ozon-blue);
}

.ozon-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #D2D8E0;
  border-radius: 50%;
  outline: none;
  transition: all 0.15s ease;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  background: #FFFFFF;
  margin: 0;
}

.ozon-radio input[type="radio"]:checked {
  border-color: var(--ozon-blue);
  background: var(--ozon-blue);
  box-shadow: inset 0 0 0 4px #FFFFFF;
}

/* Clean Ozon Checkboxes */
.ozon-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #001A34;
  line-height: 1.45;
  user-select: none;
  transition: color 0.15s ease;
}

.ozon-checkbox:hover {
  color: var(--ozon-blue);
}

.ozon-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #D2D8E0;
  border-radius: 6px;
  outline: none;
  transition: all 0.15s ease;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  margin-top: 2px;
  background: #FFFFFF;
}

.ozon-checkbox input[type="checkbox"]:checked {
  border-color: var(--ozon-blue);
  background-color: var(--ozon-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3E%3Cpath fill-rule='evenodd' d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Result Box in Step 6 */
.quiz-result-box {
  background: #F3F7FC;
  border-radius: 20px;
  padding: 24px;
  margin: 16px 0;
}

.result-badge {
  display: inline-block;
  background: #E1ECFE;
  color: var(--ozon-blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.result-tariff-name {
  font-size: 26px;
  font-weight: 800;
  color: #001A34;
  margin-bottom: 8px;
}

.result-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #E2E7EC;
  padding-bottom: 12px;
}

.result-big-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--ozon-blue);
}

.result-price-sub {
  font-size: 14px;
  color: #546378;
}

.result-feat-item {
  font-size: 14px;
  color: #2E3D50;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Bottom Actions Bar */
.form-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #E6EBF0;
}

.quiz-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-quiz-back {
  width: 44px;
  height: 44px;
  background: #EDF2F8;
  border: none;
  border-radius: 8px;
  color: #001A34;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-quiz-back:hover {
  background: #E2E8F0;
}

.btn-form-next {
  background: var(--ozon-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0 32px;
  height: 44px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-form-next:hover {
  background: var(--ozon-blue-dark);
}

.btn-form-next:active {
  transform: scale(0.98);
}


/* Success box for final Quiz Step 6 */
.quiz-success-box {
  background: #F3F7FC;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
  box-sizing: border-box;
}

.success-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 91, 255, 0.12);
}

.success-box-title {
  font-size: 17px;
  font-weight: 700;
  color: #001A34;
  margin-bottom: 6px;
}

.success-box-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #546378;
}


/* ==================== OZON ID LOGIN MODAL (1:1 TO SCREENSHOT) ==================== */


/* ==========================================================================
   AUTH MODAL (EXACT 1:1 TO MAX MESSENGER - COUNTRY SHEET - NO QR/PROMO)
   ========================================================================== */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #111319;
  background-image: url('../images/cosmic_wallpaper.svg');
  background-repeat: repeat;
  background-size: 480px auto;
  animation: authFadeIn 0.25s ease-out forwards;
}

@keyframes authFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.auth-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 504px;
  min-height: 580px;
  background-color: #17181D;
  background-image: 
    radial-gradient(ellipse 260px 180px at 18% 0%, rgba(0, 195, 235, 0.26) 0%, transparent 100%),
    radial-gradient(ellipse 280px 200px at 82% 0%, rgba(135, 45, 240, 0.30) 0%, transparent 100%);
  border-radius: 28px;
  padding: 28px 44px 44px 44px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  overflow: hidden;
  animation: authScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authScaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Card Top Bar (Globe left, Help right) */
.auth-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.auth-icon-btn {
  background: none;
  border: none;
  color: #8E95A5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.auth-icon-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

/* Dynamic Fluid Loop Animation (MAX dynamic auth, NO logo/brand text) */
.max-dynamic-visual-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 4px 0 26px 0;
  height: 60px;
}

.max-dynamic-loop-orb {
  width: 52px;
  height: 52px;
  position: relative;
  border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%;
  background: linear-gradient(135deg, #00D8FF 0%, #0066FF 38%, #8C30F5 72%, #D946EF 100%);
  animation: morphFluid 6s infinite ease-in-out alternate, rotateFluid 12s infinite linear;
  box-shadow: 
    0 0 20px rgba(0, 216, 255, 0.45),
    0 0 40px rgba(140, 48, 245, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.max-dynamic-loop-orb::after {
  content: '';
  width: 28px;
  height: 28px;
  background: #17181D;
  border-radius: inherit;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}

.max-dynamic-ambient-glow {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.25) 0%, rgba(140, 48, 245, 0.2) 50%, transparent 75%);
  filter: blur(16px);
  pointer-events: none;
  animation: glowBreathe 4s infinite ease-in-out alternate;
}

@keyframes morphFluid {
  0% { border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%; }
  33% { border-radius: 60% 40% 48% 52% / 40% 60% 40% 60%; }
  66% { border-radius: 38% 62% 65% 35% / 55% 35% 65% 45%; }
  100% { border-radius: 55% 45% 42% 58% / 48% 56% 44% 52%; }
}

@keyframes rotateFluid {
  0% { filter: hue-rotate(0deg); transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { filter: hue-rotate(360deg); transform: rotate(360deg) scale(1); }
}

@keyframes glowBreathe {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.85; }
}

/* Typography */
.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.28;
  margin: 0 0 8px 0;
  font-family: var(--font);
  letter-spacing: -0.01em;
}

.auth-subtitle {
  font-size: 14px;
  color: #8E95A5;
  text-align: center;
  margin: 0 0 28px 0;
  font-family: var(--font);
  font-weight: 400;
}

/* Input Container */
.auth-input-container {
  background: #252834;
  border-radius: 16px;
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input-container:focus-within {
  background: #2A2D3A;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.auth-country-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.auth-country-selector:hover {
  background: rgba(255, 255, 255, 0.06);
}

.flag-icon {
  border-radius: 2px;
  display: block;
  object-fit: cover;
}

.auth-country-code {
  color: #FFFFFF;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font);
}

.auth-country-chevron {
  transition: transform 0.2s ease;
}

.auth-country-selector.open .auth-country-chevron {
  transform: rotate(180deg);
}

.auth-phone-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font);
  letter-spacing: 0.02em;
}

.auth-phone-input::placeholder {
  color: #60687A;
}

.auth-input-hint {
  font-size: 12px;
  color: #6F7788;
  text-align: center;
  line-height: 1.45;
  margin: 12px auto 26px auto;
  max-width: 380px;
  font-family: var(--font);
}

/* Button «Продолжить» */
.auth-btn-continue {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: none;
  background: #2E313D;
  color: #585F70;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  cursor: not-allowed;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-btn-continue.active {
  background: #005BFF;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 91, 255, 0.35);
}

.auth-btn-continue.active:hover {
  background: #196CFF;
}

/* Legal Disclaimer */
.auth-disclaimer {
  font-size: 11.5px;
  color: #6F7788;
  line-height: 1.5;
  text-align: center;
  margin: 44px 0 0 0;
  font-family: var(--font);
}

.auth-disclaimer a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}

.auth-disclaimer a:hover {
  text-decoration: underline;
}

/* SMS Code Inputs */
.auth-code-inputs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

.auth-digit {
  width: 50px;
  height: 58px;
  background: #252834;
  border: none;
  border-radius: 14px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  outline: none;
}

.auth-change-phone-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #0066FF;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font);
  text-align: center;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.auth-change-phone-btn:hover {
  color: #2F80ED;
}

/* ==========================================================================
   COUNTRY PICKER SHEET (SLIDE-UP SHEET MATCHING SCREENSHOT 1:1)
   ========================================================================== */
.auth-country-sheet {
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #17181D;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 8px 16px 20px 16px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: countrySheetSlideUp 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes countrySheetSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.country-sheet-handle {
  width: 36px;
  height: 4px;
  background: #3A3E4E;
  border-radius: 2px;
  margin: 6px auto 14px auto;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s;
}

.country-sheet-handle:hover {
  background: #50566A;
}

/* Search Box inside sheet */
.country-search-box {
  background: #252834;
  border-radius: 14px;
  height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.country-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 15px;
  font-family: var(--font);
}

.country-search-input::placeholder {
  color: #6F7788;
}

/* Scrollable Country List */
.country-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 4px;
}

.country-list::-webkit-scrollbar {
  width: 4px;
}

.country-list::-webkit-scrollbar-track {
  background: transparent;
}

.country-list::-webkit-scrollbar-thumb {
  background: #3A3E4E;
  border-radius: 2px;
}

.country-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.12s ease;
  user-select: none;
}

.country-list-item:hover,
.country-list-item.active {
  background: #252834;
}

.country-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.country-item-flag {
  border-radius: 2px;
  display: block;
  object-fit: cover;
}

.country-item-name {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
}

.country-item-code {
  color: #6F7788;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font);
}


/* TELEGRAM BOT FLOW STYLES */
.auth-error-msg {
  color: #FF4D4D;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin: 10px 0;
  animation: authShake 0.3s ease-in-out;
}

@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.auth-input-container.error {
  box-shadow: inset 0 0 0 1px #FF4D4D !important;
}

.auth-digit.error {
  box-shadow: inset 0 0 0 1.5px #FF4D4D !important;
  color: #FF4D4D !important;
}

.auth-btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

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

.auth-eye-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-eye-btn:hover svg {
  stroke: #FFFFFF;
}

.auth-status-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8E95A5;
  font-size: 14px;
  margin: 16px 0;
}

.auth-timer-text {
  color: #8E95A5;
  font-size: 13px;
  text-align: center;
  margin: 16px 0 12px 0;
}

.auth-success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0 auto;
}




/* ==========================================================================
   TOP BAR ACTION GROUPS (CLOSE BUTTON IN MODAL)
   ========================================================================== */
.auth-top-left-actions,
.auth-top-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-close-btn {
  color: #8E95A5;
  transition: all 0.15s ease;
}

.auth-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* ==========================================================================
   MOBILE BURGER BUTTON (right side of header on mobile)
   ========================================================================== */
.header-burger-btn {
  display: none;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  transition: background-color 0.15s;
  flex-shrink: 0;
}

.header-burger-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.burger-line {
  display: block;
  width: 21px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
}

/* ==========================================================================
   MOBILE DRAWER OVERLAY
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: #FFFFFF;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 40px 24px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
}

.mobile-drawer-overlay.active .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001A34;
  border-radius: 8px;
  transition: background-color 0.15s;
}

.mobile-drawer-close:hover {
  background: #F2F4F7;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 700;
  color: #001A34;
  text-decoration: none;
  transition: color 0.15s;
}

.mobile-nav-link:hover { color: #005BFF; }

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.mobile-btn-login {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: none;
  background: #E8EEF4;
  color: #005BFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s;
}

.mobile-btn-login:hover { background: #DCE5EE; }

.mobile-btn-register {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: none;
  background: #005BFF;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s;
}

.mobile-btn-register:hover { background: #1565E8; }

/* ==========================================================================
   RESPONSIVE: TABLET & MOBILE (max-width: 900px)
   ========================================================================== */
@media (max-width: 900px) {

  /* Global Container & Wrapper */
  .section-wrapper {
    padding: 44px 0 !important;
  }

  .container {
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .section-title {
    font-size: 26px !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
  }

  /* Header */
  .header-nav,
  .header-buttons {
    display: none !important;
  }

  .header-burger-btn {
    display: flex !important;
  }

  .header-container {
    padding: 0 16px !important;
    height: 56px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .header-logo img {
    height: 28px;
  }

  /* ---- Hero ---- */
  .hero-section {
    padding: 24px 16px 36px !important;
    min-height: auto !important;
  }

  .hero-container {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: flex-start !important;
    padding: 0 !important;
  }

  .hero-text {
    max-width: 100% !important;
    padding-right: 0 !important;
  }

  .hero-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  .hero-subtitle {
    font-size: 15px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
  }

  .hero-video-wrapper,
  .hero-img-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px !important;
  }

  /* ---- Benefits ---- */
  .benefits-section {
    padding: 40px 0 !important;
  }

  .benefits-head-row {
    margin-bottom: 20px !important;
  }

  .benefits-title {
    font-size: 26px !important;
  }

  .benefit-card {
    flex: 0 0 280px !important;
    min-height: auto !important;
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  .benefit-card-title {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }

  .benefit-card-desc {
    font-size: 14px !important;
  }

  /* ---- Form / Quiz Section ("Расскажите о себе") ---- */
  .form-section {
    padding: 40px 0 !important;
  }

  .form-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .form-info-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  .form-info-desc {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin-bottom: 20px !important;
  }

  .form-left-graphic {
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  .form-interactive-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .card-form-title {
    font-size: 19px !important;
    line-height: 1.3 !important;
    margin-bottom: 18px !important;
  }

  .tax-two-columns {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .quiz-bottom-row {
    margin-top: 24px !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  .quiz-bottom-row .quiz-next-btn {
    width: 100% !important;
    height: 48px !important;
  }

  /* ---- Partners Section ("Партнёрам") ---- */
  .partners-section {
    padding: 40px 0 !important;
  }

  .tabs-navigation-strip {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important;  /* IE */
    gap: 16px !important;
    padding-bottom: 10px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #E6EBF0 !important;
  }

  .tabs-navigation-strip::-webkit-scrollbar {
    display: none !important; /* Chrome / Safari */
  }

  .partner-tab-item {
    font-size: 15px !important;
    padding: 8px 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .partner-flow-container {
    padding: 20px 16px !important;
    border-radius: 18px !important;
    overflow-x: hidden !important;
  }

  /* ---- Tariff Section ("Тарифный план") ---- */
  .tariff-section {
    padding: 44px 0 !important;
  }

  .tariff-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .tariff-info-block h2 {
    font-size: 28px !important;
    margin-bottom: 12px !important;
  }

  .tariff-info-block p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    color: #8E9BAE !important;
  }

  .tariff-cards-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .tariff-item-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .tariff-card-header span {
    font-size: 18px !important;
  }

  .tariff-main-price {
    font-size: 38px !important;
  }

  .tariff-min-payment {
    font-size: 28px !important;
  }

  /* ---- Start Section ("Как начать работать") ---- */
  .start-section {
    padding: 40px 0 !important;
  }

  .steps-row-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .step-box-card {
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }

  /* ---- API Sandbox Banner ---- */
  .api-sandbox-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 28px 20px !important;
    border-radius: 20px !important;
  }

  .api-sandbox-title {
    font-size: 22px !important;
  }

  /* ---- FAQ Section ---- */
  .faq-section {
    padding: 40px 0 !important;
  }

  .faq-trigger-button {
    font-size: 16px !important;
    padding: 18px 0 !important;
  }

  .faq-expanded-content {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  /* ---- Footer ---- */
  .site-footer {
    padding: 40px 0 28px !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-nav-columns {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-copyright-row {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: flex-start !important;
  }

  /* ---- Auth Modal Card on Mobile ---- */
  .auth-overlay,
  #authModalOverlay {
    padding: 12px !important;
  }

  .auth-modal-card {
    padding: 24px 18px 30px !important;
    border-radius: 24px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .auth-title {
    font-size: 19px !important;
  }

  .auth-subtitle {
    font-size: 13px !important;
  }

  .auth-input-container {
    height: 52px !important;
  }

  .auth-btn-continue {
    height: 50px !important;
    font-size: 15px !important;
  }

  .auth-country-sheet {
    height: 72vh !important;
  }
}

/* ==========================================================================
   SMALL PHONE (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 23px !important;
  }

  .mobile-drawer {
    max-width: 100% !important;
    width: 100% !important;
  }
}
