@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Color Variables - Premium Light Mode System */
:root {
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'DM Sans', sans-serif;
    
    --bg-base: #f5f3fc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(127, 0, 255, 0.15);
    
    --text-main: #0a071d;
    --text-sub: #7f00ff;
    --text-muted: #726e91;
    
    --brand-color: #7f00ff;
    --brand-glow: rgba(127, 0, 255, 0.2);
    --accent-color: #5f3dc4;
    --accent-glow: rgba(95, 61, 196, 0.15);
    --pink-accent: #ee2a7b;
    --pink-glow: rgba(238, 42, 123, 0.15);
    
    /* Luxury Gradients */
    --grad-brand: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
    --grad-accent: linear-gradient(135deg, #5f3dc4 0%, #7f00ff 100%);
    --grad-text: linear-gradient(135deg, #ff0055 0%, #ff5e36 50%, #ffa200 100%);
    --grad-pink: linear-gradient(135deg, #ee2a7b 0%, #fd79a8 100%);
    --grad-dark-card: linear-gradient(135deg, rgba(255, 0, 85, 0.04) 0%, rgba(255, 94, 54, 0.01) 100%), #ffffff;
    
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

/* Glassmorphism utility card */
.glass-panel {
    background: var(--grad-dark-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: var(--accent-color);
    box-shadow: 0 25px 60px rgba(127, 0, 255, 0.2);
    transform: translateY(-4px);
}

/* Custom premium buttons */
.btn-million {
    background: var(--grad-brand);
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--brand-glow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-million::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.5s;
}

.btn-million:hover::before {
    left: 100%;
}

.btn-million:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(127, 0, 255, 0.55);
}

.btn-accent {
    background: var(--grad-accent);
    color: #06040d !important;
    border: none;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--accent-glow);
    transition: var(--transition-smooth);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 210, 211, 0.5);
}

/* Sticky modern navigation */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-custom.sticky {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

/* Scrollytelling overrides: Hide navigation items on homepage video section, show on scroll */
body.has-scrolly .navbar-custom:not(.sticky) .navbar-collapse,
body.has-scrolly .navbar-custom:not(.sticky) .navbar-toggler {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
}

body.has-scrolly .navbar-custom .navbar-collapse,
body.has-scrolly .navbar-custom .navbar-toggler {
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.4s ease-out;
}

/* Brand styling */
.brand-logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}



.brand-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px var(--accent-color), 0 0 20px var(--accent-color);
    animation: pulseBrandDot 2.2s infinite alternate;
}

@keyframes pulseBrandDot {
    0% {
        transform: scale(0.85);
        box-shadow: 0 0 8px var(--accent-color), 0 0 15px var(--accent-color);
    }
    100% {
        transform: scale(1.2);
        box-shadow: 0 0 18px var(--accent-color), 0 0 32px var(--accent-color), 0 0 45px var(--accent-color);
    }
}

.nav-link-custom {
    color: var(--text-main) !important;
    font-weight: 500;
    opacity: 0.85;
    transition: var(--transition-smooth);
    padding: 8px 16px;
}

.nav-link-custom:hover {
    color: var(--brand-color) !important;
    opacity: 1;
}

/* Theme Toggle */
.theme-switch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.theme-switch:hover {
    transform: rotate(15deg) scale(1.05);
    background: var(--brand-color);
    color: white;
}

/* Scrollytelling Section Layout */
.scrolly-track {
    position: relative;
    height: 350vh; /* Long scroll boundary */
    background-color: var(--bg-base);
}

.scrolly-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrolly-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none; /* No click obstruction */
}

/* Tint overlay for readability on video */
.scrolly-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 4, 13, 0.5) 0%, rgba(6, 4, 13, 0.85) 100%);
    z-index: 2;
}

.scrolly-container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Text card blocks for scrollytelling */
.scrolly-card {
    position: absolute;
    max-width: 580px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.scrolly-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Animated visual tags */
.accent-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 12px;
    display: inline-block;
}

.scrolly-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff !important;
}

.scrolly-title span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scrolly-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.25rem;
    line-height: 1.5;
}

/* SVG Speed Test Gauge */
.gauge-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.gauge-svg {
    display: block;
}

.gauge-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 12;
}

.gauge-circle-fill {
    fill: none;
    stroke: url(#gaugeGrad2);
    stroke-width: 14;
    stroke-dasharray: 628;
    stroke-dashoffset: 628;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s ease-out;
}

.gauge-label {
    font-size: 11px;
    fill: var(--text-muted);
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    transition: fill 0.3s ease;
}

.gauge-label.active {
    fill: var(--accent-color);
}

.gauge-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 78px;
    background: var(--accent-color);
    border-radius: 2px;
    transform-origin: 50% 100%;
    transform: translate(-50%, -100%) rotate(-120deg);
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
}

