/* ========================================
   NexCore — CSS
   ======================================== */

:root {
  --bg: #0a0b10;
  --bg-soft: #0f1118;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.07);
  --text: #e8ecf4;
  --text-dim: #8b95a8;
  --muted: #5c6578;
  --accent: #00c8ff;
  --accent-2: #0090e0;
  --accent-3: #0060b0;
  --grad: linear-gradient(135deg, #00c8ff 0%, #0090e0 50%, #00d4aa 100%);
  --grad-blue: linear-gradient(135deg, #00c8ff 0%, #0080ff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(0,200,255,.35); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(#00c8ff, #0080ff); border-radius: 10px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
code { font-family: "SF Mono", Consolas, monospace; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---- Background ---- */
.bg-orbs { position: fixed; inset: 0; z-index: -3; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; opacity: .45; }
.orb-1 { width: 62vw; height: 62vw; left: -20vw; top: -24vw; background: radial-gradient(circle, rgba(0,200,255,.35), transparent 68%); animation: drift1 22s ease-in-out infinite alternate; }
.orb-2 { width: 52vw; height: 52vw; right: -16vw; top: 6vw; background: radial-gradient(circle, rgba(0,128,255,.30), transparent 68%); animation: drift2 26s ease-in-out infinite alternate; }
.orb-3 { width: 58vw; height: 58vw; left: 22vw; bottom: -28vw; background: radial-gradient(circle, rgba(0,212,170,.22), transparent 68%); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(9vw, 7vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-8vw, -6vw) scale(1.1); } }
@keyframes drift3 { to { transform: translate(6vw, -9vw) scale(1.2); } }
.grid-overlay { position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--grad-blue); z-index: 1001; transition: width .1s linear; }

/* ---- Nav ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(7,10,20,.94); border-bottom: 1px solid var(--card-border); backdrop-filter: blur(12px); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.nav-cta) { color: var(--text-dim); font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav-links a:not(.nav-cta):hover { color: #fff; }
.auth-area { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 28px rgba(0,128,255,.35); background-size: 160% 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,128,255,.5); background-position: 100% 0; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 9px; }
.btn-block { width: 100%; justify-content: center; }
.chip { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--card-border); background: rgba(255,255,255,.05); color: var(--text-dim); font-weight: 600; font-size: .88rem; transition: .25s; }
.chip:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.chip.active { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: 0 6px 20px rgba(0,128,255,.35); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.hero .container { text-align: center; max-width: 820px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(0,200,255,.3); background: rgba(0,200,255,.08); color: #7dd3fc; font-size: .82rem; font-weight: 600; margin-bottom: 26px; }
.badge i { color: var(--accent); }
.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.5px; margin-bottom: 22px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.outline-text { -webkit-text-stroke: 1.5px var(--text); color: transparent; }
.hero-sub { color: var(--text-dim); font-size: clamp(1rem, 2vw, 1.18rem); max-width: 640px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 820px; margin: 0 auto; }
.stat { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px 12px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: var(--muted); font-size: .82rem; }

/* ---- Marquee ---- */
.marquee { overflow: hidden; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); padding: 18px 0; background: rgba(255,255,255,.02); }
.marquee-track { display: flex; width: max-content; animation: none; }
.marquee-ready .marquee-track { animation: marquee 120s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee-set span { font-family: var(--font-display); font-weight: 600; color: var(--text-dim); font-size: 1.05rem; white-space: nowrap; }
.marquee-set .ms { color: var(--accent); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Sections ---- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: rgba(255,255,255,.015); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: 2.5px; font-size: .74rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); }
.grid { display: grid; gap: 22px; }
.services-grid, .portfolio-grid, .store-grid, .reviews-grid, .steps-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); transition: transform .3s, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.16); box-shadow: 0 24px 60px rgba(0,0,0,.4); }

/* ---- Service Cards ---- */
.service-card { padding: 30px 26px; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 18px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent); }
.service-card h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: 18px; }
.card-link { color: var(--accent); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 7px; align-items: center; }
.card-link i { transition: transform .2s; }
.card-link:hover i { transform: translateX(4px); }

