/* Hide duplicate brands on desktop */
.brands-duplicate {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero-container {
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 1200px) {
    .hero-container {
        background-size: cover;
        background-position: center center;
    }

    .glass-card {
        width: 50%;
        min-width: 380px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        background-size: cover;
        background-position: center center;
    }

    .glass-card {
        width: 60%;
        min-width: 350px;
        left: 5%;
    }

    .nav-content {
        gap: 20px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-time {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-container {
        background-image: url('../hero-mobile.png');
        background-size: cover;
        background-position: 55% center;
    }

    .hero-text {
        top: 80px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 20px;
        font-weight: 700;
    }

    .glass-card {
        padding: 20px 22px;
        width: 60%;
        min-width: unset;
        left: 3%;
        top: 45vh;
        transform: translateX(0);
        max-width: 315px;
    }

    .glass-card h1 {
        font-size: 24px !important;
    }

    .glass-card p {
        font-size: 10px !important;
    }

    .glass-card-link {
        font-size: 10px;
    }

    .content-section {
        padding: 80px 28px;
    }

    .content-section h2 {
        font-size: 36px;
    }

    .content-section p {
        font-size: 18px;
    }

    .badge {
        bottom: 24px;
        left: 24px;
    }

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

    .glass-nav {
        padding: 8px 16px;
        top: 16px;
    }

    .nav-content {
        gap: 16px;
    }

    .nav-logo {
        font-size: 14px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .nav-links a:last-child {
        display: none;
    }

    .nav-button {
        padding: 5px 10px;
        font-size: 12px;
    }

    /* Built to handle complexity heading */
    div[style*="background: #ffffff"] h2[style*="font-size: 48px"] {
        font-size: 28px !important;
    }

    /* Mobile Static Brands - Show only 3 logos */
    .brands-section {
        padding-bottom: 30px !important;
    }

    .brands-container {
        overflow: visible !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        width: 100% !important;
    }

    .brands-track {
        display: flex !important;
        width: 100%;
        animation: none !important;
        justify-content: center;
    }

    .brands-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 40px !important;
        padding: 0 20px !important;
        justify-content: center !important;
        flex-shrink: 0;
        width: 100%;
    }

    /* Hide duplicate on mobile */
    .brands-duplicate {
        display: none !important;
    }

    /* Show only IndiGo, Air India, and Cannon */
    .brand-logo {
        height: 32px !important;
        flex-shrink: 0;
        width: auto !important;
        object-fit: contain;
    }

    /* Hide Accent and TPA logos on mobile */
    .brand-logo:nth-child(4),
    .brand-logo:nth-child(5) {
        display: none !important;
    }

    /* Features Section - Tablet/Mobile */
    .features-section {
        padding: 20px 16px 60px;
    }

    .features-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 16px;
    }

    .features-heading {
        font-size: 32px;
    }

    .features-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 600px;
        width: 100%;
        justify-items: center;
    }

    .card-large,
    .card-medium,
    .card-small,
    .card-integrations {
        grid-column: span 1;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-content h3 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 13px;
    }

    .keyboard-button {
        width: 56px;
        height: 56px;
    }

    .keyboard-button span {
        font-size: 18px;
    }

    .integration-logo {
        width: 48px;
        height: 48px;
    }

    .integration-logo img {
        width: 28px;
        height: 28px;
    }

    .icon-plus {
        width: 28px;
        height: 28px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        background-image: url('../hero-mobile.png');
        background-size: cover;
        background-position: 50% center;
    }

    .hero-text {
        top: 60px;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 45px;
    }

    .hero-text p {
        font-size: 18px;
        font-weight: 700;
    }

    .glass-card {
        padding: 18px 15px;
        width: 63%;
        left: 3%;
        transform: translateX(0);
    }

    .glass-card h1 {
        font-size: 22px !important;
    }

    .glass-card p {
        font-size: 9px !important;
    }

    .glass-card-link {
        font-size: 9px;
    }

    .content-section h2 {
        font-size: 32px;
    }

    .glass-nav {
        padding: 8px 12px;
        top: 12px;
    }

    .nav-content {
        gap: 12px;
    }

    .nav-logo span {
        display: none;
    }

    .nav-logo-icon {
        font-size: 18px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-button {
        font-size: 11px;
        padding: 4px 8px;
    }

    .nav-badge {
        padding: 1px 5px;
        font-size: 10px;
    }

    #book-demo h2 {
        font-size: 32px !important;
    }

    #book-demo p {
        font-size: 16px !important;
    }

    /* Built to handle complexity heading - even smaller on small mobile */
    div[style*="background: #ffffff"] h2[style*="font-size: 48px"] {
        font-size: 22px !important;
    }

    /* Features Section - Small Mobile */
    .features-section {
        padding: 15px 12px 50px;
    }

    .features-container {
        padding: 0 12px;
    }

    .section-badge {
        font-size: 12px;
        padding: 4px 16px;
    }

    .features-heading {
        font-size: 28px;
    }

    .features-subtitle {
        font-size: 14px;
    }

    .features-grid {
        max-width: 100%;
    }

    .feature-card {
        padding: 20px;
        max-width: 500px;
        width: 100%;
    }

    .feature-content h3 {
        font-size: 16px;
    }

    .feature-content p {
        font-size: 12px;
    }

    .keyboard-button {
        width: 48px;
        height: 48px;
    }

    .keyboard-button span {
        font-size: 16px;
    }

    .integration-logo {
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .integration-logo img {
        width: 24px;
        height: 24px;
    }

    .icon-plus {
        width: 24px;
        height: 24px;
    }

    .integrations-container {
        gap: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        padding: 12px;
    }

    .feature-icon-container {
        padding: 20px;
    }

    .placeholder-image {
        min-height: 180px;
    }

    .feature-image-container {
        min-height: 180px;
    }
}

/* Book Demo Section Responsive Styles */
@media (max-width: 768px) {
    #book-demo {
        padding: 40px 16px !important;
    }

    #book-demo h2 {
        font-size: 36px !important;
        line-height: 1.2;
    }

    #book-demo p {
        font-size: 16px !important;
        margin-bottom: 16px !important;
    }

    #book-demo > div:last-child {
        margin-top: 0px !important;
    }

    #cal-booking-container {
        min-height: 700px !important;
    }
}

@media (max-width: 480px) {
    #book-demo {
        padding: 30px 16px !important;
    }

    #book-demo h2 {
        font-size: 28px !important;
    }

    #book-demo p {
        font-size: 14px !important;
        padding: 0 8px;
        margin-bottom: 12px !important;
    }

    #book-demo > div:last-child {
        margin-top: 0px !important;
    }

    #cal-booking-container {
        min-height: 650px !important;
    }

    /* Mobile Static Brands - Smaller screens - Show only 3 logos */
    .brands-section {
        padding-bottom: 30px !important;
    }

    .brands-container {
        overflow: visible !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        width: 100% !important;
    }

    .brands-track {
        display: flex !important;
        width: 100%;
        animation: none !important;
        justify-content: center;
    }

    .brands-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 30px !important;
        padding: 0 16px !important;
        justify-content: center !important;
        flex-shrink: 0;
        width: 100%;
    }

    /* Hide duplicate on mobile */
    .brands-duplicate {
        display: none !important;
    }

    /* Show only IndiGo, Air India, and Cannon */
    .brand-logo {
        height: 28px !important;
        flex-shrink: 0;
        width: auto !important;
        object-fit: contain;
    }

    /* Hide Accent and TPA logos on mobile */
    .brand-logo:nth-child(4),
    .brand-logo:nth-child(5) {
        display: none !important;
    }
}

