/* ==========================================================================
   Susano theme ("Showcase" design)
   Loaded AFTER susano.css. Overrides the design tokens and restyles the shared
   components, then adds the landing page (hero, showcase panels, HTML/CSS
   product mockups, pricing, reviews, FAQ, offer) and the dashboard shell.
   ========================================================================== */

:root {
  --bg: #07070a;
  --bg-elev: #0c0c11;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-2: rgba(255, 255, 255, 0.05);
  --panel-solid: #0f0f15;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(255, 123, 84, 0.4);

  --accent: #ff7b54;
  --accent-2: #e8552c;
  --accent-3: #ffb08c;
  --accent-grad: linear-gradient(135deg, #ff9a6b 0%, #ff7b54 50%, #ef5a2f 100%);
  --accent-soft: rgba(255, 123, 84, 0.12);
  --accent-glow: rgba(255, 123, 84, 0.28);

  --cyan: #3fe3ff;
  --cyan-2: #1fb8d6;
  --cyan-soft: rgba(63, 227, 255, 0.12);
  --cyan-border: rgba(63, 227, 255, 0.35);

  --text: #f1f1f4;
  --text-dim: #a4a4af;
  --text-muted: #6d6d78;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --shadow-accent: 0 14px 40px -12px rgba(255, 123, 84, 0.55);
  --ring: 0 0 0 3px rgba(255, 123, 84, 0.4);

  --font-display: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --sidebar-w: 284px;
}

/* --------------------------------------------------------------------------
   Base & typography
   -------------------------------------------------------------------------- */
body.d1 { background: var(--bg); }
body.d1::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 14% -8%, rgba(255, 123, 84, 0.15), transparent 62%),
    radial-gradient(720px 420px at 100% 24%, rgba(63, 227, 255, 0.05), transparent 62%);
}
.d1 h1, .d1 h2, .d1 h3, .d1 h4, .d1 .h1, .d1 .h2, .d1 .h3, .d1 .h4,
.d1 .btn, .d1 .badge, .d1 .stat-value, .d1 .price-now, .d1 .eyebrow, .d1 .tab, .d1 .period-tab,
.d1 .label, .d1 .dash-nav-label, .d1 .stat-label, .d1 .card-title, .d1 .brand-tag,
.d1 .modal-card h2, .d1 .table th, .d1 .footer-col h4 { font-family: var(--font-display); }
.d1 h1, .d1 h2, .d1 h3, .d1 h4 { font-weight: 800; letter-spacing: -0.025em; }
.d1 h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; }
.d1 h3 { font-size: 1.35rem; }
.d1 .lead { font-size: 1.1rem; }
.d1 .eyebrow { letter-spacing: 0.16em; font-size: 0.7rem; font-weight: 700; }
.d1 .eyebrow::before { width: 14px; }
.d1 .section { padding-block: clamp(56px, 8vw, 104px); }
.d1 .section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.d1 .section-head p { font-size: 1rem; }
.d1 [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.d1 .anchor-alias { display: block; height: 0; }
.d1 .gradient-text { background: linear-gradient(90deg, #ffb08c 0%, #ff7b54 50%, #ef5a2f 100%); -webkit-background-clip: text; background-clip: text; }

/* Buttons */
.d1 .btn { font-weight: 700; letter-spacing: 0; border-radius: 12px; font-size: 0.86rem; padding: 12px 20px; }
.d1 .btn:hover { transform: translateY(-1px); }
.d1 .btn-sm { padding: 9px 14px; font-size: 0.78rem; border-radius: 10px; }
.d1 .btn-lg { padding: 16px 30px; font-size: 1rem; border-radius: 14px; }
.d1 .btn-primary { --btn-bg: var(--accent-grad); box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.d1 .btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(255, 123, 84, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.d1 .btn-cyan { --btn-bg: var(--cyan); --btn-fg: #04161a; --btn-border: transparent; box-shadow: 0 12px 34px -12px rgba(63, 227, 255, 0.6); }
.d1 .btn-cyan:hover { background: #6cebff; color: #04161a; border-color: transparent; }
.d1 .btn-dark { --btn-bg: #0f0f15; --btn-fg: #fff; --btn-border: rgba(0, 0, 0, 0.35); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.8); }
.d1 .btn-dark:hover { background: #17171f; border-color: rgba(0, 0, 0, 0.35); }
.d1 .btn-white { --btn-bg: #fff; --btn-fg: #0b0b0d; }
.d1 .btn-ghost { --btn-bg: transparent; --btn-border: transparent; color: var(--text-dim); }

/* Badges, pills, cards, icons */
.d1 .badge { font-weight: 700; letter-spacing: 0.06em; font-size: 0.62rem; padding: 5px 10px; }
.d1 .badge-cyan { background: var(--cyan-soft); color: var(--cyan); border-color: var(--cyan-border); }
.d1 .card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)); border-color: var(--border); border-radius: var(--radius); backdrop-filter: none; -webkit-backdrop-filter: none; }
.d1 .card-hover:hover { border-color: rgba(255, 123, 84, 0.35); box-shadow: var(--shadow); }
.d1 .card-accent::before { background-size: 100% 2px; }
.d1 .card-title { font-size: 1.1rem; }
.d1 .icon-box { border-radius: 13px; background: linear-gradient(135deg, rgba(255, 123, 84, 0.24), rgba(255, 123, 84, 0.08)); }
.d1 .icon-box-success { background: linear-gradient(135deg, rgba(34, 211, 138, 0.24), rgba(34, 211, 138, 0.08)); }
.d1 .icon-box-info { background: linear-gradient(135deg, rgba(84, 174, 255, 0.24), rgba(84, 174, 255, 0.08)); }
.d1 .icon-box-warning { background: linear-gradient(135deg, rgba(255, 176, 32, 0.24), rgba(255, 176, 32, 0.08)); }
.d1 .icon-box-danger { background: linear-gradient(135deg, rgba(255, 90, 90, 0.24), rgba(255, 90, 90, 0.08)); }
.d1 .icon-box-cyan { background: linear-gradient(135deg, rgba(63, 227, 255, 0.24), rgba(63, 227, 255, 0.08)); border-color: var(--cyan-border); color: var(--cyan); }
.d1 .sub-card { border-radius: 14px; }
.d1 .stat { border-radius: 20px; }
.d1 .stat-value { font-weight: 800; letter-spacing: -0.03em; }
.d1 .stat-value.cyan { color: var(--cyan); }

/* Forms, alerts, tables, modal, accordion, tabs */
.d1 .input, .d1 .select, .d1 .textarea { background: rgba(255, 255, 255, 0.03); border-radius: 12px; }
.d1 .alert { border-radius: 14px; }
.d1 .table th { font-size: 0.62rem; letter-spacing: 0.12em; }
.d1 .table td { border-bottom-color: rgba(255, 255, 255, 0.05); }
.d1 .modal { background: rgba(3, 3, 6, 0.8); }
.d1 .modal-card { background: #0f0f15; border-radius: 24px; border-color: var(--border-strong); }
.d1 .modal-card::before { background-size: 100% 2px; }
.d1 .modal-card h2 { font-size: 1.5rem; }
.d1 .accordion-item { border-radius: 16px; }
.d1 .tabs { border-radius: 999px; padding: 4px; }
.d1 .tab { border-radius: 999px; letter-spacing: 0.02em; text-transform: none; font-size: 0.8rem; font-weight: 700; }
.d1 .period-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); margin-bottom: var(--s-5); }
.d1 .period-tab { padding: 10px 8px; border-radius: 10px; letter-spacing: 0; text-transform: none; font-size: 0.86rem; font-weight: 700; text-align: center; }
.d1 .period-tab::after { display: none; }
.d1 .period-tab.active { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-accent); }
.d1 .price-now { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; }
.d1 .price-old { font-size: 1rem; }
.d1 .price-pill { background: var(--accent-grad); border-radius: 8px; font-family: var(--font-display); font-size: 0.68rem; padding: 4px 8px; }
.d1 .hero-banner { border-radius: 26px; background: linear-gradient(135deg, #ff9466 0%, #ff6f45 45%, #d9481f 100%); }
.d1 .hero-banner h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.d1 .hero-banner .art { right: 40px; bottom: -20px; height: 130%; }
.d1 .page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.d1 .toast { border-radius: 16px; background: rgba(15, 15, 21, 0.97); }
.d1 .empty { border-radius: 18px; }

/* --------------------------------------------------------------------------
   Site header (public pages)
   -------------------------------------------------------------------------- */
.d1 .site-header { height: var(--header-h); background: rgba(7, 7, 10, 0.55); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.d1 .site-header.scrolled { background: rgba(7, 7, 10, 0.84); border-bottom-color: var(--border); }
.d1-header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4); }
.d1-header-inner .brand img { height: 24px; }
.d1-nav { display: flex; justify-content: center; align-items: center; gap: 2px; }
.d1-nav a { padding: 9px 13px; border-radius: 10px; font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--text-dim); transition: color 0.2s, background 0.2s; }
.d1-nav a:hover, .d1-nav a.active { color: #fff; background: var(--panel-2); }
.d1-header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.d1-signin { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--text-dim); padding: 9px 12px; border-radius: 10px; white-space: nowrap; }
.d1-signin:hover { color: #fff; background: var(--panel-2); }
.d1 .nav-toggle { border-radius: 12px; display: none; }
.d1 .mobile-nav { background: rgba(7, 7, 10, 0.97); gap: 4px; }
.d1 .mobile-nav a { font-family: var(--font-display); text-transform: none; letter-spacing: -0.01em; font-size: 1.5rem; font-weight: 700; }
.d1 .mobile-nav a.d1-mobile-buy { margin-top: 12px; padding: 14px 32px; border-radius: 14px; background: var(--accent-grad); color: #fff; font-size: 1.1rem; box-shadow: var(--shadow-accent); }
.d1 .mobile-nav .mobile-close { border-radius: 12px; }
@media (max-width: 900px) {
  .d1-nav { display: none; }
  .d1-header-inner { grid-template-columns: auto 1fr; }
  .d1 .nav-toggle { display: inline-flex; }
  .d1-signin { display: none; }
}
@media (max-width: 480px) {
  .d1-header-actions .btn-sm { padding: 9px 12px; }
  .d1-header-inner .brand img { height: 21px; }
}

/* --------------------------------------------------------------------------
   Landing: hero
   -------------------------------------------------------------------------- */
.d1-hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(8px, 2vw, 24px); }
.d1-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: var(--s-8); }
.d1-hero-copy { min-width: 0; }
.d1-h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; margin-bottom: var(--s-5); }
.d1-h1 span { display: block; }
.d1-h1 .d1-grad { background: linear-gradient(90deg, #ffb08c 0%, #ff7b54 45%, #ef5a2f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: 0.06em; }
.d1-hero-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 520px; line-height: 1.6; margin-bottom: var(--s-7); color: var(--text-dim); }
.d1-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--s-6); }
.d1-hero-ctas .btn-lg { min-width: 176px; }
.d1-btn-play { --btn-bg: rgba(255, 255, 255, 0.04); --btn-border: var(--border-strong); }
.d1-btn-play .play { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.d1-btn-play .play svg { width: 12px; height: 12px; margin-left: 2px; }
.d1-trust-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }
.d1-trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.d1-trust-line svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.d1-trust-line b { color: #fff; font-family: var(--font-display); font-weight: 700; }
.d1-hero-in { animation: d1-in 0.8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes d1-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.d1-hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; min-width: 0; }
.d1-hero-art::before { content: ""; position: absolute; left: 50%; top: 52%; width: 560px; height: 560px; max-width: 120%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 123, 84, 0.6), rgba(255, 123, 84, 0.14) 52%, transparent 74%); filter: blur(28px); z-index: 0; pointer-events: none; }
.d1-hero-art::after { content: ""; position: absolute; left: 50%; top: 50%; width: 430px; height: 430px; max-width: 94%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 123, 84, 0.3); box-shadow: 0 0 0 44px rgba(255, 123, 84, 0.045), 0 0 0 96px rgba(255, 123, 84, 0.02); z-index: 0; pointer-events: none; }
.d1-art-img { position: relative; z-index: 1; width: min(100%, 440px); height: auto; filter: drop-shadow(0 0 1px rgba(255, 170, 130, 1)) drop-shadow(0 0 24px rgba(255, 123, 84, 0.5)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.65)); animation: d1-in 1s var(--ease) both; }
.d1-art-fade { position: absolute; left: 0; right: 0; bottom: -2px; height: 36%; z-index: 2; background: linear-gradient(to bottom, rgba(7, 7, 10, 0), var(--bg) 88%); pointer-events: none; }
.d1-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.d1-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 14px; background: rgba(13, 13, 19, 0.88); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: #fff; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.85); white-space: nowrap; animation: d1-float var(--dur, 6s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.d1-chip .ico { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.d1-chip .ico svg { width: 15px; height: 15px; }
.d1-chip.green .ico { background: rgba(34, 211, 138, 0.16); color: var(--success); }
.d1-chip.cyan .ico { background: var(--cyan-soft); color: var(--cyan); }
.d1-chip.orange .ico { background: var(--accent-soft); color: var(--accent); }
.d1-chip.c1 { left: 0; top: 17%; --dur: 6s; }
.d1-chip.c2 { right: 0; top: 33%; --dur: 7s; --delay: -2.5s; }
.d1-chip.c3 { left: 3%; top: 58%; --dur: 6.5s; --delay: -4s; }
.d1-price-chip { position: absolute; right: 0; bottom: 13%; pointer-events: auto; display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; padding: 11px 14px; border-radius: 16px; background: rgba(13, 13, 19, 0.9); border: 1px solid rgba(255, 123, 84, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 123, 84, 0.08); color: #fff; animation: d1-float 7.5s ease-in-out infinite; animation-delay: -1s; transition: border-color 0.2s, transform 0.2s; }
.d1-price-chip:hover { border-color: var(--accent); color: #fff; }
.d1-price-chip small { grid-column: 1 / -1; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.d1-price-chip b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.d1-price-chip s { font-size: 0.74rem; color: var(--text-muted); text-decoration-color: var(--danger); }
.d1-price-chip em { grid-column: 1 / -1; margin-top: 6px; font-style: normal; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; padding: 3px 7px; border-radius: 6px; background: var(--accent-grad); color: #fff; justify-self: start; }
@keyframes d1-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) { .d1-hero-art { min-height: 500px; } .d1-art-img { width: min(100%, 400px); } }
@media (max-width: 900px) {
  .d1-hero { padding-top: var(--s-7); }
  .d1-hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .d1-h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .d1-hero-art { min-height: 0; flex-direction: column; align-items: center; margin-top: var(--s-4); }
  .d1-hero-art::before { width: 420px; height: 420px; top: 42%; }
  .d1-hero-art::after { width: 320px; height: 320px; top: 40%; }
  .d1-art-img { width: min(70%, 300px); }
  .d1-art-fade { height: 30%; bottom: 44px; }
  .d1-chips { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: -24px; pointer-events: auto; max-width: 100%; }
  .d1-chip, .d1-price-chip { position: static; animation: none; }
  .d1-chip { white-space: normal; }
  .d1-price-chip { grid-template-columns: auto auto auto; column-gap: 10px; padding: 10px 14px; max-width: 100%; }
  .d1-price-chip small { white-space: normal; }
  .d1-price-chip em { grid-column: auto; margin: 0; justify-self: center; }
}
@media (max-width: 480px) {
  .d1-hero-ctas { flex-direction: column; }
  .d1-hero-ctas .btn-lg { width: 100%; }
  .d1-trust-line { gap: 6px 14px; font-size: 0.78rem; }
  .d1-chip { font-size: 0.74rem; padding: 7px 11px 7px 7px; }
}

/* --------------------------------------------------------------------------
   Landing: showcase panel
   -------------------------------------------------------------------------- */
.d1-panel { position: relative; overflow: hidden; background: #0c0c12; border: 1px solid var(--border); border-radius: 32px; padding: clamp(22px, 4vw, 56px); box-shadow: var(--shadow); }
.d1-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 320px at 50% 0%, rgba(255, 123, 84, 0.12), transparent 70%); pointer-events: none; }
.d1-panel > * { position: relative; }
.d1-panel-head { text-align: center; max-width: 660px; margin: 0 auto var(--s-8); }
.d1-panel-head .eyebrow { margin-bottom: var(--s-4); }
.d1-panel-head h2 { margin-bottom: var(--s-3); }
.d1-feature-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); gap: var(--s-6); align-items: center; padding: clamp(22px, 3.5vw, 44px); border-radius: 26px; background: linear-gradient(135deg, #ff9466 0%, #ff6f45 42%, #d9481f 100%); color: #fff; min-height: 440px; box-shadow: 0 40px 80px -40px rgba(255, 110, 70, 0.6); }
.d1-feature-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 280px at 0% 100%, rgba(255, 255, 255, 0.2), transparent 70%), radial-gradient(400px 200px at 100% 0%, rgba(0, 0, 0, 0.18), transparent 70%); pointer-events: none; }
.d1-feature-hero > * { position: relative; z-index: 1; min-width: 0; }
.d1-feature-copy .ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(0, 0, 0, 0.28); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-5); }
.d1-feature-copy .ico svg { width: 22px; height: 22px; }
.d1-feature-copy h3 { color: #fff; font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.08; margin-bottom: var(--s-3); }
.d1-feature-copy p { color: rgba(255, 255, 255, 0.88); max-width: 380px; font-size: 0.95rem; line-height: 1.65; }
.d1-feature-copy .btn { margin-top: var(--s-6); }
.d1-mock-slot { position: relative; }
.d1-mock-slot .mk-window { width: 100%; }
.d1-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-5); }
.d1-mini { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: var(--s-5); padding: var(--s-6); border-radius: 24px; background: var(--panel); border: 1px solid var(--border); overflow: hidden; align-items: center; min-width: 0; }
.d1-mini .icon-box { margin-bottom: var(--s-4); width: 42px; height: 42px; border-radius: 12px; }
.d1-mini .icon-box svg { width: 20px; height: 20px; }
.d1-mini h4 { font-size: 1.15rem; margin-bottom: 6px; }
.d1-mini p { font-size: 0.86rem; line-height: 1.65; }
.d1-mini-art { position: relative; min-width: 0; }
@media (max-width: 1024px) {
  .d1-feature-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
}
@media (max-width: 768px) {
  .d1-panel { border-radius: 24px; }
  .d1-feature-hero { border-radius: 20px; }
  .d1-mini-grid { grid-template-columns: 1fr; }
  .d1-mini { grid-template-columns: 1fr; }
  .d1-mini-art { max-width: 360px; }
}

