/* ============================================================
   Delta Executor PC — stylesheet
   Fully black & white digital SaaS treatment.
   Class prefix: dlt-*
   ============================================================ */

:root {
  --dlt-bg:        #0A0A0A;
  --dlt-bg-soft:   #111111;
  --dlt-bg-card:   #141414;
  --dlt-bg-card-2: #0E0E0E;
  --dlt-fg:        #FFFFFF;
  --dlt-fg-dim:    rgba(255,255,255,0.68);
  --dlt-fg-mute:   rgba(255,255,255,0.42);
  --dlt-line:      rgba(255,255,255,0.08);
  --dlt-line-str:  rgba(255,255,255,0.20);
  --dlt-ink:       #FFFFFF;
  color-scheme: dark;
}

html { background: var(--dlt-bg); }
body {
  background: transparent;
  color: var(--dlt-fg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Side padding moved OFF body so section backgrounds (footer, hero, etc.)
     can span the full viewport width. Each section band carries its own
     horizontal gutter on its inner max-w-6xl wrapper. */
}

/* Starfield canvas sits behind everything */
#dlt-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  pointer-events: none;
}

/* ------------------------------------------------------------
   HERO
   Backdrop layering:
     1. Radial white glow (always)
     2. Inline SVG Delta glyph as fallback (always, data-URI — works in
        preview and on the deployed domain even before the asset exists)
     3. img/deltapc-logo.webp overlay (shows on the live site, stacks
        on top of the glyph for a richer composition)
------------------------------------------------------------ */
.dlt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center 52%, rgba(255,255,255,0.09) 0%, transparent 55%);
}

/* Layer 2 — SVG Delta glyph fallback, always visible */
.dlt-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><g fill='none' stroke='white' stroke-linejoin='round'><path d='M200 46 L356 334 L44 334 Z' stroke-width='2.2' stroke-opacity='0.55'/><path d='M200 108 L310 310 L90 310 Z' stroke-width='1.6' stroke-opacity='0.35'/><path d='M200 164 L272 290 L128 290 Z' stroke-width='1.2' stroke-opacity='0.22'/><circle cx='200' cy='334' r='3' fill='white' fill-opacity='0.6'/><circle cx='44' cy='334' r='3' fill='white' fill-opacity='0.6'/><circle cx='356' cy='334' r='3' fill='white' fill-opacity='0.6'/><circle cx='200' cy='46' r='3' fill='white' fill-opacity='0.6'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center 52%;
  background-size: min(620px, 68vmin) auto;
  opacity: 0.55;
  filter: drop-shadow(0 0 60px rgba(255,255,255,0.08));
}

/* Layer 3 — your webp on top (visible on deltapc.dev where the file exists) */
.dlt-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/deltapc-logo.webp');
  background-repeat: no-repeat;
  background-size: min(720px, 72vmin) auto;
  background-position: center 52%;
  opacity: 0.45;
  filter: brightness(1.15) contrast(1.05);
}

.dlt-hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% 50%, rgba(255,255,255,0.05), transparent 65%),
    linear-gradient(to bottom, rgba(10,10,10,0) 55%, var(--dlt-bg) 100%);
}

.dlt-outline {
  -webkit-text-stroke: 1.2px rgba(255,255,255,0.55);
  color: transparent;
}

