/* ============================================
   ILLUMINATE AI - RESPONSIVE STYLES
   Mobile & Tablet Breakpoints
   ============================================ */

/* ============================================
   TABLET (768px - 1024px)
   ============================================ */

@media screen and (max-width: 1024px) {
    /* Hero */
    .hero {
        padding: 100px 24px 60px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-stats {
        gap: 40px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    /* Solution Grid */
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Numbers */
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   MOBILE (320px - 767px)
   ============================================ */

@media screen and (max-width: 767px) {
    /* Base */
    .section {
        padding: var(--space-3xl) var(--space-md);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    /* Navigation */
    .nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        padding: 80px 20px 40px;
        min-height: auto;
    }

    .hero-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
        margin-bottom: var(--space-lg);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-xl);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto var(--space-2xl);
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        flex: 0 0 auto;
    }

    .hero-stat-number {
        font-size: 1.75rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    /* Problem Grid */
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .problem-card {
        padding: var(--space-lg);
    }

    .problem-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    /* Solution Grid */
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        padding: var(--space-lg);
    }

    .solution-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .solution-title {
        font-size: 1.2rem;
    }

    /* Numbers */
    .numbers {
        padding: 60px 20px;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .number-value {
        font-size: 2rem;
    }

    .number-label {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: var(--space-lg);
    }

    /* CTA */
    .cta {
        padding: 80px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }
}

/* ============================================
   SMALL MOBILE (320px - 480px)
   ============================================ */

@media screen and (max-width: 480px) {
    :root {
        --space-lg: 16px;
        --space-xl: 20px;
        --space-2xl: 24px;
        --space-3xl: 40px;
    }

    /* Hero */
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    /* Section titles */
    h2 {
        font-size: 1.75rem;
    }

    /* Cards */
    .card, .problem-card, .solution-card, .testimonial-card {
        padding: var(--space-md);
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Numbers */
    .numbers-grid {
        gap: var(--space-md);
    }

    .number-value {
        font-size: 1.75rem;
    }
}

/* ============================================
   LARGE DESKTOP (1400px+)
   ============================================ */

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero {
        padding: 140px 60px 100px;
    }

    .hero-title {
        font-size: 6rem;
    }

    .section {
        padding: var(--space-4xl) 60px;
    }

    .solution-grid,
    .testimonials-grid {
        gap: 32px;
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */

@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: var(--space-lg);
    }

    .hero-stats {
        gap: 30px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   FEATURE STORY RESPONSIVE
   ============================================ */

@media screen and (max-width: 1024px) {
    .feature-story-card {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-2xl) 0;
    }

    .feature-story-reverse {
        direction: ltr;
    }

    .feature-visual-icon {
        width: 140px;
        height: 140px;
        font-size: 3rem;
    }

    .feature-story-title {
        font-size: 1.5rem;
    }

    .feature-number {
        font-size: 3rem;
        top: -20px;
        left: -10px;
    }

    .feature-story-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .features-story {
        max-width: 100%;
    }

    .feature-story-card {
        padding: var(--space-xl) var(--space-md);
    }

    .feature-visual-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .feature-story-title {
        font-size: 1.35rem;
    }

    .feature-story-text {
        font-size: 0.95rem;
    }

    .feature-story-list li {
        font-size: 0.85rem;
    }

    .feature-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */

@media (prefers-contrast: high) {
    :root {
        --glass-border: rgba(255, 255, 255, 0.2);
    }

    .card,
    .problem-card,
    .solution-card,
    .testimonial-card {
        border-width: 2px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body::before {
        display: none;
    }

    .nav,
    .hero-actions,
    .cta-actions {
        display: none;
    }

    .hero {
        padding: 20px;
        min-height: auto;
    }

    body {
        background: white;
        color: black;
    }
}
