
/* Responsive Styles for Mundaine AI Landing Page */

/* Tablet Styles: 768px - 1199px */
@media (max-width: 1199px) {
  .container {
    padding: 0 2rem;
  }
  
  .methodology-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .qualification-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .process-step {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* Mobile Styles: 320px - 767px */
@media (max-width: 767px) {
  :root {
    --section-padding: 3rem 0;
    --element-spacing: 1.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Typography Adjustments */
  .section-headline {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 90vh;
    padding: 1rem 0;
    overflow: hidden;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .logo {
    margin-bottom: 2rem;
    overflow: hidden;
  }
  
  .logo img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
  }
  
  .hero-headline {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .rock-salt-emphasis {
    font-size: 0.8em;
    transform: rotate(-8deg) translateY(4px);
    display: inline-block;
    position: relative;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
    padding: 0 0.5rem;
    line-height: 1.5;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
    width: 100%;
  }
  
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    text-align: center;
  }
  
  .tagline {
    margin-top: 2rem;
    font-size: clamp(1.25rem, 5vw, 2rem);
    line-height: 1.4;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  /* Floating elements - hide on mobile to prevent overflow */
  .floating-element {
    display: none;
  }
  
  .hero-bg-elements {
    display: none;
  }
  
  /* Problem Section Mobile */
  .problem-section {
    padding: 4rem 0;
  }
  
  .problem-point {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem;
  }
  
  .point-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .point-text {
    font-size: 1rem;
  }
  
  .problem-conclusion {
    font-size: 1.125rem;
    padding: 1.5rem;
  }
  
  /* Methodology Section Mobile */
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .method-card {
    padding: 2rem 1.5rem;
  }
  
  .stop-sign, .go-sign {
    width: 60px;
    height: 60px;
    font-size: 0.875rem;
  }
  
  /* Qualification Section Mobile */
  .qualification-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .selective-badge {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .badge-icon {
    font-size: 2.5rem;
  }
  
  /* Process Section Mobile */
  .process-step {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
    margin: 0 auto 1rem;
  }
  
  /* CTA Section Mobile */
  .cta-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .cta-headline {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    text-align: center;
  }
  
  .cta-subtitle {
    text-align: center;
  }
  
  .cta-benefits {
    margin-top: 1.5rem;
  }
  
  .benefit-item {
    justify-content: center;
    font-size: 1rem;
  }
  
  /* Form Mobile */
  .discovery-form {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem;
  }
  
  .alternative-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
  
  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  /* Cookie Banner Mobile */
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-buttons .btn-primary,
  .cookie-buttons .btn-secondary {
    flex: 1;
    max-width: 140px;
  }
  
  /* Button Adjustments */
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Small Mobile: 320px - 479px */
@media (max-width: 479px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero-section {
    padding: 0.5rem 0;
    min-height: 85vh;
  }
  
  .hero-content {
    padding: 0 0.5rem;
  }
  
  .logo {
    margin-bottom: 1.5rem;
  }
  
  .logo img {
    max-height: 100px;
  }
  
  .hero-headline {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
    margin-bottom: 1rem;
    padding: 0 0.25rem;
  }
  
  .rock-salt-emphasis {
    font-size: 0.75em;
    transform: rotate(-6deg) translateY(3px);
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 0 0.75rem;
  }
  
  .hero-cta {
    margin-bottom: 2rem;
    gap: 0.75rem;
  }
  
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    max-width: 260px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .tagline {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-top: 1.5rem;
    padding: 0 1.25rem;
  }
  
  .section-headline {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  
  .method-card {
    padding: 1.5rem 1rem;
  }
  
  .discovery-form {
    padding: 1.25rem;
  }
  
  .process-step {
    padding: 1.25rem;
  }
  
  .problem-point {
    padding: 1rem;
  }
  
  .selective-badge {
    padding: 1.25rem;
  }
}

/* Large Desktop: 1200px+ */
@media (min-width: 1200px) {
  .methodology-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-cta {
    gap: 1.5rem;
  }
  
  .cta-content {
    gap: 5rem;
  }
  
  .qualification-grid {
    gap: 5rem;
  }
}

/* Extra Large Desktop: 1400px+ */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }
  
  .hero-headline {
    font-size: 5rem;
  }
  
  .section-headline {
    font-size: 4rem;
  }
}

/* Landscape Phone Orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .tagline {
    margin-top: 2rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for retina displays */
  .logo img,
  .stop-sign,
  .go-sign {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-element {
    animation: none;
  }
  
  .fade-in,
  .animate-on-scroll {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Print Styles */
@media print {
  .hero-bg-elements,
  .floating-element,
  .cookie-banner,
  .btn-primary,
  .btn-secondary {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section-headline {
    color: black !important;
    -webkit-text-fill-color: initial !important;
  }
  
  .discovery-form {
    border: 2px solid black;
    background: white !important;
  }
}