/* ---- Store ---- */
.store-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.store-card { overflow: hidden; display: flex; flex-direction: column; }
.store-top { padding: 26px 26px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.store-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.store-badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.free-badge { background: rgba(52,211,153,.15) !important; color: #34d399 !important; border-color: rgba(52,211,153,.4) !important; }
.store-body { padding: 20px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.store-body h3 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 8px; }
.store-body p { color: var(--text-dim); font-size: .9rem; margin-bottom: 14px; }
.store-rating { display: flex; gap: 16px; color: var(--muted); font-size: .8rem; margin-bottom: 16px; }
.store-rating i { color: #fbbf24; }
.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.free-text { background: linear-gradient(135deg, #34d399, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.buy-btn { margin-top: auto; }
.download-btn { margin-top: auto; background: linear-gradient(135deg, #34d399, #22d3ee) !important; box-shadow: 0 8px 28px rgba(52,211,153,.35) !important; }
.download-btn:hover { box-shadow: 0 12px 34px rgba(52,211,153,.5) !important; transform: translateY(-2px); }
.store-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 34px; }
.store-note a { color: var(--accent); font-weight: 600; }
.hidden-product { display: none; }

/* ---- Portfolio Grid ---- */
.project-card { overflow: hidden; cursor: pointer; }
.project-thumb { height: 170px; display: grid; place-items: center; font-size: 3.4rem; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--taccent) 25%, transparent), transparent 70%), radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--taccent) 18%, transparent), transparent 70%), var(--bg-soft); }
.project-body { padding: 24px; }
.tag-chip { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.project-body h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 8px; }
.project-body p { color: var(--text-dim); font-size: .9rem; margin-bottom: 14px; }
.project-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--card-border); padding-top: 14px; }
.project-meta i { color: #fbbf24; }

/* ---- Steps ---- */
.step-card { padding: 32px 26px; position: relative; }
.step-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: rgba(255,255,255,.06); }
.step-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; }
.step-card p { color: var(--text-dim); font-size: .92rem; }

/* ---- Reviews ---- */
.review-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: #fbbf24; font-size: .9rem; display: flex; gap: 3px; }
.review-card > p { color: var(--text-dim); font-size: .94rem; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--card-border); padding-top: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #fff; }
.reviewer strong { display: block; font-size: .92rem; }
.reviewer span { color: var(--muted); font-size: .8rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 22px; background: none; border: 0; color: var(--text); font-weight: 600; font-size: .98rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q i { color: var(--accent); transition: transform .3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--text-dim); font-size: .92rem; }

