/* Modern Responsive Design */

/* Mobile First Approach */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
  :root {
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.125rem; }
  h6 { font-size: 1rem; }
  
  /* Navigation */
  .nav-container {
    padding: 0 var(--space-4);
    height: 60px;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--space-8);
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-link {
    font-size: 1.125rem;
    padding: var(--space-4) 0;
  }
  
  .brand-text {
    font-size: 1rem;
  }
  
  .brand-logo {
    height: 32px;
  }
  
  /* Hero Section */
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
    padding: var(--space-8) var(--space-4);
  }
  
  .title-line {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .hero-visual {
    order: -1;
  }
  
  .visual-container {
    max-width: 300px;
    height: 400px;
  }
  
  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .about-text {
    gap: var(--space-6);
  }
  
  .about-card {
    padding: var(--space-4);
  }
  
  /* Course Section */
  .course-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .course-card.featured {
    transform: none;
  }
  
  .course-card.featured:hover {
    transform: translateY(-4px);
  }
  
  .card-header {
    padding: var(--space-6);
  }
  
  .card-content {
    padding: var(--space-6);
  }
  
  .card-footer {
    padding: 0 var(--space-6) var(--space-6);
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .course-modules {
    padding: var(--space-6);
  }
  
  .module-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }
  
  .module-number {
    align-self: center;
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .testimonial-card {
    padding: var(--space-6);
  }
  
  /* CTA Section */
  .cta-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .cta-form {
    padding: var(--space-6);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .footer-social {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  /* Section Spacing */
  .section-header {
    margin-bottom: var(--space-12);
  }
  
  .about-modern,
  .course-section,
  .testimonials-modern,
  .cta-modern {
    padding: var(--space-16) 0;
  }
  
  /* Course Section Mobile */
  .course-hero {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .course-info {
    position: static;
    order: -1;
  }
  
  .course-title {
    font-size: 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .course-details {
    padding: var(--space-6);
  }
  
  .module-card {
    padding: var(--space-4);
  }
  
  .module-header {
    gap: var(--space-3);
  }
  
  .module-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  .module-title {
    font-size: 1rem;
  }
  
  .module-description {
    font-size: 0.875rem;
  }
  
  /* Course Benefits Mobile */
  .course-benefits {
    padding: var(--space-4);
    margin-top: var(--space-4);
  }
  
  .benefits-list {
    gap: var(--space-3);
  }
  
  .benefit-item-simple {
    padding: var(--space-3);
  }
  
  .benefit-title {
    font-size: 0.875rem;
  }
  
  .benefit-description {
    font-size: 0.8rem;
  }
}

/* Mobile Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
  
  /* Typography */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--space-8);
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Hero Section */
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  
  .title-line {
    font-size: 3rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-4);
  }
  
  .btn {
    flex: 1;
    max-width: 200px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
  
  .visual-container {
    max-width: 400px;
    height: 500px;
  }
  
  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  /* Course Section */
  .course-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .course-card.featured {
    transform: none;
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  /* CTA Section */
  .cta-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  
  .footer-social {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Tablet Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
  
  /* Navigation */
  .nav-menu {
    gap: var(--space-6);
  }
  
  .nav-toggle {
    display: none;
  }
  
  /* Hero Section */
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  
  .title-line {
    font-size: 3.2rem;
  }
  
  .hero-actions {
    flex-direction: row;
    gap: var(--space-4);
  }
  
  .btn {
    flex: 1;
  }
  
  .visual-container {
    max-width: 450px;
    height: 550px;
  }
  
  /* About Section */
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  
  /* Course Section */
  .course-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  
  .course-card.featured {
    transform: scale(1.02);
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  
  /* CTA Section */
  .cta-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Desktop Devices (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .container {
    padding: 0 var(--space-8);
  }
  
  /* Hero Section */
  .title-line {
    font-size: 3.5rem;
  }
  
  .hero-container {
    gap: var(--space-16);
  }
  
  .visual-container {
    max-width: 500px;
    height: 600px;
  }
  
  /* About Section */
  .about-content {
    gap: var(--space-16);
  }
  
  /* Course Section */
  .course-grid {
    gap: var(--space-16);
  }
  
  .course-card.featured {
    transform: scale(1.05);
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
  
  /* CTA Section */
  .cta-content {
    gap: var(--space-16);
  }
  
  /* Footer */
  .footer-content {
    gap: var(--space-12);
  }
}

/* Large Desktop Devices (1201px+) */
@media (min-width: 1201px) {
  .container {
    padding: 0 var(--space-8);
  }
  
  /* Hero Section */
  .title-line {
    font-size: 4rem;
  }
  
  .hero-container {
    gap: var(--space-20);
  }
  
  .visual-container {
    max-width: 600px;
    height: 700px;
  }
  
  /* About Section */
  .about-content {
    gap: var(--space-20);
  }
  
  /* Course Section */
  .course-grid {
    gap: var(--space-20);
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
  
  /* CTA Section */
  .cta-content {
    gap: var(--space-20);
  }
  
  /* Footer */
  .footer-content {
    gap: var(--space-16);
  }
}

/* Ultra Wide Screens (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  
  .title-line {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-modern {
    min-height: auto;
    padding: var(--space-16) 0;
  }
  
  .hero-container {
    gap: var(--space-8);
  }
  
  .title-line {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    margin-bottom: var(--space-6);
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-logo,
  .footer-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .modern-nav,
  .nav-toggle,
  .hero-actions,
  .cta-modern,
  .footer-modern {
    display: none;
  }
  
  .hero-modern {
    min-height: auto;
    padding: var(--space-8) 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .title-line {
    font-size: 2rem;
    color: var(--gray-900);
  }
  
  .hero-subtitle {
    font-size: 1rem;
    color: var(--gray-700);
  }
  
  .section-title {
    font-size: 1.5rem;
    color: var(--gray-900);
  }
  
  .section-subtitle {
    font-size: 1rem;
    color: var(--gray-700);
  }
  
  .about-modern,
  .course-modern,
  .testimonials-modern {
    padding: var(--space-8) 0;
  }
  
  .about-content,
  .course-grid,
  .cta-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .course-card.featured {
    transform: none;
    border: 1px solid var(--gray-300);
  }
  
  .btn {
    border: 1px solid var(--gray-400);
    color: var(--gray-700);
    background: var(--white);
  }
  
  .card-header {
    background: var(--gray-100);
    color: var(--gray-900);
  }
  
  .about-card,
  .testimonial-card,
  .course-card {
    border: 1px solid var(--gray-300);
    box-shadow: none;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .shape {
    animation: none;
  }
  
  .hover-lift:hover,
  .hover-scale:hover,
  .hover-rotate:hover {
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary: #0000ff;
    --primary-dark: #000080;
    --secondary: #ff8000;
    --accent: #ff0080;
    --success: #008000;
    --warning: #ff8000;
    --error: #ff0000;
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-800: #000000;
    --gray-900: #000000;
  }
  
  .btn-primary {
    background: var(--primary);
    border: 2px solid var(--white);
  }
  
  .btn-secondary {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
  }
  
  .card-header {
    background: var(--primary);
    border: 2px solid var(--white);
  }
  
  .about-card,
  .testimonial-card,
  .course-card {
    border: 2px solid var(--gray-800);
  }
}

/* Instagram Reels Responsive */
@media (max-width: 768px) {
  .instagram-reels {
    padding: var(--space-16) 0;
  }
  
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: 600px;
  }
  
  .reel-item {
    aspect-ratio: 9/16;
  }
  
  .instagram-cta .btn {
    padding: var(--space-3) var(--space-6);
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .reels-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: var(--space-3);
    max-width: 300px;
  }
  
  .reel-item {
    aspect-ratio: 9/16;
    max-height: 400px;
  }
  
  .instagram-cta .btn {
    padding: var(--space-3) var(--space-5);
    font-size: 0.875rem;
  }
}


/* Light Theme Only - No Dark Mode */
