/*
 * Indiagram.in - Premium SMM Panel Theme v3
 * Orange accent, refined spacing, glassmorphism
 */

:root {
    --primary:          #ff6b00;
    --primary-light:    #ff8c42;
    --primary-dark:     #e05a00;
    --primary-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8c42 60%, #ffad70 100%);
    --primary-gradient-r: linear-gradient(135deg, #ffad70 0%, #ff8c42 40%, #ff6b00 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #ff6b00 0%, #fee140 100%);
    --dark-bg:          #0a0b1e;
    --darker-bg:        #060714;
    --card-bg:          rgba(255, 255, 255, 0.03);
    --card-border:      rgba(255, 255, 255, 0.07);
    --card-hover-border:rgba(255, 107,   0, 0.35);
    --text-primary:     #ffffff;
    --text-secondary:   rgba(255, 255, 255, 0.72);
    --text-muted:       rgba(255, 255, 255, 0.42);
    --glow-primary:     0 0 30px rgba(255, 107, 0, 0.18);
    --glow-hover:       0 0 60px rgba(255, 107, 0, 0.28);
    --radius-lg:        22px;
    --radius-md:        14px;
    --radius-sm:        10px;
    --section-gap:      90px;
    --section-gap-sm:   60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--darker-bg); }
::-webkit-scrollbar-thumb { background: var(--primary-gradient); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar-premium {
    background: rgba(6, 7, 20, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
}

.navbar-premium .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-premium .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 8px 18px !important;
    margin: 0 2px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active {
    background: rgba(255, 107, 0, 0.08);
    color: var(--text-primary) !important;
}

/* ===== MEGA MENU ===== */
.dropdown-mega-menu {
    background: rgba(10, 11, 30, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-top: 3px solid transparent !important;
    border-image: var(--primary-gradient) 1 !important;
    border-image-slice: 1 !important;
    border-radius: 0 0 20px 20px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
}

/* ===== HERO SECTION ===== */
.hero-premium {
    position: relative;
    overflow: hidden;
    background: var(--darker-bg);
    padding-bottom: 80px;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 25% 50%, rgba(255,107,0,0.10) 0%, transparent 45%),
        radial-gradient(circle at 75% 75%, rgba(255,140,66,0.07) 0%, transparent 45%);
    animation: heroGlow 9s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-5%, 5%); }
}

/* Hero text */
.hero-premium h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.13;
    position: relative;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-premium h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-premium .subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 36px;
}

/* Hero badge strip */
.hero-premium .badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
    background: rgba(255, 107, 0, 0.10);
    border: 1px solid rgba(255, 107, 0, 0.22);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.hero-premium .badge-custom:hover {
    background: rgba(255, 107, 0, 0.16);
    color: var(--text-primary);
}

/* Hero glass card (right col) */
.hero-card {
    background: rgba(255,255,255,0.04);
    border-radius: 24px;
    padding: 44px 38px;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 64px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

.hero-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

.hero-card ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-card ul li:last-child { border-bottom: none; }

.hero-card ul li i.fa-check-circle { color: #43e97b; font-size: 1rem; flex-shrink: 0; }

/* Instagram icon gradient in hero */
.hero-insta-icon {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-premium {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: var(--primary-gradient);
    background-size: 200% auto;
    color: white;
    padding: 14px 38px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.82rem;
    overflow: hidden;
    text-decoration: none;
}

.btn-premium:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 0, 0.45);
    color: white;
}

.btn-outline-premium {
    display: inline-flex;
    align-items: center;
    padding: 13px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    border: 2px solid rgba(255, 107, 0, 0.50);
    color: var(--primary-light);
    background: rgba(255, 107, 0, 0.06);
    text-decoration: none;
    transition: all 0.35s ease;
}

.btn-outline-premium:hover {
    background: rgba(255, 107, 0, 0.14);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 0, 0.25);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--primary-gradient);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    opacity: 0.82;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Divider between stats */
.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.25);
    align-self: center;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.section-header h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header > p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

.section-line {
    width: 56px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 14px auto 20px;
    border-radius: 2px;
}

/* ===== PRODUCT CARDS ===== */
.product-card-premium {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card-premium::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,107,0,0.07) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card-premium:hover::before { opacity: 1; }
.product-card-premium:hover::after  { opacity: 1; }

.product-card-premium:hover {
    transform: translateY(-7px);
    border-color: var(--card-hover-border);
    box-shadow: var(--glow-hover);
}

.product-card-premium .platform-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 18px currentColor);
}

.product-card-premium .product-name {
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    min-height: 2.7em;
}

.product-card-premium .product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.55;
    min-height: 2.4em;
    flex: 0;
}

.product-card-premium .product-price {
    font-size: 2.3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
    letter-spacing: -1px;
}

.product-card-premium .product-price span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    -webkit-text-fill-color: var(--text-muted);
    letter-spacing: 0;
}

.product-card-premium .features-list {
    flex: 1;
}