/* --------------------------------------------------------------------------
   Product UI mockups (HTML/CSS, aria-hidden)
   -------------------------------------------------------------------------- */
.mk-window { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: #0b0b10; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6); font-family: var(--font); font-size: 11px; line-height: 1.4; color: #c9c9d2; min-width: 0; text-align: left; }
.mk-sidebar { background: #0e0e14; border-right: 1px solid rgba(255, 255, 255, 0.07); padding: 12px 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-brand { display: flex; align-items: center; padding: 4px 6px 6px; }
.mk-brand img { display: block; width: 96px; height: auto; }
.mk-search { padding: 7px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.05); color: #6f6f7c; display: flex; align-items: center; gap: 6px; font-size: 10.5px; white-space: nowrap; overflow: hidden; }
.mk-search svg { width: 11px; height: 11px; flex-shrink: 0; }
.mk-nav { display: flex; flex-direction: column; gap: 2px; }
.mk-nav span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: #8d8d99; font-weight: 500; white-space: nowrap; }
.mk-nav span svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.8; }
.mk-nav span.active { background: linear-gradient(90deg, rgba(255, 123, 84, 0.22), rgba(255, 123, 84, 0.05)); color: #fff; box-shadow: inset 2px 0 0 var(--accent); }
.mk-nav span.active svg { color: var(--accent); opacity: 1; }
.mk-nav .sep { height: 1px; background: rgba(255, 255, 255, 0.07); margin: 4px 6px; }
.mk-main { display: flex; flex-direction: column; min-width: 0; }
.mk-topbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); min-width: 0; }
.mk-tabs { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.mk-tabs span { padding: 6px 10px; border-radius: 7px; color: #8d8d99; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.mk-tabs span svg { width: 11px; height: 11px; }
.mk-tabs span.active { color: #fff; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 -2px 0 var(--accent); }
.mk-inject { padding: 6px 13px; border-radius: 8px; background: var(--accent-grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px; box-shadow: 0 8px 20px -8px rgba(255, 123, 84, 0.8); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.mk-inject svg { width: 11px; height: 11px; }
.mk-body { display: grid; grid-template-columns: minmax(0, 1fr) 158px; flex: 1; min-height: 0; }
.mk-editor { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid rgba(255, 255, 255, 0.07); }
.mk-filetabs { display: flex; gap: 2px; padding: 8px 10px 0; }
.mk-filetabs span { padding: 5px 10px; border-radius: 7px 7px 0 0; color: #8d8d99; font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.mk-filetabs span.active { background: #111118; color: #fff; border: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 0; }
.mk-code { flex: 1; background: #111118; margin: 0 10px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0 8px 8px 8px; padding: 8px 0; font-family: var(--mono); font-size: 10.5px; line-height: 1.8; overflow: hidden; min-height: 150px; }
.mk-line { display: flex; gap: 10px; padding: 0 12px; white-space: nowrap; }
.mk-line.hl { background: rgba(255, 123, 84, 0.08); box-shadow: inset 2px 0 0 var(--accent); }
.mk-ln { width: 14px; text-align: right; color: #4e4e5a; flex-shrink: 0; user-select: none; }
.mk-code .k { color: #ff9a6b; }
.mk-code .f { color: #6fe4ff; }
.mk-code .s { color: #a5e8a8; }
.mk-code .n { color: #f6c177; }
.mk-code .c { color: #5c5c6a; font-style: italic; }
.mk-actions { display: flex; gap: 6px; padding: 10px; flex-wrap: wrap; }
.mk-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); color: #d6d6de; font-weight: 600; font-size: 10.5px; border: 1px solid rgba(255, 255, 255, 0.06); white-space: nowrap; }
.mk-btn svg { width: 10px; height: 10px; }
.mk-btn.primary { background: rgba(255, 123, 84, 0.18); color: #ffb08c; border-color: rgba(255, 123, 84, 0.35); }
.mk-btn.cyan { background: var(--cyan); color: #04161a; border-color: transparent; font-weight: 700; }
.mk-btn.block { width: 100%; justify-content: center; padding: 8px; }
.mk-scripts { display: flex; flex-direction: column; padding: 10px; gap: 6px; min-width: 0; }
.mk-scripts-head { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6f6f7c; padding: 2px 2px 4px; display: flex; justify-content: space-between; }
.mk-script { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.05); min-width: 0; }
.mk-script i { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--accent-soft); color: var(--accent); }
.mk-script i svg { width: 12px; height: 12px; }
.mk-script div { min-width: 0; flex: 1; }
.mk-script b { display: block; color: #fff; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-script small { display: block; font-size: 9px; color: #6f6f7c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-run { font-size: 9.5px; font-weight: 700; color: var(--cyan); white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
  .mk-body { grid-template-columns: 1fr; }
  .mk-scripts { display: none; }
  .mk-window { grid-template-columns: 118px minmax(0, 1fr); }
  .mk-search { display: none; }
}
@media (max-width: 400px) {
  .mk-window { grid-template-columns: 1fr; }
  .mk-sidebar { display: none; }
}

/* Mini cards inside the showcase panel */
.mk-status-card { width: 100%; border-radius: 12px; background: #0b0b10; border: 1px solid rgba(255, 255, 255, 0.08); padding: 4px 0; font-size: 10.5px; font-family: var(--font); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9); }
.mk-status-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 11px; color: #8d8d99; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.mk-status-card .row:first-child { border-top: 0; }
.mk-status-card em { font-style: normal; color: #fff; font-weight: 600; white-space: nowrap; }
.mk-status-card em.ok { color: var(--success); display: inline-flex; align-items: center; gap: 5px; }
.mk-status-card em.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.mk-inject-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative; padding: 18px 10px; border-radius: 12px; background: #0b0b10; border: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--font); }
.mk-inject-card .mk-inject { font-size: 13px; padding: 10px 24px; border-radius: 10px; }
.mk-inject-card .cursor { position: absolute; width: 18px; height: 18px; right: 26%; top: 44%; color: #fff; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7)); }
.mk-inject-card small { font-size: 9.5px; color: #8d8d99; }
.mk-inject-card .ring { position: absolute; left: 50%; top: 50%; width: 92px; height: 38px; transform: translate(-50%, -62%); border-radius: 12px; border: 1px solid rgba(255, 123, 84, 0.5); animation: d1-ping 2.2s ease-out infinite; pointer-events: none; }
@keyframes d1-ping { 0% { opacity: 0.9; transform: translate(-50%, -62%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -62%) scale(1.35); } }

/* --------------------------------------------------------------------------
   Landing: alternating feature sections
   -------------------------------------------------------------------------- */
.d1-alt { padding: clamp(28px, 4vw, 56px) 0; }
.d1-alt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.d1-alt.reverse .d1-alt-copy { order: 2; }
.d1-alt-copy { min-width: 0; }
.d1-alt-copy h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: var(--s-4) 0 var(--s-3); line-height: 1.08; }
.d1-alt-copy > p { font-size: 1rem; line-height: 1.7; max-width: 460px; }
.d1-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: var(--s-5); }
.d1-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: #d7d7de; line-height: 1.5; }
.d1-bullets li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.d1-alt.cyan .d1-bullets li svg, .d1-alt.cyan .eyebrow { color: var(--cyan); }
.d1-alt.cyan .eyebrow::before { background: var(--cyan); }
.d1-alt-copy .btn { margin-top: var(--s-6); }
.d1-alt-mock { position: relative; padding: clamp(16px, 2.5vw, 28px); border-radius: 26px; background: #0c0c12; border: 1px solid var(--border); overflow: hidden; min-width: 0; }
.d1-alt-mock::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px 240px at 100% 0%, var(--mock-glow, rgba(255, 123, 84, 0.16)), transparent 70%); pointer-events: none; }
.d1-alt.cyan .d1-alt-mock { --mock-glow: rgba(63, 227, 255, 0.13); }
.d1-alt-mock > * { position: relative; }
@media (max-width: 900px) {
  .d1-alt-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .d1-alt.reverse .d1-alt-copy { order: 0; }
  .d1-alt-mock { border-radius: 20px; }
}

/* Lua executor mock (small window) */
.mk-window.small { grid-template-columns: 1fr; font-size: 10.5px; }
.mk-window.small .mk-body { grid-template-columns: minmax(0, 1fr) 150px; }
.mk-window.small .mk-code { min-height: 130px; }
@media (max-width: 480px) { .mk-window.small .mk-body { grid-template-columns: 1fr; } .mk-window.small .mk-scripts { display: none; } }

/* Stream proof mock */
.mk-stream { display: flex; flex-direction: column; gap: 12px; font-family: var(--font); }
.mk-stream-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #fff; }
.mk-stream-head span { display: inline-flex; align-items: center; gap: 8px; }
.mk-stream-head span svg { width: 15px; height: 15px; color: var(--cyan); }
.mk-stream-head small { font-family: var(--font); font-weight: 600; font-size: 10px; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; margin-left: auto; }
.mk-toggle { width: 42px; height: 24px; border-radius: 999px; background: var(--cyan); position: relative; box-shadow: 0 0 18px rgba(63, 227, 255, 0.5); flex-shrink: 0; }
.mk-toggle i { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.mk-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mk-screen { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #0b0b10; min-width: 0; }
.mk-screen-label { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8d8d99; border-bottom: 1px solid rgba(255, 255, 255, 0.06); white-space: nowrap; }
.mk-screen-label svg { width: 11px; height: 11px; flex-shrink: 0; }
.mk-screen-label .rec { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; animation: pulse 1.4s ease-in-out infinite; }
.mk-screen-label .live { margin-left: auto; color: #ff4d4d; }
.mk-game { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #1b1133 0%, #45214a 44%, #0e0e15 44.5%, #16161e 100%); overflow: hidden; }
.mk-game svg.sky { position: absolute; left: 0; right: 0; bottom: 55%; width: 100%; height: 40%; color: #0c0c12; }
.mk-game .road { position: absolute; left: 0; right: 0; top: 70%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 18px, transparent 18px 34px); }
.mk-game .hud { position: absolute; right: 8px; bottom: 8px; width: 34%; height: 18%; border-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.mk-overlay { position: absolute; left: 7%; top: 9%; width: 62%; padding: 8px; border-radius: 8px; background: rgba(11, 11, 16, 0.94); border: 1px solid rgba(255, 123, 84, 0.45); font-size: 9.5px; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.mk-overlay b { display: flex; align-items: center; gap: 5px; color: var(--accent); font-family: var(--font-display); font-size: 10px; margin-bottom: 5px; }
.mk-overlay b svg { width: 10px; height: 10px; }
.mk-overlay span { display: flex; justify-content: space-between; gap: 6px; padding: 2px 0; color: #c9c9d2; }
.mk-overlay span em { font-style: normal; color: var(--success); font-weight: 700; }
@media (max-width: 400px) { .mk-screens { grid-template-columns: 1fr; } }

/* Privacy Protector mock */
.mk-privacy { border-radius: 16px; background: #0b0b10; border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; font-family: var(--font); }
.mk-privacy-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #fff; }
.mk-privacy-head .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--cyan-soft); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mk-privacy-head .ico svg { width: 16px; height: 16px; }
.mk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 11px; color: #a2a2ad; }
.mk-row code { font-family: var(--mono); font-size: 10.5px; color: #fff; letter-spacing: 0.08em; white-space: nowrap; }
.mk-row em { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); padding: 3px 7px; border-radius: 6px; background: var(--cyan-soft); white-space: nowrap; }
.mk-row em.ok { color: var(--success); background: rgba(34, 211, 138, 0.12); }
.mk-privacy .mk-actions { padding: 12px 14px; }
.mk-privacy .mk-meter { height: 6px; margin: 0 14px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.mk-privacy .mk-meter i { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-2), var(--cyan)); box-shadow: 0 0 12px rgba(63, 227, 255, 0.6); }
@media (max-width: 400px) { .mk-row { grid-template-columns: minmax(0, 1fr) auto; } .mk-row code { display: none; } }

/* Configs Hub mock */
.mk-configs { display: flex; flex-direction: column; gap: 10px; font-family: var(--font); }
.mk-configs-head { display: flex; gap: 8px; align-items: center; }
.mk-configs-head .mk-search { flex: 1; min-width: 0; }
.mk-pills { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); flex-shrink: 0; }
.mk-pills span { padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 600; color: #8d8d99; }
.mk-pills span.active { background: var(--accent-grad); color: #fff; }
.mk-cfg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mk-cfg { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.06); min-width: 0; }
.mk-cfg i { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: 12px; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, var(--c1, #ff9a6b), var(--c2, #ef5a2f)); }
.mk-cfg div { flex: 1; min-width: 0; }
.mk-cfg b { display: block; color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-cfg small { font-size: 9.5px; color: #6f6f7c; white-space: nowrap; }
.mk-cfg .mk-run { padding: 4px 8px; border-radius: 6px; background: var(--cyan-soft); }
.mk-cfg .mk-run.added { color: var(--success); background: rgba(34, 211, 138, 0.12); }
@media (max-width: 400px) { .mk-cfg-grid { grid-template-columns: 1fr; } .mk-pills { display: none; } }

/* --------------------------------------------------------------------------
   Landing: closer look, video, pricing, steps, reviews, FAQ, CTA
   -------------------------------------------------------------------------- */
.d1-look-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.d1-look-card { padding: var(--s-7); border-radius: 24px; background: var(--panel); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s var(--ease); }
.d1-look-card:hover { border-color: rgba(255, 123, 84, 0.35); transform: translateY(-3px); }
.d1-look-card .icon-box { margin-bottom: var(--s-5); }
.d1-look-card h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.d1-look-card p { font-size: 0.88rem; line-height: 1.7; }
@media (max-width: 900px) { .d1-look-grid { grid-template-columns: 1fr; } }

.d1-video { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; border: 1px solid var(--border-strong); background: #000; box-shadow: var(--shadow); cursor: pointer; }
.d1-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: transform 0.6s var(--ease), opacity 0.3s; }
.d1-video:hover img { opacity: 0.75; transform: scale(1.02); }
.d1-video .badge { position: absolute; top: 16px; left: 16px; background: rgba(0, 0, 0, 0.6); color: #fff; backdrop-filter: blur(8px); }
.d1-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(255, 123, 84, 0.18), var(--shadow-accent); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.d1-video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.d1-video:hover .d1-video-play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 18px rgba(255, 123, 84, 0.16), var(--shadow-accent); }
.d1-video.playing { cursor: default; }
@media (max-width: 480px) { .d1-video { border-radius: 18px; } .d1-video-play { width: 64px; height: 64px; } .d1-video-play svg { width: 24px; height: 24px; } }

.d1-pricing-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 30px; overflow: hidden; background: #0c0c12; border: 1px solid var(--border-strong); max-width: 1020px; margin: 0 auto; box-shadow: var(--shadow); }
.d1-price-left { padding: clamp(24px, 4vw, 44px); background: radial-gradient(520px 320px at 0% 0%, rgba(255, 123, 84, 0.22), transparent 65%), #0e0e15; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.d1-price-brand { display: flex; align-items: center; gap: 14px; }
.d1-price-brand img { width: 56px; height: 56px; filter: drop-shadow(0 6px 14px rgba(255, 123, 84, 0.45)); flex-shrink: 0; }
.d1-price-brand h3 { font-size: 1.65rem; margin-top: 2px; line-height: 1.1; }
.d1-price-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.d1-price-badges .badge svg { width: 11px; height: 11px; }
.d1-price-left .feature-list li { font-size: 0.9rem; }
.d1-price-note { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.d1-price-note svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; margin-top: 1px; }
.d1-price-right { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.d1-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.d1-seg button { position: relative; padding: 9px 6px; border-radius: 10px; font-family: var(--font-display); font-size: 0.86rem; font-weight: 700; color: var(--text-dim); transition: background 0.2s, color 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; min-width: 0; }
.d1-seg button:hover { color: #fff; }
.d1-seg button.active { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-accent); }
.d1 .price { justify-content: flex-start; }
.d1-save { margin-top: 10px; font-size: 0.84rem; color: var(--success); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.d1-save[hidden] { display: none; }
.d1-save svg { width: 15px; height: 15px; flex-shrink: 0; }
.d1-paypal { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: -8px; font-size: 0.82rem; font-weight: 600; color: var(--text-dim); }
.d1-paypal:hover { color: #fff; }
.d1-paypal svg { width: 14px; height: 14px; }
.d1-next-wrap { margin-top: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--border); }
.d1-next-title { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; font-family: var(--font-display); }
.d1-next { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: n; }
.d1-next li { position: relative; font-size: 0.72rem; color: var(--text-dim); line-height: 1.4; padding-top: 28px; min-width: 0; }
.d1-next li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 0.66rem; display: inline-flex; align-items: center; justify-content: center; }
.d1-next li b { display: block; color: #fff; font-size: 0.76rem; font-family: var(--font-display); }
.d1-reseller { text-align: center; margin-top: var(--s-8); }
.d1-reseller p { font-size: 0.84rem; margin-top: var(--s-3); }
.d1-reseller-price { display: inline-flex; align-items: center; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-size: 0.78rem; font-weight: 700; line-height: 1.2; }
.btn-primary .d1-reseller-price { background: rgba(0, 0, 0, 0.22); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
@media (max-width: 900px) {
  .d1-pricing-card { grid-template-columns: 1fr; border-radius: 24px; }
  .d1-price-left { border-right: 0; border-bottom: 1px solid var(--border); }
  .d1-next { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .d1-seg button { font-size: 0.78rem; padding: 8px 4px; }
  .d1 .price-now { font-size: 2.2rem; }
}

.d1-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.d1-step { position: relative; padding: var(--s-7); border-radius: 24px; background: var(--panel); border: 1px solid var(--border); }
.d1-step .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.22) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; margin-bottom: var(--s-5); }
.d1-step .icon-box { position: absolute; right: var(--s-6); top: var(--s-6); width: 42px; height: 42px; border-radius: 12px; }
.d1-step .icon-box svg { width: 19px; height: 19px; }
.d1-step h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.d1-step p { font-size: 0.88rem; line-height: 1.7; }
@media (max-width: 900px) { .d1-steps { grid-template-columns: 1fr; } }

.d1-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.d1-review { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-7); border-radius: 24px; background: var(--panel); border: 1px solid var(--border); }
.d1-review .stars { display: flex; gap: 3px; color: var(--warning); }
.d1-review .stars svg { width: 15px; height: 15px; }
.d1-review blockquote { flex: 1; font-size: 0.92rem; line-height: 1.75; color: #d7d7de; }
.d1-review .author { display: flex; align-items: center; gap: 12px; }
.d1-review .avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-family: var(--font-display); font-weight: 800; background: var(--accent-grad); color: #fff; border: 0; }
.d1-review .name { font-weight: 700; color: #fff; font-size: 0.9rem; font-family: var(--font-display); }
.d1-review .tag { font-size: 0.76rem; color: var(--text-muted); }
.d1-reviews-meta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: var(--s-7); font-size: 0.84rem; color: var(--text-dim); flex-wrap: wrap; }
.d1-reviews-meta .stars { display: inline-flex; gap: 2px; color: var(--warning); }
.d1-reviews-meta .stars svg { width: 14px; height: 14px; }
.d1-reviews-meta b { color: #fff; font-family: var(--font-display); }
@media (max-width: 900px) { .d1-reviews { grid-template-columns: 1fr; } }

.d1-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.d1-faq-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.d1-faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--border); transition: border-color 0.2s, background 0.2s; min-width: 0; }
.d1-faq details:hover { border-color: var(--border-strong); }
.d1-faq details[open] { border-color: var(--border-accent); background: rgba(255, 123, 84, 0.04); }
.d1-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: #fff; line-height: 1.3; }
.d1-faq summary::-webkit-details-marker { display: none; }
.d1-faq summary .chev { width: 28px; height: 28px; border-radius: 9px; background: var(--panel-2); color: var(--text-dim); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s var(--ease), background 0.2s, color 0.2s; }
.d1-faq summary .chev svg { width: 14px; height: 14px; }
.d1-faq details[open] summary .chev { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.d1-faq .body { padding: 0 20px 18px; font-size: 0.88rem; line-height: 1.75; color: var(--text-dim); }
.d1-faq .body p + p { margin-top: 10px; }
.d1-faq-more { text-align: center; margin-top: var(--s-7); font-size: 0.9rem; }
.d1-faq-more a { font-weight: 700; }
@media (max-width: 768px) { .d1-faq { grid-template-columns: 1fr; } .d1-faq summary { padding: 16px 16px; font-size: 0.92rem; } .d1-faq .body { padding: 0 16px 16px; } }

.d1-cta-section { padding-top: 0; }
.d1-cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 5vw, 64px); background: linear-gradient(135deg, #ff9466 0%, #ff6f45 45%, #d9481f 100%); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-6); align-items: center; min-height: 340px; box-shadow: 0 40px 80px -40px rgba(255, 110, 70, 0.6); }
.d1-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 320px at 0% 0%, rgba(255, 255, 255, 0.22), transparent 65%); pointer-events: none; }
.d1-cta > * { position: relative; z-index: 1; min-width: 0; }
.d1-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: var(--s-3); }
.d1-cta p { color: rgba(255, 255, 255, 0.88); max-width: 480px; font-size: 1rem; margin-bottom: var(--s-6); }
.d1-cta-trust { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: var(--s-5); font-size: 0.8rem; color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.d1-cta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.d1-cta-trust svg { width: 14px; height: 14px; }
.d1-cta-art { position: absolute; right: 30px; bottom: -40px; height: 125%; width: auto; z-index: 1; pointer-events: none; filter: drop-shadow(-20px 0 40px rgba(0, 0, 0, 0.35)); }
@media (max-width: 900px) { .d1-cta { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; } .d1-cta-art { display: none; } }

/* --------------------------------------------------------------------------
   Landing: reseller modal, discount offer, floating button, unlock banner, sticky bar
   -------------------------------------------------------------------------- */
/* Reseller modal */
.d1-reseller-modal { max-width: 600px; }
.d1-reseller-modal::before { display: none; }
.d1-reseller-head { display: flex; align-items: flex-start; gap: 16px; padding-right: 40px; margin-bottom: var(--s-5); }
.d1-reseller-head .icon-box { flex-shrink: 0; }
.d1-reseller-head .eyebrow { margin-bottom: 6px; }
.d1-reseller-head h2 { margin-bottom: 4px; }
.d1-reseller-head p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.5; }
.d1-reseller-pack { position: relative; padding: 16px 18px 18px; border-radius: 18px; background: radial-gradient(360px 180px at 0% 0%, rgba(255, 123, 84, 0.24), transparent 70%), #0b0b10; border: 1px solid var(--border-accent); margin-bottom: var(--s-5); }
.d1-reseller-pack-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--font-display); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.d1-reseller-pack-head b { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-size: 0.72rem; letter-spacing: 0.02em; text-transform: none; white-space: nowrap; }
.d1-inventory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.d1-inventory-grid > div { padding: 14px 6px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); text-align: center; }
.d1-inventory-grid strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.d1-inventory-grid span { display: block; margin-top: 6px; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.d1-warnings { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.84rem; color: #c8c8cf; line-height: 1.5; }
.d1-warnings li { display: flex; align-items: flex-start; gap: 10px; }
.d1-warnings svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.d1-agree { display: flex; align-items: flex-start; gap: 12px; margin-top: var(--s-5); padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); cursor: pointer; font-size: 0.84rem; color: var(--text-dim); line-height: 1.45; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.d1-agree:hover { border-color: var(--border-strong); color: #fff; }
.d1-agree:has(input:checked) { border-color: var(--border-accent); background: var(--accent-soft); color: #fff; }
.d1-agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.d1-reseller-modal #resellerBuy { margin-top: var(--s-4); }
.d1-reseller-modal #resellerBuy[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.d1-reseller-foot { margin-top: var(--s-4); display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.d1-reseller-foot svg { width: 14px; height: 14px; flex-shrink: 0; }
.d1-reseller-foot a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.d1-reseller-foot a:hover { color: #fff; }
#resellerBuy[aria-disabled="true"] { pointer-events: none; }

.d1-offer { position: fixed; left: 20px; bottom: 20px; z-index: 850; width: min(360px, calc(100vw - 32px)); padding: 22px; border-radius: 22px; background: #0f0f15; border: 1px solid var(--border-strong); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 123, 84, 0.12); transform: translateY(24px); opacity: 0; pointer-events: none; visibility: hidden; transition: transform 0.45s var(--ease), opacity 0.35s, visibility 0s 0.45s; }
.d1-offer.show { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform 0.45s var(--ease), opacity 0.35s, visibility 0s; }
.d1-offer-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 9px; color: var(--text-muted); font-size: 1.2rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.d1-offer-close:hover { color: #fff; background: var(--panel-2); }
.d1-offer-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--accent-grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.08em; margin-bottom: 12px; }
.d1-offer-tag svg { width: 12px; height: 12px; }
.d1-offer h2 { font-size: 1.25rem; margin-bottom: 6px; line-height: 1.2; }
.d1-offer > p { font-size: 0.82rem; line-height: 1.6; margin-bottom: 14px; }
.d1-offer form { display: flex; flex-direction: column; gap: 8px; }
.d1-offer .hint { margin-top: 10px; }
.d1-fab { position: fixed; left: 20px; bottom: 20px; z-index: 850; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--accent-grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.02em; box-shadow: var(--shadow-accent); transition: transform 0.25s var(--ease); }
.d1-fab[hidden] { display: none; }
.d1-fab:hover { transform: translateY(-3px); color: #fff; }
.d1-fab svg { width: 14px; height: 14px; }
.d1-unlock { position: relative; z-index: 501; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 9px 44px 9px 20px; text-align: center; font-size: 0.8rem; font-weight: 600; color: #fff; background: linear-gradient(90deg, rgba(255, 123, 84, 0.06), rgba(255, 123, 84, 0.24), rgba(255, 123, 84, 0.06)); border-bottom: 1px solid var(--border-accent); }
.d1-unlock[hidden] { display: none; }
.d1-unlock .check { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.d1-unlock .check svg { width: 11px; height: 11px; }
.d1-unlock .code { cursor: pointer; font-weight: 800; letter-spacing: 0.12em; transition: border-color 0.2s, color 0.2s; }
.d1-unlock .code:hover { border-color: var(--accent); color: #fff; }
.d1-unlock .code svg { width: 11px; height: 11px; }
.d1-unlock .close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; color: var(--text-dim); font-size: 1.15rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.d1-unlock .close:hover { color: #fff; }
.d1-sticky { display: none; }
@media (max-width: 768px) {
  body.landing { padding-bottom: 82px; }
  .d1-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 7, 10, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); transition: transform 0.3s var(--ease); }
  .d1-sticky.hide { transform: translateY(110%); }
  .d1-sticky b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #fff; line-height: 1.1; }
  .d1-sticky small { font-size: 0.68rem; color: var(--text-dim); }
  .d1-sticky .btn { white-space: nowrap; }
  .landing .toast-region { bottom: 96px; }
  .d1-offer { left: 12px; right: 12px; bottom: 94px; width: auto; padding: 18px; }
  .d1-fab { bottom: 94px; left: 12px; }
}

/* --------------------------------------------------------------------------
   Site footer
   -------------------------------------------------------------------------- */
.d1-footer { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--border); background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.015)); padding: clamp(40px, 6vw, 72px) 0 var(--s-7); }
.d1-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; padding: var(--s-6) var(--s-7); border-radius: 22px; background: var(--panel); border: 1px solid var(--border); margin-bottom: clamp(32px, 5vw, 56px); }
.d1-footer-cta b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.d1-footer-cta span { font-size: 0.84rem; color: var(--text-dim); }
.d1-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--s-8); margin-bottom: var(--s-9); }
.d1-footer-brand p { margin-top: var(--s-4); font-size: 0.86rem; max-width: 320px; line-height: 1.7; }
.d1-footer-col h4 { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--s-4); }
.d1-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.d1-footer-col a { font-size: 0.88rem; color: #c8c8cf; font-weight: 500; }
.d1-footer-col a:hover { color: var(--accent); }
.d1-footer-social { display: flex; gap: 8px; margin-top: var(--s-5); }
.d1-footer-social a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--text-dim); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.d1-footer-social a:hover { color: #fff; border-color: var(--border-accent); background: var(--accent-soft); }
.d1-footer-social svg { width: 16px; height: 16px; }
.d1-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-top: var(--s-6); border-top: 1px solid var(--border); font-size: 0.76rem; color: var(--text-muted); }
@media (max-width: 1024px) { .d1-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .d1-footer-grid { grid-template-columns: 1fr; gap: var(--s-6); } .d1-footer-cta { padding: var(--s-5); } .d1-footer-cta .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   Login page
   -------------------------------------------------------------------------- */
.d1-login { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(32px, 6vw, 72px) 0 var(--s-8); }
.d1-login-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) clamp(22px, 3.5vw, 40px); border-radius: 28px; background: #0e0e15; border: 1px solid var(--border-strong); box-shadow: var(--shadow); text-align: center; }
.d1-login-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-repeat: no-repeat; background-position: top; background-image: var(--accent-grad); background-size: 100% 2px; }
.d1-login-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 50% 0%, rgba(255, 123, 84, 0.14), transparent 70%); pointer-events: none; }
.d1-login-card > * { position: relative; z-index: 1; }
.d1-login-card .brand { display: inline-flex; margin-bottom: var(--s-7); }
.d1-login-card .brand img { height: 26px; }
.d1-login-card h1 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: var(--s-3); line-height: 1.1; }
.d1-login-card h1 span { color: var(--accent); }
.d1-login-card .subtitle { font-size: 0.9rem; line-height: 1.7; margin-bottom: var(--s-7); }
.d1-login-divider { display: flex; align-items: center; gap: var(--s-4); margin: var(--s-6) 0; font-family: var(--font-display); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.d1-login-divider::before, .d1-login-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.d1-login-side { display: flex; flex-direction: column; gap: var(--s-6); min-width: 0; }
.d1-login-side h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.08; }
.d1-login-side > p { font-size: 1rem; max-width: 480px; }
.d1-login-perks { display: flex; flex-direction: column; gap: 10px; }
.d1-login-perk { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); }
.d1-login-perk .icon-box { width: 42px; height: 42px; border-radius: 12px; }
.d1-login-perk .icon-box svg { width: 19px; height: 19px; }
.d1-login-perk b { display: block; font-family: var(--font-display); color: #fff; font-size: 0.98rem; margin-bottom: 2px; }
.d1-login-perk span { font-size: 0.84rem; color: var(--text-dim); line-height: 1.6; }
.d1-login-stats { display: flex; gap: var(--s-7); flex-wrap: wrap; }
.d1-login-stats div b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.d1-login-stats div span { display: block; margin-top: 4px; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 700; }
@media (max-width: 900px) { .d1-login { grid-template-columns: 1fr; gap: var(--s-8); } .d1-login-card { max-width: 520px; width: 100%; margin: 0 auto; } }

/* --------------------------------------------------------------------------
   Dashboard shell (floating glass sidebar)
   -------------------------------------------------------------------------- */
.d1-dash .dash { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
.d1-dash .dash-sidebar { position: sticky; top: 14px; height: calc(100vh - 28px); margin: 14px 0 14px 14px; border-radius: 24px; background: rgba(13, 13, 19, 0.8); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); padding: var(--s-5) var(--s-4); gap: var(--s-5); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); }
.d1-dash .dash-sidebar .brand { padding: 4px 8px; justify-content: center; }
.d1-dash .dash-sidebar .brand img { height: 22px; }
.d1-dash .dash-nav { gap: var(--s-4); }
.d1-dash .dash-nav-label { color: var(--text-muted); letter-spacing: 0.16em; font-size: 0.62rem; padding: 0 12px 6px; }
.d1-dash .dash-nav a, .d1-dash .dash-nav button { padding: 10px 12px; border-radius: 12px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text-dim); border: 0; }
.d1-dash .dash-nav a:hover, .d1-dash .dash-nav button:hover { color: #fff; background: var(--panel-2); }
.d1-dash .dash-nav a.active { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.d1-dash .dash-nav a.active svg { color: #fff; opacity: 1; }
.d1-dash .dash-nav a.active .nav-badge { background: rgba(255, 255, 255, 0.22); color: #fff; border-color: transparent; }
.d1-dash .dash-nav .nav-badge { font-size: 0.56rem; padding: 4px 7px; }
.d1-sidebar-promo { padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 123, 84, 0.22), rgba(255, 123, 84, 0.06)); border: 1px solid var(--border-accent); }
.d1-sidebar-promo b { display: block; font-family: var(--font-display); color: #fff; font-size: 0.92rem; margin-bottom: 2px; }
.d1-sidebar-promo span { display: block; font-size: 0.74rem; color: var(--text-dim); margin-bottom: 10px; line-height: 1.5; }
.d1-sidebar-promo .btn { width: 100%; }
.d1-dash .dash-user { border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.d1-dash .dash-user .name { font-family: var(--font-display); }
.d1-dash .dash-user a.logout { width: 30px; height: 30px; }
.d1-dash .dash-user a.logout svg { width: 15px; height: 15px; }
.d1-dash .dash-content { max-width: 1200px; padding: var(--s-7) var(--s-8) var(--s-11); gap: var(--s-6); }
.d1-dash .dash-header { align-items: center; }
.d1-dash .dash-header h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.d1-dash .dash-header p { font-size: 0.88rem; }
.d1-dash .dash-footer { border-top: 0; padding: var(--s-6) var(--s-8); }
.d1-dash .dash-topbar { border-bottom: 1px solid var(--border); background: rgba(7, 7, 10, 0.88); }
@media (max-width: 960px) {
  .d1-dash .dash { grid-template-columns: 1fr; }
  .d1-dash .dash-sidebar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 600; margin: 0; height: 100vh; width: min(300px, 86vw); border-radius: 0 24px 24px 0; transform: translateX(-100%); transition: transform 0.3s var(--ease); background: rgba(12, 12, 17, 0.97); }
  .d1-dash .dash-sidebar.open { transform: none; }
  .d1-dash .dash-content { padding: var(--s-6) var(--s-5) var(--s-10); }
  .d1-dash .dash-footer { padding: var(--s-5); }
}

/* Dashboard: profile */
.d1-profile { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); align-items: center; padding: var(--s-7); border-radius: 26px; background: #0e0e15; border: 1px solid var(--border); }
.d1-profile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 260px at 0% 0%, rgba(255, 123, 84, 0.2), transparent 70%); pointer-events: none; }
.d1-profile > * { position: relative; z-index: 1; min-width: 0; }
.d1-profile-id { display: flex; align-items: center; gap: var(--s-5); }
.d1-profile-id .avatar-lg { width: 88px; height: 88px; }
.d1-profile-name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.1; overflow-wrap: anywhere; }
.d1-profile-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.d1-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.d1-lic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--s-5); }
.d1-lic { position: relative; overflow: hidden; padding: var(--s-6); border-radius: 22px; background: var(--panel); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.d1-lic::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-repeat: no-repeat; background-position: top; background-image: linear-gradient(var(--lic-color, var(--border-strong)), var(--lic-color, var(--border-strong))); background-size: 100% 3px; }
.d1-lic.classic { --lic-color: var(--accent-grad); }
.d1-lic.lite { --lic-color: linear-gradient(90deg, var(--cyan), var(--cyan-2)); }
.d1-lic.none { --lic-color: linear-gradient(90deg, var(--danger), #b83030); }
.d1-lic.account { --lic-color: linear-gradient(90deg, #fff, #7a7a85); }
.d1-lic-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d1-lic-emblem { position: absolute; right: -16px; bottom: -22px; width: 120px; height: 120px; opacity: 0.07; pointer-events: none; }
.d1-lic .value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.05; }
.d1-lic .value.success { color: var(--success); }
.d1-lic .value.cyan { color: var(--cyan); }
.d1-lic .value.danger { color: var(--danger); }
.d1-lic .sub { font-size: 0.76rem; color: var(--text-muted); font-weight: 600; }
.d1-lic .cluster { margin-top: auto; padding-top: 8px; position: relative; }
.d1-announce-list { display: flex; flex-direction: column; }
.d1-announce { display: flex; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--border); }
.d1-announce:first-child { border-top: 0; padding-top: 0; }
.d1-announce:last-child { padding-bottom: 0; }
.d1-announce img { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--border); object-fit: cover; flex-shrink: 0; }
.d1-announce .who { font-size: 0.86rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); }
.d1-announce .who small { font-family: var(--font); font-size: 0.62rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.d1-announce p { font-size: 0.86rem; margin-top: 4px; line-height: 1.7; }
.d1-announce p.danger { color: #ff9c9c; }
.d1-announce p a { font-weight: 700; }
@media (max-width: 768px) {
  .d1-profile { grid-template-columns: 1fr; padding: var(--s-6) var(--s-5); }
  .d1-profile-id { flex-direction: column; align-items: flex-start; }
  .d1-profile-actions { justify-content: flex-start; }
  .d1-profile-actions .btn { flex: 1 1 auto; }
}

/* Dashboard: purchase */
.d1-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); align-items: stretch; }
.d1-products.single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.d1-product { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #0c0c12; border: 1px solid var(--border-strong); box-shadow: var(--shadow); min-width: 0; }
.d1-product-head { position: relative; padding: var(--s-6); padding-right: 150px; display: flex; align-items: center; gap: 14px; background: radial-gradient(420px 220px at 0% 0%, rgba(255, 123, 84, 0.24), transparent 65%), #0e0e15; border-bottom: 1px solid var(--border); }
.d1-product.lite .d1-product-head { background: radial-gradient(420px 220px at 0% 0%, rgba(63, 227, 255, 0.18), transparent 65%), #0e0e15; }
.d1-product-head img { width: 52px; height: 52px; flex-shrink: 0; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.d1-product-head .eyebrow { margin-bottom: 2px; }
.d1-product.lite .eyebrow { color: var(--cyan); }
.d1-product.lite .eyebrow::before { background: var(--cyan); }
.d1-product-head h2 { font-size: 1.4rem; line-height: 1.1; }
.d1-product-badges { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.d1-product-badges .badge svg { width: 11px; height: 11px; }
.d1-product-body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); flex: 1; }
.d1-product .d1-seg { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.d1-product.lite .d1-seg button.active { background: var(--cyan); color: #04161a; box-shadow: 0 10px 30px -10px rgba(63, 227, 255, 0.6); }
.d1-product.lite .d1-save { color: var(--cyan); }
.d1-product .feature-list { flex: 1; }
.d1-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); counter-reset: f; }
.d1-flow > div { position: relative; padding: var(--s-5) var(--s-5) var(--s-5) 62px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); }
.d1-flow > div::before { counter-increment: f; content: counter(f); position: absolute; left: 18px; top: 20px; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; display: inline-flex; align-items: center; justify-content: center; }
.d1-flow strong { display: block; margin-bottom: 4px; font-family: var(--font-display); }
.d1-flow p { font-size: 0.78rem; line-height: 1.6; }
.d1-owned { text-align: center; padding: var(--s-10) var(--s-6); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); border-radius: 26px; }
.d1-owned h2 { font-size: 2rem; }
@media (max-width: 1100px) { .d1-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .d1-products, .d1-products.single { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .d1-flow { grid-template-columns: 1fr; } .d1-product-head { padding-right: var(--s-6); flex-wrap: wrap; } .d1-product-badges { position: static; flex-direction: row; width: 100%; } }

/* Local-only sign-in form on the login page (rendered when APP_ENV=local) */
.d1-dev-login { margin-top: var(--s-5); padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--border-strong); font-size: 0.74rem; color: var(--text-muted); line-height: 1.7; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.d1-dev-login b { color: #ffb020; }
.d1-dev-login input[type="number"] { width: 84px; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: #fff; font: inherit; }
.d1-dev-login .btn { padding: 4px 10px; font-size: 0.72rem; }
