/* =====================================================
   home-premium.css  -  Ultra Premium Homepage Theme
   Same purple + gold identity as login page
   ===================================================== */
:root {
    --p-950: #170a38;
    --p-900: #2a0f63;
    --p-800: #4c1d95;
    --p-700: #6d28d9;
    --p-500: #8b5cf6;
    --p-300: #c4b5fd;
    --gold: #f1c40f;
    --gold-soft: #ffe37a;
    --gold-deep: #c99a06;
    --text: #f3f0ff;
    --dim: #b9aedf;
    --card-bg: rgba(255, 255, 255, .06);
    --card-line: rgba(255, 255, 255, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background:
        radial-gradient(60% 45% at 0% 0%, rgba(192, 38, 211, .35) 0%, transparent 62%),
        radial-gradient(60% 50% at 100% 35%, rgba(99, 102, 241, .38) 0%, transparent 64%),
        radial-gradient(45% 35% at 20% 100%, rgba(241, 196, 15, .08) 0%, transparent 70%),
        linear-gradient(135deg, var(--p-950) 0%, var(--p-900) 45%, #5b21b6 100%);
    background-attachment: fixed;
}
body::before {                                   /* fine grid */
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(85% 80% at 50% 30%, #000 20%, transparent 80%);
    mask-image: radial-gradient(85% 80% at 50% 30%, #000 20%, transparent 80%);
}

/* ---------- Ambient orbs ---------- */
.ambient-glow-1, .ambient-glow-2 {
    position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0;
    animation: floaty 14s ease-in-out infinite alternate;
}
.ambient-glow-1 { width: 380px; height: 380px; top: -80px; right: 8%; background: rgba(139, 92, 246, .30); }
.ambient-glow-2 { width: 320px; height: 320px; bottom: 5%; left: -60px; background: rgba(241, 196, 15, .14); animation-delay: -6s; }
@keyframes floaty { to { transform: translate(30px, 40px) scale(1.12); } }

main, .navbar-custom, footer { position: relative; z-index: 1; }

/* ================= Navbar ================= */
.navbar-custom {
    position: sticky; top: 0; z-index: 50;
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(10, 4, 30, .78) 0%, rgba(10, 4, 30, .5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 8px 26px rgba(10, 4, 30, .3);
}
.navbar-custom .container {
    max-width: 100%;
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}
.navbar-brand-container { display: flex; flex-direction: column; align-items: flex-start; }
.navbar-brand-text {
    display: flex; align-items: center; gap: 10px;
    font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: #fff; text-decoration: none;
}
.navbar-brand-text .brand-bolt.has-logo {          /* DB logo: round, white bg, gold ring */
    width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
    background: #fff; border: 2px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, .18), 0 6px 14px rgba(0, 0, 0, .3);
}
.brand-bolt.has-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }   /* logo bada chahiye to .has-logo ki width/height badha do */
.navbar-brand-text .brand-bolt {
    flex: 0 0 auto;
    width: 46px; height: 46px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: #1b1400;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
    box-shadow: 0 0 0 3px rgba(241, 196, 15, .18), 0 6px 14px rgba(0, 0, 0, .3);
}
.brand-text-block { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.brand-title { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.navbar-brand-text span.hl {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-subtitle-top {
    display: block; margin: 2px 0 0;
    font-size: 11.5px; font-weight: 700; letter-spacing: .3px; color: var(--gold-soft);
}
.nav-buttons { display: flex; align-items: center; gap: 10px; }
.btn-custom-nav {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 12px;
    font-size: 13.5px; font-weight: 700; text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn-link-nav { color: var(--dim); background: transparent; border: 1px solid transparent; }
.btn-link-nav:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: var(--card-line); }
.btn-login-nav { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); }
.btn-login-nav:hover { background: rgba(255, 255, 255, .16); color: #fff; transform: translateY(-2px); }
.btn-register-nav {
    color: #1b1400; border: 0;
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    box-shadow: 0 10px 22px rgba(201, 154, 6, .35), 0 1px 0 rgba(255, 255, 255, .6) inset;
}
.btn-register-nav:hover { color: #1b1400; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(201, 154, 6, .46), 0 1px 0 rgba(255, 255, 255, .6) inset; }

/* ================= Hero ================= */
.hero { padding: clamp(48px, 9vh, 96px) 0 clamp(20px, 4vh, 40px); text-align: center; }
.kicker {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    padding: 7px 14px; border-radius: 999px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
    color: var(--gold); background: rgba(241, 196, 15, .10); border: 1px solid rgba(241, 196, 15, .28);
}
.hero h1 {
    margin: 0 auto 16px; max-width: 18em;
    font-size: clamp(30px, 5.2vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: #fff;
}
.gradient-text {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
    margin: 0 auto; max-width: 38em;
    font-size: clamp(14px, 1.6vw, 17px); line-height: 1.7; color: var(--dim);
}
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.trust-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; color: #fff;
    background: var(--card-bg); border: 1px solid var(--card-line);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.trust-chip i { color: var(--gold); }

/* ================= Tools section ================= */
.services-section { padding: clamp(24px, 5vh, 50px) 0 20px; }
.group-label {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin: 0 0 30px;
    font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim);
}
.group-label::before, .group-label::after { content: ""; flex: 1; max-width: 220px; height: 1px; }
.group-label::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25)); }
.group-label::after  { background: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent); }

.service-card {
    position: relative; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 24px 20px 20px; border-radius: 22px; overflow: hidden;
    background: var(--card-bg); border: 1px solid var(--card-line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(10, 4, 30, .28);
    transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.service-card::before {                          /* gold glow on top edge */
    content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity .3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .10);
    border-color: rgba(241, 196, 15, .5);
    box-shadow: 0 26px 50px rgba(10, 4, 30, .45), 0 0 0 1px rgba(241, 196, 15, .15);
}
.service-card:hover::before { opacity: 1; }

.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.service-icon {
    width: 54px; height: 54px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #1b1400;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
    box-shadow: 0 10px 22px rgba(201, 154, 6, .32);
    transition: transform .3s ease;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-tag {
    padding: 4px 10px; border-radius: 999px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
    color: var(--p-300); background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .35);
}
.service-title { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.service-desc  { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: var(--dim); }

.btn-tool {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 11px 14px; border-radius: 13px;
    font-size: 13.5px; font-weight: 800; text-decoration: none; color: #1b1400;
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    box-shadow: 0 10px 22px rgba(201, 154, 6, .30), 0 1px 0 rgba(255, 255, 255, .6) inset;
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-tool::after {                               /* shine sweep */
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.btn-tool:hover { color: #1b1400; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(201, 154, 6, .45), 0 1px 0 rgba(255, 255, 255, .6) inset; }
.btn-tool:hover::after { left: 130%; }
.btn-tool.is-soon {
    pointer-events: none; color: var(--dim); box-shadow: none;
    background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .25);
}
.btn-tool.is-soon::after { display: none; }

/* ================= About box ================= */
.portal-overview-box {
    position: relative; margin-top: 70px; padding: clamp(26px, 4vw, 48px);
    border-radius: 28px; border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(150deg, rgba(255, 227, 122, .95), rgba(139, 92, 246, .35) 42%, rgba(241, 196, 15, .85)) border-box;
    box-shadow: 0 40px 90px rgba(10, 4, 30, .5), 0 0 0 8px rgba(255, 255, 255, .06);
}
.portal-overview-box h3 { margin: 0 0 16px; font-size: clamp(19px, 2.4vw, 25px); font-weight: 800; color: #1e1b3a; letter-spacing: -.01em; }
.portal-overview-box h3 i { color: var(--p-700); margin-right: 8px; }
.portal-overview-box p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.85; color: #4b4768; }
.portal-overview-box p.mb-0 { margin-bottom: 0; }
.portal-overview-box b { color: var(--p-800); }

/* ================= Info bar ================= */
.info-bar-section { padding: 46px 0 10px; }
.info-box {
    display: flex; align-items: center; gap: 16px; height: 100%;
    padding: 18px; border-radius: 20px;
    background: var(--card-bg); border: 1px solid var(--card-line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: transform .25s ease, border-color .25s ease;
}
.info-box:hover { transform: translateY(-3px); border-color: rgba(241, 196, 15, .5); }
.info-box-icon {
    flex: 0 0 52px; width: 52px; height: 52px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #1b1400;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.info-box h6 { margin: 0 0 3px; font-size: 14.5px; font-weight: 800; color: #fff; }
.info-box p  { margin: 0; font-size: 13px; color: var(--dim); word-break: break-word; }

/* ================= WhatsApp float ================= */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #fff; text-decoration: none;
    background: linear-gradient(135deg, #34d870, #16a34a);
    box-shadow: 0 12px 28px rgba(22, 163, 74, .45);
}
.whatsapp-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid rgba(52, 216, 112, .7); animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ================= Footer ================= */
.site-footer {
    margin-top: 60px; padding: 50px 20px 20px;
    background: rgba(8, 4, 24, .78);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--p-700), var(--gold), var(--p-700)) 1;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--dim);
}
.footer-inner {
    max-width: 1200px; margin: 0 auto; padding-bottom: 30px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { flex: 1; min-width: 280px; }
.footer-brand p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.7; }
.footer-brand b { color: #fff; }
.footer-col h5 { margin: 0 0 15px; font-size: 16px; font-weight: 800; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--dim); text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.footer-col a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 22px; text-align: center; font-size: 13px; color: var(--dim); }
.footer-bottom b { color: var(--gold-soft); }

/* ================= Responsive ================= */
@media (max-width: 767px) {
    .nav-hide-xs { display: none !important; }
    .navbar-brand-text { font-size: 20px; }
    .brand-subtitle-top { font-size: 10.5px; }
    .btn-custom-nav { padding: 8px 12px; font-size: 12.5px; }
    .hero { padding-top: 36px; }
    .portal-overview-box { margin-top: 50px; }
}
@media (max-width: 420px) {
    .btn-login-nav i, .btn-register-nav i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}