/* Center Pivot Hub Cap */
.gauge-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border: 2px solid var(--bg-surface);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--accent-color);
    z-index: 3;
}

.gauge-text {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.gauge-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

/* Custom GST Switch */
.gst-switch-wrap {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
}

/* Card details adjustments for dynamic lists */
.badge-million {
    background: linear-gradient(135deg, var(--accent-color), #01a3a4);
    color: #06040d;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Custom form inputs overrides */
.form-input-million {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    transition: var(--transition-smooth) !important;
}

.form-input-million:focus {
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 15px var(--brand-glow) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Accordion Support FAQ */
.accordion-item-custom {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button-custom {
    background: transparent !important;
    color: var(--text-main) !important;
    font-weight: 600;
    padding: 20px 24px;
    box-shadow: none !important;
    border: none !important;
}

.accordion-button-custom::after {
    filter: invert(1);
}

.accordion-body-custom {
    padding: 0 24px 20px 24px;
    color: var(--text-sub);
}

/* Modal Booking Overlay */
.modal-overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 4, 13, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content-custom {
    max-width: 520px;
    width: 90%;
    animation: scaleUpCustom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUpCustom {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Admin Dashboard Tables */
.table-custom {
    color: var(--text-main) !important;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-custom tr {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
}

.table-custom td, .table-custom th {
    padding: 16px 20px !important;
    border: none !important;
    vertical-align: middle;
}

.table-custom tr td:first-child {
    border-radius: 12px 0 0 12px;
}

.table-custom tr td:last-child {
    border-radius: 0 12px 12px 0;
}

/* Footer Section */
.footer-custom {
    background: #04020a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-custom h3 {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    display: inline-block;
}

.footer-social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    position: relative;
    background-size: 200% 100% !important;
    animation: flowGradient 4s linear infinite;
    transition: var(--transition-smooth);
    text-decoration: none;
}

/* WhatsApp: Green */
.social-whatsapp {
    background: linear-gradient(90deg, #128c7e, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

/* YouTube: Red */
.social-youtube {
    background: linear-gradient(90deg, #990000, #ff0000, #990000);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25);
}

/* X/Twitter: Black/Slate */
.social-twitter {
    background: linear-gradient(90deg, #111111, #444444, #111111);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

/* Facebook: Blue */
.social-facebook {
    background: linear-gradient(90deg, #1877f2, #3b5998, #1877f2);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.25);
}

/* Instagram: Multi-color brand sunset gradient */
.social-instagram {
    background: linear-gradient(90deg, #f9ed32, #ee2a7b, #d8097e, #3b5998, #f9ed32);
    box-shadow: 0 4px 15px rgba(238, 42, 123, 0.25);
}

@keyframes flowGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Pricing Section Flowing Lava Background */
#pricing {
    background: linear-gradient(135deg, #ff0000 0%, #ffbb00 50%, #ff0000 100%) !important;
    background-size: 200% 200% !important;
    animation: pricingLavaFlow 8s ease infinite !important;
    position: relative;
    z-index: 10;
}

@keyframes pricingLavaFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Pricing Section Title & Subtitle Colors Override */
#pricing .gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #e2daff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

#pricing > .container > .row .text-secondary {
    color: rgba(255, 255, 255, 0.75) !important;
}

#pricing .custom-pills {
    background: rgba(255, 255, 255, 0.05) !important;
}

#pricing .custom-pills .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

#pricing .custom-pills .nav-link.active {
    background: var(--brand-color) !important;
    color: #ffffff !important;
}

/* Horizontal Scroll for Pricing Cards with snap support */
.plans-horizontal-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 24px;
    padding-bottom: 30px;
    padding-top: 15px;
    scroll-snap-type: x mandatory;
}

.plans-horizontal-scroll .glass-panel {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%; /* 1 card visible at a time on mobile */
}

@media (min-width: 768px) {
    .plans-horizontal-scroll .glass-panel {
        width: calc(50% - 12px); /* Exactly 2 cards visible at a time on desktop/tablet */
    }
}

/* Custom Navigation Pills */
.custom-pills .nav-link {
    color: var(--text-main) !important;
    background: transparent;
    transition: var(--transition-smooth);
}

.custom-pills .nav-link.active {
    background: var(--brand-color) !important;
    color: #ffffff !important;
}

/* Premium Typography Gradients */
.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-accent-text {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Ambient Radial Mesh Glows behind Sections */
section {
    position: relative;
    overflow: hidden;
}

#pricing::before, #about::before, #faq::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.08) 0%, transparent 70%);
    filter: blur(85px);
    pointer-events: none;
    z-index: 1;
    top: 10%;
    left: -15%;
}

#speed-test::before, #how-it-works::before, #coverage::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, transparent 70%);
    filter: blur(85px);
    pointer-events: none;
    z-index: 1;
    bottom: 5%;
    right: -15%;
}

/* Scrollbar customization for snapped container */
.plans-horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}
.plans-horizontal-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.plans-horizontal-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}
.plans-horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   PLANS.PHP - Modern UI Components
   ============================================================ */

/* Hero Header Section */
.plans-hero-section {
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.04) 0%, rgba(255, 187, 0, 0.03) 50%, transparent 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.plans-hero-bg-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 0, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Controls Bar */
.plans-controls-bar {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

/* Tab Buttons */
.plans-tab-group {
    display: inline-flex;
    gap: 6px;
    background: rgba(127, 0, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 5px;
}

.plans-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
}

.plans-tab-btn.active {
    background: var(--grad-text);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.3);
}

.plans-tab-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(127, 0, 255, 0.06);
}

/* Controls Labels */
.plans-control-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Duration Pills (generated by JS) */
.plans-duration-pills {
    display: inline-flex;
    gap: 6px;
}

/* These are injected by JS, styled globally */
.duration-pill-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
}

.duration-pill-btn.active {
    background: var(--brand-color);
    color: #ffffff;
    border-color: var(--brand-color);
    box-shadow: 0 3px 12px var(--brand-glow);
}

/* Toggle Switch */
.plans-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.plans-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.plans-toggle-knob {
    position: absolute;
    inset: 0;
    background: rgba(127, 0, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    transition: 0.3s;
}

.plans-toggle-knob::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: 0.3s;
}

.plans-toggle-switch input:checked + .plans-toggle-knob {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
}

.plans-toggle-switch input:checked + .plans-toggle-knob::before {
    transform: translateX(22px);
    background: var(--brand-color);
    box-shadow: 0 0 8px var(--brand-glow);
}

/* ============================================================
   Plan Cards
   ============================================================ */
.plans-card {
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.plans-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 0, 0.25);
    box-shadow: 0 24px 60px rgba(255, 0, 0, 0.1), 0 6px 20px rgba(0,0,0,0.06);
}

.plans-card-featured {
    border-color: rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.1);
}

.plans-card-featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-text);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Popular Tag */
.plans-card-popular-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--grad-text);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(255, 0, 85, 0.35);
}

