/* =====================================================================
   STAR ENTERPRISES — Public website styles
   Palette: dark navy, royal blue, premium gold, white
   ===================================================================== */
:root {
    --se-navy: #0b1f4d;
    --se-navy-2: #10296a;
    --se-royal: #1e4fd8;
    --se-royal-2: #2f62ff;
    --se-gold: #d4a017;
    --se-gold-2: #f5c542;
    --se-gold-soft: #fff6dc;
    --se-ink: #1b2440;
    --se-muted: #5b6785;
    --se-soft: #f4f7fe;
    --se-radius: 18px;
    --se-shadow: 0 18px 40px -18px rgba(11, 31, 77, .35);
    --se-gradient-gold: linear-gradient(135deg, #f7d774 0%, #d4a017 100%);
    --se-gradient-hero: linear-gradient(120deg, #071538 0%, #0b1f4d 45%, #1e4fd8 100%);
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--se-ink);
    background: #fff;
}
h1, h2, h3, h4, h5, h6, .navbar, .btn { font-family: 'Poppins', 'Inter', sans-serif; }
a { color: var(--se-royal); }
a:hover { color: var(--se-navy); }

.text-gold { color: var(--se-gold-2) !important; }
.text-royal { color: var(--se-royal) !important; }
.text-white-75 { color: rgba(255, 255, 255, .78) !important; }
.bg-soft { background: var(--se-soft); }
.bg-navy { background: var(--se-gradient-hero); }

/* --------------------------------------------------------- buttons */
.btn { border-radius: 999px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--se-gradient-gold); color: var(--se-navy); border: none; box-shadow: 0 10px 24px -10px rgba(212, 160, 23, .8); }
.btn-gold:hover, .btn-gold:focus { color: var(--se-navy); filter: brightness(1.05); box-shadow: 0 14px 28px -10px rgba(212, 160, 23, .9); }
.btn-royal { background: var(--se-royal); color: #fff; border: none; }
.btn-royal:hover, .btn-royal:focus { background: var(--se-navy); color: #fff; }
.btn-navy { background: var(--se-navy); color: #fff; border: none; }
.btn-navy:hover { background: #050f29; color: #fff; }
.btn-outline-royal { border: 2px solid var(--se-royal); color: var(--se-royal); }
.btn-outline-royal:hover, .btn-check:checked + .btn-outline-royal { background: var(--se-royal); color: #fff; border-color: var(--se-royal); }
.btn-outline-gold { border: 2px solid var(--se-gold-2); color: var(--se-gold-2); }
.btn-outline-gold:hover { background: var(--se-gold-2); color: var(--se-navy); }

/* --------------------------------------------------------- header */
.topbar { background: var(--se-navy); color: rgba(255, 255, 255, .75); padding: 6px 0; }
.topbar a { color: var(--se-gold-2); text-decoration: none; }
.topbar i { color: var(--se-gold-2); }
.site-nav { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -16px rgba(11, 31, 77, .5); padding: 8px 0; }
.site-nav .nav-link { color: var(--se-navy); font-weight: 500; padding: .5rem .9rem !important; position: relative; }
.site-nav .nav-link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--se-gradient-gold); transform: scaleX(0); transition: transform .25s ease; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--se-royal); }
.navbar-toggler { border: none; font-size: 1.8rem; color: var(--se-navy); }
.navbar-toggler:focus { box-shadow: none; }

/* --------------------------------------------------------- hero */
.hero .carousel-item { background: var(--se-gradient-hero); position: relative; overflow: hidden; }
.hero .carousel-item::before { content: ''; position: absolute; width: 680px; height: 680px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 66, .28), transparent 65%); }
.hero .carousel-item::after { content: ''; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 98, 255, .45), transparent 65%); }
.hero .slide-2 { background: linear-gradient(120deg, #0b1f4d 0%, #1238a8 60%, #2f62ff 100%); }
.hero .slide-3 { background: linear-gradient(120deg, #071538 0%, #0b1f4d 55%, #6b4e00 130%); }
.min-vh-hero { min-height: 520px; padding: 60px 0; position: relative; z-index: 2; }
.hero-copy h1 { text-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(245, 197, 66, .15); color: var(--se-gold-2); font-weight: 600; letter-spacing: .08em; font-size: .8rem; }
.hero-visual { position: relative; text-align: center; }
.hero-visual::before { content: ''; position: absolute; inset: 8% 10%; border-radius: 32px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); transform: rotate(-4deg); }
.hero-visual img { position: relative; width: 82%; max-width: 480px; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.carousel-item.active .hero-copy > * { animation: rise .8s ease both; }
.carousel-item.active .hero-copy > *:nth-child(2) { animation-delay: .1s; }
.carousel-item.active .hero-copy > *:nth-child(3) { animation-delay: .2s; }
.carousel-item.active .hero-copy > *:nth-child(n+4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; background-color: var(--se-gold-2); }

/* --------------------------------------------------------- sections */
.section { padding: 80px 0; }
.section-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--se-gold); margin-bottom: 8px; }
.section-title { font-weight: 700; color: var(--se-navy); margin-bottom: 1rem; }
.bg-navy .section-title { color: #fff; }
.page-hero { background: var(--se-gradient-hero); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 66, .3), transparent 65%); }
.page-hero .breadcrumb-item a { color: var(--se-gold-2); text-decoration: none; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .7); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-anim, .carousel-item.active .hero-copy > * { animation: none; }
}

