/* DeSlop static site — design system ported verbatim from pineapps (theme.ts + deslopCss).
 * Fonts: Inter (body) + Manrope (display). Dark purple/gold theme. No build step. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@600;700;800;900&display=swap');

:root {
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --bg: #0B0B0B;
  --surface: #141024;
  --card: #1A1430;
  --text: #F4EEFF;
  --muted: #B6AACF;

  --primary: #5F19B7;      /* royal purple */
  --secondary: #CAB1F9;    /* lavender */
  --accent: #c9a84c;       /* DeSlop marketing gold */
  --highlight: #FF664A;    /* coral */
  --green: #22C55E;

  --text-heading: #e8e0f4;
  --text-prose: #d4cce8;
  --text-muted: #b0a4c8;

  --border: rgba(202, 177, 249, 0.26);
  --divider: rgba(202, 177, 249, 0.16);

  --base-bg:
    radial-gradient(1200px 720px at 18% -8%, rgba(95, 25, 183, 0.26), transparent 70%),
    radial-gradient(920px 560px at 82% 6%, rgba(202, 177, 249, 0.18), transparent 76%),
    linear-gradient(180deg, #0B0B0B 0%, #0F0A1B 58%, #0B0B0B 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--base-bg, var(--bg));
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--font-display); }
a { color: var(--secondary); }
img { max-width: 100%; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }

.container { width: min(1080px, calc(100% - clamp(32px, 6vw, 64px))); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

/* ── sections ── */
.section { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(44px, 5vw, 84px); position: relative; }
.tone-emphasis { background: linear-gradient(180deg, rgba(95,25,183,0.05), rgba(202,177,249,0.03)); }
.section-head { display: grid; gap: 16px; margin-bottom: 34px; max-width: 820px; }
.kicker { font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
h1.headline, .headline { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.05; margin: 10px 0 0; color: var(--text-heading); }
h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.35px; margin: 0; color: var(--text-heading); }
h3 { color: var(--text-heading); }
.subhead { font-size: clamp(16px, 1.9vw, 19px); line-height: 1.6; color: var(--text-prose); margin: 16px 0 0; max-width: 60ch; }
.lead { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.75; color: var(--text-prose); margin: 0; max-width: 66ch; }
.prose { font-size: 1rem; line-height: 1.75; color: var(--text-prose); margin: 16px 0 0; max-width: 68ch; }
.link-strong { color: var(--accent); font-weight: 700; text-decoration: none; }
.link-strong:hover { text-decoration: underline; }

/* ── header / nav ── */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px); background: rgba(11, 11, 11, 0.72); border-bottom: 1px solid var(--divider); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-prose); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.nav a:hover { color: var(--text-heading); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 760px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #0d0a17; border-bottom: 1px solid var(--divider); padding: 8px 20px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--divider); }
  .nav-toggle { display: block; }
}

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0; }
.btn-install {
  padding: 14px 24px; border-radius: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, #5f19b7 0%, #7c5cff 55%, #c9a84c 140%);
  box-shadow: 0 12px 34px rgba(95, 25, 183, 0.4); transition: transform 160ms ease, box-shadow 160ms ease;
}
.btn-install:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(95, 25, 183, 0.5); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 11px; }
.btn-ghost {
  padding: 13px 20px; border-radius: 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text-heading);
  border: 1px solid rgba(202, 177, 249, 0.35); background: rgba(255, 255, 255, 0.03);
  transition: border-color 160ms ease, background 160ms ease;
}
.btn-ghost:hover { border-color: rgba(201, 168, 76, 0.55); background: rgba(255, 255, 255, 0.06); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.center-row { justify-content: center; }

/* ── hero ── */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; }
.hero-note { margin-top: 16px; font-size: 0.82rem; color: var(--text-muted); }
.hero-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.render-card { border-radius: 14px; padding: 8px; border: 1px solid rgba(202, 177, 249, 0.16); background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.render-card:hover { transform: translateY(-3px); border-color: rgba(201, 168, 76, 0.5); box-shadow: 0 12px 30px rgba(95, 25, 183, 0.22); }
.render-card { width: 100%; height: auto; display: block; border-radius: 8px; }
.gallery-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 120px; border-radius: 14px; padding: 8px; background: linear-gradient(135deg, rgba(95, 25, 183, 0.95) 0%, rgba(201, 168, 76, 0.95) 100%); border: 1px solid rgba(202, 177, 249, 0.4); }
.gallery-badge .hb-big { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; color: #fff; }
.gallery-badge .hb-small { font-size: 0.76rem; letter-spacing: 0.03em; color: rgba(255, 255, 255, 0.9); }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 460px) { .hero-gallery { grid-template-columns: 1fr; } }

