/* ========================================
   TRADE X PRO - RESPONSIVE STYLES
   Mobile-First Responsive Design
   ======================================== */

/* ==================== LARGE DESKTOP (1440px+) ==================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

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

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

/* ==================== DESKTOP (1200px - 1439px) ==================== */
@media (max-width: 1439px) {
    .container {
        max-width: 1200px;
    }

    .hero-wrapper {
        gap: 40px;
    }

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

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

/* ==================== LAPTOP (992px - 1199px) ==================== */
@media (max-width: 1199px) {
    :root {
        --section-padding: 100px 0;
    }

    .hero-wrapper {
        gap: 30px;
    }

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

    .about-wrapper {
        gap: 50px;
    }

    .benefits-wrapper {
        gap: 50px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .testimonial-card {
        min-width: calc(50% - 12px);
    }
}

/* ==================== TABLET (768px - 991px) ==================== */
@media (max-width: 991px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Header */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(5, 11, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-color);
    }

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

    .nav-link {
        font-size: 1.1rem;
    }

    .header-cta .btn {
        padding: 6px 9px;
        font-size: 0.75rem;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-badge {
        margin: 0 auto 24px;
    }

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

    .hero-description {
        margin: 0 auto 30px;
    }

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

    .hero-social-proof {
        justify-content: center;
    }

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

    .dashboard-container {
        transform: rotateY(0) rotateX(0);
        max-width: 320px;
        margin: 40px auto 0;
    }

    .symbol-title h3 {
        font-size: .7rem;
    }

    .profit-amount {
        font-size: .7rem;
    }

    .symbol-sub {
        font-size: 0.55rem;
    }

    .ai-signal-card {
        top: -20px;
        left: -10px;
        min-width: 160px;
    }

    .order-stream-card {
        top: -15px;
        right: -10px;
        min-width: 180px;
    }

    .sentiment-card {
        bottom: -15px;
        left: -10px;
        min-width: 170px;
    }

    .profit-streak-card {
        bottom: -15px;
        right: -10px;
        min-width: 170px;
    }

    /* About */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title,
    .about-content .section-description {
        text-align: center;
    }

    .about-content .section-description {
        margin: 0 auto 32px;
    }

    .about-features {
        max-width: 500px;
        margin: 0 auto 36px;
    }

    .about-content .btn {
        margin: 0 auto;
        display: inline-flex;
    }

    /* Benefits */
    .benefits-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-content .section-title,
    .benefits-content .section-description {
        text-align: center;
    }

    .benefits-content .section-description {
        margin: 0 auto 32px;
    }

    .benefits-checklist {
        max-width: 500px;
        margin: 0 auto 36px;
    }

    .benefits-content .btn {
        margin: 0 auto;
        display: inline-flex;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: calc(50% - 12px);
    }

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

    /* Why Choose */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Scroll Indicator */
    .scroll-indicator {
        display: none;
    }

    /* Floating Cards */
    .profit-card {
        right: -10px;
        top: -10px;
    }

    .analytics-card {
        left: -10px;
    }
}

/* ==================== SMALL TABLET (576px - 767px) ==================== */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

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

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

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

    .section-description {
        font-size: 0.95rem;
    }

    /* Hero Stats */
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 280px;
    }

    /* About Features */
    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    /* Platform Features (Split Showcase) */
    .features-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-list-nav {
        min-height: auto;
        padding-bottom: 0;
    }

    .features-preview-stage {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
    }

    /* Stepper Process */
    .steps-flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tracker-line {
        left: 40px;
        right: 40px;
    }

    /* Simulation Tiers */
    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Trust & Security */
    .trust-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Courses */
    .courses-grid {
        grid-template-columns: 1fr;
    }

    /* Why Grid */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 100%;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-bottom-links {
        justify-content: center;
    }

    /* CTA */
    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    /* Dashboard */
    .profit-card {
        right: 0;
        top: -15px;
        padding: 10px 14px;
    }

    .analytics-card {
        left: 0;
        bottom: 40px;
        min-width: 150px;
    }

    .notification-card {
        right: 0;
        bottom: -15px;
        padding: 10px 14px;
    }

    /* Experience Badge */
    .experience-badge {
        left: 10px;
        bottom: 20px;
        padding: 14px 18px;
    }

    .students-badge {
        right: 10px;
        top: 20px;
        padding: 10px 14px;
    }

    /* Benefits Glass Card */
    .benefits-glass-card {
        right: 10px;
        bottom: -10px;
        padding: 14px 18px;
    }

    .about-img-wrapper img {
        height: auto;
    }

    .about-content {
        text-align: center;
    }

    .about-content .feature-text {
        text-align: left;
    }

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

    .bento-cell {

        padding: 14px;
    }

    .bento-stat-label {
        font-size: 0.52rem;
    }

    .bento-stats-row {
        align-items: start;
    }

    .tracker-nodes,
    .tracker-line {
        display: none;
    }

    .footer {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
        text-align: left;
    }

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

    .footer-contact ul li {
        flex-direction: column;
        align-items: center;
    }

}

