/* Base responsive styles */
@media (max-width: 1280px) {
  .container {
    max-width: var(--container-lg);
  }
  
  .hero-title {
    font-size: var(--font-size-5xl);
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .cta-title {
    font-size: var(--font-size-4xl);
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: var(--container-md);
  }
  
  .section-content {
    flex-direction: column;
    gap: var(--spacing-8);
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text, .hero-image,
  .text-content, .image-content {
    width: 100%;
  }
  
  .hero-subtitle, .feature-tagline, .section-conclusion {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-features {
    grid-template-columns: repeat(1, 1fr);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .founder-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .founder-photo {
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }
  
  .footer-logo, .footer-links, .footer-subscribe {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: var(--container-sm);
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .hero-subtitle, .section-description {
    font-size: var(--font-size-base);
  }
  
  .header-content {
    height: 70px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .cta-group {
    flex-direction: column;
    gap: var(--spacing-4);
  }
  
  .icon-row {
    flex-direction: column;
    gap: var(--spacing-4);
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .section-content.split {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  /* Mobile navigation when active */
  .nav.active {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-4);
    z-index: var(--z-50);
  }
  
  .nav.active .nav-list {
    flex-direction: column;
    gap: var(--spacing-4);
  }
  
  .nav.active .nav-link {
    display: block;
    padding: var(--spacing-2) 0;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .hero-subtitle, .section-description, .feature-item {
    font-size: var(--font-size-base);
  }
  
  .btn-large {
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
  }
  
  .feature-tagline, .section-conclusion {
    font-size: var(--font-size-base);
  }
  
  .stats-group {
    flex-direction: column;
    gap: var(--spacing-4);
  }
  
  .stat-item {
    justify-content: flex-start;
  }
  
  .stat-emoji {
    width: 40px;
  }
  
  .feature-emoji {
    font-size: var(--font-size-2xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-4);
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  /* Hide cursor effects on mobile */
  .cursor-dot, .cursor-outline {
    display: none;
  }
}

/* Tablet-specific adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
  .cta-features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Only apply certain effects on desktop */
@media (min-width: 1025px) {
  .section-content:not(.reverse-mobile) {
    flex-direction: row;
  }
  
  .section-content.reverse {
    flex-direction: row-reverse;
  }
  
  .hero-content {
    flex-direction: row;
    text-align: left;
  }
  
  .founder-content {
    grid-template-columns: 1fr 2fr;
    text-align: left;
  }
  
  .footer-content {
    grid-template-columns: 1fr 2fr 1fr;
  }
}

/* High-resolution screens */
@media (min-width: 1921px) {
  .container {
    max-width: var(--container-2xl);
  }
  
  :root {
    --font-size-base: 1.125rem;
  }
  
  .hero-title {
    font-size: var(--font-size-7xl);
  }
  
  .section-title {
    font-size: var(--font-size-5xl);
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 450px;
  }
  
  .hero-content {
    padding: var(--spacing-8) 0;
  }
}

/* Print styles */
@media print {
  body {
    background-color: white;
    color: black;
  }
  
  .header, .footer, .btn, .cursor-dot, .cursor-outline, .floating-elements {
    display: none;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 20px 0;
  }
  
  .section-content {
    display: block;
  }
  
  .text-content, .image-content {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Reduced motion preference */
@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;
  }
  
  .animate-in, .animate-in-delayed, .animate-in-delayed-more,
  .animate-on-scroll, .fade-in, .fade-in-left, .fade-in-right,
  .stagger-item, .floating-element {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}