/* ==========================================================================
   Responsive CSS
   ========================================================================== */

/* Large Devices (Tablets, less than 992px) */
@media (max-width: 991px) {
    h2 {
        font-size: 2.2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

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

    .shield-animation {
        width: 250px;
        height: 250px;
    }

    .timeline::after {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 90px;
        padding-right: 20px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        left: 20px;
    }

    .email-comparison-container {
        grid-template-columns: 1fr;
    }

    .interactive-info {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

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

/* Medium Devices (Tablets, less than 768px) */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cursor, .cursor-follower {
        display: none; /* Disable custom cursor on mobile */
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Small Devices (Phones, less than 576px) */
@media (max-width: 575px) {
    h2 {
        font-size: 1.8rem;
    }

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

    .section {
        padding: 4rem 0;
    }

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

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

    .timeline-item {
        padding-left: 70px;
        padding-right: 10px;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        left: 0;
    }

    .quiz-screen {
        padding: 1rem;
    }

    .input-group {
        flex-direction: column;
    }

    .checker-container input {
        padding-left: 3rem;
    }
}
