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

/* Large Desktop */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .container {
        max-width: 1400px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .hero-container {
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-placeholder {
        width: 350px;
        height: 350px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-lg) 0;
        gap: var(--spacing-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
        display: flex;
        flex-direction: column-reverse;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-placeholder {
        width: 300px;
        height: 300px;
    }

    .hero-img {
        max-width: 250px;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-card-hero {
        padding: var(--spacing-xl);
    }

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

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    :root {
        --container-padding: 1rem;
        --spacing-xxl: 3rem;
        --spacing-xl: 2rem;
    }

    .hero {
        padding: calc(70px + var(--spacing-xl)) 0 var(--spacing-xl) 0;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-placeholder {
        width: 250px;
        height: 250px;
    }

    .hero-img {
        max-width: 200px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .stat-card {
        padding: var(--spacing-lg);
    }
    
    .stat-card-hero {
        padding: var(--spacing-xl);
    }

    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-card-hero .stat-number {
        font-size: 3rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-card-hero .stat-icon {
        font-size: 3.5rem;
    }
    
    .stat-subheading {
        font-size: 1.1rem;
    }
    
    .stat-card-hero .stat-subheading {
        font-size: 1.3rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        padding: var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile Small */
@media (max-width: 479px) {
    :root {
        --container-padding: 0.75rem;
        --spacing-xxl: 2rem;
        --spacing-xl: 1.5rem;
    }

    .nav-container {
        padding: 0 var(--container-padding);
    }

    .nav-logo a {
        font-size: 1.3rem;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero-img {
        max-width: 150px;
    }

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

    .stats {
        gap: var(--spacing-md);
    }
    
    .stats-row {
        gap: var(--spacing-md);
    }
    
    .stat-card {
        padding: var(--spacing-md);
        border-radius: 16px;
    }
    
    .stat-card-hero {
        padding: var(--spacing-lg);
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .stat-card-hero .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .stat-card-hero .stat-icon {
        font-size: 3rem;
    }
    
    .stat-subheading {
        font-size: 1rem;
    }
    
    .stat-card-hero .stat-subheading {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }

    .featured-card,
    .tool-card {
        padding: var(--spacing-md);
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .btn-large {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .hamburger,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none;
    }

    .hero {
        background: none;
        color: var(--text-primary);
        padding: var(--spacing-lg) 0;
    }

    .hero-title,
    .hero-subtitle {
        color: var(--text-primary);
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .featured-card,
    .tool-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.4);
    }

    .btn-outline {
        border-width: 3px;
    }

    .featured-card,
    .tool-card,
    .stat {
        border: 2px solid var(--border-color);
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* This can be expanded later for dark mode support */
    .hero-placeholder {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* ===== RESPONSIVE STYLES FOR NEW PAGES ===== */

/* Tablet and Mobile - About Page */
@media (max-width: 991px) {
    .about-hero-content,
    .service-hero-content,
    .book-hero-content,
    .youtube-hero-content,
    .contact-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .contact-hero-text {
        text-align: center;
    }

    .journey-content,
    .recognition-content,
    .preview-content,
    .author-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .journey-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .forms-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Mobile - All Pages */
@media (max-width: 767px) {
    .about-hero-text h1,
    .service-hero-text h1,
    .book-info h1,
    .youtube-info h1,
    .contact-hero h1 {
        font-size: 2rem;
    }

    .about-subtitle,
    .service-subtitle,
    .book-tagline,
    .youtube-tagline,
    .contact-tagline {
        font-size: 1.2rem;
    }

    .journey-stats,
    .youtube-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .credentials-grid,
    .services-grid,
    .learning-grid,
    .purchase-options,
    .videos-grid,
    .playlists-grid,
    .benefits-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .step-number {
        margin: 0 auto;
    }

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

    .book-placeholder {
        width: 250px;
        height: 350px;
    }

    .book-title {
        font-size: 1.5rem;
    }

    .book-subtitle {
        font-size: 1rem;
    }

    .book-cta,
    .service-cta,
    .youtube-cta {
        flex-direction: column;
        align-items: center;
    }

    .book-stats,
    .contact-benefits {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .purchase-card.featured {
        transform: none;
    }

    .form-row {
        flex-direction: column;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-benefits {
        text-align: center;
    }

    .contact-benefits .benefit-item {
        justify-content: center;
    }
}

/* Mobile Small - Additional Adjustments */
@media (max-width: 479px) {
    .book-placeholder {
        width: 200px;
        height: 280px;
        padding: var(--spacing-md);
    }

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

    .book-subtitle {
        font-size: 0.9rem;
    }

    .video-placeholder {
        max-width: 100%;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .award-card {
        flex-direction: column;
        text-align: center;
    }

    .award-badge {
        margin: 0 auto var(--spacing-md) auto;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .method-icon {
        width: auto;
    }
}