/* ==========================================================================
   MUVICSA - ULTRA LUXURY EXPANDED LIGHT THEME
   ========================================================================== */

:root {
    --primary: #4f46e5;
    --primary-glow: #6366f1;
    --primary-rgb: 79, 70, 229;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #7e22ce 50%, #06b6d4 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);

    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --bg-subtle: #f1f5f9;

    --text-title: #090d16;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;

    --border-card: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 12px 30px -5px rgba(79, 70, 229, 0.35);
    --shadow-device: 0 30px 70px -15px rgba(15, 23, 42, 0.2), 0 0 0 10px #0f172a;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
    position: relative;
    padding-bottom: 70px; /* মোবাইল স্টিকি বারের জন্য স্পেস */
}

/* ব্যাকগ্রাউন্ড অর্বস */
.bg-ambient-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.bg-ambient-orb-1 {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, 550px);
    height: min(100vw, 550px);
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(60px);
}

.bg-ambient-orb-2 {
    position: absolute;
    top: 40%;
    right: -80px;
    width: min(80vw, 400px);
    height: min(80vw, 400px);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(60px);
}

/* হেডার ন্যাভ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    width: 100%;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-item:hover { color: var(--primary); }

.btn-nav-action {
    background: var(--gradient-brand);
    color: #fff;
    padding: 9px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    white-space: nowrap;
}

/* হিরো সেকশন */
.hero-section {
    max-width: 1200px;
    margin: 25px auto 50px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-card);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 18px;
    box-shadow: var(--shadow-soft);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.hero-heading {
    font-size: clamp(28px, 6vw, 52px);
    font-weight: 900;
    color: var(--text-title);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 15px;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(14px, 3.8vw, 17px);
    color: var(--text-body);
    margin-bottom: 25px;
    line-height: 1.65;
    max-width: 520px;
}

/* অ্যাপ হাব কার্ড */
.app-hub-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-card);
    border-radius: 26px;
    padding: 22px 18px;
    box-shadow: var(--shadow-card);
    max-width: 480px;
}

.hub-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.app-main-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid var(--border-light);
}

.hub-title-box h3 {
    font-size: 19px;
    font-weight: 900;
    color: var(--text-title);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hub-title-box h3 i { color: #3b82f6; font-size: 15px; }
.hub-title-box p { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.hub-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 800;
}

.star-rating { color: #f59e0b; }

.btn-download-hero {
    background: var(--gradient-brand);
    color: #fff;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.apk-specs-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-card);
    text-align: center;
}

.spec-item span { display: block; font-size: 10px; font-weight: 800; color: var(--text-subtle); text-transform: uppercase; }
.spec-item strong { font-size: 13px; color: var(--text-title); font-weight: 800; }

/* ডিভাইস ফ্রেম */
.mockup-display { display: flex; justify-content: center; width: 100%; }

.apple-phone-frame {
    width: 100%;
    max-width: 280px;
    height: 520px;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: var(--shadow-device);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dynamic-island {
    width: 85px;
    height: 20px;
    background: #0f172a;
    border-radius: 20px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mockup-ui {
    flex: 1;
    padding: 40px 14px 16px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ui-header-box {
    background: #fff;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    text-align: center;
}

.ui-header-box img { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 6px; }

.ui-pill-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 10px 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-title);
    margin-bottom: 8px;
}

.ui-pill-item i { color: var(--primary); }

/* স্ট্যাটস স্ট্রিপ */
.metrics-strip, .section-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 16px;
}

.metrics-grid {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 24px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    box-shadow: var(--shadow-soft);
}

.metric-cell { text-align: center; border-right: 1px solid var(--border-light); }
.metric-cell:last-child { border-right: none; }
.metric-cell h4 { font-size: 26px; font-weight: 900; color: var(--text-title); }
.metric-cell p { font-size: 11px; font-weight: 700; color: var(--text-muted); }

.section-header { text-align: center; margin-bottom: 35px; }
.section-header h2 { font-size: clamp(22px, 5vw, 34px); font-weight: 900; color: var(--text-title); margin-bottom: 8px; }
.section-header p { color: var(--text-muted); font-size: 14px; }

/* ১. ফন্ট টেস্টার কার্ড */
.font-sandbox-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 28px;
    padding: 30px 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.font-input-wrapper input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1.5px solid var(--border-card);
    font-size: 16px;
    outline: none;
    background: #fcfdfe;
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 600;
    transition: 0.3s;
}

.font-input-wrapper input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.font-preset-selectors {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 18px 0;
    flex-wrap: wrap;
}

.font-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-card);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.font-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.font-display-board {
    background: #f8fafc;
    border: 1px dashed var(--border-card);
    border-radius: 20px;
    padding: 30px 20px;
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 15px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Hind Siliguri', sans-serif;
}

.font-footer-note {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ২. ট্রেন্ডিং প্রজেক্ট গ্যালারি */
.presets-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.preset-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 26px 20px;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.preset-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.preset-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
}

.preset-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-subtle);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
}

