/* Mobile-Specific Styles - Kolly-inspired clean design */

/* Hide mobile-only elements on desktop */
.mobile-only {
    display: none !important;
}

.mobile-only-text {
    display: none !important;
}

/* Desktop-only elements show by default */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    /* Show mobile elements */
    .mobile-only {
        display: flex !important;
    }

    .mobile-only-text {
        display: inline !important;
    }

    p.mobile-only,
    .terms-link.mobile-only {
        display: block !important;
    }

    /* Hide ALL desktop elements */
    .desktop-only,
    .phone-wrapper,
    .phone-mockup-container,
    .pricing-section,
    footer,
    .features-section,
    .qr-section,
    .live-notification,
    .badges-row,
    .background-iframe,
    .orbit-bg,
    .starfield {
        display: none !important;
    }

    /* Abstract B&W gradient background */
    html, body {
        background: #0a0a0a !important;
        overflow-x: hidden;
        min-height: 100vh;
    }

    /* Abstract flowing gradient background */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            radial-gradient(ellipse 80% 50% at 20% 40%, rgba(120, 120, 130, 0.4) 0%, transparent 50%),
            radial-gradient(ellipse 60% 80% at 80% 20%, rgba(80, 80, 90, 0.35) 0%, transparent 45%),
            radial-gradient(ellipse 70% 60% at 70% 80%, rgba(60, 60, 70, 0.3) 0%, transparent 50%),
            radial-gradient(ellipse 50% 40% at 30% 70%, rgba(100, 100, 110, 0.25) 0%, transparent 40%);
        animation: abstractFlow 25s ease-in-out infinite;
        pointer-events: none;
        z-index: 0;
    }

    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            radial-gradient(ellipse 40% 60% at 60% 30%, rgba(150, 150, 160, 0.2) 0%, transparent 50%),
            radial-gradient(ellipse 50% 50% at 25% 60%, rgba(90, 90, 100, 0.15) 0%, transparent 45%);
        animation: abstractFlow2 30s ease-in-out infinite reverse;
        pointer-events: none;
        z-index: 0;
    }

    @keyframes abstractFlow {
        0%, 100% {
            transform: scale(1) translateY(0);
            opacity: 1;
        }
        33% {
            transform: scale(1.05) translateY(-2%);
            opacity: 0.9;
        }
        66% {
            transform: scale(0.98) translateY(1%);
            opacity: 0.95;
        }
    }

    @keyframes abstractFlow2 {
        0%, 100% {
            transform: scale(1.02) translateX(0);
            opacity: 0.8;
        }
        50% {
            transform: scale(0.98) translateX(2%);
            opacity: 0.6;
        }
    }

    /* Navbar - dark minimal */
    .navbar {
        display: flex !important;
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .nav-content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 24px;
        font-weight: 900;
        color: #fff;
        letter-spacing: -0.5px;
    }

    .nav-right {
        display: flex;
    }

    .nav-link,
    .theme-toggle {
        display: none !important;
    }

    .btn-login {
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 100px;
        color: #fff;
    }

    /* Hero Section - Centered like Kolly */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100px 24px 120px;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    /* Main Headline - BIG and BOLD */
    h1 {
        font-size: 52px !important;
        font-weight: 900 !important;
        line-height: 1.0 !important;
        margin: 0 0 24px !important;
        color: #ffffff;
        text-align: center;
        letter-spacing: -2px;
    }

    /* Gradient text - clean white/gray gradient, no shadow */
    .gradient-text {
        background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
        filter: none;
    }

    /* Subtitle */
    .hero-sub {
        font-size: 18px !important;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.5);
        margin: 0 0 48px !important;
        max-width: 320px;
        font-weight: 400;
    }

    /* Hide desktop text, show mobile text */
    .btn-text-desktop,
    .hero-sub .desktop-only {
        display: none !important;
    }

    .btn-text-mobile {
        display: inline !important;
    }

    /* CTA Button - White with soft glow */
    .cta-buttons {
        width: 100%;
        max-width: 280px;
    }

    .btn-super-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding: 18px 36px;
        background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
        color: #0a0a0a;
        text-decoration: none;
        border-radius: 14px;
        font-size: 17px;
        font-weight: 600;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow:
            0 0 30px rgba(255, 255, 255, 0.15),
            0 0 60px rgba(255, 255, 255, 0.08),
            0 4px 20px rgba(0, 0, 0, 0.3);
        animation: softGlow 3s ease-in-out infinite;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    @keyframes softGlow {
        0%, 100% {
            box-shadow:
                0 0 30px rgba(255, 255, 255, 0.15),
                0 0 60px rgba(255, 255, 255, 0.08),
                0 4px 20px rgba(0, 0, 0, 0.3);
        }
        50% {
            box-shadow:
                0 0 40px rgba(255, 255, 255, 0.25),
                0 0 80px rgba(255, 255, 255, 0.12),
                0 4px 20px rgba(0, 0, 0, 0.3);
        }
    }

    .btn-super-cta:active {
        transform: scale(0.98);
    }

    /* iMessage icon in button */
    .imessage-icon {
        width: 24px !important;
        height: 24px !important;
        display: inline-block !important;
        flex-shrink: 0;
    }

    .btn-super-cta svg:not(.imessage-icon) {
        display: none;
    }

    /* Terms text */
    .terms-link {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.4);
        text-align: center;
        margin-top: 20px;
    }

    .terms-link a {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
    }

    /* Social Proof - Kolly style */
    .social-proof {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 40px;
    }

    .star-rating {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .star-rating .stars {
        color: #f59e0b;
        font-size: 16px;
        letter-spacing: 1px;
    }

    .star-rating .rating-number {
        color: #fff;
        font-weight: 700;
        font-size: 15px;
        margin-left: 2px;
    }

    .proof-text {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
    }

    .proof-text strong {
        color: #fff;
        font-weight: 600;
    }

    /* Mobile Footer */
    .mobile-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        display: flex !important;
        justify-content: center;
        gap: 32px;
        background: linear-gradient(0deg, rgba(10, 10, 10, 1) 50%, transparent 100%);
    }

    .mobile-footer a {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.4);
        text-decoration: none;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .phone-wrapper {
        transform: scale(0.8);
    }

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

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }
}
