/* Планшеты (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 30px;
  }
  
  .nav {
    gap: 20px;
  }
  
  .nav a {
    font-size: 14px;
  }
  
  .header-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .grid-4, .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-buttons {
    flex-direction: column;
  }
  
  .about-buttons .btn {
    width: 100%;
  }
  
  .tariff-card {
    padding: 24px 16px;
  }
  
  .tariff-price {
    font-size: 28px;
  }
  
  .dashboard-card {
    padding: 16px;
  }
  
  .metric-value {
    font-size: 28px;
  }
}

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .nav, .header-buttons {
    display: none;
  }
  
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    gap: 16px;
    align-items: center;
  }
  
  .header-buttons.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 280px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    gap: 10px;
  }
  
  .burger {
    display: flex;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .grid-3, .grid-2, .grid-4, .dashboard-grid, .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  section {
    padding: 40px 0;
  }
  
  .step {
    padding: 20px;
  }
  
  .step i {
    font-size: 40px;
  }
  
  .step h4 {
    font-size: 18px;
  }
  
  .step p {
    font-size: 14px;
  }
  
  .target-card .card {
    padding: 20px;
  }
  
  .target-card h3 {
    font-size: 18px;
  }
  
  .popular-badge {
    top: -10px;
    right: 10px;
    padding: 4px 12px;
    font-size: 12px;
  }
  
  .tariff-price {
    font-size: 32px;
  }
  
  .about .grid-2 {
    gap: 30px;
  }
  
  .about-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .about-buttons .btn {
    width: 100%;
  }
  
  .partners-ticker {
    padding: 15px 0;
  }
  
  .ticker-track {
    gap: 40px;
    animation: ticker 20s linear infinite;
  }
  
  .ticker-track span {
    font-size: 20px;
  }
  
  .faq-question {
    font-size: 15px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-docs {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .footer-docs a {
    white-space: normal;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
  
  .modal-content {
    padding: 30px 20px;
    width: 95%;
  }
  
  .modal h3 {
    font-size: 20px;
  }
}

/* Очень маленькие экраны (до 375px) */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .step i {
    font-size: 36px;
  }
  
  .tariff-price {
    font-size: 28px;
  }
  
  .metric-value {
    font-size: 24px;
  }
  
  .metric-label {
    font-size: 12px;
  }
}