.dlt-pill-badge {
  background: #fff;
  color: #000;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   MAIN BACKGROUND / TRANSITION
------------------------------------------------------------ */
.dlt-main { background-color: var(--dlt-bg); }

/* Hero → main transition: fade lives inside main only (top: 0 downward),
   so it never covers hero content. Hero sits at z-30, main at z-10. */
.dlt-main-fade {
  position: absolute; top: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(to bottom,
    var(--dlt-bg) 0%, rgba(10,10,10,0.6) 55%, rgba(10,10,10,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.dlt-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: 100px 100px;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  mask-image:         linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
}

/* ------------------------------------------------------------
   HEADLINE GLITCH (not used on Delta hero, kept for reusable)
------------------------------------------------------------ */
@keyframes dlt-glitch {
  0%,  14%  { text-shadow:  0.02em 0 0 rgba(255,255,255,0.75), -0.01em -0.02em 0 rgba(255,255,255,0.35); }
  15%, 49%  { text-shadow: -0.02em -0.01em 0 rgba(255,255,255,0.75),  0.01em  0.01em 0 rgba(255,255,255,0.35); }
  50%, 99%  { text-shadow:  0.01em  0.02em 0 rgba(255,255,255,0.75),  0.02em  0     0 rgba(255,255,255,0.35); }
  100%      { text-shadow: -0.01em  0     0 rgba(255,255,255,0.75), -0.01em -0.01em 0 rgba(255,255,255,0.35); }
}
.dlt-glitch { animation: dlt-glitch 2.4s infinite linear alternate-reverse; position: relative; }

/* ------------------------------------------------------------
   SCROLL ARROW, NUMBER POP, REVEAL
------------------------------------------------------------ */
@keyframes dlt-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.dlt-scroll-arrow { animation: dlt-bob 2s ease-in-out infinite; }

@keyframes dlt-pop { 0% { transform: scale(1); } 50% { transform: scale(1.05); color: #fff; } 100% { transform: scale(1); } }
.dlt-pop { animation: dlt-pop 0.3s ease-out; }

.dlt-reveal { opacity: 0; transform: translateY(15px); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.dlt-reveal.is-on { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------
   STATS ROW — micro animations
------------------------------------------------------------ */
@keyframes dlt-wave { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.dlt-wave { width: 200%; animation: dlt-wave 4s linear infinite; }

@keyframes dlt-eq-bounce { 0%,100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
.dlt-eq       { transform-origin: bottom; animation: dlt-eq-bounce 1.5s cubic-bezier(0.4,0,0.2,1) infinite; }
.dlt-eq--1 { animation-duration: 1.2s; }
.dlt-eq--2 { animation-duration: 0.8s; }
.dlt-eq--3 { animation-duration: 1.5s; }
.dlt-eq--4 { animation-duration: 1.1s; }
.dlt-eq--5 { animation-duration: 1.4s; }
.dlt-eq--6 { animation-duration: 0.9s; }
.dlt-eq--7 { animation-duration: 1.3s; }

@keyframes dlt-ping {
  0%   { transform: scale(0.5); opacity: 1; border-color: rgba(255,255,255,0.8); }
  100% { transform: scale(2.5); opacity: 0; border-color: rgba(255,255,255,0);   }
}
.dlt-ping { animation: dlt-ping 1.5s ease-out infinite; }

@keyframes dlt-scan {
  0%   { left: -10%; opacity: 0; }
  50%  { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}
.dlt-scan { animation: dlt-scan 2s cubic-bezier(0.4,0,0.2,1) infinite; }

/* ------------------------------------------------------------
   FEATURES — dash flow, radar, packets, auth node
------------------------------------------------------------ */
@keyframes dlt-dash { to { stroke-dashoffset: -20; } }
.dlt-dash { stroke-dasharray: 4 6; animation: dlt-dash 0.5s linear infinite; }

@keyframes dlt-radar-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.dlt-radar {
  background: conic-gradient(from 0deg, transparent 70%, rgba(255,255,255,0.45) 100%);
  border-radius: 50%;
  animation: dlt-radar-spin 2s linear infinite;
}
@keyframes dlt-blip { 0%,100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1); } }
.dlt-blip { animation: dlt-blip 2s ease-in-out infinite; }

@keyframes dlt-packet { 0% { left: 10%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.dlt-packet { animation: dlt-packet 1.5s cubic-bezier(0.4,0,0.2,1) infinite; }

@keyframes dlt-node {
  0%   { box-shadow: 0 0 0 0   rgba(255,255,255,0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0);    }
  100% { box-shadow: 0 0 0 0   rgba(255,255,255,0);    }
}
.dlt-node-pulse { animation: dlt-node 2s infinite; }

@keyframes dlt-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.dlt-marquee { display: flex; width: 200%; animation: dlt-marquee 15s linear infinite; }
.dlt-marquee:hover { animation-play-state: paused; }

@keyframes dlt-mini-eq { 0%,100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.dlt-mini-1 { animation: dlt-mini-eq 0.8s ease-in-out infinite; transform-origin: bottom; }
.dlt-mini-2 { animation: dlt-mini-eq 1.2s ease-in-out infinite; transform-origin: bottom; }
.dlt-mini-3 { animation: dlt-mini-eq 0.9s ease-in-out infinite; transform-origin: bottom; }

/* ------------------------------------------------------------
   DOWNLOAD TIMELINE
------------------------------------------------------------ */
.dlt-timeline { position: relative; }
.dlt-tl-track {
  position: absolute; left: 13px; top: 24px; bottom: 10px;
  width: 2px; background-color: rgba(255,255,255,0.05); overflow: hidden;
}
@keyframes dlt-flow { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.dlt-tl-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.65), transparent);
  animation: dlt-flow 3s linear infinite;
}

/* ------------------------------------------------------------
   CHANGELOG
------------------------------------------------------------ */
.dlt-no-bar::-webkit-scrollbar { display: none; }
.dlt-no-bar { -ms-overflow-style: none; scrollbar-width: none; }

.dlt-cl-nav { transition: all 0.3s ease; position: relative; }
.dlt-cl-nav::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background-color: transparent; transition: all 0.3s ease;
}
.dlt-cl-nav:hover { background-color: rgba(255,255,255,0.03); }
.dlt-cl-nav.is-on { background-color: rgba(255,255,255,0.05); color: #fff; }
.dlt-cl-nav.is-on::before { background-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.45); }

.dlt-cl-body { transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; }
.dlt-cl-body.is-fading { opacity: 0; transform: translateX(10px); }

.dlt-tag-added     { color: #ffffff; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.dlt-tag-fixed     { color: #d6d6d6; background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.dlt-tag-optimized { color: #e6e6e6; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); }
.dlt-tag-stealth   { color: #bababa; background: rgba(255,255,255,0.035); border-color: rgba(255,255,255,0.10); }

/* ------------------------------------------------------------
   FAQ
------------------------------------------------------------ */
.dlt-faq-answer {
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.dlt-faq-item.is-open .dlt-faq-answer {
  max-height: 360px;
  opacity: 1;
  padding-bottom: 1.25rem;
}
.dlt-faq-ico { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.dlt-faq-item.is-open .dlt-faq-ico { transform: rotate(45deg); color: #fff; }
.dlt-faq-item { transition: background-color 0.3s ease; }
.dlt-faq-item:hover { background-color: rgba(255,255,255,0.02); }

/* ------------------------------------------------------------
   CTA PRIMARY / GHOST
------------------------------------------------------------ */
.dlt-cta-primary {
  background: #fff;
  color: #000;
  box-shadow: 0 10px 40px rgba(255,255,255,0.18),
              0 0 0 1px rgba(255,255,255,0.40) inset;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.dlt-cta-primary:hover {
  transform: translateY(-1px);
  background: #f3f3f3;
  box-shadow: 0 14px 50px rgba(255,255,255,0.28),
              0 0 0 1px rgba(255,255,255,0.50) inset;
}
.dlt-cta-ghost {
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid var(--dlt-line-str);
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease;
}
.dlt-cta-ghost:hover { background: rgba(0,0,0,0.70); border-color: rgba(255,255,255,0.45); }

/* ------------------------------------------------------------
   NAV LINKS (header pill)
------------------------------------------------------------ */
.dlt-nav-link { position: relative; color: var(--dlt-fg-dim); transition: color .2s ease; }
.dlt-nav-link:hover { color: #fff; }
.dlt-nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  width: 0; height: 1px; background: #fff;
  transition: width .25s ease, left .25s ease;
}
.dlt-nav-link:hover::after { width: 100%; left: 0; }

/* Shared fade for Download platform swap (unused on PC-only build but kept) */
.dlt-fade { transition: opacity 0.3s ease-in-out; }
.dlt-fade.is-fading { opacity: 0; }

/* ------------------------------------------------------------
   TROUBLESHOOTING
------------------------------------------------------------ */
.dlt-cat-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  position: relative;
}
.dlt-cat-btn:hover {
  background: rgba(255,255,255,0.03);
  color: #fff;
}
.dlt-cat-btn .dlt-cat-ico {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  flex-shrink: 0;
  transition: all .2s ease;
}
.dlt-cat-btn .dlt-cat-count {
  margin-left: auto;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 1px 7px;
  transition: all .2s ease;
}
.dlt-cat-btn.is-on {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.dlt-cat-btn.is-on .dlt-cat-ico {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.dlt-cat-btn.is-on .dlt-cat-count {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.dlt-issue {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #121212, #0A0A0A);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.dlt-issue:hover { border-color: rgba(255,255,255,0.18); }
.dlt-issue.is-open { border-color: rgba(255,255,255,0.25); }

.dlt-issue-head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: inherit;
}
.dlt-issue-num {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.dlt-issue-num::before {
  content: ''; position: absolute; inset: 0; border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color .25s ease;
}
.dlt-issue.is-open .dlt-issue-num {
  background: #fff; color: #000; border-color: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.3);
}
.dlt-issue-num span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.dlt-issue-num .dlt-issue-num-tag {
  font-size: 7.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  margin-top: -1px;
}
.dlt-issue.is-open .dlt-issue-num .dlt-issue-num-tag { color: rgba(0,0,0,0.55); }

.dlt-issue-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}
.dlt-issue-badge svg { width: 10px; height: 10px; }

.dlt-issue-toggle {
  width: 28px; height: 28px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: transform .3s ease, background .25s ease, color .25s ease;
}
.dlt-issue.is-open .dlt-issue-toggle {
  background: #fff;
  color: #000;
  transform: rotate(45deg);
  border-color: #fff;
}

.dlt-issue-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1), opacity .4s ease, padding .3s ease;
  padding: 0 1.25rem 0 calc(1.25rem + 44px + 1rem);
}
.dlt-issue.is-open .dlt-issue-body {
  max-height: 420px;
  opacity: 1;
  padding-bottom: 1.1rem;
}
.dlt-issue-body p { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.65; }
.dlt-issue-body code {
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
}
.dlt-issue-body ol {
  counter-reset: dlt-step;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dlt-issue-body ol li {
  counter-increment: dlt-step;
  position: relative;
  padding-left: 1.6rem;
  font-size: 12.5px;
  color: rgba(255,255,255,0.68);
}
.dlt-issue-body ol li::before {
  content: counter(dlt-step);
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

.dlt-issue.is-hidden { display: none; }

/* ------------------------------------------------------------
   STAR RATING FORM
------------------------------------------------------------ */
.dlt-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  padding: 0;
  margin: 0;
}
.dlt-stars {
  display: inline-flex;
  gap: 2px;
}
.dlt-star {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.18);
  padding: 2px;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
  line-height: 0;
}
.dlt-star:hover,
.dlt-star.is-hover,
.dlt-star.is-on {
  color: #ffffff;
  transform: scale(1.06);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}
.dlt-rating-label {
  font-family: ui-monospace, monospace;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------
   COMMUNITY FEEDBACK CARDS + rating bars
------------------------------------------------------------ */
.dlt-fb-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.9rem;
  background: linear-gradient(to bottom right, #141414, #0A0A0A);
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color .25s ease, transform .25s ease;
}
.dlt-fb-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }

.dlt-dist-row {
  display: grid;
  grid-template-columns: 54px 1fr 64px;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}
.dlt-dist-row .dlt-dist-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
}
.dlt-dist-row .dlt-dist-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 999px;
}