/* ===============================================
   Responsive Styles
   =============================================== */

/* Tablet and Below - 1024px */
@media (max-width: 1024px) {
    :root {
        --fs-5xl: 2.5rem;
        --fs-6xl: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-about {
        grid-column: span 3;
    }

    .footer-contact {
        grid-column: span 3;
    }

    .value-grid,
    .about-grid,
    .service-detail-grid,
    .investors-content {
        gap: var(--spacing-2xl);
    }

    .floating-card.card-1 {
        right: 0;
    }

    .floating-card.card-2 {
        left: 0;
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    :root {
        --fs-4xl: 1.875rem;
        --fs-5xl: 2rem;
        --fs-6xl: 2.25rem;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transition: var(--transition-base);
        z-index: 998;
        padding-top: 60px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: var(--spacing-lg) 0;
        font-size: var(--fs-xl);
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link.active {
        color: var(--color-accent);
        background: rgba(255, 255, 255, 0.03);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: var(--fs-lg);
    }

    .hamburger {
        display: flex;
        z-index: 999;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .btn-nav {
        display: none;
    }

    /* Hero */
    .hero-content {
        padding-top: 120px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 1 1 45%;
    }

    .hero-scroll {
        display: none;
    }

    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Value Section */
    .value-grid {
        grid-template-columns: 1fr;
    }

    .value-image {
        order: -1;
    }

    .floating-card {
        display: none;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-contact {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Page Specific */
    .about-grid,
    .service-detail-grid,
    .investors-content {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-detail-grid {
        direction: ltr;
    }

    .mission-grid,
    .benefits-detailed {
        grid-template-columns: 1fr;
    }

    .service-detail-features {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile - 576px */
@media (max-width: 576px) {
    :root {
        --fs-3xl: 1.5rem;
        --fs-4xl: 1.75rem;
        --fs-5xl: 1.875rem;
        --fs-6xl: 2rem;
        --spacing-4xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    /* Header */
    .logo-text {
        font-size: var(--fs-base);
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    /* Hero */
    .hero-badge {
        font-size: var(--fs-xs);
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .hero-title {
        font-size: var(--fs-3xl);
    }

    .hero-subtitle {
        font-size: var(--fs-base);
    }

    .stat-number {
        font-size: var(--fs-2xl);
    }

    .stat-suffix {
        font-size: var(--fs-lg);
    }

    /* Buttons */
    .btn-lg {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--fs-sm);
    }

    /* Section Headers */
    .section-title {
        font-size: var(--fs-2xl);
    }

    .section-subtitle {
        font-size: var(--fs-base);
    }

    /* Process Steps */
    .process-step {
        padding: var(--spacing-lg);
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: var(--fs-xl);
    }

    /* Service Cards */
    .service-card {
        padding: var(--spacing-lg);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: span 1;
    }

    .footer-links {
        gap: var(--spacing-sm);
    }

    /* Page Header */
    .page-header {
        padding: 120px 0 60px;
    }

    /* Benefits */
    .benefit-card {
        flex-direction: column;
        text-align: center;
    }

    .column-title {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile - 375px */
@media (max-width: 375px) {
    :root {
        --fs-2xl: 1.25rem;
        --fs-3xl: 1.375rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-item {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* Mobile Menu Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 990;
    opacity: 0;
    transition: var(--transition-base);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Accessibility Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 600;
    z-index: 1000;
    transition: var(--transition-base);
}

.skip-link:focus {
    top: var(--spacing-md);
}

/* Print Styles */
@media print {

    .header,
    .hero-scroll,
    .floating-card,
    .cta,
    .footer-social,
    .newsletter-form {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        background: #fff;
        padding: 2rem 0;
    }

    .hero-title,
    .hero-subtitle {
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}