/* Tablet & Small Laptops */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.1rem; }

    .nav-links {
        gap: 1rem;
        font-size: 0.95rem;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

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

    .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: -300px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        min-width: auto;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Mobile Phones */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1rem; }
    h5, h6 { font-size: 0.95rem; }

    .container {
        padding: 0 15px;
    }

    .navbar .container {
        padding: 1rem 15px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 40px 15px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

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

    .code-block {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .code-block code {
        font-size: 0.85rem;
    }

    .features {
        padding: 40px 15px;
    }

    .features h2 {
        margin-bottom: 2rem;
    }

    .quick-info {
        padding: 40px 15px;
    }

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

    .cta {
        padding: 40px 15px;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content {
        padding: 0 15px;
    }

    .content ul, .content ol {
        margin-left: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }

    .alert {
        padding: 1rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 0.7rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    .page-header {
        padding: 30px 15px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

/* Small phones */
@media (max-width: 400px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }

    .nav-brand span {
        font-size: 1rem;
    }

    .nav-brand i {
        font-size: 1.5rem;
    }

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

    .command-box {
        font-size: 0.8rem;
        padding: 1rem;
    }

    .badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.75rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step:not(:last-child) .step-number:after {
        height: 50px;
        top: 35px;
        left: 16.5px;
    }

    .step-content {
        margin-left: 1rem;
    }

    .step-content h4 {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta,
    .btn,
    .back-to-top,
    .hamburger {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #0066cc;
    }

    .page-header {
        background: none;
        border: 1px solid #ccc;
        color: #000;
    }

    .page-header h1 {
        color: #000;
    }

    .alert,
    .feature-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }

    .content pre {
        background: #f5f5f5;
        color: #000;
        border: 1px solid #ccc;
    }
}