/* ===== Base ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ===== Hero gradient background ===== */
.hero-gradient {
    background: linear-gradient(135deg, #FFF7ED 0%, #FDF2F8 40%, #F5F3FF 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

/* ===== Section animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Feature cards ===== */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ===== Pricing card highlight ===== */
.pricing-popular {
    position: relative;
    border: 2px solid #F97316;
    box-shadow: 0 8px 40px rgba(249, 115, 22, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F97316, #EC4899);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 16px;
    border-radius: 9999px;
    white-space: nowrap;
}


/* ===== Phone mockup ===== */
.phone-mockup {
    width: 260px;
    height: 520px;
    background: #1a1a2e;
    border-radius: 40px;
    border: 4px solid #2a2a4a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 80px rgba(249, 115, 22, 0.08);
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    inset: 4px;
    border-radius: 36px;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 16px 12px;
}

/* ===== Dark section ===== */
.dark-section {
    background: #0F172A;
    color: #F8FAFC;
}

/* ===== Trust badge ===== */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: #94a3b8;
}

/* ===== Billing toggle ===== */
.billing-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #CBD5E1;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.3s;
}

.billing-toggle.active {
    background: #F97316;
}

.billing-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.billing-toggle.active::after {
    transform: translateX(20px);
}

/* ===== CTA gradient button ===== */
.btn-gradient {
    background: linear-gradient(135deg, #F97316, #EC4899);
    color: white;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ===== Mobile CTA fade ===== */
#mobile-cta {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#mobile-cta.inline-flex {
    opacity: 1;
}

/* ===== eSIM option buttons ===== */
.esim-opt-btn {
    cursor: pointer;
    user-select: none;
}

.esim-opt-btn:active {
    transform: scale(0.97);
}

/* ===== FAQ accordion ===== */
.faq-chevron {
    transition: transform 0.2s ease;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 30px;
    }

    .phone-mockup::before {
        width: 90px;
        height: 22px;
    }

    .phone-screen {
        border-radius: 26px;
        padding: 28px 12px 10px;
    }
}