.preset-card h4 { font-size: 17px; font-weight: 900; color: var(--text-title); margin-bottom: 6px; }
.preset-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }
.preset-meta { font-size: 11px; font-weight: 800; color: var(--accent-purple); display: block; }

/* ৩. রিভিউ কার্ডস */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.review-stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 13.5px; color: var(--text-body); line-height: 1.6; margin-bottom: 20px; font-style: italic; }

.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}
.reviewer-info strong { display: block; font-size: 13px; color: var(--text-title); }
.reviewer-info span { font-size: 11px; color: var(--text-muted); }

/* ৪. কিউআর কোড ও সিকিউরিটি ব্যানার */
.qr-security-banner {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 28px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.qr-box-side { display: flex; align-items: center; gap: 20px; }
.qr-img { width: 100px; height: 100px; border-radius: 16px; border: 1px solid var(--border-card); padding: 5px; background: #fff; }
.qr-text h4 { font-size: 16px; font-weight: 900; color: var(--text-title); margin-bottom: 4px; }
.qr-text p { font-size: 12px; color: var(--text-muted); }

.security-meta-side { display: flex; flex-direction: column; gap: 12px; }
.sec-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-body); }
.sec-item i { color: #10b981; font-size: 16px; }

/* ফিচারস ও স্টেপস গ্রিড */
.features-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.feature-card-luxury, .step-tile {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 22px;
    padding: 24px 20px;
    box-shadow: var(--shadow-soft);
}

.feature-icon-bubble, .step-badge-num {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-icon-bubble { background: rgba(79, 70, 229, 0.08); color: var(--primary); }
.step-badge-num { background: var(--text-title); color: #fff; font-weight: 900; }
.feature-card-luxury h3, .step-tile h4 { font-size: 18px; font-weight: 900; color: var(--text-title); margin-bottom: 6px; }
.feature-card-luxury p, .step-tile p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* FAQ */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-card { background: var(--bg-surface); border: 1px solid var(--border-card); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
.faq-card.active { border-color: var(--primary); }
.faq-trigger { padding: 18px; font-weight: 800; font-size: 15px; color: var(--text-title); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-panel { padding: 0 18px 18px; font-size: 13px; color: var(--text-body); line-height: 1.65; display: none; }
.faq-card.active .faq-panel { display: block; }

/* ৫. মোবাইল স্মার্ট স্টিকি বটম বার */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-card);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-bar.show { transform: translateY(0); }

.sticky-app-info { display: flex; align-items: center; gap: 10px; }
.sticky-app-info img { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-card); }
.sticky-app-info strong { display: block; font-size: 13px; color: var(--text-title); }
.sticky-app-info span { font-size: 10px; color: var(--text-muted); font-weight: 700; }

.btn-sticky-download {
    background: var(--gradient-brand);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* ফুটার */
.site-footer { background: #ffffff; border-top: 1px solid var(--border-card); padding: 45px 16px 25px; text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.footer-links a { color: var(--text-muted); font-size: 13px; font-weight: 700; text-decoration: none; }

/* রেসপনসিভ */
@media (max-width: 900px) {
    .nav-menu { display: none !important; }
    .hero-section { grid-template-columns: 1fr; gap: 35px; margin-top: 15px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .metric-cell:nth-child(2) { border-right: none; }
    .qr-security-banner { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
    .mobile-sticky-bar { display: none !important; }
}


/* সাব-পেজ পলিসি কার্ড ব্লক */
.policy-card-block {
    background: #fcfdfe;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.policy-card-block h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-title);
    margin-bottom: 8px;
}

.policy-card-block p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.65;
}

.policy-card-block ul {
    padding-left: 20px;
    margin-top: 10px;
}

.policy-card-block li {
    font-size: 13.5px;
    color: var(--text-body);
    margin-bottom: 8px;
}

/* ডাউনলোড ফলব্যাক স্টেট */
.download-fallback-msg {
    display: none;
    margin-top: 12px;
    font-size: 13.5px;
    color: #ff6b6b;
    text-align: center;
}

.download-fallback-msg a {
    color: inherit;
    text-decoration: underline;
}

.btn-download-hero.is-disabled,
.btn-sticky-download.is-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.checksum-row code {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    word-break: break-all;
    background: rgba(0,0,0,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}