/* ============================================================
   CADTools — shared design system
   Dark engineering-software theme, per-plugin accent.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* base dark palette (cool navy) */
  --bg:        #080b12;
  --bg-2:      #0c1019;
  --panel:     #11151f;
  --panel-2:   #161b27;
  --panel-3:   #1c2230;
  --line:      #232a39;
  --line-soft: #1a2030;

  --text:      #eef2f8;
  --text-2:    #aab4c6;
  --muted:     #6f7c92;
  --faint:     #4a5366;

  /* default accent = PCCTools blue; pages override these three */
  --accent:        #3d93dd;
  --accent-bright: #6fb6f2;
  --accent-deep:   #2575ae;
  --accent-rgb:    61,147,221;

  --radius:    16px;
  --radius-sm: 11px;
  --radius-lg: 26px;
  --maxw:      1200px;

  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body:    'IBM Plex Sans', sans-serif;
  --ff-mono:    'IBM Plex Mono', monospace;

  --shadow:    0 24px 60px -24px rgba(0,0,0,.7);
  --shadow-sm: 0 10px 30px -16px rgba(0,0,0,.6);
}

/* per-plugin accent themes */
[data-accent="blue"]    { --accent:#3d93dd; --accent-bright:#6fb6f2; --accent-deep:#2575ae; --accent-rgb:61,147,221; }
[data-accent="violet"]  { --accent:#9355e8; --accent-bright:#b487f2; --accent-deep:#7733d9; --accent-rgb:147,85,232; }
[data-accent="teal"]    { --accent:#2ec9bd; --accent-bright:#62e0d4; --accent-deep:#1c9c93; --accent-rgb:46,201,189; }
[data-accent="crimson"] { --accent:#f9395a; --accent-bright:#ff6f86; --accent-deep:#d11536; --accent-rgb:249,57,90; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle technical backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(var(--accent-rgb), .12), transparent 60%),
    radial-gradient(900px 700px at -10% 12%, rgba(var(--accent-rgb), .06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { position: relative; z-index: 1; padding: 120px 0; }
.section.tight { padding: 84px 0; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-bright);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.h-xl { font-size: clamp(40px, 6.2vw, 76px); }
.h-lg { font-size: clamp(32px, 4.4vw, 52px); }
.h-md { font-size: clamp(24px, 2.6vw, 34px); }

.lead { color: var(--text-2); font-size: 18px; max-width: 60ch; }
.text-accent { color: var(--accent-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--accent); color: #06080d;
  box-shadow: 0 12px 30px -12px rgba(var(--accent-rgb), .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(var(--accent-rgb), .85); background: var(--accent-bright); }
.btn-disabled, .btn-disabled:hover { cursor: default; pointer-events: none; opacity: .62; transform: none; box-shadow: none; background: var(--accent); }
.btn-ghost {
  background: rgba(255,255,255,.025); color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .07); transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,11,18,.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--ff-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.brand .mark svg { width: 26px; height: 26px; }
.brand b { color: var(--text); font-weight: 600; }
.brand .sub { color: var(--muted); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-size: 14.5px; color: var(--text-2); padding: 8px 12px; border-radius: 9px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--accent-bright); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* products dropdown */
.nav-prod { position: relative; }
.nav-prod-btn { cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.nav-prod-menu {
  position: absolute; top: calc(100% + 12px); right: 0; width: 320px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.nav-prod:hover .nav-prod-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-prod-menu a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 11px; }
.nav-prod-menu a:hover { background: var(--panel-2); }
.nav-prod-menu img { width: 34px; height: 34px; }
.nav-prod-menu .t { font-family: var(--ff-display); font-weight: 600; font-size: 14.5px; color: var(--text); }
.nav-prod-menu .d { font-size: 12px; color: var(--muted); font-family: var(--ff-mono); letter-spacing: .02em; }

/* mobile nav toggle */
.nav-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 8px; cursor: pointer; color: var(--text); }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.card:hover { border-color: rgba(var(--accent-rgb), .4); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ic-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .28);
  color: var(--accent-bright);
}
.ic-tile svg { width: 22px; height: 22px; }

/* ---------- image placeholder ---------- */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 12px, rgba(255,255,255,0) 12px 24px),
    linear-gradient(160deg, var(--panel-3), var(--panel));
  border: 1px solid var(--line);
  display: grid; place-items: center; min-height: 200px;
}
.ph .ph-label {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border: 1px dashed var(--line); padding: 8px 14px; border-radius: 8px;
  background: rgba(0,0,0,.3);
}

/* ---------- footer + contact ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .85fr 1fr 1.15fr; gap: 36px; }
.footer-contact { font-style: normal; color: var(--text-2); font-size: 14px; line-height: 1.85; }
.footer-contact strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 5px; }
.footer-contact a { color: var(--text-2); }
.footer-contact a:hover { color: var(--accent-bright); }
.footer h4 { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-links a { display: block; color: var(--text-2); font-size: 14.5px; padding: 6px 0; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-family: var(--ff-mono); }

/* mobile nav drawer */
.m-nav {
  position: fixed; inset: 0; z-index: 80; background: rgba(6,8,13,.96); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; padding: 26px 24px; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
body.nav-open .m-nav { opacity: 1; visibility: visible; }
.m-nav a { font-family: var(--ff-display); font-size: 26px; color: var(--text-2); padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
.m-nav a:hover { color: var(--accent-bright); }
.m-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.m-nav-close { background: none; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; color: var(--text); cursor: pointer; font-family: var(--ff-mono); }

/* divider rule */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PLUGIN PAGE SECTIONS (shared by all 4 plugin pages)
   ============================================================ */

/* ---- hero ---- */
.phero { padding: 70px 0 86px; position: relative; z-index: 1; }
.phero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.phero .kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.phero .kicker img { width: 26px; height: 26px; }
.phero h1 { margin: 22px 0 22px; }
.phero .lead { font-size: 18.5px; }
.phero-cta { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }
.reviews { display: flex; align-items: center; gap: 13px; color: var(--text-2); font-size: 14px; }
.reviews .stars { color: var(--accent-bright); letter-spacing: 2px; }
.reviews b { color: var(--text); }

/* large render frame (placeholder or screenshot) */
.render { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--bg-2)); aspect-ratio: 4/3.2; display: grid; place-items: center; }
.render::before { content:""; position:absolute; inset:0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 42px 42px; opacity:.45; }
.render .glow { position:absolute; inset:0; background: radial-gradient(440px 320px at 62% 36%, rgba(var(--accent-rgb),.24), transparent 70%); }
.render img.shot { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.render .ph-mid { position: relative; z-index: 1; display: grid; place-items: center; gap: 16px; text-align: center; padding: 20px; }
.render .ph-mid img { width: 120px; height: 120px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.render .ph-mid .ph-label { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 7px 13px; border-radius: 8px; background: rgba(0,0,0,.3); }
.render .badge { position: absolute; right: 16px; top: 16px; z-index: 2; font-family: var(--ff-mono); font-size: 11px; color: var(--accent-bright); border: 1px solid rgba(var(--accent-rgb),.4); border-radius: 999px; padding: 5px 12px; background: rgba(var(--accent-rgb),.1); }

/* ---- section header ---- */
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 14px; }
.sec-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-split .sec-head { margin-bottom: 0; }

/* ---- feature grid (6) ---- */
.feat6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat6 .card h3 { font-size: 19px; margin: 18px 0 9px; }
.feat6 .card p { color: var(--text-2); font-size: 14.5px; }
.feat6 .card.span-all { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; }
.feat6 .card.span-all .ic-tile { flex: none; }
.feat6 .card.span-all h3 { margin: 0 0 6px; }
.feat6 .card.span-all p { margin: 0; }

/* ---- commands modal ---- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,6,11,.8); backdrop-filter: blur(6px); }
.modal-card { position: relative; z-index: 1; width: 100%; max-width: 780px; max-height: 84vh; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: translateY(12px) scale(.99); transition: transform .22s ease; overflow: hidden; }
.modal.open .modal-card { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.modal-head .sub { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 4px; }
.modal-head h3 { font-size: 21px; }
.modal-close { background: none; border: 1px solid var(--line); border-radius: 9px; width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--text); cursor: pointer; transition: border-color .18s, background .18s; }
.modal-close:hover { border-color: rgba(var(--accent-rgb),.55); background: rgba(var(--accent-rgb),.07); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { overflow: auto; }
.media-modal { padding: 18px; }
.media-modal-card { position: relative; z-index: 1; width: min(1120px, 94vw); max-height: 92vh; display: flex; flex-direction: column; background: #05070b; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); transform: translateY(12px) scale(.99); transition: transform .22s ease; overflow: hidden; }
.media-modal.open .media-modal-card { transform: none; }
.media-modal-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
.media-modal-head h3 { min-width: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-modal-body { display: grid; place-items: center; min-height: 180px; overflow: auto; }
.media-modal-body img { display: block; max-width: 100%; max-height: calc(92vh - 59px); width: auto; height: auto; object-fit: contain; }
.media-modal-body iframe { display: block; width: min(1120px, 94vw); max-width: 100%; aspect-ratio: 16/9; border: 0; }
@media (max-width: 600px) {
  .media-modal { padding: 10px; }
  .media-modal-card { width: 100%; max-height: 94vh; }
  .media-modal-head { min-height: 54px; padding-left: 14px; }
  .media-modal-head h3 { font-size: 14px; }
  .media-modal-body img { max-height: calc(94vh - 55px); }
}
.cmd-table { width: 100%; border-collapse: collapse; }
.cmd-table th { text-align: left; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 13px 26px; position: sticky; top: 0; background: var(--panel); z-index: 1; border-bottom: 1px solid var(--line); }
.cmd-table td { padding: 14px 26px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.cmd-table tr:hover td { background: rgba(var(--accent-rgb),.045); }
.cmd-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.28); color: var(--accent-bright); }
.cmd-ic svg { width: 18px; height: 18px; }
.cmd-ic img { width: 28px; height: 28px; object-fit: contain; display: block; }
.cmd-name { font-family: var(--ff-mono); font-weight: 600; font-size: 13.5px; color: var(--text); white-space: nowrap; }
.cmd-desc { color: var(--text-2); font-size: 14px; max-width: 48ch; }
@media (max-width: 560px){ .cmd-table th:first-child, .cmd-table td:first-child { display: none; } .cmd-table th, .cmd-table td { padding-left: 18px; padding-right: 18px; } .feat6 .card.span-all { flex-direction: column; align-items: flex-start; } }

/* ---- timeline ---- */
.timeline { position: relative; padding-left: 0; }
.tl-line { position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent); }
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 16px 0; }
.tl-dot { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--accent-bright); position: relative; z-index: 1; }
.tl-dot svg { width: 24px; height: 24px; }
.tl-card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: border-color .2s; }
.tl-card:hover { border-color: rgba(var(--accent-rgb),.4); }
.tl-card .tl-kind { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); }
.tl-card h3 { font-size: 21px; margin: 8px 0 10px; }
.tl-card p { color: var(--text-2); font-size: 15px; max-width: 70ch; }

