/* ═══════════════════════════════════════════════════════
   TikOsa — Design System
   Theme: Clean White — vibrant, modern, minimal
 ═══════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────── */
:root {
  /* Clean White Palette */
  --bg:        #f8fafc;
  --bg2:       #ffffff;
  --surface:   #ffffff;
  --surface2:  #f1f5f9;
  --card:      #ffffff;
  --border:    #e2e8f0;
  --border2:   #cbd5e1;

  --accent:    #FE2C55; /* TikTok Signature Coral Red / Pink */
  --accent-dk: #e02447;
  --accent-lt: #ff4d70;
  --accent-glow: rgba(254, 44, 85, 0.14);

  --violet:    #FE2C55;
  --teal:      #00F2FE; /* TikTok Electric Cyan */
  --blue:      #00F2FE;

  --text:      #0f172a;
  --text-muted:#64748b;
  --text-dim:  #94a3b8;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow:    0 20px 50px -12px rgba(0, 0, 0, 0.06);
  --t:         0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

/* ─── Animated Background ───────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  animation: orb-drift 20s ease-in-out infinite;
}
.bg-orb-1 { width:700px;height:700px;background:var(--accent);top:-200px;left:-150px;animation-delay:0s; }
.bg-orb-2 { width:600px;height:600px;background:var(--teal);top:40%;right:-200px;animation-delay:-8s; }
.bg-orb-3 { width:500px;height:500px;background:var(--violet);bottom:-100px;left:30%;animation-delay:-15s;opacity:0.1; }
@keyframes orb-drift {
  0%,100% { transform:translate(0,0) scale(1); }
  33%      { transform:translate(40px,-50px) scale(1.08); }
  66%      { transform:translate(-30px,35px) scale(0.92); }
}

/* ─── Grid noise texture overlay ───────────────────── */
.bg-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ─── Layout ─────────────────────────────────────────── */
.container { max-width:1100px; margin:0 auto; padding:0 24px; position:relative; z-index:1; }
.container--narrow { max-width:780px; margin:0 auto; padding:0 24px; position:relative; z-index:1; }

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em;
}
.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #FE2C55 0%, #00F2FE 100%);
  border-radius: 9px;
  display: grid; place-items: center;
  box-shadow: none;
  transition: transform var(--t);
}
.logo-mark svg { color: #fff; }
.logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.05);
  box-shadow: none;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: background var(--t), transform var(--t) !important;
}
.nav-cta:hover { background: var(--accent-dk) !important; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-mobile-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: 4px;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  gap: 14px;
}
.nav-mobile-menu a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: color var(--t);
}
.nav-mobile-menu a:hover { color: var(--text); }
.nav-mobile-menu.open { display: flex; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.hero-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(254,44,85,0.08);
  border: 1px solid rgba(254,44,85,0.2);
  color: var(--accent);
  padding: 5px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  animation: fade-down 0.5s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.4;transform:scale(1.4);} }

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.08;
  animation: fade-down 0.5s 0.08s ease both;
}
.grad {
  background: linear-gradient(135deg, #FE2C55 0%, #00F2FE 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  max-width: 520px; font-size: 0.92rem;
  color: var(--text-muted); line-height: 1.6;
  animation: fade-down 0.5s 0.15s ease both;
}

/* ─── Search Card ────────────────────────────────────── */
.search-card {
  width: 100%; max-width: 700px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow), 0 0 80px rgba(254,44,85,0.05);
  animation: fade-down 0.5s 0.22s ease both;
  transition: border-color var(--t), box-shadow var(--t);
}
.search-card:focus-within {
  border-color: rgba(254,44,85,0.3);
  box-shadow: var(--shadow), 0 0 80px rgba(254,44,85,0.12);
}
.search-row { display: flex; gap: 10px; }
.input-wrapper {
  position: relative;
  flex: 1; min-width: 0;
  display: flex; align-items: center;
}
.url-input {
  width: 100%; min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 96px 13px 16px;
  color: var(--text); font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t), background var(--t);
}
.paste-btn {
  position: absolute; right: 8px;
  display: flex; align-items: center; gap: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px; border-radius: 6px;
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.paste-btn:hover {
  background: rgba(254, 44, 85, 0.1);
  color: var(--accent);
  border-color: rgba(254, 44, 85, 0.3);
  transform: scale(1.03);
}
.url-input::placeholder { color: var(--text-dim); }
.url-input:focus {
  border-color: rgba(254,44,85,0.35);
  background: var(--surface2);
}
.search-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 13px 24px;
  font-size: 0.9rem; font-weight: 700; white-space: nowrap;
  cursor: pointer; min-width: 130px;
  box-shadow: 0 4px 20px rgba(254,44,85,0.35);
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(254,44,85,0.5); }
.search-btn:active { transform: translateY(0); }
.search-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.input-hint { font-size: 0.76rem; color: var(--text-dim); margin-top: 10px; text-align: center; }

