/* ══════════════════════════════════════
   MOBILE RESPONSIVE OVERRIDES - Native App Feel
   For WhatsApp Landing Page
══════════════════════════════════════ */

/* ══════════════════════════════════════
   MOBILE-FIRST STICKY CTA BUTTON
   Hidden on Desktop, Visible on Mobile Only
══════════════════════════════════════ */
\.tl-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.98) 15%, #ffffff 100%);
    padding: 16px 20px 20px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.06);
    display: none; /* Hidden by default on desktop */
}

\.tl-sticky-cta\.tl-sticky-visible {
    transform: translateY(0);
}

\.tl-sticky-cta-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%);
    color: white !important;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
}

\.tl-sticky-cta-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

\.tl-sticky-cta-btn i {
    font-size: 18px;
}

/* ══════════════════════════════════════
   MOBILE RESPONSIVE - TABLET
══════════════════════════════════════ */
@media (max-width: 991px) {
    /* Show sticky CTA on tablet and mobile */
    \.tl-sticky-cta {
        display: block;
    }

    /* Hero Section */
    \.tl-hero {
        height: auto !important;
        min-height: auto !important;
        padding: 50px 0 60px !important;
    }

    \.tl-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 36px;
        padding: 0 20px;
    }

    \.tl-hero-text h1 {
        font-size: 38px;
        line-height: 1.18;
        margin-bottom: 20px;
    }

    \.tl-hero-text p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    \.tl-hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    \.tl-btn-lg {
        width: 100%;
        max-width: 100%;
    }

    \.tl-hero-trust {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 24px;
        padding-top: 24px;
    }

    \.tl-trust-divider {
        display: none;
    }

    \.tl-hero-visual {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    /* Partner Section */
    \.tl-partner-section {
        padding: 50px 0;
    }

    /* Stats Band */
    \.tl-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    \.tl-stat-value {
        font-size: 32px;
    }

    /* Feature Sections */
    \.tl-feature-section {
        padding: 70px 0;
    }

    \.tl-feature-container {
        flex-direction: column !important;
        gap: 36px;
        padding: 0 20px;
    }

    \.tl-feature-reverse {
        flex-direction: column !important;
    }

    \.tl-feature-content h2 {
        font-size: 30px;
    }

    \.tl-feature-highlights {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Capabilities */
    \.tl-capabilities-section {
        padding: 70px 0;
    }

    \.tl-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Use Cases */
    \.tl-use-cases-section {
        padding: 70px 0;
    }

    \.tl-use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* FAQ */
    \.tl-faq-section {
        padding: 70px 0;
    }

    \.tl-faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* CTA Section */
    \.tl-cta-section {
        padding: 60px 20px;
    }

    \.tl-cta-container {
        padding: 60px 32px;
        border-radius: 28px;
    }

    \.tl-cta-content h2 {
        font-size: 32px;
    }

    \.tl-cta-content p {
        font-size: 17px;
    }

    \.tl-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

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

/* ══════════════════════════════════════
   MOBILE RESPONSIVE - PHONE (Native App Feel)
══════════════════════════════════════ */
@media (max-width: 576px) {
    /* Global mobile fixes - NO extra padding */
    \.tl-wrapper {
        padding-top: 0;
    }

    /* Hero Section - Native App Feel */
    \.tl-hero {
        padding: 36px 0 50px !important;
    }

    \.tl-hero-content {
        gap: 28px;
        padding: 0 16px;
    }

    \.tl-hero-badge {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    \.tl-hero-badge i {
        font-size: 12px;
    }

    \.tl-hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
        letter-spacing: -0.02em;
    }

    \.tl-hero-text p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    \.tl-hero-cta {
        gap: 10px;
        margin-bottom: 28px;
    }

    \.tl-btn {
        font-size: 15px;
        padding: 14px 24px;
        border-radius: 14px;
    }

    \.tl-btn-lg {
        padding: 15px 28px;
        font-size: 15px;
    }

    \.tl-hero-trust {
        gap: 12px;
        padding-top: 20px;
    }

    \.tl-trust-item {
        font-size: 12px;
    }

    \.tl-trust-item i {
        font-size: 16px;
    }

    \.tl-hero-image {
        border-radius: 16px;
    }

    /* Partner Section */
    \.tl-partner-section {
        padding: 40px 0;
    }

    \.tl-trusted-heading {
        font-size: 12px;
        margin-bottom: 36px;
    }

    \.tl-trusted-heading::before,
    \.tl-trusted-heading::after {
        width: 40px;
    }

    /* Stats Band */
    \.tl-stats-band {
        padding: 50px 0;
    }

    \.tl-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 16px;
    }

    \.tl-stat-value {
        font-size: 28px;
        margin-bottom: 6px;
    }

    \.tl-stat-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* Section Headers */
    \.tl-section-header {
        margin-bottom: 40px;
        padding: 0 16px;
    }

    \.tl-section-eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    \.tl-section-header h2 {
        font-size: 26px;
        margin-bottom: 14px;
        line-height: 1.25;
    }

    \.tl-section-header p {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Feature Sections */
    \.tl-feature-section {
        padding: 50px 0;
    }

    \.tl-feature-container {
        gap: 28px;
        padding: 0 16px;
    }

    \.tl-feature-badge {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    \.tl-feature-content h2 {
        font-size: 24px;
        margin-bottom: 16px;
        line-height: 1.28;
    }

    \.tl-feature-desc {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    \.tl-feature-highlights {
        gap: 12px;
    }

    \.tl-feature-highlights li {
        font-size: 14px;
    }

    \.tl-feature-highlights li i {
        font-size: 16px;
    }

    \.tl-feature-img {
        border-radius: 14px;
    }

    /* Capabilities Grid - Single Column */
    \.tl-capabilities-section {
        padding: 50px 0;
    }

    \.tl-capabilities-container {
        padding: 0 16px;
    }

    \.tl-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    \.tl-cap-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    \.tl-cap-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    \.tl-cap-card h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    \.tl-cap-list li {
        font-size: 13px;
        margin-bottom: 8px;
    }

    \.tl-cap-badge {
        font-size: 8px;
        padding: 3px 10px;
        top: -10px;
    }

    \.tl-cap-note {
        font-size: 11px;
        margin-top: 12px;
        padding-top: 12px;
    }

    /* Use Cases - Single Column */
    \.tl-use-cases-section {
        padding: 50px 0;
    }

    \.tl-use-cases-container {
        padding: 0 16px;
    }

    \.tl-use-cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    \.tl-use-case-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    \.tl-use-case-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 16px;
    }

    \.tl-use-case-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    \.tl-use-case-card p {
        font-size: 13px;
        line-height: 1.55;
    }

    /* FAQ Section */
    \.tl-faq-section {
        padding: 50px 0;
    }

    \.tl-faq-container {
        padding: 0 16px;
    }

    \.tl-faq-grid {
        gap: 14px;
    }

    \.tl-faq-item {
        border-radius: 14px;
    }

    \.tl-faq-question {
        padding: 18px 16px;
        font-size: 14px;
        gap: 12px;
    }

    \.tl-faq-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    \.tl-faq-answer {
        padding: 0 16px;
    }

    \.tl-faq-item\.tl-faq-open \.tl-faq-answer {
        padding: 0 16px 18px;
    }

    \.tl-faq-answer p {
        font-size: 13px;
        line-height: 1.65;
        padding-top: 12px;
    }

    /* CTA Section */
    \.tl-cta-section {
        padding: 50px 16px 100px;
    }

    \.tl-cta-container {
        padding: 44px 24px;
        border-radius: 24px;
    }

    \.tl-cta-content h2 {
        font-size: 26px;
        margin-bottom: 16px;
        line-height: 1.25;
    }

    \.tl-cta-content p {
        font-size: 15px;
        margin-bottom: 32px;
        line-height: 1.55;
    }

    \.tl-cta-buttons {
        gap: 10px;
        margin-bottom: 28px;
    }

    \.tl-cta-note {
        font-size: 12px;
        padding: 10px 18px;
        border-radius: 100px;
    }

    /* Sticky CTA - Enhanced for Mobile */
    \.tl-sticky-cta {
        padding: 12px 16px 16px;
    }

    \.tl-sticky-cta-btn {
        padding: 15px 20px;
        font-size: 15px;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    }
}

/* ══════════════════════════════════════
   ULTRA SMALL DEVICES (< 380px)
══════════════════════════════════════ */
@media (max-width: 380px) {
    \.tl-hero-text h1 {
        font-size: 24px;
    }

    \.tl-section-header h2 {
        font-size: 22px;
    }

    \.tl-feature-content h2 {
        font-size: 22px;
    }

    \.tl-cta-content h2 {
        font-size: 23px;
    }

    \.tl-stats-container {
        grid-template-columns: 1fr;
    }

    \.tl-stat-value {
        font-size: 32px;
    }
}

/* ══════════════════════════════════════
   TOUCH-FRIENDLY ENHANCEMENTS
══════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    \.tl-btn {
        min-height: 48px;
        padding: 14px 28px;
    }

    \.tl-faq-question {
        min-height: 56px;
    }

    /* Remove hover states on touch devices */
    \.tl-cap-card:hover,
    \.tl-use-case-card:hover,
    \.tl-faq-item:hover,
    \.tl-hero-image:hover,
    \.tl-feature-img:hover {
        transform: none;
        box-shadow: inherit;
    }

    /* Better tap feedback */
    \.tl-btn:active,
    \.tl-faq-question:active {
        opacity: 0.8;
    }
}

/* ══════════════════════════════════════
   SAFE AREA INSETS (iPhone Notch)
══════════════════════════════════════ */
@supports (padding: max(0px)) {
    \.tl-sticky-cta {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }

    \.tl-hero-content,
    \.tl-section-header,
    \.tl-feature-container,
    \.tl-capabilities-container,
    \.tl-use-cases-container,
    \.tl-faq-container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

/* ══════════════════════════════════════
   PREVENT ZOOM ON INPUT FOCUS (iOS)
══════════════════════════════════════ */
@media (max-width: 576px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ══════════════════════════════════════
   SMOOTH SCROLLING
══════════════════════════════════════ */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* ══════════════════════════════════════
   DISABLE ANIMATIONS ON LOW-END DEVICES
══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ══════════════════════════════════════
   HEADER — handled by telecom-landing.css
   (sticky on desktop, fixed on mobile with body padding)
   No overrides needed here.
══════════════════════════════════════ */

