:root {
    --bg: #0a0a0a;
    --bg2: #141414;
    --accent: #3d91ff;
    --accent-glow: rgba(61, 145, 255, 0.3);
    --text: #ffffff;
    --muted: #888888;
    --border: #262626;
    --green: #00c853;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ── NAV ────────────────────────────────────────── */
nav { padding: 20px 0; border-bottom: 1px solid var(--border); background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.logo span { color: var(--accent); }
#user-stats { display: flex; align-items: center; gap: 15px; }
.credit-badge { background: rgba(61, 145, 255, 0.1); border: 1px solid var(--accent); color: var(--accent); padding: 5px 12px; border-radius: 20px; font-weight: 600; font-size: 13px; }

/* ── HERO ────────────────────────────────────────── */
.hero { padding: 40px 0 60px; text-align: center; }
.brand-identity { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 30px; }
.hero-icon { height: 70px; filter: drop-shadow(0 0 15px var(--accent-glow)); }
.brand-name { font-size: 32px; font-weight: 800; letter-spacing: -1px; }
.brand-name span { color: var(--accent); }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -2px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto 40px; }
.gradient-text { background: linear-gradient(90deg, #3d91ff, #913dff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge { background: var(--bg2); border: 1px solid var(--border); padding: 6px 16px; border-radius: 30px; font-size: 13px; color: var(--muted); display: inline-block; margin-bottom: 20px; }

.login-box { display: flex; gap: 10px; max-width: 450px; margin: 0 auto; background: var(--bg2); padding: 8px; border-radius: 16px; border: 1px solid var(--border); }
.login-box input { flex: 1; background: transparent; border: none; color: #fff; padding: 0 15px; font-size: 15px; }
.login-box input:focus { outline: none; }

/* ── APP SECTION ─────────────────────────────────── */
.app-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; margin-top: 40px; }
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: 24px; padding: 30px; }

h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 20px; }

/* Upload Zone */
.drop-zone { 
    border: 2px dashed var(--accent); 
    border-radius: 16px; 
    padding: 40px; 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.3s ease;
    background: rgba(0, 114, 245, 0.05);
    position: relative;
    overflow: hidden;
}
.drop-zone:hover { 
    background: rgba(0, 114, 245, 0.1); 
    border-color: var(--accent-glow);
    transform: scale(1.02);
}
.drop-zone .upload-content { color: var(--muted); }
.drop-zone img#preview-img { 
    max-width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Motion Grid */
.motion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.motion-option input { display: none; }
.motion-box { background: var(--bg); border: 1px solid var(--border); padding: 15px; border-radius: 12px; text-align: center; cursor: pointer; transition: 0.3s; display: flex; flex-direction: column; gap: 5px; }
.motion-option input:checked + .motion-box { border-color: var(--accent); background: rgba(61, 145, 255, 0.1); color: var(--accent); }
.m-icon { font-size: 24px; }

/* Buttons */
.btn-buy, .btn-generate { 
    background: var(--accent); 
    color: white; 
    border: none; 
    padding: 14px 28px; 
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 16px; 
    cursor: pointer; 
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-buy:hover, .btn-generate:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px var(--accent-glow);
    filter: brightness(1.1);
}
.btn-refresh { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); }
.hidden { display: none !important; }

/* Gallery */
.gallery-side { border-left: 1px solid var(--border); padding-left: 40px; }
.side-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.video-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.empty-state { color: var(--muted); text-align: center; padding: 60px 0; font-size: 14px; }

.video-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; position: relative; }
.v-thumb { width: 100%; aspect-ratio: 1; background: #000; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.v-info { padding: 12px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; }

/* ── PRICING ─────────────────────────────────────── */
.pricing { padding: 100px 0; background: #070707; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 800px; margin: 40px auto 0; }
.price-card { background: var(--bg2); border: 1px solid var(--border); padding: 40px; border-radius: 24px; text-align: center; position: relative; }
.price-card.featured { border-color: var(--accent); scale: 1.05; background: #1a1a1a; }
.p-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); font-size: 10px; font-weight: 800; padding: 4px 12px; border-radius: 20px; }
.p-header { color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.p-amount { font-size: 48px; font-weight: 800; margin-bottom: 25px; }
.p-features { list-style: none; margin-bottom: 30px; text-align: left; }
.p-features li { margin-bottom: 10px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.p-features li::before { content: '✓'; color: var(--green); font-weight: bold; }

/* Currency Toggle */
.currency-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    font-weight: 600;
}
#label-inr.active, #label-usd.active { color: var(--accent); }

.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #2a2a2a; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--accent); }
input:checked + .slider:before { transform: translateX(24px); }

/* Guarantee Box */
.guarantee-box {
    margin-top: 60px;
    background: rgba(0, 200, 83, 0.05);
    border: 1px solid rgba(0, 200, 83, 0.2);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.g-icon { font-size: 40px; }
.g-content h3 { color: var(--green); margin-bottom: 5px; }
.g-content p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Admin Badge */
.admin-badge {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #888;
    margin-left: 10px;
}
.admin-badge.low { color: #ff4444; border-color: #ff4444; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .app-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; }
}