/* ── slop signal cards ── */
.slop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 24px; }
.slop-card { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(202, 177, 249, 0.16); background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 100%); margin: 0; }
.slop-card blockquote { font-size: 0.96rem; line-height: 1.5; color: var(--text-heading); font-style: italic; margin: 0 0 8px; }
.slop-card figcaption { font-size: 0.78rem; color: var(--accent); font-weight: 700; }

/* ── steps ── */
.steps { list-style: none; padding: 0 0 0 32px; margin: 22px 0 0; position: relative; display: flex; flex-direction: column; }
.steps::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #5f19b7 0%, #c9a84c 100%); border-radius: 1px; }
.step { position: relative; padding: 18px 0; }
.step::before { content: ''; position: absolute; left: -25px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #5f19b7; border: 2px solid rgba(202, 177, 249, 0.3); }
.step-num { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 4px; }
.step h3 { font-weight: 700; font-size: 1.06rem; margin: 0 0 6px; }
.step p { font-size: 0.92rem; line-height: 1.65; color: var(--text-prose); margin: 0; }

/* ── screenshots ── */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; align-items: start; }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid rgba(202, 177, 249, 0.16); background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.016) 100%); margin: 0; }
.shot img { width: 100%; height: auto; display: block; background: #efeafc; }
.shot figcaption { padding: 14px 18px; font-size: 0.9rem; line-height: 1.6; color: var(--text-prose); }
.shot figcaption strong { color: var(--text-heading); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; gap: 14px; } }

/* ── feature cards (also privacy) ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 26px; }
.feature-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: 18px; border: 1px solid rgba(202, 177, 249, 0.16); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(201, 168, 76, 0.5); box-shadow: 0 12px 30px rgba(95, 25, 183, 0.22); }
.feature-card h3 { font-size: 1.06rem; margin: 0; }
.feature-card p { font-size: 0.9rem; line-height: 1.62; color: var(--text-prose); margin: 0; }

/* ── pricing ── */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; max-width: 760px; margin-inline: auto; }
.tier { display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; border-radius: 22px; border: 1px solid rgba(202, 177, 249, 0.18); background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.016) 100%); }
.tier-featured { border-color: rgba(201, 168, 76, 0.55); box-shadow: 0 16px 40px rgba(95, 25, 183, 0.26); }
.tier-badge { align-self: flex-start; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; color: #1a1330; background: linear-gradient(135deg, #cab1f9, #c9a84c); margin-bottom: 4px; }
.tier-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-heading); margin: 0; }
.tier-price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, #cab1f9 0%, #c9a84c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-sub { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 8px; }
.tier-features { list-style: none; padding: 0; margin: 8px 0 16px; display: flex; flex-direction: column; gap: 9px; }
.tier-features li { position: relative; padding-left: 22px; font-size: 0.9rem; line-height: 1.5; color: var(--text-prose); }
.tier-features li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.tier .btn { margin-top: auto; justify-content: center; }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }
.winrar-note { max-width: 760px; margin: 22px auto 0; padding: 20px 24px; border-radius: 18px; border: 1px dashed rgba(201, 168, 76, 0.5); background: rgba(201, 168, 76, 0.06); font-size: 0.95rem; line-height: 1.7; color: var(--text-prose); }
.winrar-note strong { color: var(--text-heading); }
.section .center { margin-top: 20px; color: var(--text-prose); }

