/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet (max-width: 968px) */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-logo,
    .cta-logo {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .commands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-preview {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-big-number {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cta h2 {
        font-size: 2.5rem;
    }

    .cta p {
        font-size: 1.1rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: right 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-logo,
    .cta-logo {
        width: 100px;
        height: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-preview {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Sections */
    .features,
    .commands,
    .stats-section,
    .cta {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .features-grid,
    .commands-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .command-card {
        padding: 20px;
    }

    .command-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .command-header code {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .stat-card {
        padding: 40px 20px;
    }

    .stat-big-number {
        font-size: 2.5rem;
    }

    /* CTA */
    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-logo,
    .cta-logo {
        width: 80px;
        height: 80px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-big-number {
        font-size: 2rem;
    }

    .feature-card h3,
    .command-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p,
    .command-card p {
        font-size: 0.9rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }
}

/* Desktop Large (min-width: 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-big-number {
        font-size: 4rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .stats-preview {
        margin-top: 40px;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .cta,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section-title {
        color: black;
    }
}