/* =========================================================
   TikDeck — tikdeck.download
   Sade, modern, koyu tema. Framework yok, build adımı yok.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #07070a;
  --bg-2: #0c0c11;
  --surface: #111117;
  --surface-2: #16161e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f7;
  --text-2: #a9a9b8;
  --text-3: #74748a;

  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --blue: #3b82f6;
  --sky: #38bdf8;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  --grad-text: linear-gradient(120deg, #c4b5fd 0%, #93c5fd 55%, #7dd3fc 100%);

  --green: #34d399;
  --amber: #fbbf24;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: rgba(139, 92, 246, .35); }

:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 8px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.muted { color: var(--text-2); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--violet); color: #fff; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-sm .ic { width: 17px; height: 17px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -10px rgba(99, 102, 241, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px rgba(99, 102, 241, .85), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.btn-ghost .ic { transition: transform .2s var(--ease); }
.btn-ghost:hover .ic { transform: translateX(2px); }

.btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; filter: saturate(.6); }
.btn.is-disabled:hover { transform: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border); color: var(--text-2); cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--text); background: rgba(255,255,255,.05); border-color: var(--border-strong); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 10, .6);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(7, 7, 10, .82); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 10px;
  color: var(--text-2); font-size: 15px; font-weight: 500;
  transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: rgba(255,255,255,.05); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { position: relative; }
.lang-btn { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lang-btn .ic { width: 18px; height: 18px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow);
}
.lang-menu li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--text-2); }
.lang-menu li:hover, .lang-menu li:focus { background: rgba(255,255,255,.06); color: var(--text); outline: none; }
.lang-menu li[aria-selected="true"] { color: var(--text); }
.lang-menu li[aria-selected="true"]::after { content: "✓"; float: right; color: var(--violet-2); }

.menu-toggle { display: none; }
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }

.mobile-menu { border-top: 1px solid var(--border); background: rgba(7, 7, 10, .97); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 12px var(--gutter) 22px; gap: 2px; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 17px; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--border); }
.mobile-menu a:not(.btn):hover { color: var(--text); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 45% at 78% 22%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(35% 40% at 12% 70%, rgba(59, 130, 246, .14), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 35%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(139, 92, 246, .08); border: 1px solid rgba(139, 92, 246, .25);
  color: #d4c8ff; font-size: 13.5px; font-weight: 500;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 0 4px rgba(167, 139, 250, .18); }

.hero-title { margin-top: 22px; font-size: clamp(42px, 5.6vw, 82px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.0; }
.hero-lead { margin-top: 22px; max-width: 34em; color: var(--text-2); font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--text-3); font-size: 14px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { width: 17px; height: 17px; color: var(--violet-2); }

.hero-visual { position: relative; padding-bottom: 6%; padding-right: 7%; }
.media-desktop { aspect-ratio: 16 / 10; }
.hero-visual .media-phone {
  position: absolute; right: 0; bottom: 0; width: 28%; aspect-ratio: 9 / 18.5;
  border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 6px #0b0b10, 0 0 0 7px var(--border-strong);
}

/* ---------- Media slots (görsel yer tutucuları) ---------- */
.media-slot {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)),
    var(--surface);
  border: 1px solid var(--border);
}
.media-slot img, .media-slot video { width: 100%; height: 100%; object-fit: cover; }
.media-slot.has-media { background: var(--surface); }
.slot-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 16px; text-align: center; color: var(--text-3);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 12px, transparent 12px 24px);
}
.slot-placeholder::before {
  content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(255,255,255,.1); border-radius: calc(var(--radius-lg) - 10px);
}
.media-phone .slot-placeholder::before { border-radius: 18px; inset: 8px; }
.slot-placeholder .ic { width: 30px; height: 30px; color: rgba(167, 139, 250, .6); stroke-width: 1.5; }
.slot-placeholder strong { color: var(--text-2); font-size: 14px; font-weight: 600; }
.slot-placeholder code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--text-3); word-break: break-all; }
.media-phone .slot-placeholder strong { font-size: 12px; }
.media-phone .slot-placeholder code, .media-phone .slot-placeholder .slot-size { display: none; }
.slot-size { font-size: 11.5px; }

/* ---------- Audience ---------- */
.audience { padding: 8px 0 clamp(48px, 7vw, 80px); }
.audience-title { text-align: center; color: var(--text-3); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.audience-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.audience-list li {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,.02); color: var(--text-2); font-size: 14.5px; font-weight: 500;
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.kicker { color: var(--violet-2); font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.section-head h2 { margin-top: 12px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em; }
.section-lead { margin-top: 16px; color: var(--text-2); font-size: clamp(16px, 1.4vw, 18.5px); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  position: relative; padding: 26px 24px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(139, 92, 246, .1), transparent 60%);
  transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(167, 139, 250, .28); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .22); color: #c4b5fd;
}
.feature-icon .ic { width: 22px; height: 22px; }
.feature-card h3 { margin-top: 18px; font-size: 17px; letter-spacing: -0.015em; }
.feature-card p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase + .showcase { margin-top: clamp(56px, 8vw, 104px); }
.showcase-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.showcase-reverse .showcase-copy { order: 2; }
.hero-title .grad-text { white-space: nowrap; }
.showcase-copy h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 750; letter-spacing: -0.03em; }
.showcase-copy > p { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.media-wide { aspect-ratio: 14 / 9; }

.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 15.5px; }
.check-list .ic { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 6px; background: rgba(52, 211, 153, .12); color: var(--green); stroke-width: 2.4; }
.check-list.compact { gap: 10px; margin-top: 14px; }
.check-list.compact li { font-size: 14.5px; color: var(--text-2); }

.video-wrap { margin: clamp(56px, 8vw, 104px) auto 0; max-width: 960px; }
.nw { white-space: nowrap; }
.video-slot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.video-slot iframe, .video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-slot .slot-placeholder .ic { width: 52px; height: 52px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.media-step { aspect-ratio: 3 / 2; border-radius: 0; border: 0; border-bottom: 1px solid var(--border); }
.media-step .slot-placeholder::before { border-radius: 14px; }
.step-body { padding: 24px 24px 28px; }
.step-num { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-top: 8px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

.connect-modes { margin-top: 28px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: rgba(255,255,255,.015); }
.connect-title { font-size: 15px; font-weight: 600; color: var(--text-2); }
.connect-modes ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.connect-modes li { display: flex; gap: 14px; align-items: flex-start; }
.connect-modes li > div { display: flex; flex-direction: column; gap: 2px; }
.connect-modes strong { font-size: 15px; font-weight: 600; }
.connect-modes span:not(.cm-icon) { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.cm-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(59, 130, 246, .1); border: 1px solid rgba(59, 130, 246, .22); color: #93c5fd; }

/* ---------- Integrations ---------- */
.status-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: 28px; font-size: 14px; color: var(--text-2); }
.status-legend li { display: inline-flex; align-items: center; gap: 10px; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-native { color: #6ee7b7; border-color: rgba(52, 211, 153, .28); background: rgba(52, 211, 153, .08); }
.status-shortcut { color: #93c5fd; border-color: rgba(59, 130, 246, .3); background: rgba(59, 130, 246, .08); }
.status-dev { color: #fcd34d; border-color: rgba(251, 191, 36, .28); background: rgba(251, 191, 36, .07); }

.int-filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,.02); color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.is-active { color: #fff; background: rgba(139, 92, 246, .16); border-color: rgba(139, 92, 246, .45); }

.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.int-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s, transform .25s var(--ease);
}
.int-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.int-card.is-hidden { display: none; }
.int-card > div { flex: 1; min-width: 0; }
.int-card h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.int-card p { color: var(--text-3); font-size: 13px; margin-top: 2px; }
.int-logo {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px;
  font-size: 13px; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: color-mix(in srgb, var(--c) 22%, #111117);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.int-note { margin-top: 24px; text-align: center; color: var(--text-3); font-size: 13px; }

/* ---------- Download ---------- */
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dl-side { display: grid; gap: 20px; }
.dl-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.dl-main { position: relative; overflow: hidden; border-color: rgba(139, 92, 246, .28); background: linear-gradient(180deg, rgba(139, 92, 246, .07), transparent 40%), var(--surface); }
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-head h3 { font-size: 20px; }
.dl-head p { margin-top: 2px; font-size: 14.5px; }
.dl-os { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .28); color: #7cc4ff; }
.dl-os .ic { width: 24px; height: 24px; }
.dl-os-android { background: rgba(61, 220, 132, .1); border-color: rgba(61, 220, 132, .28); color: #6ee7a8; }
.dl-os-web { background: rgba(139, 92, 246, .1); border-color: rgba(139, 92, 246, .28); color: #c4b5fd; }
.dl-side .dl-card .btn { margin-top: 20px; }
.dl-side .dl-head { align-items: flex-start; }

.dl-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.dl-meta > div { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--border); }
.dl-meta dt { color: var(--text-3); font-size: 12.5px; font-weight: 500; }
.dl-meta dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dl-file { margin-top: 12px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dl-hint { margin-top: 12px; font-size: 13.5px; }

.dl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); }
.dl-split h4 { font-size: 15px; font-weight: 650; }
.num-list { counter-reset: n; display: grid; gap: 10px; margin-top: 14px; }
.num-list li { counter-increment: n; position: relative; padding-left: 34px; color: var(--text-2); font-size: 14.5px; }
.num-list li::before {
  content: counter(n); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #c4b5fd;
  background: rgba(139, 92, 246, .12); border: 1px solid rgba(139, 92, 246, .25);
}
.dl-ios { padding-block: 18px; }
.dl-ios p { font-size: 14px; }
.dl-ios strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .25s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--text-3); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--violet-2); }
.faq-a { padding: 0 22px 22px; color: var(--text-2); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta-band { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 50% 100%, rgba(139, 92, 246, .18), transparent 70%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta-inner img { border-radius: 16px; box-shadow: 0 20px 50px -15px rgba(139, 92, 246, .55); }
.cta-inner h2 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; }
.cta-inner p { color: var(--text-2); font-size: 18px; max-width: 32em; }
.cta-inner .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 44px; }
.footer-brand p { margin-top: 14px; max-width: 22em; font-size: 14.5px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { color: var(--text-2); font-size: 14.5px; width: fit-content; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border);
  color: var(--text-3); font-size: 13.5px;
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--violet-2); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-io .reveal { opacity: 1; transform: none; }
.feature-card.reveal.is-visible:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .connect-modes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-ctas, .hero-badges { justify-content: center; }
  .hero-visual { max-width: 680px; margin-inline: auto; width: 100%; }

  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase-reverse { grid-template-columns: 1fr; }
  .showcase-reverse .showcase-copy { order: 0; }
  .hero-title { font-size: clamp(42px, 11vw, 76px); }

  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature-card { padding: 20px 18px 22px; }
  .int-grid { grid-template-columns: 1fr; }
  .int-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
  .int-filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .dl-split { grid-template-columns: 1fr; }
  .dl-meta { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .dl-meta > div { padding: 12px; }
  .dl-meta dd { font-size: 14.5px; }
  .status-legend { flex-direction: column; align-items: flex-start; max-width: 360px; margin-inline: auto; }
}

@media (max-width: 520px) {
  :root { --header-h: 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .connect-modes { padding: 22px; }
  .connect-modes ul { grid-template-columns: 1fr; }
  .dl-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .hero-visual .media-phone { border-radius: 18px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.8), 0 0 0 4px #0b0b10, 0 0 0 5px var(--border-strong); }
  .slot-placeholder code { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