.mini-stat { display: flex; gap: 12px; align-items: center; background: var(--se-soft); border-radius: 14px; padding: 14px; }
.mini-stat i { font-size: 1.6rem; color: var(--se-gold); }
.mini-stat strong { display: block; color: var(--se-navy); }
.mini-stat span { font-size: .85rem; color: var(--se-muted); }
.intro-card { background: radial-gradient(circle at 30% 20%, #ffffff, #e8eeff); border-radius: 28px; padding: 48px 32px; box-shadow: var(--se-shadow); text-align: center; }

.feature-card { background: #fff; border-radius: var(--se-radius); padding: 28px; box-shadow: 0 10px 30px -18px rgba(11, 31, 77, .35); border: 1px solid #e8edf9; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--se-shadow); }
.feature-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--se-gradient-gold); color: var(--se-navy); font-size: 1.5rem; margin-bottom: 16px; }

.category-tile { display: block; position: relative; border-radius: var(--se-radius); overflow: hidden; box-shadow: 0 10px 30px -18px rgba(11, 31, 77, .45); }
.category-tile img { width: 100%; display: block; transition: transform .5s ease; }
.category-tile:hover img { transform: scale(1.05); }
.category-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(11, 31, 77, .92)); color: #fff; display: flex; justify-content: space-between; align-items: end; }
.category-meta span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; }
.category-meta small { color: var(--se-gold-2); }

.product-card { background: #fff; border-radius: var(--se-radius); overflow: hidden; border: 1px solid #e8edf9; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--se-shadow); }
.product-img { display: block; position: relative; background: var(--se-soft); }
.product-img img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; display: block; }
.ribbon { position: absolute; top: 12px; right: 12px; background: var(--se-gradient-gold); color: var(--se-navy); font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product-title a { color: var(--se-navy); text-decoration: none; }
.product-title a:hover { color: var(--se-royal); }
.price { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--se-navy); font-size: 1.15rem; }

.glass-card { background: rgba(255, 255, 255, .96); border-radius: 24px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.binary-figure svg { width: 100%; height: auto; }
.plan-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.plan-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 52px; color: rgba(255, 255, 255, .85); }
.plan-steps li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--se-gradient-gold); color: var(--se-navy); font-weight: 700; }
.plan-steps strong { color: #fff; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 30px; }
.check-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 5px; color: var(--se-gold); }

.bp-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--se-shadow); border-top: 6px solid var(--se-gold); }
.bp-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #dfe5f4; }
.bp-row.highlight { background: var(--se-gold-soft); margin: 0 -12px; padding: 12px; border-radius: 10px; border: none; }
.bp-row strong { color: var(--se-navy); }

.cta-band { background: var(--se-gradient-gold); padding: 44px 0; color: var(--se-navy); }

.form-card { background: #fff; border-radius: var(--se-radius); padding: 32px; box-shadow: 0 16px 40px -24px rgba(11, 31, 77, .45); border: 1px solid #e8edf9; }
.form-control, .form-select { border-radius: 12px; padding: .65rem .9rem; border-color: #d5ddef; }
.form-control:focus, .form-select:focus { border-color: var(--se-royal); box-shadow: 0 0 0 .2rem rgba(30, 79, 216, .15); }
.input-group > .form-control, .input-group > .btn, .input-group > .input-group-text { border-radius: 12px; }
.input-group > :not(:first-child) { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.input-group > :not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.form-section-title { display: flex; align-items: center; gap: 12px; color: var(--se-navy); font-weight: 700; margin-bottom: 18px; }
.form-section-title span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--se-gradient-gold); font-size: .9rem; }
.type-option { display: flex; flex-direction: column; gap: 4px; border: 2px solid #dfe5f4; border-radius: 14px; padding: 14px; cursor: pointer; transition: all .2s ease; }
.type-option i { font-size: 1.4rem; color: var(--se-royal); }
.type-option strong { color: var(--se-navy); }
.type-option small { color: var(--se-muted); line-height: 1.35; }
.btn-check:checked + .type-option { border-color: var(--se-royal); background: #eef3ff; box-shadow: 0 0 0 3px rgba(30, 79, 216, .12); }
.btn-check:focus-visible + .type-option { outline: 3px solid var(--se-gold-2); }
.strength { height: 6px; background: #e9edf6; border-radius: 6px; overflow: hidden; }
.strength-bar { height: 100%; width: 0; transition: width .3s ease, background .3s ease; }

.side-card { background: #fff; border-radius: var(--se-radius); padding: 24px; border: 1px solid #e8edf9; box-shadow: 0 10px 30px -22px rgba(11, 31, 77, .45); }
.side-card .list-group-item.active { background: var(--se-royal); border-color: var(--se-royal); }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-line i { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--se-gold-soft); color: var(--se-gold); }

.success-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--se-shadow); }
.success-icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--se-gradient-gold); font-size: 2.4rem; color: var(--se-navy); }
.member-id-box { display: inline-flex; align-items: center; gap: 14px; background: var(--se-soft); border: 2px dashed var(--se-royal); border-radius: 16px; padding: 14px 22px; flex-wrap: wrap; justify-content: center; }
.member-id-box span { color: var(--se-muted); }
.member-id-box strong { font-family: 'Poppins', sans-serif; font-size: 1.6rem; color: var(--se-navy); letter-spacing: .04em; }