/* ── comparison table ── */
.table-wrap { overflow-x: auto; margin-top: 22px; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.9rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(202, 177, 249, 0.14); vertical-align: top; color: var(--text-muted); line-height: 1.5; }
.compare thead th { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody th { color: var(--text-prose); font-weight: 600; }
.compare td.yes { color: var(--text-heading); font-weight: 600; background: rgba(201, 168, 76, 0.06); }

/* ── FAQ ── */
details { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(202, 177, 249, 0.15); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
details[open] { border-color: rgba(202, 177, 249, 0.3); }
summary { padding: 16px 20px; font-weight: 700; font-size: 0.975rem; cursor: pointer; list-style: none; color: var(--text-heading); }
summary::-webkit-details-marker { display: none; }
details p { padding: 0 20px 18px; font-size: 0.925rem; line-height: 1.7; color: var(--text-muted); margin: 0; }
details p a { color: var(--accent); }
.legal-line { margin-top: 22px; font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); }
.legal-line a { color: var(--accent); }

/* ── legal pages ── */
.legal { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.legal h1 { font-size: clamp(28px, 3.4vw, 40px); }
.legal .lead { margin: 16px 0 8px; }
.legal-card { padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(202, 177, 249, 0.16); background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.012) 100%); margin-top: 16px; }
.legal-card h2 { font-size: 1.12rem; margin: 0 0 10px; }
.legal-card p { font-size: 0.94rem; line-height: 1.7; color: var(--text-prose); margin: 0 0 8px; }
.legal-card ul { margin: 6px 0 0; padding-left: 20px; }
.legal-card li { font-size: 0.94rem; line-height: 1.7; color: var(--text-prose); margin-bottom: 8px; }
.legal-card .card-links { margin-top: 12px; }
.legal-card .card-links a { color: var(--accent); font-weight: 700; text-decoration: none; }
.legal-card .card-links a:hover { text-decoration: underline; }

/* ── buy page ── */
.buy-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.buy-price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1.05; background: linear-gradient(135deg, #cab1f9 0%, #c9a84c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 8px 0; }
.buy-sub { color: var(--text-muted); margin: 6px 0 24px; line-height: 1.6; }
.buy-note { margin-top: 18px; font-size: 0.85rem; color: var(--text-muted); }
.buy-note a { color: var(--accent); }
.key-box { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 18px auto 0; background: rgba(255,255,255,0.04); border: 1px solid rgba(202,177,249,0.28); border-radius: 12px; padding: 14px 16px; }
.key-box code { flex: 1; font: 13px/1.5 monospace; color: var(--text-heading); word-break: break-all; text-align: left; }
.key-copy { flex: 0 0 auto; padding: 8px 14px; border-radius: 9px; border: 1px solid rgba(202,177,249,0.4); background: rgba(255,255,255,0.05); color: var(--text-heading); font-weight: 700; cursor: pointer; }
.steps-list { text-align: left; max-width: 560px; margin: 22px auto 0; line-height: 1.7; color: var(--text-prose); }
.warn { max-width: 620px; margin: 18px auto 0; padding: 14px 18px; border-radius: 12px; border: 1px dashed rgba(201,168,76,0.5); background: rgba(201,168,76,0.06); color: var(--text-prose); font-size: 0.92rem; }
/* success screen states: hidden until JS flips them */
#success { display: none; }
body[data-checkout="success"] #success { display: block; }
body[data-checkout="success"] #buyView { display: none; }
#success[data-state="ready"] #keyPending { display: none; }
#success:not([data-state="ready"]) #keyReady { display: none; }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--divider); padding: 40px 0 48px; margin-top: 20px; background: rgba(11,11,11,0.5); }
.footer-legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--divider); }
.footer-legal-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.footer-legal a { font-size: 0.85rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.footer-legal a:hover { color: var(--text-heading); text-decoration: underline; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.footer-links a { font-size: 0.85rem; color: var(--text-prose); text-decoration: none; }
.footer-links a:hover { color: var(--text-heading); }
.footer-disclaimer { text-align: center; font-size: 0.76rem; line-height: 1.6; color: var(--text-muted); max-width: 720px; margin: 0 auto; }
.footer-disclaimer a { color: var(--accent); }