/* Speed Badge */
.plans-card-speed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--grad-text);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.25);
}

.plans-card-speed-badge--ott {
    background: var(--grad-brand);
    box-shadow: 0 4px 15px var(--brand-glow);
}

/* Card Type Label */
.plans-card-type-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* OTT Apps */
.plans-ott-apps {
    font-size: 0.8rem;
    color: var(--accent-color);
    background: rgba(95, 61, 196, 0.06);
    border: 1px solid rgba(95, 61, 196, 0.15);
    border-radius: 10px;
    padding: 8px 12px;
    line-height: 1.5;
}

/* Price */
.plans-card-price {
    gap: 2px;
}

.plans-price-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-color);
}

.plans-price-val {
    font-size: 3rem;
    line-height: 1;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

.plans-price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plans-gst-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Feature List */
.plans-feature-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(127, 0, 255, 0.05);
}

.plans-feature-list li:last-child {
    border-bottom: none;
}

/* Modal Close Button */
.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: var(--grad-text);
    color: white;
    border-color: transparent;
}

/* Form Input Light Mode Override */
.plans-page .form-input-million {
    background: rgba(127, 0, 255, 0.03) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
}

.plans-page .form-input-million:focus {
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 0 3px rgba(127, 0, 255, 0.1) !important;
    background: rgba(127, 0, 255, 0.05) !important;
}

/* ============================================================
   SCROLL TO TOP BUTTON (Lava Gradient Dynamic Fill & Glow Shadow)
   ============================================================ */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.12);
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Clips the background fill shape */
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.scroll-btn-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Animate height in JS */
    background: linear-gradient(135deg, #ff0000 0%, #ff0055 50%, #ffa200 100%);
    z-index: 1;
    transition: height 0.08s linear;
}

.scroll-arrow {
    font-size: 1.05rem;
    color: var(--text-main);
    transition: color 0.25s ease, transform 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrow turns white once background fills up enough */
.scroll-to-top-btn.active-progress .scroll-arrow {
    color: #ffffff;
}

.scroll-to-top-btn:hover .scroll-arrow {
    transform: translateY(-3px);
}