/* ==================== MOBILE (425px - 575px) ==================== */
@media (max-width: 575px) {
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

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

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

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

    .hero-social-proof {
        flex-direction: column;
        gap: 12px;
    }

    .dashboard-main {
        padding: 16px;
    }

    .dash-window-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ticker-tabs {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .chart-container {
        padding: 8px 6px 2px 6px;
    }

    .chart-svg {
        height: 150px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .dash-stat {
        padding: 8px 4px;
    }

    /* Platform Features (Split Showcase) */
    .features-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-block-item {
        padding: 18px 16px;
    }

    /* Stepper Process */
    .steps-flow-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stepper-tracker {
        margin-bottom: 35px;
    }

    .node-text {
        font-size: 0.7rem;
    }

    .tracker-line {
        left: 30px;
        right: 30px;
    }

    /* Simulation Tiers */
    .tiers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Trust & Security */
    .trust-wrapper {
        padding: 35px 20px;
    }

    .trust-pillars-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* CTA Banner */
    .cta-banner-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    /* Floating Coins */
    .coin {
        width: 35px;
        height: 35px;
    }

    .coin-1,
    .coin-2,
    .coin-3,
    .coin-4,
    .coin-5 {
        display: none;
    }

    .coin-1,
    .coin-2 {
        display: block;
    }
}

/* ==================== SMALL MOBILE (320px - 424px) ==================== */
@media (max-width: 424px) {
    .container {
        padding: 0 12px;
    }

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

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

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .btn-xl {
        padding: 16px 28px;
        font-size: 0.95rem;
    }

    /* Nav Links Mobile */
    .nav-links {
        width: 100%;
        right: -100%;
    }

    /* Stats */
    .stat-card {
        padding: 12px 16px;
    }

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

    /* Course Card */
    .course-card {
        padding: 20px;
    }

    /* Testimonial */
    .testimonial-card {
        padding: 24px;
    }

    /* Footer */
    .footer {
        padding: 60px 0 0;
    }

    .footer-top {
        gap: 24px;
    }

    /* Dashboard */
    .ai-signal-card,
    .order-stream-card,
    .sentiment-card,
    .profit-streak-card {
        display: none;
    }

    .dashboard-container {
        transform: none;
    }
}

/* ==================== EXTRA SMALL (320px) ==================== */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.4rem;
    }

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

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

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

/* ==================== HEIGHT QUERIES ==================== */
@media (max-height: 700px) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        width: 250px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {

    .header,
    .back-to-top,
    .custom-cursor,
    .custom-cursor-follower,
    .preloader,
    .scroll-indicator,
    .floating-coins {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 40px 0;
        page-break-inside: avoid;
    }
}