/* =========================================================================
   MySmartCampus – public website (home page, about, contact)
   Uses the tokens from app.css
   ========================================================================= */
/* Page background: soft blue tint + education-themed vector pattern
   (graduation cap, open book, pencil, bulb, atom, dots) + colour glows. */
body.public {
    background-color: #eaf0fa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%231d4ed8' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 44l26-12 26 12-26 12z'/%3E%3Cpath d='M30 49v11c0 4 7 8 16 8s16-4 16-8V49'/%3E%3Cpath d='M72 44v14'/%3E%3Cpath d='M150 30c-8-5-18-5-26 0v30c8-5 18-5 26 0 8-5 18-5 26 0V30c-8-5-18-5-26 0z'/%3E%3Cpath d='M150 30v30'/%3E%3Cpath d='M214 120l26-26 8 8-26 26-11 3z'/%3E%3Cpath d='M235 99l8 8'/%3E%3Cpath d='M60 150a16 16 0 1 1 22 15v7H66v-7a16 16 0 0 1-6-15z'/%3E%3Cpath d='M68 178h12'/%3E%3Cellipse cx='170' cy='200' rx='24' ry='9'/%3E%3Cellipse cx='170' cy='200' rx='24' ry='9' transform='rotate(60 170 200)'/%3E%3Cellipse cx='170' cy='200' rx='24' ry='9' transform='rotate(120 170 200)'/%3E%3Cpath d='M110 100h18M119 91v18'/%3E%3Cpath d='M22 222l8 8M30 222l-8 8'/%3E%3C/g%3E%3Cg fill='%23f97316' fill-opacity='.14'%3E%3Ccircle cx='120' cy='238' r='3'/%3E%3Ccircle cx='238' cy='40' r='3'/%3E%3Ccircle cx='100' cy='20' r='2'/%3E%3C/g%3E%3Ccircle cx='170' cy='200' r='3' fill='%231d4ed8' fill-opacity='.14'/%3E%3C/svg%3E"),
        radial-gradient(900px 600px at 100% 0%, rgba(249, 115, 22, .08), transparent 60%),
        radial-gradient(900px 700px at 0% 100%, rgba(37, 99, 235, .10), transparent 60%);
    background-attachment: fixed;
}

/* ---------- Navbar ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--up-border);
    transition: box-shadow .3s ease;
}
.site-nav.scrolled { box-shadow: 0 8px 24px -18px rgba(15, 42, 107, .35); }
.site-nav .navbar { padding: .8rem 0; transition: padding .3s ease; }
.site-nav .navbar-brand img { height: 66px; transition: height .3s ease; }
.site-nav .institute-brand .inst-logo, .site-nav .institute-brand .inst-initials { transition: width .3s ease, height .3s ease; }
/* Shrink on scroll: header stays visible, gets thinner, logo smaller */