.plan-card { position: relative; background: #fff; border-radius: 24px; padding: 32px; border: 1px solid #e3e9f8; box-shadow: 0 16px 40px -28px rgba(11, 31, 77, .5); transition: transform .25s ease; }
.plan-card:hover { transform: translateY(-6px); }
.plan-card.popular { border: 2px solid var(--se-gold); box-shadow: var(--se-shadow); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--se-gradient-gold); padding: 4px 16px; border-radius: 999px; font-weight: 700; font-size: .8rem; color: var(--se-navy); }
.plan-price { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--se-navy); }
.calc-box { background: var(--se-soft); border-radius: 12px; padding: 14px; font-size: .9rem; }
.calc-box div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.calc-box .total { border-top: 1px dashed #c9d4ef; margin-top: 6px; padding-top: 8px; color: var(--se-navy); font-weight: 600; }
.wallet-row { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: var(--se-soft); margin-bottom: 12px; }
.wallet-row i { font-size: 1.6rem; color: var(--se-royal); }
.wallet-row strong { display: block; color: var(--se-navy); }
.wallet-row span { font-size: .9rem; color: var(--se-muted); }
.example-table thead th { background: var(--se-navy); color: #fff; }

.gallery-main { background: var(--se-soft); border-radius: 24px; overflow: hidden; box-shadow: var(--se-shadow); }
.gallery-main img { width: 100%; display: block; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs .thumb { border: 2px solid transparent; border-radius: 12px; padding: 0; overflow: hidden; width: 96px; background: none; }
.gallery-thumbs .thumb.active { border-color: var(--se-gold); }
.gallery-thumbs img { width: 100%; display: block; }
.price-block { background: var(--se-soft); border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bv-chip { background: var(--se-gradient-gold); color: var(--se-navy); font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--se-muted); }
.empty-state i { font-size: 3rem; color: #c3cde6; }
.cms-content h4 { color: var(--se-navy); margin-top: 1.6rem; font-weight: 700; font-size: 1.15rem; }
.cms-content ul { padding-left: 1.2rem; }

/* --------------------------------------------------------- footer */
.site-footer { background: #061334; color: #fff; padding: 64px 0 28px; }
.footer-title { color: var(--se-gold-2); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-links a:hover { color: var(--se-gold-2); }
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--se-gradient-gold); color: var(--se-navy); display: grid; place-items: center; box-shadow: var(--se-shadow); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 1030; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 991.98px) {
    .section { padding: 56px 0; }
    .min-vh-hero { min-height: 440px; }
    .form-card { padding: 22px; }
}

@media (max-width: 767.98px) {
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
    .hero-copy .btn-lg { font-size: 1rem; }
}

/* Free registration note + registration welcome letter */
.free-reg-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 2px solid var(--se-royal); background: #eef3ff; border-radius: 14px; }
.free-reg-note i { font-size: 1.6rem; color: var(--se-royal); }
.free-reg-note strong { display: block; color: var(--se-navy); }
.free-reg-note span { color: var(--se-muted); font-size: .92rem; }
.nav-login { font-weight: 600 !important; color: var(--se-royal) !important; }
.welcome-letter { background: #fff; border-radius: 20px; padding: 36px 40px; box-shadow: var(--se-shadow); border-top: 6px solid var(--se-gold); }
.wl-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 2px solid #f1e3b5; padding-bottom: 14px; margin-bottom: 14px; }
.wl-head img { width: 200px; }
.wl-table th { width: 38%; background: var(--se-soft); }
.text-navy { color: var(--se-navy); }
.signature { font-family: 'Poppins', sans-serif; font-style: italic; font-size: 1.2rem; color: var(--se-royal); }
@media print {
    .topbar, .site-nav, .page-hero, .site-footer, .back-to-top, .alert { display: none !important; }
    .welcome-letter { box-shadow: none; border-top: none; padding: 0; }
    .section { padding: 0; }
}
@media (max-width: 575.98px) { .welcome-letter { padding: 22px 18px; } .wl-head { flex-direction: column; align-items: flex-start; } }
.wl-secret th, .wl-secret td { background: #fff4d6 !important; }
.wl-secret code { font-size: 1rem; color: var(--se-navy); font-weight: 700; letter-spacing: .04em; }
