/* ====================================
   Responsive Design CSS
   Mobile-first approach
   ==================================== */

/* ===== Extra Large Devices (Desktops, 1400px and up) ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-padding {
        padding: 120px 0;
    }
}

/* ===== Large Devices (Desktops, 992px and up) ===== */
@media (max-width: 1199px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===== Medium Devices (Tablets, 768px and up) ===== */
@media (max-width: 991px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Navigation */
    .navbar-collapse {
        background: var(--white);
        padding: 1.5rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        margin-left: 0 !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-nav .nav-item:last-child {
        width: 100%;
        margin-top: 0.5rem;
        display: flex !important;
    }
    
    .navbar-nav .nav-item .btn-cta {
        width: 100%;
        margin: 0;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-nav .nav-item {
        display: flex;
        width: 100%;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    /* Hero Book Section */
    .hero-book-section {
        padding: 100px 30px 60px;
    }
    
    .book-container {
        height: 600px;
    }
    
    .title-word {
        font-size: clamp(120px, 12vw, 160px);
        gap: 30px;
    }
    
    .back-content {
        padding: 50px 40px;
    }
    
    .back-title {
        font-size: clamp(24px, 4vw, 36px);
    }
    
    .benefits-list li {
        font-size: 17px;
    }
    
    .page-content {
        padding: 50px 40px;
    }
    
    .hero-slogan {
        font-size: clamp(22px, 4vw, 36px);
        margin-bottom: 50px;
    }
    
    .hero-stats {
        gap: 50px;
    }
    
    .stat-number {
        font-size: clamp(56px, 8vw, 68px);
    }
    
    .testimonial-quote {
        padding: 35px 30px;
    }
    
    .testimonial-quote p {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero-stats {
        gap: 2rem;
        justify-content: center;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .visual-circle {
        width: 400px;
        height: 400px;
    }
    
    .floating-card {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .card-icon {
        font-size: 1.25rem;
    }
    
    /* About Section */
    .about-image-wrapper {
        margin-bottom: 3rem;
    }
    
    .about-experience {
        bottom: -20px;
        right: 20px;
        padding: 1.5rem;
    }
    
    .experience-number {
        font-size: 2.5rem;
    }
    
    /* Podcasts Grid */
    .podcasts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .podcast-image {
        height: 220px;
    }
    
    /* Hosts Section */
    .host-card {
        margin-bottom: 1.5rem;
    }
    
    .host-image-wrapper {
        height: 280px;
    }
    
    /* Topics Grid */
    .topics-wrapper .row {
        gap: 1.5rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    /* Pricing Section */
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    /* Testimonials */
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-info {
        margin-bottom: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    /* Newsletter */
    .newsletter-wrapper {
        padding: 2.5rem;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-top {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links,
    .footer-contacts {
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .copyright {
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* ===== Small Devices (Landscape phones, 576px and up) ===== */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        font-size: 1.75rem;
    }
    
    /* Hero Book Section */
    .hero-book-section {
        padding: 100px 15px 60px;
        min-height: auto;
    }
    
    .book-container {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
    
    .book-page {
        min-height: 500px;
    }
    
    .vertical-title {
        writing-mode: horizontal-tb;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .title-word {
        font-size: clamp(48px, 12vw, 80px);
    }
    
    .left-page:hover,
    .right-page:hover {
        transform: translateX(0) scale(1.02);
    }
    
    .book-container:hover .left-page,
    .book-container:hover .right-page {
        transform: none;
    }
    
    .book-spine {
        display: none;
    }
    
    .back-content {
        padding: 40px 30px;
    }
    
    .back-title {
        font-size: clamp(22px, 5vw, 32px);
        margin-bottom: 25px;
    }
    
    .benefits-list li {
        font-size: 16px;
        padding: 12px 0;
    }
    
    .btn-back-action {
        padding: 16px 32px;
        font-size: 15px;
        width: 100%;
    }
    
    .page-content {
        padding: 40px 30px;
    }
    
    .hero-slogan {
        font-size: clamp(20px, 5vw, 28px);
        margin-bottom: 40px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: clamp(40px, 10vw, 56px);
    }
    
    .stat-label {
        font-size: 15px;
    }
    
    .testimonial-quote {
        padding: 30px 25px;
    }
    
    .testimonial-quote p {
        font-size: 16px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }
    
    .badge-icon {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .title-highlight::after {
        height: 3px;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .visual-circle {
        width: 300px;
        height: 300px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .floating-card {
        display: none; /* Hide floating cards on mobile for cleaner look */
    }
    
    .shape {
        display: none; /* Hide some shapes on mobile for performance */
    }
    
    .scroll-indicator {
        display: none; /* Hide scroll indicator on mobile */
    }
    
    /* Section Headers */
    .section-label {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    /* About Section */
    .about-shape {
        top: -10px;
        left: -10px;
    }
    
    .about-experience {
        bottom: 10px;
        right: 10px;
        padding: 1.25rem;
    }
    
    .experience-number {
        font-size: 2rem;
    }
    
    .experience-text {
        font-size: 0.75rem;
    }
    
    .feature-item {
        padding: 1.25rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.125rem;
    }
    
    .feature-content p {
        font-size: 0.9375rem;
    }
    
    /* Podcasts Section */
    .podcasts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .podcast-image {
        height: 200px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button svg {
        width: 18px;
        height: 18px;
    }
    
    .podcast-info {
        padding: 1.25rem;
    }
    
    .podcast-title {
        font-size: 1.125rem;
    }
    
    .podcast-description {
        font-size: 0.875rem;
    }
    
    .podcast-stats {
        gap: 0.75rem;
        font-size: 0.8125rem;
    }
    
    /* Hosts Section */
    .host-image-wrapper {
        height: 250px;
    }
    
    .host-info-card {
        padding: 1.25rem;
    }
    
    .host-name-title {
        font-size: 1.125rem;
    }
    
    .host-bio {
        font-size: 0.875rem;
    }
    
    .host-social {
        gap: 0.375rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    /* Topics Section */
    .topic-card {
        padding: 1.25rem;
    }
    
    .topic-icon {
        font-size: 2.5rem;
    }
    
    .topic-title {
        font-size: 1.25rem;
    }
    
    .topic-description {
        font-size: 0.9375rem;
    }
    
    .topic-list li {
        font-size: 0.875rem;
    }
    
    /* Pricing Section */
    .pricing-card {
        padding: 2rem;
    }
    
    .plan-name {
        font-size: 1.25rem;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .plan-features li {
        font-size: 0.875rem;
        padding: 0.625rem 0;
    }
    
    /* Testimonials */
    .testimonial-item {
        padding: 2rem;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-position {
        font-size: 0.8125rem;
    }
    
    /* Contact Section */
    .contact-item {
        padding: 1.25rem;
        flex-direction: row;
        gap: 1rem;
    }
    
    .contact-icon {
        font-size: 1.75rem;
    }
    
    .contact-text h4 {
        font-size: 0.9375rem;
    }
    
    .contact-text p {
        font-size: 0.875rem;
    }
    
    .social-links .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.375rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-control {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
    
    /* Newsletter */
    .newsletter-wrapper {
        padding: 2rem;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding-top: 60px;
    }
    
    .footer-logo {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-top: 2rem;
    }
    
    .footer-links li,
    .footer-contacts li {
        margin-bottom: 0.625rem;
    }
    
    .footer-links a {
        font-size: 0.875rem;
    }
    
    .footer-contacts li {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
    
    .copyright {
        font-size: 0.8125rem;
    }
    
    .footer-legal {
        gap: 1rem;
        font-size: 0.8125rem;
    }
    
    /* Scroll to Top */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top svg {
        width: 20px;
        height: 20px;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content p {
        font-size: 0.875rem;
        min-width: auto;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        width: 100%;
    }
}

/* ===== Extra Small Devices (Phones, less than 576px) ===== */
@media (max-width: 575px) {
    /* Container */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Hero Book Section */
    .hero-book-section {
        padding: 90px 10px 50px;
    }
    
    .book-page {
        min-height: 450px;
    }
    
    .title-word {
        font-size: clamp(40px, 11vw, 70px);
    }
    
    .back-content {
        padding: 30px 20px;
    }
    
    .back-title {
        font-size: clamp(20px, 5vw, 28px);
        margin-bottom: 20px;
    }
    
    .benefits-list li {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .check-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .btn-back-action {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .page-content {
        padding: 30px 20px;
    }
    
    .hero-slogan {
        font-size: clamp(18px, 5vw, 24px);
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: clamp(36px, 10vw, 48px);
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .testimonial-quote {
        padding: 25px 20px;
    }
    
    .testimonial-quote p {
        font-size: 14px;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .platform-badge {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    /* Cards */
    .podcast-image,
    .host-image-wrapper {
        height: 180px;
    }
    
    /* Newsletter Input Group */
    .input-group .form-control {
        font-size: 0.875rem;
    }
    
    /* Spacing Utilities */
    .mt-4 { margin-top: 1rem !important; }
    .mt-5 { margin-top: 2rem !important; }
    .mb-4 { margin-bottom: 1rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
}

/* ===== Ultra Small Devices (Small phones, less than 375px) ===== */
@media (max-width: 374px) {
    /* Hero Book Section */
    .book-page {
        min-height: 400px;
    }
    
    .title-word {
        font-size: clamp(35px, 10vw, 60px);
        gap: 10px;
    }
    
    .back-content {
        padding: 25px 15px;
    }
    
    .back-title {
        font-size: 20px;
    }
    
    .benefits-list li {
        font-size: 13px;
    }
    
    .btn-back-action {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .hero-slogan {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .testimonial-quote p {
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
}

/* ===== Landscape Orientation Adjustments ===== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .scroll-top,
    .cookie-banner,
    .floating-card,
    .shape {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .hero-section {
        background: #fff !important;
        color: #000 !important;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000;
    }
}

/* ===== High Resolution Displays ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images and icons for retina displays */
    .hero-image,
    .about-image,
    .podcast-image img,
    .host-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== Dark Mode Support (Optional) ===== */
@media (prefers-color-scheme: dark) {
    /* Uncomment if you want automatic dark mode support
    :root {
        --dark: #ffffff;
        --light: #0f172a;
        --white: #1e293b;
        --gray: #cbd5e1;
    }
    */
}

/* ===== Reduced Motion ===== */
@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;
    }
    
    .floating-shapes,
    .floating-card,
    .shape {
        animation: none !important;
    }
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for touch devices */
    .nav-link {
        padding: 1rem !important;
    }
    
    .btn {
        min-height: 48px;
    }
    
    .social-link {
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Remove hover effects on touch devices */
    .hover-lift:hover,
    .hover-scale:hover,
    .hover-rotate:hover {
        transform: none;
    }
}