/* Floating Call / WhatsApp buttons (right middle) */
.float-contact { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1040; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.float-contact .fc-btn { pointer-events: auto; flex: 0 0 auto; }
.fc-btn { display: flex; align-items: center; height: 50px; width: 50px; overflow: hidden; white-space: nowrap; color: #fff; border-radius: 14px 0 0 14px; box-shadow: 0 6px 18px -6px rgba(15, 42, 107, .45); text-decoration: none; transition: width .3s ease, filter .2s ease; }
.fc-btn i { flex: 0 0 50px; text-align: center; font-size: 1.35rem; }
.fc-btn .fc-label { font-weight: 600; font-size: .88rem; padding-right: 16px; }
.fc-btn:hover, .fc-btn:focus-visible { width: 160px; color: #fff; filter: brightness(1.05); }
.fc-whatsapp { background: #25d366; }
.fc-call { background: var(--up-blue, #2563eb); }
.fc-whatsapp i { animation: fc-pulse 2.4s ease-in-out infinite; }
@keyframes fc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@media (max-width: 575.98px) {
    .fc-btn { height: 44px; width: 44px; }
    .fc-btn i { flex-basis: 44px; font-size: 1.2rem; }
    .fc-btn:hover { width: 44px; }
}
/* Scroll-to-top button (bottom right) */
.footer-sep { opacity: .4; margin: 0 .4rem; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; background: var(--up-orange, #f97316); color: #fff; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(15, 42, 107, .6); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .2s; cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover, .to-top:focus-visible { background: var(--up-blue, #2563eb); }
@media (max-width: 575.98px) { .to-top { right: 12px; bottom: 12px; width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
@media (prefers-reduced-motion: reduce) { .fc-whatsapp i { animation: none; } .fc-btn { transition: none; } }
.site-nav.scrolled .navbar { padding: .35rem 0; }
.site-nav.scrolled .navbar-brand img { height: 50px; }
.site-nav.scrolled .institute-brand .inst-logo, .site-nav.scrolled .institute-brand .inst-initials { width: 38px; height: 38px; }
.site-nav .nav-link { font-weight: 600; color: var(--up-text-2); font-size: .9rem; padding: .5rem .95rem !important; border-radius: 9px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--up-blue); background: var(--up-blue-soft); }
.notice-strip { background: var(--up-navy); color: #c7d2fe; font-size: .8rem; padding: .45rem 0; overflow: hidden; }
.notice-strip .label { background: var(--up-orange); color: #fff; font-weight: 700; padding: .15rem .6rem; border-radius: 6px; font-size: .72rem; margin-right: .75rem; white-space: nowrap; }
.notice-strip .ticker { overflow: hidden; white-space: nowrap; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.notice-strip .ticker-inner { display: inline-block; padding-left: 100%; animation: ticker 40s linear infinite; }
.notice-strip .ticker-inner span { margin-right: 3rem; }
.notice-strip .ticker-inner span i { color: var(--up-orange-2); margin-right: .4rem; }
.notice-strip:hover .ticker-inner { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 5rem 0 6rem;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(249, 115, 22, .12), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(37, 99, 235, .12), transparent 60%),
        linear-gradient(180deg, rgba(246, 249, 255, .55) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(15, 42, 107, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000, transparent 85%);
    pointer-events: none;
}
.hero .container { position: relative; }
.hero-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; border: 1px solid var(--up-border);
    padding: .35rem .9rem .35rem .4rem; border-radius: 99px;
    font-size: .8rem; font-weight: 600; color: var(--up-text-2);
    box-shadow: var(--up-shadow-sm);
}
.hero-pill .new { background: var(--up-gradient-accent); color: #fff; border-radius: 99px; padding: .15rem .6rem; font-size: .7rem; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; margin: 1.3rem 0 1.1rem; color: var(--up-navy); }
.hero h1 .grad { background: linear-gradient(135deg, #1d4ed8, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .accent { background: var(--up-gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--up-muted); font-size: 1.12rem; max-width: 560px; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 2.2rem; }
.hero-trust { display: flex; gap: 1.6rem; flex-wrap: wrap; color: var(--up-text-2); font-size: .85rem; font-weight: 600; }
.hero-trust i { color: var(--up-success); margin-right: .3rem; }

.hero-visual { position: relative; padding: 2rem 1rem 2.5rem; }
.hero-glow {
    position: absolute; inset: 0 -4% 0 6%; border-radius: 40px;
    background: radial-gradient(60% 60% at 70% 30%, rgba(59, 130, 246, .28), transparent 70%),
                radial-gradient(50% 50% at 25% 85%, rgba(249, 115, 22, .22), transparent 70%);
    filter: blur(10px);
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* Product mockup */
.mock {
    position: relative; background: #fff; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--up-border-2);
    box-shadow: 0 40px 80px -30px rgba(15, 42, 107, .45), 0 10px 25px -15px rgba(15, 42, 107, .25);
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
    transition: transform .6s ease;
}
.hero-visual:hover .mock { transform: perspective(1600px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: .35rem; padding: .6rem .9rem; background: #f4f6fb; border-bottom: 1px solid var(--up-border-2); }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #fca5a5; }
.mock-bar .dot:nth-child(2) { background: #fcd34d; }
.mock-bar .dot:nth-child(3) { background: #86efac; }
.mock-url { margin-left: .8rem; flex: 1; background: #fff; border: 1px solid var(--up-border-2); border-radius: 7px; font-size: .68rem; color: var(--up-muted); padding: .2rem .6rem; }
.mock-url i { color: var(--up-success); font-size: .6rem; }
.mock-body { display: flex; min-height: 320px; }
.mock-side { width: 54px; background: var(--up-navy); display: flex; flex-direction: column; align-items: center; gap: 1.05rem; padding: .8rem 0; }
.mock-side img { width: 32px; height: 32px; object-fit: contain; background: #fff; border-radius: 9px; padding: 3px; margin-bottom: .2rem; }
.mock-side i { color: #94a3d8; font-size: .95rem; width: 34px; text-align: center; padding: .35rem 0; border-radius: 9px; }
.mock-side i.on { background: rgba(255, 255, 255, .14); color: #fff; }
.mock-main { flex: 1; padding: 1rem 1.1rem; background: #f8faff; min-width: 0; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; gap: .5rem; }
.mock-head .t { font-weight: 800; color: var(--up-navy); font-size: .92rem; }
.mock-head .s { color: var(--up-muted); font-size: .7rem; }
.mock-btn { background: var(--up-gradient-accent); color: #fff; font-size: .68rem; font-weight: 700; padding: .35rem .65rem; border-radius: 8px; white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .7rem; }
.mock-kpis .k { background: #fff; border: 1px solid var(--up-border-2); border-radius: 12px; padding: .6rem .7rem; display: flex; flex-direction: column; }
.mock-kpis .k i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; margin-bottom: .35rem; }
.mock-kpis .k b { font-size: 1.05rem; color: var(--up-navy); line-height: 1.1; }
.mock-kpis .k span { font-size: .64rem; color: var(--up-muted); }
.mock-kpis .blue i { background: #dbeafe; color: #1d4ed8; }
.mock-kpis .green i { background: #dcfce7; color: #16a34a; }
.mock-kpis .orange i { background: #ffedd5; color: #ea580c; }
.mock-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: .6rem; }
.mock-card { background: #fff; border: 1px solid var(--up-border-2); border-radius: 12px; padding: .7rem .75rem; }
.mock-card .h { font-size: .72rem; font-weight: 700; color: var(--up-text); margin-bottom: .55rem; display: flex; justify-content: space-between; }
.mock-card .h em { font-style: normal; color: var(--up-success); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #93c5fd, #3b82f6); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.bars span.hi { background: var(--up-gradient-accent); }
.bars span:nth-child(2) { animation-delay: .08s; } .bars span:nth-child(3) { animation-delay: .16s; }
.bars span:nth-child(4) { animation-delay: .24s; } .bars span:nth-child(5) { animation-delay: .32s; }
.bars span:nth-child(6) { animation-delay: .4s; }  .bars span:nth-child(7) { animation-delay: .48s; }
@keyframes grow { from { transform: scaleY(0); } }
.row-i { display: flex; align-items: center; gap: .45rem; font-size: .7rem; color: var(--up-text-2); padding: .28rem 0; }
.row-i + .row-i { border-top: 1px dashed var(--up-border-2); }
.row-i .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .55rem; font-weight: 700; color: #fff; }
.row-i .a1 { background: #3b82f6; } .row-i .a2 { background: #f97316; } .row-i .a3 { background: #8b5cf6; }
.row-i i { margin-left: auto; }
.row-i .ok { color: var(--up-success); } .row-i .no { color: #ef4444; }
@media (prefers-reduced-motion: reduce) { .bars span, .float-card { animation: none; } .mock { transform: none; } }
@media (max-width: 575.98px) { .mock-side { display: none; } .mock-btn { display: none; } .mock { transform: none; } }
.float-card {
    position: absolute; background: #fff; border-radius: 14px; padding: .75rem .95rem;
    box-shadow: var(--up-shadow-lg); display: flex; align-items: center; gap: .7rem;
    font-size: .8rem; border: 1px solid var(--up-border-2);
    animation: float 7s ease-in-out infinite;
}
.float-card .icon-tile { width: 38px; height: 38px; font-size: 1rem; }
.float-card .v { font-weight: 800; font-size: 1rem; color: var(--up-text); line-height: 1.1; }
.float-card .l { color: var(--up-muted); font-size: .72rem; }
.float-card.c1 { top: -2%; right: -2%; animation-delay: -1s; }
.float-card.c2 { bottom: 0; left: -4%; animation-delay: -3s; }
@media (max-width: 575.98px) { .float-card.c1 { right: 0; } .float-card.c2 { left: 0; } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section.alt { background: rgba(255, 255, 255, .55); border-top: 1px solid rgba(15, 42, 107, .05); border-bottom: 1px solid rgba(15, 42, 107, .05); }
/* ---------- How it works (bilingual) ---------- */
.how-section .l-hi { display: none; }
.how-section.lang-hi .l-en { display: none; }
.how-section.lang-hi .l-hi { display: inline; }
.how-section [lang="hi"] { font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", var(--up-font); }
.how-lang { display: inline-flex; background: #fff; border: 1px solid var(--up-border); border-radius: 999px; padding: 3px; box-shadow: var(--up-shadow-sm); }
.how-lang button { border: 0; background: transparent; color: var(--up-text-2); font-weight: 700; font-size: .85rem; padding: .35rem 1rem; border-radius: 999px; }
.how-lang button.active { background: var(--up-gradient-brand); color: #fff; }
.how-roles-title { text-align: center; font-weight: 800; color: var(--up-navy); font-size: 1.15rem; margin: 3rem 0 1.3rem; }
.how-section .c-blue { --c: var(--up-blue); --cs: var(--up-blue-soft); }
.how-section .c-teal { --c: var(--up-info); --cs: var(--up-info-soft); }
.how-section .c-purple { --c: var(--up-purple); --cs: var(--up-purple-soft); }
.how-section .c-green { --c: var(--up-success); --cs: var(--up-success-soft); }
.how-role { background: #fff; border: 1px solid var(--up-border); border-top: 3px solid var(--c); border-radius: var(--up-radius); padding: 1.3rem; height: 100%; box-shadow: var(--up-shadow-sm); transition: transform .25s, box-shadow .25s; }
.how-role:hover { transform: translateY(-4px); box-shadow: var(--up-shadow); }
.how-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: var(--cs); color: var(--c); margin-bottom: .8rem; }
.how-role h6 { font-weight: 800; color: var(--up-text); margin-bottom: .6rem; }
.how-role ul { list-style: none; padding: 0; margin: 0; }
.how-role li { position: relative; padding-left: 1.4rem; font-size: .88rem; color: var(--up-text-2); margin-bottom: .4rem; }
.how-role li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--c); }
.how-cta { margin-top: 2.2rem; background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius-lg); padding: 1.3rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; box-shadow: var(--up-shadow-sm); }

/* ---------- Find your institute (brand band) ---------- */
.find-section {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(700px 400px at 90% 10%, rgba(249, 115, 22, .22), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(59, 130, 246, .35), transparent 60%),
        linear-gradient(135deg, #0b1f55 0%, #12307f 55%, #1d4ed8 100%);
}
.find-section::before {   /* dot grid texture */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.5px);
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.find-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.find-blob.b1 { width: 260px; height: 260px; right: -80px; bottom: -110px; background: rgba(249, 115, 22, .18); }
.find-blob.b2 { width: 160px; height: 160px; left: 38%; top: -70px; background: rgba(255, 255, 255, .06); }
.find-ring { position: absolute; width: 340px; height: 340px; left: -140px; top: -140px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .04); pointer-events: none; }
.find-section .section-eyebrow { color: var(--up-orange-2, #fb923c); }
.find-section h2 { color: #fff; }
.find-section .find-lead { color: #c7d2fe; }
.find-section .find-list-title { color: #c7d2fe; letter-spacing: .08em; }
.find-section .find-box { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); }
.find-section .institute-chip { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.find-section .institute-chip:hover { transform: translateY(-3px); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--up-orange); font-weight: 700; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .12em; margin-bottom: .7rem;
}
.section-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--up-navy); }
.section-head p { color: var(--up-muted); font-size: 1.02rem; margin: .7rem 0 0; }

/* Stats band */
.stats-band {
    margin-top: -3.2rem; position: relative; z-index: 2;
    background: #fff; border-radius: var(--up-radius-lg); box-shadow: var(--up-shadow-lg);
    border: 1px solid var(--up-border-2);
    padding: 1.6rem 1rem;
}
.stat-item { text-align: center; padding: .5rem; }
.stat-item + .stat-item { border-left: 1px solid var(--up-border-2); }
.stat-item .v { font-size: 2rem; font-weight: 800; color: var(--up-navy); letter-spacing: -.03em; }
.stat-item .v span { color: var(--up-orange); }
.stat-item .l { color: var(--up-muted); font-size: .85rem; font-weight: 500; }

/* Feature cards */
.feature-card {
    background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius-lg);
    padding: 1.8rem; height: 100%; position: relative; overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--up-shadow); border-color: transparent; }
.feature-card .f-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 1.2rem;
    background: var(--kpi-gradient, var(--up-gradient-brand));
    box-shadow: 0 12px 24px -10px var(--kpi-shadow, rgba(29, 78, 216, .6));
}
.feature-card h5 { font-weight: 700; font-size: 1.08rem; margin-bottom: .5rem; }
.feature-card p { color: var(--up-muted); font-size: .9rem; margin: 0; }

/* Demo exam cards */
.exam-card {
    background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius-lg);
    padding: 1.4rem; height: 100%; display: flex; flex-direction: column;
    transition: all .25s;
}
.exam-card:hover { border-color: #bcd0fb; box-shadow: var(--up-shadow); transform: translateY(-4px); }
.exam-card .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.exam-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .9rem; }
.exam-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--up-muted); font-size: .8rem; margin-bottom: 1.2rem; }
.exam-meta i { color: var(--up-blue); margin-right: .25rem; }
.exam-card .btn { margin-top: auto; }

/* Series / pricing cards */
.series-card {
    position: relative; background: #fff; border: 1px solid var(--up-border);
    border-radius: var(--up-radius-lg); overflow: hidden; height: 100%;
    display: flex; flex-direction: column; transition: all .25s;
}
.series-card:hover { box-shadow: var(--up-shadow-lg); transform: translateY(-6px); border-color: transparent; }
.series-card .cover {
    position: relative; padding: 1.5rem 1.5rem 1.3rem; color: #fff;
    background: var(--up-gradient-brand); overflow: hidden;
}
.series-card .cover::after {
    content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, .55), transparent 70%);
}
.series-card.free .cover { background: linear-gradient(135deg, #047857, #10b981); }
.series-card .cover h5 { color: #fff; font-weight: 700; font-size: 1.15rem; margin: .6rem 0 0; position: relative; z-index: 1; }
.series-card .cover .ribbon { position: relative; z-index: 1; display: inline-block; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: .2rem .7rem; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.series-card .off-badge { position: absolute; top: 1rem; right: 1rem; z-index: 2; background: var(--up-gradient-accent); color: #fff; font-weight: 800; font-size: .75rem; padding: .3rem .65rem; border-radius: 8px; box-shadow: 0 6px 14px -6px rgba(249, 115, 22, .7); }
.series-card .body { padding: 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.series-card .desc { color: var(--up-muted); font-size: .87rem; margin-bottom: 1.1rem; }
.series-points { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; font-size: .85rem; color: var(--up-text-2); }
.series-points i { color: var(--up-success); margin-right: .45rem; }
.price-row { display: flex; align-items: baseline; gap: .55rem; margin-top: auto; margin-bottom: 1rem; }
.price-row .price { font-size: 1.8rem; font-weight: 800; color: var(--up-navy); letter-spacing: -.03em; }
.price-row .mrp { color: #94a3b8; text-decoration: line-through; font-size: .95rem; }
.price-row .free-text { font-size: 1.6rem; font-weight: 800; color: var(--up-success); }

/* How it works */
.step-card { text-align: center; padding: 1rem 1.5rem; position: relative; }
.step-num {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.1rem;
    display: grid; place-items: center; font-weight: 800; font-size: 1.35rem;
    background: #fff; color: var(--up-blue); border: 2px dashed #bcd0fb;
    position: relative; z-index: 1;
}
.step-card:hover .step-num { background: var(--up-gradient-brand); color: #fff; border-color: transparent; }
.steps-line { position: relative; }
.steps-line::before { content: ""; position: absolute; top: 48px; left: 16%; right: 16%; border-top: 2px dashed #dbe5fb; }
.step-card h6 { font-weight: 700; font-size: 1rem; }
.step-card p { color: var(--up-muted); font-size: .88rem; }

/* Notice board */
.notice-item { display: flex; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--up-border-2); }
.notice-item:last-child { border-bottom: 0; }
.notice-date { min-width: 58px; text-align: center; background: var(--up-blue-soft); border-radius: 12px; padding: .45rem .3rem; color: var(--up-blue); line-height: 1.1; }
.notice-date .d { font-size: 1.2rem; font-weight: 800; }
.notice-date .m { font-size: .7rem; font-weight: 700; text-transform: uppercase; }

/* CTA */
.cta-box {
    position: relative; overflow: hidden;
    border-radius: 28px; padding: 3.5rem;
    background: var(--up-gradient-dark); color: #fff;
}
.cta-box::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .55), transparent 65%); }
.cta-box::after { content: ""; position: absolute; left: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .5), transparent 65%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-box p { color: #b9c6ef; font-size: 1.02rem; }

/* Contact */
.contact-card { background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius-lg); padding: 2rem; box-shadow: var(--up-shadow-sm); }
.contact-info-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--up-border-2); }
.contact-info-item:last-child { border-bottom: 0; }

/* Footer */
.site-footer { background: var(--up-navy); color: #a9b8e6; padding: 4rem 0 1.5rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(249, 115, 22, .15), transparent 40%); }
.site-footer .container { position: relative; }
.footer-logo { background: #fff; border-radius: 14px; padding: .55rem .9rem; display: inline-block; }
.footer-logo img { height: 58px; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.site-footer a { color: #a9b8e6; font-size: .88rem; }
.site-footer a:hover { color: var(--up-orange-2); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; margin-right: .4rem; }
.footer-social a:hover { background: var(--up-orange); color: #fff; }
/* Footer CTA band */
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding: 1.4rem 1.6rem; margin-bottom: 3rem; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .1); }
.footer-cta .t { color: #fff; font-weight: 800; font-size: 1.15rem; }
.footer-cta .s { color: #a9b8e6; font-size: .88rem; }
.footer-cta-ic { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: var(--up-gradient-accent); box-shadow: 0 10px 22px -10px rgba(249, 115, 22, .7); }
.site-footer .footer-cta .btn { color: #fff; font-size: .9rem; }
.btn-wa { background: #25d366; border-color: #25d366; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.site-footer h6 { position: relative; padding-bottom: .6rem; }
.site-footer h6::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--up-orange); }
.site-footer ul a { transition: color .2s, padding-left .2s; }
.site-footer ul a:hover { padding-left: 4px; }
/* Trust badges row */
.footer-trust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.2rem; margin-top: 2.5rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.footer-trust div { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: #c7d2fe; }
.footer-trust i { color: var(--up-orange-2); font-size: 1rem; }
@media (max-width: 575.98px) { .footer-trust { justify-content: flex-start; } .footer-trust div { width: 100%; } }

/* ---------- Legal / trust pages ---------- */
.legal-hero { padding: 4rem 0 3.2rem; text-align: center; color: #fff; position: relative; overflow: hidden; background: radial-gradient(600px 300px at 90% 0%, rgba(249, 115, 22, .25), transparent 60%), linear-gradient(135deg, #0b1f55 0%, #12307f 55%, #1d4ed8 100%); }
.legal-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.5px); background-size: 22px 22px; pointer-events: none; }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin: .8rem 0 .5rem; }
.legal-hero p { color: #c7d2fe; max-width: 640px; margin: 0 auto; }
.legal-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: .3rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.legal-card { background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius-lg); padding: 1.6rem; box-shadow: var(--up-shadow-sm); }
.legal-card h5 { font-weight: 800; color: var(--up-navy); margin-bottom: 1.1rem; }
.legal-text h2 { font-size: 1.12rem; font-weight: 800; color: var(--up-navy); margin: 1.8rem 0 .6rem; scroll-margin-top: 110px; }
.legal-text p, .legal-text li { color: var(--up-text-2); font-size: .94rem; line-height: 1.7; }
.legal-text ul { padding-left: 1.2rem; }
.legal-text .lead-sm { font-size: 1rem; color: var(--up-muted); border-left: 3px solid var(--up-orange); padding-left: 1rem; }
.legal-toc { position: sticky; top: 110px; background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius); padding: 1.1rem; font-size: .86rem; display: grid; gap: .45rem; box-shadow: var(--up-shadow-sm); }
.legal-toc a { color: var(--up-text-2); }
.legal-toc a:hover { color: var(--up-blue); }
.sec-card { background: #fff; border: 1px solid var(--up-border); border-top: 3px solid var(--c); border-radius: var(--up-radius); padding: 1.4rem; height: 100%; box-shadow: var(--up-shadow-sm); transition: transform .25s, box-shadow .25s; }
.sec-card:hover { transform: translateY(-4px); box-shadow: var(--up-shadow); }
.sec-card h6 { font-weight: 800; color: var(--up-text); margin: .9rem 0 .5rem; }
.sec-card p { font-size: .86rem; color: var(--up-muted); margin: 0; line-height: 1.6; }
.sec-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--cs); color: var(--c); }
.sec-card.c-blue, .legal-hero ~ section .c-blue { --c: var(--up-blue); --cs: var(--up-blue-soft); }
.sec-card.c-purple { --c: var(--up-purple); --cs: var(--up-purple-soft); }
.sec-card.c-orange { --c: var(--up-orange); --cs: var(--up-orange-soft); }
.sec-card.c-green { --c: var(--up-success); --cs: var(--up-success-soft); }
.sec-card.c-teal { --c: var(--up-info); --cs: var(--up-info-soft); }
.iso-flow { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.iso-node { flex: 1 1 120px; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; padding: .9rem .6rem; border-radius: 12px; background: var(--up-blue-soft); color: var(--up-navy); font-size: .8rem; font-weight: 600; }
.iso-node i { font-size: 1.4rem; color: var(--up-blue); }
.iso-node.ok { background: var(--up-success-soft); }
.iso-node.ok i { color: var(--up-success); }
.iso-arrow { color: var(--up-muted); }
@media (max-width: 767.98px) { .iso-arrow { transform: rotate(90deg); width: 100%; text-align: center; } }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 1.7rem; font-size: .9rem; color: var(--up-text-2); }
.tick-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -1px; color: var(--up-success); font-size: 1.05rem; }
.tip-box { background: var(--up-orange-soft); border-radius: 12px; padding: 1rem; height: 100%; }
.tip-box b { display: block; color: var(--up-text); margin-bottom: .25rem; }
.tip-box span { font-size: .86rem; color: var(--up-text-2); }
.legal-cta { margin-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--up-border); border-left: 4px solid var(--up-orange); border-radius: var(--up-radius); padding: 1.3rem 1.5rem; box-shadow: var(--up-shadow-sm); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Reveal animation on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    .hero { padding: 3rem 0 5rem; }
    .hero-visual { max-width: 420px; margin: 2.5rem auto 0; }
    .steps-line::before { display: none; }
    .stat-item + .stat-item { border-left: 0; }
    .cta-box { padding: 2.2rem 1.5rem; text-align: center; }
}

/* ---------- Institute branding (institute public pages) ---------- */
.institute-brand { display: flex; align-items: center; gap: .7rem; }
.institute-brand .inst-logo { height: 46px; width: 46px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--up-border); padding: 3px; }
.institute-brand .inst-initials { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--up-gradient-brand); color: #fff; font-weight: 800; }
.institute-brand .inst-name { font-weight: 800; color: var(--up-navy); font-size: 1.05rem; line-height: 1.15; display: flex; flex-direction: column; }
.institute-brand .inst-name small { font-weight: 500; color: var(--up-muted); font-size: .72rem; }

/* ---------- Platform page ---------- */
.module-card { position: relative; background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius-lg); padding: 1.5rem; height: 100%; transition: all .25s; }
.module-card:hover { transform: translateY(-5px); box-shadow: var(--up-shadow); border-color: transparent; }
.module-card .m-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; margin-bottom: 1rem; background: var(--kpi-gradient, var(--up-gradient-brand)); box-shadow: 0 10px 22px -10px var(--kpi-shadow, rgba(29, 78, 216, .6)); }
.module-card h6 { font-weight: 700; font-size: 1rem; margin-bottom: .4rem; }
.module-card p { color: var(--up-muted); font-size: .85rem; margin: 0; }
.module-card .m-status { position: absolute; top: 1.2rem; right: 1.2rem; }
.module-card.soon { background: #fbfcfe; }
.module-card.soon .m-icon { filter: saturate(.55); }
.audience-card { border-radius: var(--up-radius-lg); padding: 1.6rem; height: 100%; color: #fff; position: relative; overflow: hidden; }
.audience-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.audience-card i { font-size: 2rem; }
.audience-card h5 { color: #fff; margin: .8rem 0 .4rem; font-weight: 700; }
.audience-card p { color: rgba(255, 255, 255, .85); font-size: .87rem; margin: 0; }
.find-box { background: #fff; border-radius: var(--up-radius-lg); box-shadow: var(--up-shadow-lg); padding: 2rem; border: 1px solid var(--up-border-2); }
.institute-chip { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--up-border); border-radius: 14px; padding: .7rem .9rem; transition: all .2s; color: var(--up-text); }
.institute-chip:hover { border-color: #bcd0fb; box-shadow: var(--up-shadow-sm); color: var(--up-text); transform: translateY(-2px); }
.institute-chip img, .institute-chip .ini { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex-shrink: 0; }
.institute-chip .ini { display: grid; place-items: center; background: var(--up-gradient-brand); color: #fff; font-weight: 800; font-size: .85rem; }
.plan-card { background: #fff; border: 1px solid var(--up-border); border-radius: var(--up-radius-lg); padding: 1.8rem; height: 100%; display: flex; flex-direction: column; position: relative; }
.plan-card.featured { border: 2px solid var(--up-orange); box-shadow: var(--up-shadow-lg); }
.plan-card .tag-top { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--up-gradient-accent); color: #fff; font-size: .72rem; font-weight: 800; padding: .3rem .9rem; border-radius: 99px; letter-spacing: .05em; }
.plan-card h5 { font-weight: 800; }
.plan-card .plan-for { color: var(--up-muted); font-size: .85rem; min-height: 40px; }
.plan-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .55rem; font-size: .87rem; }
.plan-card ul i { color: var(--up-success); margin-right: .4rem; }
.plan-card .btn { margin-top: auto; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 575.98px) {
    .site-nav .navbar-brand img { height: 50px; }
    .site-nav.scrolled .navbar { padding: .25rem 0; }
    .site-nav.scrolled .navbar-brand img { height: 40px; }
    .institute-brand .inst-name { font-size: .92rem; max-width: 52vw; }
    .institute-brand .inst-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hero { padding: 2rem 0 4rem; }
    .hero h1 { font-size: 2rem; }
    .hero .lead { font-size: 1rem; }
    .hero-cta .btn { flex: 1 1 100%; }
    .float-card { display: none; }
    .section { padding: 3.5rem 0; }
    .section-head { margin-bottom: 2rem; }
    .stats-band { margin-top: -2.5rem; padding: 1rem .5rem; }
    .stat-item .v { font-size: 1.5rem; }
    .stat-item { padding: .6rem .3rem; }
    .contact-card, .find-box { padding: 1.3rem; }
    .cta-box { border-radius: 20px; }
    .notice-strip .label { font-size: .65rem; }
    .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { background: #fff; border-radius: 16px; padding: .5rem 1rem 1rem; margin-top: .6rem; box-shadow: var(--up-shadow); }
    .site-nav .navbar-collapse .d-flex .btn { flex: 1 1 auto; }
}