/* ─── Spinner ────────────────────────────────────────── */
.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Message Area ───────────────────────────────────── */
.msg-area {
  margin-top: 12px; padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; text-align: center;
}
.msg-area.error   { background: rgba(239,68,68,0.1);  border:1px solid rgba(239,68,68,0.25);  color:#ef4444; }
.msg-area.info    { background: rgba(59,130,246,0.1); border:1px solid rgba(59,130,246,0.25); color:#3b82f6; }
.msg-area.success { background: rgba(16,185,129,0.1); border:1px solid rgba(16,185,129,0.25); color:#10b981; }

/* ─── Trust Pills ────────────────────────────────────── */
.trust-pills {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  animation: fade-down 0.5s 0.3s ease both;
}
.trust-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px;
  font-size: 0.78rem; color: var(--text-muted);
}
.trust-pill svg { color: var(--teal); flex-shrink: 0; }

/* ─── Results ────────────────────────────────────────── */
.results-wrap {
  width: 100%; max-width: 850px;
  animation: fade-up 0.4s ease both;
  margin: 0 auto;
}
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .result-card { flex-direction: row; align-items: stretch; }
  .video-preview-wrap { flex-shrink: 0; width: 340px; border-right: 1px solid var(--border); border-bottom: none !important; }
  .result-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
}

.video-preview-wrap {
  background: #000;
  max-height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.video-preview {
  width: 100%; height: 100%;
  max-height: 500px;
  object-fit: contain;
}
.result-info {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.result-desc {
  font-size: 0.875rem; color: var(--text-muted);
  line-height: 1.55; margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.stat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 12px;
  font-size: 0.78rem; color: var(--text-muted);
}
.stat-chip svg { opacity: 0.6; flex-shrink: 0; }

.dl-row {
  display: flex; gap: 10px; padding: 20px;
  flex-wrap: wrap;
  background: var(--surface2);
  border-top: 1px solid var(--border);
}
.dl-btn {
  flex: 1; min-width: 180px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 18px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 700;
  cursor: pointer; border: none;
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
}
.dl-btn.vid {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  box-shadow: 0 4px 20px rgba(254,44,85,0.35);
}
.dl-btn.vid:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(254,44,85,0.5); }
.dl-btn.aud {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
}
.dl-btn.aud:hover:not(:disabled) { background: var(--card); transform: translateY(-2px); }
.dl-btn:disabled { opacity: 0.38; cursor: not-allowed; transform: none !important; }

/* ─── Sections ───────────────────────────────────────── */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section--alt {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label svg { opacity: 0.8; }
.section-title {
  font-size: clamp(1.6rem,3.5vw,2.2rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.section-sub { color: var(--text-muted); font-size: 1rem; margin-bottom: 48px; }

/* ─── Steps ──────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.step-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(254,44,85,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(254,44,85,0.25); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.step-n {
  position: absolute; top: 18px; right: 18px;
  font-size: 2.6rem; font-weight: 900;
  color: rgba(0,0,0,0.04); line-height: 1;
}
.step-ico {
  width: 44px; height: 44px;
  background: rgba(254,44,85,0.08);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p  { font-size: 0.855rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Features ───────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; }
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--t), border-color var(--t);
}
.feat-card:hover { transform: translateY(-3px); border-color: var(--border2); }
.feat-ico {
  width: 40px; height: 40px;
  background: rgba(124,58,237,0.12);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--violet);
}
.feat-card h3 { font-size: 0.95rem; font-weight: 700; }
.feat-card p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item.open { border-color: rgba(14,165,233,0.2); }
.faq-btn {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  background: none; border: none;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text); cursor: pointer; text-align: left;
  transition: background var(--t);
}
.faq-btn:hover { background: var(--surface2); }
.faq-chev {
  flex-shrink: 0; color: var(--text-muted);
  transition: transform var(--t), color var(--t);
}
.faq-item.open .faq-chev { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden;
  font-size: 0.855rem; color: var(--text-muted); line-height: 1.7;
  padding: 0 20px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 20px 16px; }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 32px;
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px; align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; max-width: 220px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 0.84rem; color: var(--text-muted);
  text-decoration: none; transition: color var(--t);
}
.footer-col li a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

/* ─── Page header (for inner pages) ─────────────────── */
.page-hero {
  padding: 56px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 900; letter-spacing:-0.04em; margin-bottom:8px; }
.page-hero p  { font-size: 1rem; color: var(--text-muted); }
.page-content { padding: 56px 0 80px; }
.page-content h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 10px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.page-content ul { margin: 0 0 14px 20px; }
.page-content ul li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 6px; }
.page-content a  { color: var(--accent-lt); text-decoration: underline; }

/* ─── Contact form ───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item-ico {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(254,44,85,0.08); border-radius: 99px;
  display: grid; place-items: center; color: var(--accent);
}
.contact-item h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 2px; }
.contact-item p  { font-size: 0.82rem; color: var(--text-muted); }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.form-input, .form-select, .form-textarea {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  color: var(--text); font-size: 0.875rem; outline: none;
  transition: border-color var(--t);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(254,44,85,0.3); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 13px 20px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(254,44,85,0.35);
  transition: transform var(--t), box-shadow var(--t);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(254,44,85,0.5); }

/* ─── About page stats ───────────────────────────────── */
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 40px 0; }
.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.about-stat .num { font-size: 2rem; font-weight: 900; background: linear-gradient(135deg, #FE2C55, #00F2FE); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.about-stat .lbl { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; margin-top: 32px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.team-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,#FE2C55,#00F2FE); margin: 0 auto 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; }
.team-card h3 { font-size: 0.95rem; font-weight: 700; }
.team-card p  { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Blog & Article Styles ─────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  text-decoration: none;
  color: var(--text);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-lt);
}
.blog-card-img {
  height: 190px;
  width: 100%;
  background: linear-gradient(135deg, rgba(254,44,85,0.06), rgba(0,242,254,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(254,44,85,0.08);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text);
}
.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* Article Page */
.article-header {
  padding: 48px 0 32px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.article-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 16px 0;
}
.article-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.article-author-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 0;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
  color: var(--text);
  scroll-margin-top: 80px;
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}
.article-body p {
  margin-bottom: 20px;
  color: #374151;
}
.article-body ol, .article-body ul {
  margin: 0 0 24px 24px;
  color: #374151;
}
.article-body li {
  margin-bottom: 10px;
}
.callout-box {
  background: rgba(254,44,85,0.05);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 28px 0;
}
.callout-box h4 {
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-dk);
  margin-bottom: 6px;
}
.callout-box p {
  margin-bottom: 0;
  font-size: 0.92rem;
}
.toc-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.toc-box h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.toc-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-box li {
  margin-bottom: 8px;
}
.toc-box a {
  color: var(--accent-dk);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.toc-box a:hover {
  text-decoration: underline;
}

/* ─── Utilities ──────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

@keyframes fade-down {
  from { opacity:0; transform:translateY(-14px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fade-up {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .hero { padding: 48px 0 36px; }
  .search-row { flex-direction: column; }
  .search-btn { width: 100%; justify-content: center; }
  .dl-row { flex-direction: column; }
  .dl-btn { min-width: unset; }
  .trust-pills { gap: 8px; }
  .about-stats { grid-template-columns: 1fr; }
  .video-preview-wrap { aspect-ratio: 16/9; max-height: 260px; }
}
