/* ==========================================================================
   ACCESSUG YOUTUBE ELITE (ULTRA-PREMIUM LIGHT THEME)
   ========================================================================== */
   :root {
    --bg-base: #FAFAFA;
    --bg-panel: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --primary: #FF0000; /* True YouTube Red */
    --primary-hover: #D90000;
    --primary-glow: rgba(255, 0, 0, 0.15);
    --success: #059669;
    --success-bg: #D1FAE5;
    --text-main: #0F172A; /* Deep Charcoal */
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --border-focus: #CBD5E1;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.08);
    --bezier: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--bg-base); color: var(--text-main); line-height: 1.5; overflow-x: hidden; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-whatsapp { color: #16A34A; }
.mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; }
.w-full { width: 100%; }

/* --- Interactive Light Mesh Background --- */
.mesh-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #FAFAFA; }
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; }
.blob-red { width: 50vw; height: 50vw; background: rgba(255, 0, 0, 0.15); top: -10%; left: -10%; animation: drift 20s infinite alternate linear; }
.blob-light { width: 40vw; height: 40vw; background: rgba(148, 163, 184, 0.1); bottom: -10%; right: -10%; animation: drift 15s infinite alternate-reverse linear; }
.glass-overlay { position: absolute; inset: 0; backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px); }
@keyframes drift { 100% { transform: translate(10vw, 5vh) scale(1.1); } }

/* --- Workspace Layout --- */
.workspace { max-width: 600px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.glass-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light); }
.btn-back { color: var(--text-muted); text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; transition: 0.3s; }
.btn-back:hover { color: var(--text-main); }
.brand-badge { font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; letter-spacing: -0.5px; color: var(--text-main); }
.spacer { width: 60px; }