/* ---- Contact ---- */
.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.contact-form { padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-dim); }
.field input, .field textarea, .field select { background: rgba(255,255,255,.04); border: 1px solid var(--card-border); border-radius: 10px; padding: 12px 14px; color: var(--text); font-family: inherit; font-size: .93rem; transition: border-color .2s, box-shadow .2s; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,255,.15); }
.form-status { margin-top: 14px; font-size: .9rem; min-height: 1.4em; color: #34d399; font-weight: 500; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 22px; }
.info-card h3 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 8px; }
.info-card p { color: var(--text-dim); font-size: .9rem; }
.info-card a { color: var(--accent); font-weight: 600; }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--card-border); color: var(--text-dim); font-size: 1.1rem; transition: .25s; }
.socials a:hover { color: #fff; border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(34,211,238,.2); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--card-border); background: rgba(4,6,12,.6); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 44px; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-size: .86rem; text-transform: uppercase; letter-spacing: 1.6px; color: var(--text); margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.crypto-pill { align-self: flex-start; font-size: .82rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--card-border); color: var(--text-dim); }
.footer-bottom { border-top: 1px solid var(--card-border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; }

/* ---- Modal ---- */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,5,10,.82); }
.modal-panel { position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 20px; padding: 30px; transform: translateY(16px) scale(.98); transition: transform .3s; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--card-border); background: rgba(255,255,255,.05); color: var(--text-dim); font-size: 1rem; display: grid; place-items: center; z-index: 2; transition: .2s; }
.modal-close:hover { color: #fff; border-color: rgba(255,255,255,.3); }

/* ---- Checkout Modal ---- */
.co-product { display: flex; gap: 16px; align-items: center; margin: 10px 0 20px; }
.co-product .store-icon { width: 56px; height: 56px; font-size: 1.5rem; }
.co-product h3 { font-family: var(--font-display); font-size: 1.2rem; }
.co-product p { color: var(--muted); font-size: .85rem; }
.co-amounts { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.co-amounts #coPriceUsd { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.co-amounts .muted { color: var(--muted); }
.co-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.co-tab { flex: 1; padding: 11px; border-radius: 10px; border: 1px solid var(--card-border); background: rgba(255,255,255,.04); color: var(--text-dim); font-weight: 600; font-size: .9rem; transition: .2s; }
.co-tab.active { background: var(--grad); color: #fff; border-color: transparent; }
.co-wallet { padding: 22px; text-align: center; }
.co-label { color: var(--text-dim); font-size: .9rem; margin-bottom: 14px; }
.qr-box { display: inline-grid; place-items: center; padding: 14px; background: #fff; border-radius: 14px; margin-bottom: 16px; }
#qrCode img, #qrImg { width: 168px; height: 168px; }
.address-row { display: flex; gap: 10px; align-items: center; }
.address-row code { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--card-border); padding: 12px 14px; border-radius: 10px; font-size: .78rem; word-break: break-all; color: var(--text); text-align: left; }
.co-note { color: var(--muted); font-size: .82rem; margin: 12px 0 18px; }
.co-delivery { color: var(--muted); font-size: .8rem; margin-top: 12px; }

/* ---- Product Detail Modal ---- */
.product-modal-panel { max-width: 900px; width: 95vw; max-height: 95vh; overflow-y: auto; padding: 0; border-radius: 20px; }
.pm-hero { padding: 40px 40px 30px; border-bottom: 1px solid var(--card-border); }
.pm-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.pm-icon { width: 80px; height: 80px; border-radius: 20px; display: grid; place-items: center; font-size: 2.2rem; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); flex-shrink: 0; }
.pm-info { flex: 1; }
.pm-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); display: inline-block; margin-bottom: 10px; }
.pm-info h2 { font-family: var(--font-display); font-size: 1.8rem; margin: 0 0 8px; line-height: 1.2; }
.pm-meta { display: flex; gap: 20px; color: var(--muted); font-size: .88rem; }
.pm-meta i { color: #fbbf24; }
.pm-short-desc { color: var(--text-dim); font-size: 1rem; margin-top: 14px; line-height: 1.6; }
.pm-body { padding: 30px 40px 40px; }
.pm-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
.pm-main { min-width: 0; }
.pm-sidebar { min-width: 0; }
.pm-images { display: grid; gap: 12px; margin-bottom: 28px; }
.pm-images img { width: 100%; border-radius: 14px; border: 1px solid var(--card-border); object-fit: cover; }
.pm-placeholder { background: var(--card); border: 2px dashed var(--card-border); border-radius: 16px; padding: 50px 20px; text-align: center; margin-bottom: 28px; }
.pm-placeholder-icon { font-size: 3.5rem; margin-bottom: 10px; }
.pm-placeholder p { color: var(--muted); font-size: .9rem; }
.pm-section { margin-bottom: 28px; }
.pm-section h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.pm-section h4 i { color: var(--accent); font-size: .9rem; }
.pm-description p { color: var(--text-dim); font-size: .93rem; line-height: 1.8; }
.pm-features ul { list-style: none; display: grid; gap: 10px; }
.pm-features li { color: var(--text-dim); font-size: .9rem; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.03); border-radius: 10px; border: 1px solid var(--card-border); }
.pm-features li i { color: #34d399; font-size: .85rem; flex-shrink: 0; }
.pm-reqs, .pm-changelog { list-style: none; }
.pm-reqs li, .pm-changelog li { color: var(--text-dim); font-size: .88rem; padding: 8px 12px; border-bottom: 1px solid var(--card-border); }
.pm-reqs li:last-child, .pm-changelog li:last-child { border-bottom: none; }
.pm-sidebar-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 28px; position: sticky; top: 20px; }
.pm-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pm-price-big { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; }
.pm-price-old { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.pm-price-free { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; background: linear-gradient(135deg, #34d399, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pm-buy-btn, .pm-download-btn { width: 100%; padding: 16px; font-size: 1.05rem; margin-bottom: 12px; justify-content: center; }
.pm-download-btn { background: linear-gradient(135deg, #34d399 0%, #22d3ee 100%) !important; box-shadow: 0 8px 28px rgba(52,211,153,.35) !important; }
.pm-download-btn:hover { box-shadow: 0 12px 34px rgba(52,211,153,.5) !important; transform: translateY(-2px); }
.pm-guarantee { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; margin-top: 16px; justify-content: center; }
.pm-guarantee i { color: #34d399; }
.pm-edit-link { display: block; text-align: center; color: var(--muted); font-size: .82rem; margin-top: 12px; cursor: pointer; transition: color .2s; }
.pm-edit-link:hover { color: var(--accent); }
.pm-action-bottom { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--card-border); }
.pm-action-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pm-action-row .pm-price-big { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; }
.pm-action-row .pm-price-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.pm-action-row .pm-buy-btn { padding: 16px 32px; font-size: 1.05rem; }

/* ---- Edit Modal ---- */
.edit-modal-panel { max-width: 640px; max-height: 92vh; overflow-y: auto; }
.edit-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.edit-form .field { margin-bottom: 14px; }
.edit-form label { font-size: .82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; display: block; }
.edit-form input, .edit-form textarea, .edit-form select { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--card-border); border-radius: 10px; padding: 10px 12px; color: var(--text); font-family: inherit; font-size: .9rem; outline: none; transition: border-color .2s; }
.edit-form input:focus, .edit-form textarea:focus, .edit-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.edit-form input[type="color"] { height: 42px; padding: 4px; cursor: pointer; }
.edit-actions { display: flex; gap: 10px; margin-top: 20px; }
.edit-actions .btn { flex: 1; justify-content: center; }
.edit-note { color: var(--muted); font-size: .82rem; margin: 16px 0 12px; text-align: center; }
.edit-note i { color: var(--accent); }

/* ---- Auth Area ---- */
.user-profile { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: var(--card); border: 1px solid var(--card-border); border-radius: 999px; cursor: default; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; }
.user-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.logout-btn { background: none; border: none; color: var(--muted); font-size: .82rem; cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: .2s; }
.logout-btn:hover { color: #f87171; background: rgba(248,113,113,.1); }
.owner-badge { font-size: .7rem; font-weight: 700; color: #fbbf24; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.3); padding: 2px 8px; border-radius: 999px; }

/* ---- Add Product Form ---- */
.add-product-form { padding: 36px; max-width: 800px; margin: 0 auto; }
.add-product-form .field { margin-bottom: 16px; }
.add-product-form label { font-size: .85rem; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; display: block; }
.add-product-form input, .add-product-form textarea, .add-product-form select {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--card-border); border-radius: 10px; padding: 12px 14px; color: var(--text); font-family: inherit; font-size: .93rem; outline: none; transition: border-color .2s;
}
.add-product-form input:focus, .add-product-form textarea:focus, .add-product-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,255,.15); }
.add-product-form input[type="color"] { height: 46px; padding: 4px; cursor: pointer; }
.add-product-form .edit-actions { display: flex; gap: 12px; margin-top: 24px; }
.add-product-form .edit-actions .btn { flex: 1; justify-content: center; padding: 14px; font-size: 1rem; }
.empty-state { text-align: center; color: var(--muted); font-size: 1rem; margin-top: 40px; }
.empty-state i { font-size: 2rem; margin-bottom: 12px; display: block; color: var(--accent); opacity: .5; }

/* ---- Toast ---- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(30px); background: rgba(10,14,26,.95); border: 1px solid rgba(52,211,153,.4); color: #fff; padding: 13px 22px; border-radius: 12px; font-size: .9rem; font-weight: 500; opacity: 0; visibility: hidden; transition: .35s; z-index: 3000; display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast i { color: #34d399; }

/* ---- Reveal ---- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
body.no-scroll { overflow: hidden; padding-right: var(--scrollbar-gutter, 0px); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .services-grid, .portfolio-grid, .store-grid, .reviews-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; top: var(--nav-h); right: 0; left: 0; flex-direction: column; align-items: stretch; background: rgba(7,10,20,.97); padding: 18px 24px 26px; gap: 4px; border-bottom: 1px solid var(--card-border); transform: translateY(-130%); transition: transform .35s; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 8px; font-size: 1.02rem; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-top: 10px; justify-content: center; }
  .auth-area { margin-left: 0; margin-top: 10px; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .portfolio-grid, .store-grid, .reviews-grid, .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-hero { padding: 28px 24px 24px; }
  .pm-body { padding: 24px; }
  .pm-info h2 { font-size: 1.4rem; }
  .pm-price-big { font-size: 2rem; }
  .pm-sidebar-card { position: static; }
  .edit-modal-panel { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
}
