/* Reset & Normalize */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  background-color: #f8fafc;
  color: #1f2937;
  font-size: 16px;
}

/* Modern CSS Variables */
:root {
  /* Light theme colors */
  --primary-color: #2563eb;
  --primary-light: #3b82f6;
  --text-primary: #1f2937;
  --text-secondary: #222;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  
  /* Spacing */
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-6: 12px;
  --space-8: 16px;
  --space-12: 24px;
  --space-16: 32px;
  --space-20: 40px;
  --space-24: 48px;
  --space-32: 64px;
  
  /* Border radius */
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Animation */
  --transition: 150ms ease-out;
}

/* Skip links for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

/* Utility classes */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 448px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }

.pt-16 { padding-top: 64px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.px-6 { padding-left: 24px; padding-right: 24px; }

.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 64px; }
.mt-6 { margin-top: 24px; }
.mt-12 { margin-top: 48px; }

.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }

.border-t { border-top-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }

.space-x-3 > :not(:first-child) { margin-left: 12px; }
.space-x-4 > :not(:first-child) { margin-left: 16px; }
.space-y-3 > :not(:first-child) { margin-top: 12px; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }

.h-8 { height: 32px; }
.w-6 { width: 24px; }
.h-6 { height: 24px; }
.w-8 { width: 32px; }

@media (min-width: 768px) {
  .md:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md:text-5xl { font-size: 48px; }
  .col-span-1 { grid-column: span 1 / span 1; }
  .md:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1024px) {
  .lg:px-8 { padding-left: 32px; padding-right: 32px; }
  .lg:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Section styles */
.section-bg {
  background: var(--bg-secondary);
}

/* Simple button styles - no hover effects */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* Compact sections */
.features-section {
  background: var(--bg-secondary);
  padding: 48px 0;
}

.methods-section {
  background: var(--bg-primary);
  padding: 48px 0;
}

.cta-section {
  background: var(--primary-color) !important;
  color: white !important;
  padding: 48px 0;
}

.section-cta {
  background: var(--primary-color) !important;
  color: white !important;
  padding: 48px 0;
}

.section-cta h2,
.section-cta p,
.section-cta .cta-content h2,
.section-cta .cta-content p {
  color: white !important;
}

.section-cta .cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.section-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: white !important;
}

.section-cta p {
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.5;
  opacity: 0.9;
  color: white !important;
}

.section-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section h2,
.cta-section p,
.cta-section .cta-content h2,
.cta-section .cta-content p,
.cta-section .cta-title,
.cta-section .cta-subtitle,
.cta-section .cta-note {
  color: white !important;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.5;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* Features grid - 2x2 layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* Features grid - 3 items in one row */
.features-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .features-grid-three {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.feature-icon {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--bg-secondary);
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon svg {
  width: 64px;
  height: 64px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Methods grid - 2x2 layout */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

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

.method-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.method-icon {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--bg-secondary);
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.method-icon svg {
  width: 64px;
  height: 64px;
}

.method-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.method-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* CTA section */
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
}

.cta-buttons .btn-secondary {
  background: transparent !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Дополнительная специфичность для CTA кнопок */
.section-cta .btn-secondary,
.cta-section .btn-secondary {
  background: transparent !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.section-cta .btn-secondary:hover,
.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

.section-cta .btn-primary,
.cta-section .btn-primary {
  background: white !important;
  color: var(--primary-color) !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Hero section - compact like voicenotes */
.hero-clean {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 60px 0 40px;
  position: relative;
}

.hero-clean::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23cbd5e1" fill-opacity="0.1"><circle cx="30" cy="30" r="1"/></g></svg>');
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(255 255 255 / 50%);
  backdrop-filter: blur(12px) saturate(100%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  isolation: isolate;
}

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

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 10px 0;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

.logo-img {
  height: 32px;
  width: 32px;
}

.logo-img-large {
  height: 60px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 0;
  position: relative;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-secondary);
}

.mobile-menu {
  border-top: 1px solid var(--border-color);
  padding: 16px 0;
  display: none;
}

.mobile-menu.show {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav .nav-link {
  padding: 12px 0;
  position: relative;
}

.mobile-nav .nav-link:hover {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
  padding-left: 16px;
}

.mobile-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: 700;
  background: rgba(37, 99, 235, 0.1);
  padding-left: 16px;
}

.mobile-nav .nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
}

/* Mobile styles for header */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .container {
    padding: 0 16px;
  }

  /* Mobile logo styles - same as desktop */
  .logo-img-large {
    height: 60px;
    opacity: 1;
    filter: none;
  }

  .logo-section {
    display: flex;
    align-items: center;
  }

  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
  }
}

/* Footer styles */
.footer {
  background: var(--bg-secondary);
  /* border-top: 1px solid var(--border-color); */
  padding: 48px 0 24px;
  /* margin-top: 80px; */
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-company {
  max-width: 300px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-contact {
  font-size: 14px;
}

.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: #1d4ed8;
  transform: scale(1.05);
}

.footer-contact a:active {
  transform: scale(0.98);
}

.footer-column h3.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.footer-links a:active {
  color: #1d4ed8;
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-company {
    max-width: none;
  }
}

/* Pricing page styles */
.pricing-section {
  background: var(--bg-primary);
  padding: 48px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  position: relative;
}

.pricing-card-popular {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15), 0 2px 6px rgba(37, 99, 235, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-price {
  margin-bottom: 32px;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-period {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-primary);
}

.feature-check {
  color: var(--primary-color);
  flex-shrink: 0;
}

.pricing-action {
  margin-top: auto;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
  padding: 48px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .price-amount {
    font-size: 28px;
  }
}

/* ==========================================================================
   STEPS FLOW STYLES
   ========================================================================== */

.steps-flow {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}

.step-circle {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #4f46e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 2;
}

.step-number {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.step-info {
  flex: 1;
  padding-top: 12px;
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.step-connector {
  width: 4px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary-color), #e2e8f0);
  margin: 16px 0;
  margin-left: 38px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

.step-connector:last-child {
  display: none;
}

/* Mobile responsive for steps */
@media (max-width: 768px) {
  .steps-flow {
    padding: 20px 0;
  }
  
  .step-item {
    gap: 20px;
  }
  
  .step-circle {
    width: 60px;
    height: 60px;
  }
  
  .step-number {
    font-size: 20px;
  }
  
  .step-title {
    font-size: 20px;
  }
  
  .step-description {
    font-size: 14px;
  }
  
  .step-connector {
    height: 40px;
    margin-left: 28px;
    margin: 12px 0;
    margin-left: 28px;
  }
}

/* Contact page styles */
.contact-section {
  background: var(--bg-primary);
  padding: 48px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-container {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: fit-content;
}

.contact-info-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Добавляем отступы снизу для основных секций */
main .section:last-of-type {
  margin-bottom: 48px;
}

.section {
  margin-bottom: 48px;
  padding: 30px 0 20px 0;
}

.form-message {
  margin-top: 16px;
  display: none;
}

.contact-section,
.auth-section {
  margin-bottom: 48px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-form-container {
    padding: 24px;
  }
  
  .contact-info {
    padding: 24px;
  }
}

/* Auth page styles */
.auth-section {
  background: var(--bg-secondary);
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  padding: 48px 0;
  margin-bottom: 48px;
}

.auth-container {
  max-width: 400px;
  margin: 0 auto;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 16px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.auth-divider span {
  background: var(--bg-primary);
  padding: 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.auth-footer p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 480px) {
  .auth-container {
    margin: 0 16px;
    padding: 32px 24px;
  }
  
  .form-options {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
