/* ===================================
   INCOME FANATICS - RESPONSIVE STYLES
   =================================== */

/* Large Desktops (1440px and above) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

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

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

/* Desktop (1024px to 1439px) */
@media (max-width: 1439px) {
    .container {
        max-width: 1100px;
    }
}

/* Tablet (768px to 1023px) */
@media (max-width: 1023px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

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

    /* Navigation */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 380px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
        padding: 5rem 1.5rem 2rem;
        border-left: 1px solid rgba(212, 175, 55, 0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        width: 100%;
        padding: 1.125rem 1rem;
        font-size: 1.125rem;
        justify-content: flex-start;
        border-radius: 0;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.03);
        padding-left: 1.5rem;
    }

    /* Dropdown Menu - Mobile */
    .nav-item.has-dropdown {
        width: 100%;
    }

    .nav-link.dropdown-toggle {
        justify-content: space-between;
        width: 100%;
        font-size: 1.125rem;
    }

    .nav-link.dropdown-toggle i {
        margin-left: auto;
        font-size: 0.75rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.02);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        max-height: 700px;
    }

    .dropdown-item {
        padding: 1rem 1rem 1rem 2.5rem;
        font-size: 1rem;
        justify-content: flex-start;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item::before {
        display: none;
    }

    .dropdown-item:hover {
        padding-left: 3rem;
        background: rgba(212, 175, 55, 0.08);
    }

    .dropdown-item i {
        font-size: 1rem;
    }

    /* Join Button - Mobile */
    .nav-links .btn-primary {
        width: 100%;
        margin: 1.5rem 0 0 0;
        padding: 1rem 1.5rem;
        justify-content: center;
        font-size: 1.0625rem;
        border-radius: 8px;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Trust Bar */
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

    /* Testimonials */
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: -10px;
    }

    .carousel-btn.next {
        right: -10px;
    }

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

/* Mobile Large (640px to 767px) */
@media (max-width: 767px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }

    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

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

    .nav-links {
        max-width: 100%;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

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

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

    .hero-scroll {
        bottom: 1rem;
    }

    .hero-scroll a {
        font-size: 1.5rem;
    }

    /* Trust Bar */
    .trust-bar {
        padding: var(--spacing-md) 0;
    }

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

    .trust-stat {
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--dark-gray);
    }

    .trust-stat:last-child {
        border-bottom: none;
    }

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

    .stat-label {
        font-size: 0.75rem;
    }

    /* Sections */
    section {
        padding: var(--spacing-lg) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-md);
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .service-card {
        padding: var(--spacing-sm);
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon i {
        font-size: 1.25rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    /* Journey Path - Mobile */
    .journey-stop {
        padding: 4rem 0;
    }

    .journey-stop::before {
        width: 90%;
    }

    .stop-content {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }

    .stop-icon {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }

    .stop-icon i {
        font-size: 2.25rem;
    }

    .stop-info {
        max-width: 100%;
    }

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

    .stop-subtitle {
        font-size: 1.125rem;
    }

    .stop-description {
        font-size: 1rem;
    }

    .stop-outcomes {
        justify-content: center;
        gap: 0.75rem;
    }

    .outcome-badge {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    .stop-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn-journey {
        width: 100%;
        justify-content: center;
        padding: 1.125rem 2rem;
    }

    .continue-text {
        text-align: center;
    }

    /* All-Access Section - Mobile */
    .journey-all-access {
        padding: 5rem 0;
    }

    .all-access-card {
        padding: 3rem 2rem;
        border-radius: 16px;
    }

    .all-access-icon {
        width: 80px;
        height: 80px;
    }

    .all-access-icon i {
        font-size: 2.5rem;
    }

    .all-access-title {
        font-size: 1.875rem;
    }

    .all-access-description {
        font-size: 1.0625rem;
    }

    .all-access-price {
        flex-direction: column;
        gap: 0.75rem;
    }

    .price-amount {
        font-size: 2.75rem;
    }

    /* Testimonials */
    .testimonials-carousel {
        padding: var(--spacing-sm) 0;
    }

    .testimonial-card {
        padding: var(--spacing-sm);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .carousel-btn.prev {
        left: -5px;
    }

    .carousel-btn.next {
        right: -5px;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }

    .testimonial-name {
        font-size: 1rem;
    }

    .testimonial-stars {
        font-size: 0.875rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .result-value {
        font-size: 1rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: var(--spacing-sm);
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .benefit-icon i {
        font-size: 1.5rem;
    }

    .benefit-title {
        font-size: 1.125rem;
    }

    /* FAQ */
    .faq-question {
        padding: var(--spacing-sm);
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
        font-size: 0.9rem;
    }

    /* Final CTA */
    .cta-title {
        font-size: 2rem;
    }

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

    .price-amount {
        font-size: 3rem;
    }

    .currency {
        font-size: 1.5rem;
    }

    .period {
        font-size: 1.25rem;
    }

    .price-features {
        font-size: 0.9rem;
    }

    .feature-item {
        padding: 0.375rem 0;
    }

    .feature-item i {
        font-size: 1rem;
    }

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

    .trust-badge {
        font-size: 0.8rem;
    }

    .cta-urgency {
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }

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

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

    .footer-description {
        font-size: 0.875rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-links {
        font-size: 0.875rem;
    }

    .newsletter-text {
        font-size: 0.8rem;
    }

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

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    .footer-disclaimer {
        font-size: 0.75rem;
        padding: var(--spacing-xs);
    }

    .footer-legal {
        flex-direction: column;
        text-align: center;
        font-size: 0.75rem;
    }

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

/* Mobile Small (320px to 639px) */
@media (max-width: 639px) {
    :root {
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

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

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Stats */
    .stat-number {
        font-size: 2rem;
    }

    /* Services */
    .service-title {
        font-size: 1.125rem;
    }

    .service-description {
        font-size: 0.85rem;
    }

    .featured-badge,
    .premium-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }

    /* Testimonials */
    .testimonial-header {
        gap: 0.75rem;
    }

    .testimonial-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }

    .testimonial-name {
        font-size: 0.9rem;
    }

    .testimonial-title {
        font-size: 0.75rem;
    }

    .testimonial-stars {
        font-size: 0.75rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* All-Access Section - Small Mobile */
    .journey-all-access {
        padding: 3rem 0;
        display: block !important;
        visibility: visible !important;
    }

    .all-access-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .all-access-icon {
        width: 60px;
        height: 60px;
    }

    .all-access-icon i {
        font-size: 2rem;
    }

    .all-access-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .all-access-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .all-access-price {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

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

    .price-amount {
        font-size: 2.25rem !important;
    }

    .guarantee-text {
        font-size: 0.85rem;
    }

    .result-label,
    .result-value {
        font-size: 0.85rem;
    }

    /* Benefits */
    .benefit-icon {
        width: 50px;
        height: 50px;
    }

    .benefit-icon i {
        font-size: 1.25rem;
    }

    .benefit-title {
        font-size: 1rem;
    }

    .benefit-description {
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.9rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    /* Price Box */
    .price-box {
        padding: var(--spacing-sm);
    }

    .price-label {
        font-size: 0.75rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .currency {
        font-size: 1.25rem;
    }

    .period {
        font-size: 1rem;
    }

    .feature-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .feature-item i {
        font-size: 0.9rem;
    }

    /* Social Links */
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Mobile Extra Small (320px and below) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

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

    .service-card {
        padding: 1rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 4rem 0;
    }

    .hero-scroll {
        display: none;
    }

    section {
        padding: 2rem 0;
    }

    .nav-links.active {
        height: 100vh;
        overflow-y: auto;
        padding: 4rem 2rem 2rem;
        justify-content: flex-start;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print Styles */
@media print {
    header,
    .hero-scroll,
    .hamburger,
    .carousel-btn,
    .btn-primary,
    .btn-secondary,
    .final-cta-section,
    .newsletter-form,
    .social-links {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    section {
        page-break-inside: avoid;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch target sizes */
    .btn-primary,
    .btn-secondary,
    .nav-link,
    .faq-question,
    .carousel-btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .benefit-card:hover {
        transform: none;
    }

    /* Make tap feedback more visible */
    button,
    a {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    }
}

/* Dark Mode Support (if user prefers dark mode) */
@media (prefers-color-scheme: dark) {
    /* Already dark by default, but can add overrides if needed */
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-scroll a {
        animation: none;
    }

    .btn-pulse {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card,
    .benefit-card,
    .testimonial-card,
    .faq-item {
        border-width: 2px;
    }

    .btn-primary,
    .btn-secondary {
        border-width: 3px;
    }
}