/* ---- testimonials ---- */
.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tcard { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tcard .stars { color: var(--accent-bright); letter-spacing: 2px; margin-bottom: 14px; }
.tcard p { font-size: 16px; color: var(--text); line-height: 1.6; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tcard .av { width: 40px; height: 40px; border-radius: 50%; background: rgba(var(--accent-rgb),.16); border: 1px solid rgba(var(--accent-rgb),.34); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 600; color: var(--accent-bright); }
.tcard .who .n { font-weight: 600; font-size: 14.5px; }
.tcard .who .r { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); }

/* ---- what's new ---- */
.whatsnew { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; background: linear-gradient(160deg, var(--panel-2), var(--bg-2)); }
.whatsnew .chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 26px; }
.whatsnew .chip { font-family: var(--ff-mono); font-size: 11.5px; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.02); }
.whatsnew .chip::before { content:"+ "; color: var(--accent-bright); }

/* ---- gallery ---- */
.tabs { display: inline-flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.tabs button { font-family: var(--ff-body); font-weight: 600; font-size: 13.5px; color: var(--text-2); background: none; border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .18s; }
.tabs button.active { background: var(--accent); color: #06080d; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gtile { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px), linear-gradient(160deg, var(--panel-3), var(--panel)); }
.gtile:is(a) { display: block; color: var(--text); text-decoration: none; }
.gtile > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gtile:hover > img { transform: scale(1.025); }
.gtile.video { aspect-ratio: 16/9; }
.gtile.shot { background: var(--panel); }
.gtile.shot img { width: 100%; height: 100%; object-fit: cover; }
.gtile .meta { position: absolute; left: 12px; bottom: 11px; z-index: 2; }
.gtile .meta .t { font-family: var(--ff-display); font-weight: 600; font-size: 14px; }
.gtile .meta .s { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gtile .pin { position: absolute; right: 11px; top: 11px; z-index: 2; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); background: rgba(0,0,0,.5); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; }
.gtile .play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.gtile .play span { width: 48px; height: 48px; border-radius: 50%; background: rgba(var(--accent-rgb),.92); display: grid; place-items: center; color: #06080d; }
.gtile .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); z-index: 1; }
.gtile.ph-tile { display: grid; place-items: center; }
.gtile.ph-tile .ph-label { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 6px 10px; border-radius: 7px; }

/* ---- pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; display: flex; flex-direction: column; }
.price.feat { border-color: rgba(var(--accent-rgb),.5); box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb),.5); }
.price .ribbon { position: absolute; top: 18px; right: 18px; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #06080d; background: var(--accent); border-radius: 999px; padding: 5px 11px; }
.price .pname { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); }
.price .amt { display: flex; align-items: flex-start; gap: 3px; margin: 16px 0 6px; }
.price .amt .cur { font-size: 22px; font-family: var(--ff-display); margin-top: 8px; color: var(--text-2); }
.price .amt .num { font-size: 54px; font-family: var(--ff-display); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.price .per { color: var(--muted); font-size: 14px; }
.price .desc { color: var(--text-2); font-size: 14px; margin: 14px 0 20px; }
.price ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.price ul li svg { width: 17px; height: 17px; color: var(--accent-bright); flex: none; margin-top: 3px; }
.price .btn { margin-top: auto; width: 100%; }

/* ---- faq ---- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--text); font-family: var(--ff-display); font-weight: 500; font-size: 17px; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { width: 18px; height: 18px; color: var(--accent-bright); flex: none; transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; }

/* ---- contact (shared) ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; color: var(--text); font-family: var(--ff-body); font-size: 15px; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(var(--accent-rgb), .6); }
.form-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-status { min-height: 22px; margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.form-status.success { color: #67d7aa; }
.form-status.error { color: #ff8295; }
[data-contact-form] button:disabled { cursor: wait; opacity: .65; }
.contact-info .row { display: flex; gap: 13px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .row .ic-tile { width: 38px; height: 38px; flex: none; }
.contact-info .row .ic-tile svg { width: 18px; height: 18px; }
.contact-info .k { font-size: 13px; color: var(--muted); font-family: var(--ff-mono); }
.contact-info .v { color: var(--text); font-weight: 500; }

@media (max-width: 940px){
  .phero-grid { grid-template-columns: 1fr; gap: 36px; }
  .feat6 { grid-template-columns: 1fr; }
  .tcards { grid-template-columns: 1fr; }
  .whatsnew { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px){
  .gal { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .tl-dot { width: 44px; height: 44px; }
  .tl-line { left: 21px; }
}