/* --- Hero --- */
.page-title { padding: 40px 24px 24px; }
.live-status { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 0, 0, 0.08); border: 1px solid rgba(255, 0, 0, 0.15); color: var(--primary); padding: 6px 16px; border-radius: 30px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.pulse { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary-glow); animation: pulsing 2s infinite; }
@keyframes pulsing { 50% { opacity: 0.4; transform: scale(0.8); } }
.page-title h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 16px; color: var(--text-main); }
.text-gradient { background: linear-gradient(135deg, var(--text-main), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-title p { color: var(--text-muted); font-size: 1.1rem; font-weight: 500; }

/* --- Order Flow & Bento Grid --- */
.order-flow { padding: 0 24px; display: flex; flex-direction: column; gap: 40px; }
.module-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step-num { width: 32px; height: 32px; background: var(--text-main); color: var(--bg-panel); border-radius: 10px; display: flex; justify-content: center; align-items: center; font-weight: 900; font-size: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.module-header h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-main); }

/* Seamless Bento Cards (Light Mode) */
.bento-packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 400px) { .bento-packages { grid-template-columns: 1fr; } }
.tier-card { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 24px; cursor: pointer; position: relative; transition: all 0.4s var(--bezier); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; box-shadow: var(--shadow-soft); }
.tier-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--primary), transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: 0.4s var(--bezier); }
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.tier-card.active { background: #FFF; transform: scale(1.02); box-shadow: 0 15px 40px var(--primary-glow); border-color: transparent; z-index: 2; }
.tier-card.active::before { opacity: 1; }
.tier-card.full-width { grid-column: 1 / -1; min-height: auto; flex-direction: row; align-items: center; }

.t-tag { position: absolute; top: 0; right: 16px; background: #F1F5F9; color: var(--text-main); font-size: 0.65rem; font-weight: 800; padding: 6px 12px; border-radius: 0 0 10px 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.t-tag.max { background: var(--primary); color: #fff; box-shadow: 0 4px 10px var(--primary-glow); }

.t-name { font-size: 1.15rem; font-weight: 800; color: var(--text-muted); margin-bottom: 8px; transition: 0.3s; }
.tier-card.active .t-name { color: var(--text-main); }
.t-price { font-size: 1.6rem; font-weight: 900; line-height: 1; margin-bottom: 12px; color: var(--text-main); }
.tier-card.active .t-price { color: var(--primary); }
.t-cur { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }

.t-stats { display: flex; flex-direction: column; gap: 8px; }
.tier-card.full-width .t-stats { flex-direction: row; gap: 16px; }
.stat { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.tier-card.active .stat { color: var(--text-main); }
.stat i { color: var(--primary); font-size: 0.8rem; background: rgba(255,0,0,0.05); padding: 4px; border-radius: 50%; }

/* --- Smart Floating Forms (Light Mode) --- */
.smart-form { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-soft); }
.floating-input { position: relative; width: 100%; }
.floating-input input { width: 100%; background: #F8FAFC; border: 1.5px solid var(--border-light); border-radius: var(--radius-md); padding: 24px 16px 12px 52px; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--text-main); outline: none; transition: 0.3s; }
.floating-input label { position: absolute; left: 52px; top: 50%; transform: translateY(-50%); font-size: 0.95rem; font-weight: 600; color: var(--text-muted); pointer-events: none; transition: 0.3s var(--bezier); }
.field-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--text-muted); transition: 0.3s; }
.floating-input input:focus, .floating-input input:not(:placeholder-shown) { border-color: var(--primary); background: #FFF; box-shadow: 0 0 0 4px var(--primary-glow); }
.floating-input input:focus ~ label, .floating-input input:not(:placeholder-shown) ~ label { top: 14px; font-size: 0.75rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }
.floating-input input:focus ~ .field-icon { color: var(--primary); }

.ref-toggle { background: none; border: none; color: var(--text-muted); font-family: inherit; font-size: 0.95rem; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.ref-toggle:hover, .ref-toggle.active { color: var(--text-main); }
.ref-toggle i { color: var(--primary); }
.ref-content { max-height: 0; overflow: hidden; opacity: 0; transition: 0.4s var(--bezier); }
.ref-content.show { max-height: 90px; opacity: 1; margin-top: 16px; }
.mini input { padding: 22px 16px 12px 16px; }
.mini label { left: 16px; }

/* --- Smart Dock (Light Mode) --- */
.scroll-pad { height: 140px; }
.smart-dock { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: 1px solid var(--border-light); padding: 20px 24px 32px; box-shadow: 0 -10px 40px rgba(0,0,0,0.05); }
.dock-inner { max-width: 600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.calc-label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.calc-price { display: flex; align-items: baseline; gap: 6px; }
.v-num { font-size: 2.2rem; font-weight: 900; line-height: 1; letter-spacing: -1px; color: var(--text-main); }
.v-cur { font-size: 1.1rem; font-weight: 800; color: var(--primary); }

.btn-checkout { flex: 1; max-width: 240px; background: var(--text-main); color: #FFF; border: none; padding: 18px 24px; border-radius: 40px; font-family: inherit; font-size: 1.1rem; font-weight: 800; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: 0.3s; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2); }
.btn-checkout:disabled { background: #E2E8F0; color: #94A3B8; box-shadow: none; cursor: not-allowed; }
.btn-checkout:not(:disabled):hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 25px var(--primary-glow); }

/* --- Native Bottom Sheets (Modals - Light Mode) --- */
.sheet-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: 0.4s; }
.sheet-overlay[aria-hidden="false"] { opacity: 1; visibility: visible; }
.bottom-sheet { background: var(--bg-panel); width: 100%; max-width: 600px; margin: 0 auto; border-radius: 36px 36px 0 0; padding: 24px 24px 40px; transform: translateY(100%); transition: transform 0.5s var(--bezier); box-shadow: 0 -20px 50px rgba(0,0,0,0.1); }
.tall-sheet { min-height: 60vh; }
.sheet-overlay[aria-hidden="false"] .bottom-sheet { transform: translateY(0); }
.sheet-handle { width: 48px; height: 6px; background: var(--border-light); border-radius: 10px; margin: 0 auto 24px; }

/* Region Grid inside Sheet */
.sheet-header { text-align: center; margin-bottom: 32px; }
.icon-pulse { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; animation: pulsing 2s infinite; }
.sheet-header h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; color: var(--text-main); }
.sheet-header p { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.region-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.region-card { display: flex; align-items: center; padding: 18px 20px; background: #F8FAFC; border: 1.5px solid var(--border-light); border-radius: var(--radius-lg); cursor: pointer; transition: 0.3s; text-align: left; }
.region-card:hover { border-color: var(--primary); background: #FFF; transform: scale(1.02); box-shadow: var(--shadow-soft); }
.flag { font-size: 2rem; margin-right: 16px; }
.r-info { flex: 1; }
.r-name { display: block; font-weight: 800; font-size: 1.1rem; color: var(--text-main); }
.r-curr { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }

/* Trust Slider inside Sheet */
.slider-viewport { position: relative; width: 100%; }
.slider-panel { display: none; text-align: center; animation: slideIn 0.4s ease; }
.slider-panel.active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.panel-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; margin: 0 auto 24px; }
.shield { background: var(--success-bg); color: var(--success); }
.wallet { background: rgba(255, 0, 0, 0.1); color: var(--primary); }
.check { background: #E0F2FE; color: #0284C7; }

.slider-panel h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 12px; color: var(--text-main); }
.slider-panel p { color: var(--text-muted); font-size: 1.05rem; font-weight: 500; margin-bottom: 24px; line-height: 1.6; }
.slider-panel b { color: var(--text-main); font-weight: 800; }

.info-alert { background: #F8FAFC; border: 1.5px solid var(--border-light); padding: 16px; border-radius: var(--radius-md); text-align: left; font-size: 0.95rem; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; color: var(--text-main); font-weight: 500; }
.info-alert i { margin-top: 4px; font-size: 1.1rem; }

.milestone-timeline { text-align: left; margin-bottom: 24px; }
.m-step { display: flex; gap: 16px; margin-bottom: 16px; position: relative; }
.m-step:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 32px; bottom: -16px; width: 2px; background: var(--border-light); }
.m-node { width: 32px; height: 32px; background: var(--text-main); color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 900; font-size: 0.9rem; z-index: 2; flex-shrink: 0; }
.m-text { font-size: 0.95rem; color: var(--text-muted); padding-top: 4px; font-weight: 500; }

.payment-methods p { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; color: var(--text-main); }
.pm-logos { display: flex; justify-content: center; gap: 16px; margin-bottom: 24px; }
.pm-logos img { height: 36px; border-radius: 8px; border: 1px solid var(--border-light); }

.receipt-card { background: #F8FAFC; border: 1.5px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; margin-bottom: 24px; text-align: left; }
.r-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 1rem; }
.r-row span { color: var(--text-muted); font-weight: 600; }
.r-row b { font-weight: 800; color: var(--text-main); }
.r-divider { height: 1px; background: dashed var(--border-focus); margin: 12px 0; }
.r-row.total { font-size: 1.2rem; }
.r-row.total b { font-size: 1.6rem; font-weight: 900; }

.btn-group { display: flex; gap: 12px; }
.action-btn { flex: 1; background: var(--text-main); color: #FFF; border: none; padding: 18px; border-radius: 40px; font-family: inherit; font-size: 1.05rem; font-weight: 800; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px; }
.action-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15,23,42,0.2); }
.action-btn.outline { background: transparent; color: var(--text-main); border: 2px solid var(--border-light); }
.action-btn.outline:hover { background: #F8FAFC; border-color: var(--border-focus); box-shadow: none; }
.action-btn.confirm { background: var(--success); color: #fff; box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3); }
.action-btn.confirm:hover { background: #047857; box-shadow: 0 10px 30px rgba(5, 150, 105, 0.4); }

.slide-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slide-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-light); transition: 0.3s; }
.slide-dots .dot.active { width: 24px; border-radius: 4px; background: var(--primary); }

/* --- Toasts --- */
.toast-wrapper { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; width: 90%; max-width: 400px; }
.toast-msg { background: var(--text-main); color: #FFF; padding: 16px 20px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 0.95rem; box-shadow: 0 15px 40px rgba(0,0,0,0.2); animation: toastIn 0.4s var(--bezier); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }