/* ===== RESPONSIVE DESIGN ===== */

/* Large devices (desktops, 1200px and up) */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-image i {
    font-size: 12rem;
  }
}

/* Medium devices (tablets, 992px and up) */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image i {
    font-size: 10rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Small devices (landscape phones, 768px and up) */
@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    display: block;
    margin: 0.5rem 0;
    padding: 1rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero Section */
  .hero {
    padding: calc(var(--header-height) + 1rem) 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-image i {
    font-size: 8rem;
  }
  
  /* Grid Systems */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  .section-sm {
    padding: 2rem 0;
  }
  
  /* Cards */
  .feature-card,
  .pricing-card,
  .testimonial-card {
    padding: 1.5rem;
  }
  
  /* Testimonials */
  .testimonial-header {
    flex-direction: column;
    text-align: center;
  }
  
  .user-avatar {
    margin-left: 0;
    margin-bottom: 1rem;
  }
  
  /* Contact Methods */
  .contact-method {
    flex-direction: column;
    text-align: center;
  }
  
  .method-icon {
    margin: 0 auto 1rem;
  }
  
  /* Toast */
  .toast-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-image i {
    font-size: 6rem;
  }
  
  .plan-price {
    font-size: 2.5rem;
  }
  
  .card {
    padding: 1rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --white: #2d2d2d;
    --light-gray: #3d3d3d;
    --secondary-color: #ffffff;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}