/* ===== QUANTITY GRID ===== */
.qty-grid {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.qty-btn {
    padding: 5px 13px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.qty-btn:hover {
    border-color: rgba(255, 107, 0, 0.45);
    background: rgba(255, 107, 0, 0.09);
    color: var(--text-primary);
}

.qty-btn.active {
    border-color: var(--primary);
    background: rgba(255, 107, 0, 0.16);
    color: var(--primary-light);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.12);
}

/* ===== BUY NOW BUTTON ===== */
.btn-buy-now {
    width: 100%;
    background: var(--primary-gradient);
    background-size: 200% auto;
    color: white;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: none;
    transition: all 0.4s ease;
    font-size: 0.88rem;
    letter-spacing: 0.6px;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.btn-buy-now:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(255, 107, 0, 0.38);
}

.btn-buy-now:active { transform: translateY(0); }

.btn-buy-now::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.btn-buy-now:hover::after { opacity: 1; }

/* ===== FEATURES LIST ===== */
.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 0;
    font-size: 0.81rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.features-list li i {
    font-size: 0.72rem;
    flex-shrink: 0;
}

.features-list li i.fa-check  { color: #43e97b; }
.features-list li i.fa-clock  { color: #4facfe; }
.features-list li i.fa-tag    { color: var(--primary-light); }

/* ===== CATEGORY SECTION ===== */
.category-section {
    padding: var(--section-gap) 0;
}

/* ===== FEATURE BOXES (WHY US) ===== */
.feature-box-premium {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.feature-box-premium:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: var(--glow-hover);
}

.feature-box-premium .icon-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(255,107,0,0.14), rgba(255,140,66,0.10));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.8rem;
    color: var(--primary);
    border: 1px solid rgba(255, 107, 0, 0.22);
    transition: all 0.4s ease;
}

.feature-box-premium:hover .icon-circle {
    background: linear-gradient(135deg, rgba(255,107,0,0.22), rgba(255,140,66,0.16));
    box-shadow: 0 0 28px rgba(255, 107, 0, 0.2);
}

.feature-box-premium h4 {
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box-premium p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== CATEGORY GRID ===== */
.cat-grid-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: block;
    height: 100%;
}

.cat-grid-item:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: var(--glow-hover);
}

.cat-grid-item .cat-icon { font-size: 3rem; margin-bottom: 15px; }
.cat-grid-item h5 { color: var(--text-primary); font-weight: 700; font-size: 0.95rem; }
.cat-grid-item p  { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 0; }

/* ===== CHECKOUT MODAL ===== */
.checkout-modal {
    background: linear-gradient(145deg, rgba(15, 16, 40, 0.98), rgba(10, 11, 30, 0.98));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.checkout-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 25px 30px;
}

.checkout-modal .modal-body   { padding: 30px; }
.checkout-modal .modal-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 30px; }

.checkout-modal .product-summary {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.06);
}

.checkout-modal .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    font-family: inherit;
}

.checkout-modal .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.18);
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}

.checkout-modal .form-control::placeholder { color: var(--text-muted); }
.checkout-modal .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* ===== UPI PAYMENT BOX ===== */
.upi-box {
    background: linear-gradient(135deg, rgba(15, 16, 40, 0.95), rgba(20, 10, 50, 0.95));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
}

.upi-box .qr-container {
    background: white;
    padding: 15px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 15px 0;
}

.upi-box .upi-id-display {
    background: rgba(255,255,255,0.05);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* ===== FOOTER ===== */
.footer-premium {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 28px;
}

.footer-premium h5 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.footer-premium ul { list-style: none; padding: 0; }
.footer-premium ul li { padding: 5px 0; }
.footer-premium ul li a {
    color: var(--text-muted);
    font-size: 0.84rem;
    transition: color 0.3s, padding-left 0.2s;
    text-decoration: none;
}
.footer-premium ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 40px;
    padding-top: 22px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7rem;
    box-shadow: 0 4px 26px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    color: white;
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.65);
}

/* ===== TRUST BADGES ===== */
.trust-section {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
}

.trust-item { text-align: center; padding: 16px; }
.trust-item i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.trust-item h6 { font-size: 0.9rem; margin-bottom: 4px; font-weight: 600; }
.trust-item p  { color: var(--text-muted); font-size: 0.78rem; margin-bottom: 0; }

/* ===== CATEGORY HEADER ===== */
.cat-header {
    padding: 110px 0 55px;
    background: var(--darker-bg);
    position: relative;
}

.cat-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(255,107,0,0.07) 0%, transparent 60%);
}

/* ===== SPINNER ===== */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== NOTIFICATION ===== */
.store-notification {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 99999;
    min-width: 320px;
    max-width: 450px;
    background: linear-gradient(145deg, rgba(15,16,40,0.98), rgba(10,11,30,0.98));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    animation: slideInRight 0.4s ease;
    font-size: 0.9rem;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    :root {
        --section-gap: var(--section-gap-sm);
    }
    .hero-premium h1  { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    .hero-premium h1  { font-size: 2rem; }
    .hero-premium .subtitle { font-size: 0.95rem; }
    .section-header h2 { font-size: 1.7rem; }
    .section-header  { margin-bottom: 36px; }
    .stat-number     { font-size: 2.2rem; }
    .product-card-premium .product-price { font-size: 1.9rem; }
    .hero-card       { padding: 28px 22px; }
    .stats-section   { padding: 42px 0; }
    .feature-box-premium { padding: 28px 20px; }
}
