/* ========================
   1. SETUP & VARIABLES
   ======================== */
:root {
    --bg-dark: #050505;
    --primary: #6d28d9;  /* Deep Violet */
    --secondary: #0ea5e9; /* Sky Blue */
    --accent: #f43f5e;    /* Pink */
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Hind Siliguri', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    margin: 0; padding: 0;
    overflow-x: hidden;
}

/* ========================
   2. AURORA BACKGROUND
   ======================== */
.aurora-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -1; overflow: hidden; background: #000;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6;
    animation: moveBlob 10s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--primary), transparent); }
.blob-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: radial-gradient(circle, var(--secondary), transparent); animation-duration: 15s; }
.blob-3 { top: 40%; left: 40%; width: 30vw; height: 30vw; background: radial-gradient(circle, var(--accent), transparent); animation-duration: 12s; }

.noise-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05; pointer-events: none;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

/* ========================
   3. GLOBAL COMPONENTS
   ======================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.glass-morphism {
    background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #c4b5fd, #67e8f9);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ========================
   4. HERO SECTION
   ======================== */
.hero-section { padding: 150px 0 100px; min-height: 90vh; display: flex; align-items: center; }
.hero-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-text { flex: 1; z-index: 2; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem; margin-bottom: 25px;
}
.dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; }

.hero-text h1 {
    font-family: var(--font-heading); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; font-weight: 700;
}
.hero-desc { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 40px; line-height: 1.6; max-width: 550px; }

/* Buttons */
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 50px; }
.btn-magnetic {
    padding: 16px 40px; border-radius: 50px; font-weight: 600; text-decoration: none;
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden;
}
.primary-btn { background: var(--text-white); color: #000; }
.primary-btn:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
.glass-btn { border: 1px solid rgba(255,255,255,0.2); color: white; background: rgba(255,255,255,0.05); }
.glass-btn:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Trust Metrics */
.trust-metrics { display: flex; gap: 40px; align-items: center; }
.metric-item h3 { font-size: 1.8rem; margin: 0; font-family: var(--font-heading); }
.metric-item p { color: var(--text-gray); margin: 5px 0 0; font-size: 0.9rem; }
.divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* Hero Visual 3D */
.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; }
.floating-3d { width: 100%; max-width: 500px; animation: float 6s ease-in-out infinite; z-index: 2; }
.card-float {
    position: absolute; padding: 12px 20px; font-size: 0.9rem; font-weight: 600;
    display: flex; gap: 10px; align-items: center; z-index: 3;
    animation: float 5s ease-in-out infinite reverse;
}
.card-1 { top: 20%; left: 0; border-left: 3px solid #22c55e; }
.card-1 i { color: #22c55e; }
.card-2 { bottom: 20%; right: 0; border-left: 3px solid var(--secondary); animation-delay: 1s; }
.card-2 i { color: var(--secondary); }

/* ========================
   5. MARQUEE & GRID
   ======================== */
.marquee-section { padding: 30px 0; background: rgba(255,255,255,0.02); overflow: hidden; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.marquee-track { display: flex; gap: 50px; align-items: center; animation: scroll 20s linear infinite; white-space: nowrap; }
.marquee-track span { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: rgba(255,255,255,0.3); }
.marquee-track i { font-size: 0.5rem; color: var(--primary); }

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Bento Grid */
.bento-section { padding: 100px 20px; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-size: 3rem; margin-bottom: 10px; font-family: var(--font-heading); }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card { padding: 30px; transition: 0.3s; position: relative; overflow: hidden; }
.bento-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.3); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.gradient-1 { background: linear-gradient(135deg, #f0abfc, #a855f7); }
.gradient-2 { background: linear-gradient(135deg, #67e8f9, #06b6d4); }
.gradient-3 { background: linear-gradient(135deg, #fda4af, #f43f5e); }
.gradient-4 { background: linear-gradient(135deg, #86efac, #22c55e); }

.bento-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.bento-card p { color: var(--text-gray); line-height: 1.5; }
.flex-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.bento-img { width: 200px; opacity: 0.8; }

/* ========================
   6. CALCULATOR & TIERS
   ======================== */
.calc-container { display: flex; padding: 50px; align-items: center; gap: 50px; }
.calc-left { flex: 1; }
.slider-wrapper { margin-top: 30px; }
.styled-slider { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; -webkit-appearance: none; margin-top: 10px; }
.styled-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 25px; height: 25px; background: var(--text-white); border-radius: 50%; cursor: pointer; box-shadow: 0 0 20px rgba(255,255,255,0.5); }

.result-card { text-align: center; border-left: 1px solid var(--glass-border); padding-left: 50px; }
.result-card h2 { font-size: 3.5rem; margin: 10px 0; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.tier-box { padding: 40px; text-align: center; position: relative; }
.popular { border: 1px solid var(--primary); }
.glow-effect { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top, rgba(109, 40, 217, 0.2), transparent 70%); pointer-events: none; }
.tier-badge { display: inline-block; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; margin-bottom: 20px; }
.silver { background: #334155; color: #cbd5e1; }
.gold { background: #ca8a04; color: #fef08a; }
.diamond { background: #0891b2; color: #a5f3fc; }
.tier-box ul { list-style: none; padding: 0; text-align: left; margin-top: 20px; }
.tier-box li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-gray); }
.tier-box li i { margin-right: 10px; color: var(--text-white); }

/* Live Toast */
.live-toast {
    position: fixed; bottom: 30px; left: 30px; z-index: 1000;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
    border: 1px solid #22c55e; border-radius: 50px;
    padding: 10px 20px; display: flex; align-items: center; gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    display: none; /* Initially hidden, JS will show */
}
.toast-icon { width: 35px; height: 35px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: black; }
.toast-content { display: flex; flex-direction: column; font-size: 0.85rem; }
.toast-name { font-weight: bold; color: white; }
.green-text { color: #22c55e; font-weight: bold; }
@keyframes slideIn { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* CTA */
.cta-area { margin-bottom: 100px; margin-top: 50px; }
.cta-box { text-align: center; padding: 80px 20px; background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); }
.large-btn { padding: 20px 60px; font-size: 1.2rem; margin-top: 30px; }

/* Responsive */
@media (max-width: 768px) {
    .hero-wrapper { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-actions { justify-content: center; }
    .trust-metrics { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: span 1; }
    .flex-row { flex-direction: column; }
    .calc-container { flex-direction: column; padding: 30px; }
    .result-card { border-left: none; border-top: 1px solid var(--glass-border); padding-left: 0; padding-top: 30px; margin-top: 30px; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }