/* =========================================================
   Kwamle Media — Professional AI Marketing Landing
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0b0f1a;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --line-2: #eef2f7;

  --brand: #6366f1;      /* indigo-500 */
  --brand-2: #8b5cf6;    /* violet-500 */
  --brand-3: #06b6d4;    /* cyan-500 */
  --brand-ink: #4338ca;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.10), rgba(139,92,246,.10) 50%, rgba(6,182,212,.10));

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow-md: 0 10px 30px -10px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 60px -20px rgba(15,23,42,.25), 0 18px 36px -18px rgba(15,23,42,.18);
  --shadow-glow: 0 30px 80px -20px rgba(99,102,241,.45);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Cairo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-en);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); }
html[dir="rtl"] body { letter-spacing: 0; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
p { margin: 0; color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--grad-soft);
  border: 1px solid rgba(99,102,241,.15);
  padding: 6px 14px;
  border-radius: 999px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { color: var(--ink-3); font-size: 1.05rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(99,102,241,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(99,102,241,.65); }
.btn-ghost {
  background: rgba(255,255,255,.6);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; border-color: #cbd5e1; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Announcement Bar ---------- */
.announce {
  background: linear-gradient(90deg, #0f172a, #1e1b4b);
  color: #e2e8f0;
  font-size: 0.88rem;
  text-align: center;
  padding: 10px 16px;
}
.announce a { color: #c7d2fe; font-weight: 600; margin-inline-start: 6px; }
.announce a:hover { color: #fff; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(226,232,240,.6);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center;
  font-weight: 700;
}
.brand-logo {
  height: 42px; width: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(59,130,246,.18));
  transition: transform .25s ease;
}
.brand:hover .brand-logo { transform: translateY(-1px); }
.brand-light { display: none; }
.brand-dark  { display: block; }
:root[data-theme="dark"] .brand-light { display: block; }
:root[data-theme="dark"] .brand-dark  { display: none; }
.footer-brand .brand-logo { height: 44px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.45)); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a { color: var(--ink-2); font-size: 0.94rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}
.lang-switch button { padding: 5px 11px; border-radius: 999px; color: var(--ink-3); }
.lang-switch button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.mobile-toggle { display: none; padding: 8px; border-radius: 8px; }
.mobile-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -100px, rgba(139,92,246,.18), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(6,182,212,.15), transparent 60%),
              radial-gradient(900px 600px at 10% 30%, rgba(99,102,241,.18), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
  50% { box-shadow: 0 0 0 7px rgba(34,197,94,.05); }
}

.hero h1 { margin: 22px 0 18px; }
.hero p.lead { font-size: 1.13rem; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.86rem; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-note .check { color: #22c55e; }

/* Hero visual */
.hero-visual { position: relative; min-height: 480px; }
.hero-orb {
  position: absolute; inset: 0;
  background: var(--grad);
  filter: blur(80px);
  opacity: .35;
  border-radius: 50%;
  z-index: 0;
}
.chat-card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(226,232,240,.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  padding: 20px;
  backdrop-filter: blur(20px);
  max-width: 440px;
  margin-inline: auto;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.chat-avatar {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(99,102,241,.4);
}
.chat-avatar svg { width: 22px; height: 22px; }
.chat-info .name { font-weight: 600; font-size: 0.96rem; }
.chat-info .status { font-size: 0.8rem; color: #22c55e; display: flex; align-items: center; gap: 6px; }
.chat-info .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.chat-body { padding: 16px 0 8px; display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.bubble.bot { background: var(--bg-soft); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
html[dir="rtl"] .bubble.bot { border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.bubble.user {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  box-shadow: 0 8px 16px -6px rgba(99,102,241,.45);
}
html[dir="rtl"] .bubble.user { border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }
.typing {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 16px;
  align-self: flex-start;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #94a3b8;
  animation: bounce 1.4s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.metric-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
}
.metric-card .icon-box {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--brand);
  display: grid; place-items: center;
}
.metric-card .icon-box svg { width: 18px; height: 18px; }
.metric-card .label { font-size: 0.75rem; color: var(--ink-3); }
.metric-card .value { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.metric-card .value.up { color: #16a34a; }
.metric-1 { top: 30px; left: -20px; animation: float 5s ease-in-out infinite reverse; }
.metric-2 { bottom: 30px; right: -20px; animation: float 6.5s ease-in-out infinite; }
html[dir="rtl"] .metric-1 { left: auto; right: -20px; }
html[dir="rtl"] .metric-2 { right: auto; left: -20px; }

/* ---------- Logos strip ---------- */
.logos {
  padding: 56px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: #fff;
}
.logos-title {
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  opacity: .65;
}
.logos-row .logo-item {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink-2);
  font-size: 1.05rem;
  gap: 6px;
  transition: opacity .2s, transform .2s;
}
.logos-row .logo-item:hover { opacity: 1; transform: translateY(-2px); }
.logos-row svg { width: 22px; height: 22px; }

/* ---------- AI Difference ---------- */
.ai-section {
  padding: 110px 0;
  background: var(--bg);
  position: relative;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ai-card {
  position: relative;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s ease;
  overflow: hidden;
}
.ai-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .3s ease;
}
.ai-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.ai-card:hover::before { opacity: 1; }
.ai-card > * { position: relative; z-index: 1; }
.ai-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px -8px rgba(99,102,241,.4);
}
.ai-icon svg { width: 24px; height: 24px; }
.ai-card h3 { margin-bottom: 10px; }
.ai-card p { font-size: 0.95rem; color: var(--ink-2); line-height: 1.65; }

/* ---------- Stats ---------- */
.stats {
  padding: 100px 0;
  background: linear-gradient(180deg, #0b0f1a 0%, #131830 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(700px 350px at 80% 70%, rgba(139,92,246,.18), transparent 60%);
  pointer-events: none;
}
.stats .container { position: relative; z-index: 1; }
.stats .section-head h2 { color: #fff; }
.stats .section-head p { color: rgba(226,232,240,.7); }
.stats .eyebrow { background: rgba(139,92,246,.15); color: #c4b5fd; border-color: rgba(139,92,246,.3); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.stat .value {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  margin-top: 6px;
  color: rgba(226,232,240,.7);
  font-size: 0.92rem;
}

/* ---------- Features ---------- */
.features {
  padding: 110px 0;
  background: var(--bg-soft);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(99,102,241,.3); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 0.95rem; line-height: 1.65; }

/* ---------- Showcase tabs ---------- */
.showcase { padding: 110px 0; background: var(--bg); }
.tabs {
  display: flex; justify-content: center; gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 40px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tabs button {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-3);
  white-space: nowrap;
  transition: all .25s;
}
.tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-panel h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 14px; }
.tab-panel p { color: var(--ink-2); font-size: 1.02rem; }
.tab-panel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.tab-panel li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ink-2); }
.tab-panel li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.mock-head {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 14px;
}
.mock-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-head .dot:nth-child(1) { background: #f87171; }
.mock-head .dot:nth-child(2) { background: #fbbf24; }
.mock-head .dot:nth-child(3) { background: #34d399; }
.mock-row {
  height: 12px;
  background: linear-gradient(90deg, #eef2f7 0%, #e2e8f0 100%);
  border-radius: 6px;
  margin: 8px 0;
}
.mock-row.short { width: 60%; }
.mock-row.mid { width: 80%; }
.mock-bar {
  height: 50px;
  background: var(--grad-soft);
  border-radius: 10px;
  margin-top: 14px;
  display: flex; align-items: flex-end; padding: 8px; gap: 6px;
}
.mock-bar span { flex: 1; background: var(--grad); border-radius: 4px; opacity: .85; }

/* ---------- Integrations ---------- */
.integrations { padding: 110px 0; background: var(--bg-soft); }
.int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.int-card {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid; place-items: center;
  transition: all .25s;
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 10px;
  text-align: center;
}
.int-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(99,102,241,.3); }
.int-card svg { width: 32px; height: 32px; margin-bottom: 6px; }

/* ---------- How it works ---------- */
.how { padding: 110px 0; background: var(--bg); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step-num {
  position: absolute; top: -20px; inset-inline-start: 30px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 18px -4px rgba(99,102,241,.55);
}
.step h3 { margin: 14px 0 10px; }
.step p { font-size: 0.95rem; line-height: 1.65; }

/* ---------- Pricing ---------- */
.pricing { padding: 110px 0; background: var(--bg-soft); }
.billing-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 40px;
  width: fit-content;
}
.billing-toggle button {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.billing-toggle button.active { background: var(--ink); color: #fff; }
.billing-toggle .save {
  font-size: 0.7rem;
  background: rgba(34,197,94,.12);
  color: #15803d;
  padding: 2px 8px;
  border-radius: 999px;
  margin-inline-start: 4px;
}
.pricing-head { text-align: center; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  transition: all .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.popular {
  border-color: transparent;
  background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.plan.popular::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--grad);
  z-index: -1;
}
.plan-badge {
  position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
html[dir="rtl"] .plan-badge { transform: translateX(50%); }
.plan h3 { font-size: 1.15rem; }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 16px 0 4px; line-height: 1; }
.plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--ink-3); }
.plan .billed { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 22px; min-height: 18px; }
.plan .desc { color: var(--ink-3); font-size: 0.92rem; margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 110px 0; background: var(--bg); }
.tg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .25s;
}
.tc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tc .stars { color: #facc15; display: flex; gap: 2px; margin-bottom: 14px; }
.tc .stars svg { width: 16px; height: 16px; fill: currentColor; }
.tc blockquote { font-size: 1rem; line-height: 1.65; color: var(--ink); margin: 0 0 22px; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.tc-author .name { font-weight: 600; font-size: 0.95rem; }
.tc-author .role { font-size: 0.82rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; background: var(--bg-soft); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(99,102,241,.3); }
.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ---------- Big CTA ---------- */
.cta-band {
  padding: 100px 0;
  background: var(--bg);
}
.cta-card {
  position: relative;
  padding: 64px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #0891b2 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta-card::before, .cta-card::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
}
.cta-card::before { width: 300px; height: 300px; background: #fff; top: -100px; left: -50px; }
.cta-card::after { width: 360px; height: 360px; background: #06b6d4; bottom: -120px; right: -80px; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.85); margin: 14px auto 30px; max-width: 560px; font-size: 1.05rem; }
.cta-card .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.cta-card .btn-primary:hover { background: #f5f3ff; }
.cta-card .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- Footer ---------- */
.footer {
  background: #0b0f1a;
  color: #cbd5e1;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #94a3b8; font-size: 0.95rem; max-width: 320px; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #cbd5e1;
  transition: all .2s;
}
.footer-social a:hover { background: rgba(99,102,241,.2); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: #94a3b8; font-size: 0.92rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem;
  color: #64748b;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 420px; }
  .ai-grid, .features-grid, .how-grid, .plans, .tg { grid-template-columns: 1fr 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .ai-grid, .features-grid, .how-grid, .plans, .tg, .footer-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 50px 0 80px; }
  .cta-card { padding: 50px 28px; }
  .ai-section, .features, .showcase, .integrations, .how, .pricing, .testimonials, .faq { padding: 80px 0; }
  .nav-actions .btn:not(.btn-primary) { display: none; }
  .lang-switch { padding: 3px; }
  .lang-switch button { padding: 4px 9px; font-size: 0.78rem; }
  .metric-1, .metric-2 { display: none; }
}

/* =========================================================
   Mobile (480px and below) — phones
   Aggressive optimization for small screens.
   ========================================================= */
@media (max-width: 480px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Header / nav */
  .header .nav { padding: 14px 0; }
  .brand-logo { height: 32px !important; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 8px 14px; font-size: .85rem; }
  .lang-switch button { padding: 5px 8px; font-size: .72rem; min-height: 32px; }
  .theme-toggle { width: 34px; height: 34px; }
  .theme-toggle svg { width: 16px; height: 16px; }
  .mobile-toggle { width: 40px; height: 40px; }

  /* Announce bar */
  .announce { padding: 8px 16px; font-size: .78rem; flex-direction: column; gap: 4px; text-align: center; }
  .announce a { font-size: .78rem; }

  /* Hero */
  .hero { padding: 28px 0 60px; }
  .eyebrow { padding: 5px 11px; font-size: .72rem; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.4rem) !important; line-height: 1.18; letter-spacing: -0.015em; }
  .hero p.lead { font-size: 1rem; line-height: 1.6; margin-bottom: 22px; }
  .hero-cta { flex-direction: column; gap: 10px; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; min-height: 48px; padding: 13px 18px; font-size: .98rem; }
  .hero-trust { font-size: .82rem; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
  .hero-grid { gap: 36px; }
  .hero-visual { min-height: 360px; }

  /* Showcase carousel — tabs become icon-only */
  .show-tab span:not(.show-tab-icon) { display: none; }
  .show-tab { padding: 10px 12px; min-height: 44px; gap: 4px; }
  .show-tabs { gap: 4px; flex-wrap: wrap; justify-content: center; }
  .show-card { padding: 14px; }
  .show-scene { padding: 12px; }
  .show-bubble, .cmt-row, .prod-card { font-size: .85rem; }
  .show-stack { gap: 10px; }
  .show-dots { margin-top: 14px; }

  /* Section padding */
  .ai-section, .features, .showcase, .integrations, .how, .pricing, .testimonials, .faq { padding: 56px 0; }
  .section-eyebrow { font-size: .76rem; }
  h2.section-title, .section-title { font-size: clamp(1.5rem, 6vw, 1.95rem) !important; }
  .section-subtitle { font-size: .94rem; line-height: 1.6; }

  /* Cards */
  .feature-card, .ai-card, .step, .plan, .testimonial { padding: 22px; }
  .feature-card h3, .ai-card h3, .plan h3 { font-size: 1.1rem; }
  .feature-card p, .ai-card p { font-size: .92rem; line-height: 1.6; }

  /* Pricing */
  .price { font-size: 2.4rem; }
  .billing-toggle button { padding: 7px 14px; font-size: .85rem; }
  .plan ul li { font-size: .9rem; padding: 7px 0; }
  .plan .btn { width: 100%; min-height: 46px; }

  /* Integrations */
  .int-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .int-cell { padding: 18px 12px; }
  .int-cell svg, .int-cell img { width: 32px; height: 32px; }
  .int-cell .name { font-size: .82rem; }

  /* Stats */
  .stats-grid { gap: 16px; }
  .stat .value { font-size: 1.85rem; }
  .stat .label { font-size: .82rem; }

  /* Logos */
  .logos-row { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .logo-item { padding: 14px; }

  /* Testimonials */
  .testimonial p { font-size: .94rem; line-height: 1.7; }

  /* FAQ */
  .faq-item summary { font-size: .98rem; padding: 16px 18px; }
  .faq-item .faq-body { font-size: .9rem; padding: 0 18px 18px; line-height: 1.7; }

  /* CTA card */
  .cta-card { padding: 36px 22px; border-radius: 22px; }
  .cta-card h2 { font-size: 1.55rem; }
  .cta-card p { font-size: .94rem; }
  .cta-card .actions { flex-direction: column; gap: 10px; width: 100%; }
  .cta-card .btn { width: 100%; min-height: 48px; }

  /* Footer */
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding-top: 24px; }

  /* Tap-target floor for buttons & links */
  button, .btn { min-height: 40px; }
  a.btn-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* =========================================================
   Tiny phones (≤ 360px) — final fallback
   ========================================================= */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero h1 { font-size: 1.7rem !important; }
  .price { font-size: 2rem; }
  .show-tabs { gap: 2px; }
  .show-tab { padding: 8px 10px; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .lang-switch button { padding: 4px 7px; font-size: .68rem; }
  .nav-actions .btn { padding: 7px 11px; font-size: .8rem; }
}

/* =========================================================
   Landscape phones — keep hero compact
   ========================================================= */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
  .hero { padding: 24px 0 40px; }
  .hero-visual { min-height: 280px; }
  .show-card { max-height: 320px; }
}

/* ===========================================================
   Theme toggle button (sun/moon)
   =========================================================== */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: grid; place-items: center;
  transition: all .25s ease;
}
.theme-toggle:hover { color: var(--ink); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===========================================================
   Dark mode — full landing page
   =========================================================== */
:root[data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-soft: #0f1422;
  --ink: #e2e8f0;
  --ink-2: #cbd5e1;
  --ink-3: #94a3b8;
  --line: rgba(148,163,184,.18);
  --line-2: rgba(148,163,184,.12);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.18), rgba(139,92,246,.18) 50%, rgba(6,182,212,.18));
}
:root[data-theme="dark"] body { background: var(--bg); color: var(--ink); }

:root[data-theme="dark"] .header {
  background: rgba(15,20,34,.78);
  border-bottom-color: rgba(148,163,184,.12);
}
:root[data-theme="dark"] .nav-links a { color: var(--ink-2); }
:root[data-theme="dark"] .nav-links a:hover { color: #fff; }
:root[data-theme="dark"] .nav-links.open { background: #0f1422; border-bottom-color: var(--line); }
:root[data-theme="dark"] .lang-switch,
:root[data-theme="dark"] .theme-toggle { background: rgba(148,163,184,.08); border-color: var(--line); }
:root[data-theme="dark"] .lang-switch button.active { background: rgba(148,163,184,.16); color: #fff; }
:root[data-theme="dark"] .btn-ghost {
  background: rgba(255,255,255,.04); border-color: var(--line); color: var(--ink);
}
:root[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(148,163,184,.3); }
:root[data-theme="dark"] .btn-dark { background: #fff; color: #0b0f1a; }
:root[data-theme="dark"] .btn-dark:hover { background: #e2e8f0; }

:root[data-theme="dark"] .announce { background: linear-gradient(90deg,#000,#1e1b4b); }

:root[data-theme="dark"] .hero {
  background: radial-gradient(1200px 600px at 50% -100px, rgba(139,92,246,.28), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(6,182,212,.22), transparent 60%),
              radial-gradient(900px 600px at 10% 30%, rgba(99,102,241,.28), transparent 60%);
}
:root[data-theme="dark"] .hero-badge,
:root[data-theme="dark"] .chat-card,
:root[data-theme="dark"] .metric-card,
:root[data-theme="dark"] .ai-card,
:root[data-theme="dark"] .feature,
:root[data-theme="dark"] .step,
:root[data-theme="dark"] .plan,
:root[data-theme="dark"] .tc,
:root[data-theme="dark"] .faq-item,
:root[data-theme="dark"] .int-card,
:root[data-theme="dark"] .mock {
  background: rgba(20,26,42,.85);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-theme="dark"] .bubble.bot,
:root[data-theme="dark"] .typing,
:root[data-theme="dark"] .captcha-question,
:root[data-theme="dark"] .billing-toggle,
:root[data-theme="dark"] .tabs { background: rgba(15,20,34,.7); border-color: var(--line); }
:root[data-theme="dark"] .tabs button.active,
:root[data-theme="dark"] .billing-toggle button.active { background: rgba(148,163,184,.18); color: #fff; }
:root[data-theme="dark"] .billing-toggle button.active { background: #fff; color: #0b0f1a; }

:root[data-theme="dark"] .logos { background: var(--bg-soft); border-color: var(--line-2); }
:root[data-theme="dark"] .ai-section,
:root[data-theme="dark"] .showcase,
:root[data-theme="dark"] .how,
:root[data-theme="dark"] .testimonials,
:root[data-theme="dark"] .cta-band { background: var(--bg); }
:root[data-theme="dark"] .features,
:root[data-theme="dark"] .integrations,
:root[data-theme="dark"] .pricing,
:root[data-theme="dark"] .faq { background: var(--bg-soft); }

:root[data-theme="dark"] .plan.popular {
  background: linear-gradient(180deg, rgba(20,26,42,.95) 0%, rgba(76,29,149,.25) 100%);
}
:root[data-theme="dark"] .mock-row {
  background: linear-gradient(90deg, rgba(148,163,184,.18) 0%, rgba(148,163,184,.08) 100%);
}
:root[data-theme="dark"] .mock-head { border-bottom-color: var(--line-2); }
:root[data-theme="dark"] .chat-head { border-bottom-color: var(--line-2); }
:root[data-theme="dark"] .faq-item summary::after { color: #c4b5fd; }

:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4 { color: var(--ink); }
:root[data-theme="dark"] p { color: var(--ink-2); }

:root[data-theme="dark"] .mobile-toggle { color: var(--ink-2); }

/* ======================================================
   Showcase Carousel (hero) — multi-scene auto-playing demo
   ====================================================== */
.show-card {
  padding: 14px 14px 18px;
  max-width: 460px;
  overflow: hidden;
}
.show-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(15,23,42,.06);
  border-radius: 999px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.show-tabs::-webkit-scrollbar { display: none; }
.show-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: inherit; font-size: .78rem; font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s ease;
  flex: 0 0 auto;
}
.show-tab svg { width: 14px; height: 14px; flex-shrink: 0; }
.show-tab:hover { color: var(--ink-2); background: rgba(15,23,42,.04); }
.show-tab.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(99,102,241,.45);
}

.show-stack {
  position: relative;
  min-height: 360px;
}
.show-scene {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(8px) scale(.985);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.show-scene.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.show-scene .chat-body,
.show-scene .show-body,
.show-scene .ai-body {
  flex: 1;
}
.show-scene .bubble,
.show-scene .typing,
.show-scene .cmt-row,
.show-scene .post-mini,
.show-scene .prod-card,
.show-scene .ai-prompt,
.show-scene .ai-output {
  opacity: 0;
  transform: translateY(6px);
}
.show-scene.active .bubble,
.show-scene.active .typing,
.show-scene.active .cmt-row,
.show-scene.active .post-mini,
.show-scene.active .prod-card,
.show-scene.active .ai-prompt,
.show-scene.active .ai-output {
  animation: showFade .55s ease forwards;
}
@keyframes showFade {
  to { opacity: 1; transform: none; }
}
/* Stagger items per-scene */
.show-scene.active > * > *:nth-child(1) { animation-delay: .15s; }
.show-scene.active > * > *:nth-child(2) { animation-delay: .55s; }
.show-scene.active > * > *:nth-child(3) { animation-delay: 1.05s; }
.show-scene.active > * > *:nth-child(4) { animation-delay: 1.55s; }
.show-scene.active > * > *:nth-child(5) { animation-delay: 2.05s; }

/* Avatar gradient variants */
.chat-avatar.grad-blue   { background: linear-gradient(135deg,#3b82f6,#1e40af); }
.chat-avatar.grad-violet { background: linear-gradient(135deg,#8b5cf6,#6366f1); }
.chat-avatar.grad-cyan   { background: linear-gradient(135deg,#06b6d4,#0c4a6e); }
.chat-avatar.grad-pink   { background: linear-gradient(135deg,#ec4899,#8b5cf6); }

/* Mini Facebook post */
.post-mini {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 14px 0 12px;
}
.post-text { font-size: .9rem; color: var(--ink); margin: 0 0 8px; line-height: 1.55; }
.post-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--ink-3);
}

/* Comment rows */
.cmt-row {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 10px;
}
.cmt-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg,#f59e0b,#ef4444);
  color: #fff;
  font-weight: 700; font-size: .82rem;
  flex-shrink: 0;
}
.cmt-av.bot-av {
  background: linear-gradient(135deg,#06b6d4,#3b82f6);
  font-size: .9rem;
}
.cmt-bubble {
  background: var(--bg-soft);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 9px 12px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 80%;
  position: relative;
}
html[dir="rtl"] .cmt-bubble {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}
.cmt-row.ai-cmt .cmt-bubble {
  background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(6,182,212,.10));
  border: 1px solid rgba(99,102,241,.25);
}
.ai-tag {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 7px;
  background: var(--grad);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: 999px;
  vertical-align: middle;
}

/* Product card */
.prod-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin: 4px 0;
}
.prod-img {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(6,182,212,.18));
  display: grid; place-items: center;
  color: var(--brand);
}
.prod-img svg { width: 28px; height: 28px; }
.prod-title { font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.prod-meta { display: flex; align-items: baseline; gap: 6px; }
.prod-price { font-size: .9rem; font-weight: 800; color: var(--brand); }
.prod-old { font-size: .72rem; color: var(--ink-3); text-decoration: line-through; }
.prod-cta {
  padding: 9px 14px;
  border: 0;
  background: var(--grad);
  color: #fff;
  font: inherit; font-size: .78rem; font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 14px -4px rgba(99,102,241,.45);
  transition: transform .2s;
}
.prod-cta:hover { transform: translateY(-1px); }

/* AI Studio scene */
.ai-body { padding: 14px 0 6px; display: flex; flex-direction: column; gap: 10px; }
.ai-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.ai-label-out {
  background: linear-gradient(90deg,#6366f1,#06b6d4,#ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ai-prompt {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 10px 14px;
}
.ai-prompt-text { font-size: .88rem; color: var(--ink-2); line-height: 1.55; }
.ai-output {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(236,72,153,.06));
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 12px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}
.ai-output::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0%, transparent 40%, rgba(255,255,255,.4) 50%, transparent 60%, transparent 100%);
  background-size: 200% 100%;
  animation: shine 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}
.ai-output-text {
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.ai-actions { display: flex; gap: 8px; position: relative; z-index: 1; }
.ai-btn {
  padding: 7px 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font: inherit; font-size: .76rem; font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}
.ai-btn:hover { background: var(--bg-soft); color: var(--ink); }
.ai-btn-primary {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.ai-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -4px rgba(99,102,241,.45); }

/* Indicator dots */
.show-dots {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 10px;
}
.show-dot {
  width: 6px; height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(99,102,241,.25);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.show-dot.active {
  width: 22px;
  background: var(--grad);
}

/* Dark theme overrides */
:root[data-theme="dark"] .show-tabs { background: rgba(255,255,255,.04); }
:root[data-theme="dark"] .show-tab { color: var(--ink-3); }
:root[data-theme="dark"] .show-tab:hover { background: rgba(255,255,255,.05); color: var(--ink-2); }
:root[data-theme="dark"] .post-mini,
:root[data-theme="dark"] .cmt-bubble,
:root[data-theme="dark"] .prod-card,
:root[data-theme="dark"] .ai-prompt {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
:root[data-theme="dark"] .ai-btn { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); color: var(--ink-2); }
:root[data-theme="dark"] .show-dot { background: rgba(255,255,255,.18); }

/* Mobile */
@media (max-width: 600px) {
  .show-card { max-width: 100%; padding: 12px; }
  .show-stack { min-height: 380px; }
  .show-tab span { display: none; }
  .show-tab { padding: 8px 10px; }
  .show-tab svg { width: 16px; height: 16px; }
}

/* yt-brand-min-size: YouTube branding guidelines — social icons at least 20dp (2026-09-03) */
.footer-social a svg { width: 30px; height: 30px; }

/* yt-brand-icon: official full-colour YouTube icon, body 20px (>= 20dp), never recoloured (2026-09-05) */
.footer-social a.yt-social svg.yt-brand-icon { width: 29px; height: 20px; color: inherit; }
.footer-social a.yt-social:hover svg.yt-brand-icon path { fill-opacity: 1; }

/* ---- accessibility (all pages): visible keyboard focus, skip link, screen-reader-only text, reduced motion ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #6AA8FF; outline-offset: 3px; border-radius: 6px;
}
:root[data-theme="light"] a:focus-visible, :root[data-theme="light"] button:focus-visible, :root[data-theme="light"] input:focus-visible,
:root[data-theme="light"] select:focus-visible, :root[data-theme="light"] textarea:focus-visible, :root[data-theme="light"] summary:focus-visible, :root[data-theme="light"] [tabindex]:focus-visible { outline-color: #2E63D6; }
.skip-link { position: absolute; top: -120px; inset-inline-start: 16px; z-index: 5000; padding: 12px 18px; border-radius: 12px; background: #2E63D6; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(2,6,23,.35); transition: top .2s ease; }
.skip-link:focus { top: 16px; outline-color: #fff; }
.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; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
