/**
 * Zuah shared component styles — waveforms, explainability, light theme, admin dashboards.
 */

html, body.app-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
}
body.app-page {
  display: block;
  background: var(--bg-primary);
  color: var(--white-primary);
  font-family: var(--font-body);
}

.btn-gold {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--grad-gold);
  color: var(--navy-deep);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-outline {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--gold-primary);
  background: transparent;
  color: var(--gold-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
}

[data-theme="light"] {
  --bg-primary: #f1f5f9;
  --bg-secondary: #e2e8f0;
  --bg-card: #ffffff;
  --bg-elevated: #f8fafc;
  --bg-glass: rgba(11, 17, 32, 0.04);
  --bg-glass-hover: rgba(11, 17, 32, 0.07);
  --navy-deep: #f1f5f9;
  --navy-mid: #e2e8f0;
  --white-primary: #0f172a;
  --white-secondary: #475569;
  --white-muted: #64748b;
  --border-glass: rgba(15, 23, 42, 0.12);
  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
}

html[data-theme-pref] body {
  transition: background-color 0.35s ease, color 0.35s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: var(--gold-dim);
  color: var(--gold-light);
  cursor: pointer;
  font-size: 16px;
}

.wave-glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 12px 0;
}

.wave-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.wave-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  color: var(--white-primary);
  cursor: pointer;
  font-size: 11px;
}

.wave-btn:hover { border-color: var(--gold-primary); color: var(--gold-light); }
.wave-time { color: var(--white-muted); margin-left: auto; }
.wave-speed select {
  background: var(--bg-card);
  color: var(--white-primary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 4px;
}

.wave-canvas { border-radius: var(--radius-md); overflow: hidden; min-height: 80px; }

.explain-panel { padding: 20px; margin-top: 16px; }
.explain-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 16px; }
.explain-label { display: block; font-size: 11px; color: var(--white-muted); font-family: var(--font-mono); }
.explain-verdict { font-size: 1.25rem; }
.explain-verdict.fake { color: var(--danger); }
.explain-verdict.real { color: var(--success); }
.risk-badge { padding: 4px 12px; border-radius: 99px; font-size: 10px; font-family: var(--font-mono); font-weight: 600; }
.risk-high { background: rgba(248,113,113,.2); color: var(--danger); border: 1px solid var(--danger); }
.risk-medium { background: rgba(251,191,36,.2); color: var(--warning); border: 1px solid var(--warning); }
.risk-low { background: rgba(52,211,153,.2); color: var(--success); border: 1px solid var(--success); }
.confidence-meter { height: 8px; background: var(--bg-card); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.confidence-fill { height: 100%; background: var(--grad-gold); transition: width 0.6s ease; }
.explain-list { list-style: none; padding: 0; margin: 0 0 12px; }
.explain-signal { padding: 8px 0; color: var(--white-secondary); font-size: 14px; border-bottom: 1px solid var(--border-glass); }
.explain-summary { font-size: 13px; color: var(--white-muted); margin-bottom: 12px; }

.verify-banner {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid var(--warning);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 12px 5%;
  font-size: 14px;
  display: none;
}

.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.status-card { padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border-glass); background: var(--bg-glass); }
.status-card.healthy { border-color: var(--success); }
.status-card.warning { border-color: var(--warning); }
.status-card.offline { border-color: var(--danger); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.status-dot.healthy { background: var(--success); }
.status-dot.warning { background: var(--warning); }
.status-dot.offline { background: var(--danger); }

.chart-card { padding: 20px; border-radius: var(--radius-lg); background: var(--bg-glass); border: 1px solid var(--border-glass); margin-bottom: 20px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px; }
.metric-box { padding: 16px; text-align: center; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-glass); }
.metric-box strong { display: block; font-size: 1.5rem; color: var(--gold-light); font-family: var(--font-ui); }
.metric-box span { font-size: 11px; color: var(--white-muted); font-family: var(--font-mono); }

.audit-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.audit-toolbar input, .audit-toolbar select {
  padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass); background: var(--bg-card); color: var(--white-primary);
}

.btn-sm { padding: 6px 14px; font-size: 12px; }

/* App shell layout */
.app-layout { display: flex; min-height: 100vh; background: var(--bg-primary); color: var(--white-primary); }
.app-layout--persistent { min-height: calc(100vh - 72px); }
.app-main--persistent {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.app-content {
  flex: 1;
  overflow: auto;
  padding: 24px 28px 48px;
  min-height: 0;
}
.app-content.is-loading { opacity: 0.55; pointer-events: none; }
.admin-shell--persistent { min-height: 100vh; }
.admin-main--persistent {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.admin-content {
  flex: 1;
  overflow: auto;
  padding: 24px 28px 48px;
}
.admin-content.is-loading { opacity: 0.55; pointer-events: none; }
.app-sidebar { width: 240px; flex-shrink: 0; background: var(--bg-secondary); border-right: 1px solid var(--border-glass); padding: 20px 12px; display: flex; flex-direction: column; }
.app-sidebar[data-mounted="1"] { contain: layout style; }
.app-brand .en {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold-light);
}
.app-brand .urdu { font-family: var(--font-urdu); font-size: 12px; color: var(--gold-primary); }
.app-nav { flex: 1; display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.app-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); color: var(--white-secondary); text-decoration: none; font-size: 14px; }
.app-nav a:hover, .app-nav a.active { background: var(--gold-dim); color: var(--gold-light); }
.nav-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-muted);
  padding: 14px 12px 6px;
  margin: 0;
}
.nav-auth-block, .nav-user-block { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-glass); display: flex; flex-direction: column; gap: 8px; }
.nav-auth-btn {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--white-secondary);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}
.nav-auth-btn.primary, .nav-auth-btn.btn-gold { background: var(--grad-gold); color: var(--navy-deep); border: none; font-weight: 600; }
.nav-user-name { font-size: 13px; color: var(--gold-light); padding: 0 4px; }
.topbar-title { color: var(--gold-light); text-decoration: none; font-family: var(--font-ui); font-weight: 600; }
.topbar-link { color: var(--white-secondary); text-decoration: none; font-size: 14px; margin-right: 12px; }
.topbar-link:hover { color: var(--gold-light); }
.topbar-btn { padding: 8px 16px !important; font-size: 13px !important; }
.app-foot { font-size: 10px; color: var(--white-muted); font-family: var(--font-mono); padding-top: 16px; border-top: 1px solid var(--border-glass); }
.app-main { flex: 1; padding: 32px 5%; max-width: 1100px; }
.page-sub { color: var(--white-secondary); margin-bottom: 24px; }
.app-topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 5%; background: var(--bg-secondary); border-bottom: 1px solid var(--border-glass); }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.notif-bell { background: none; border: none; font-size: 20px; cursor: pointer; position: relative; }
.notif-badge { position: absolute; top: -4px; right: -4px; background: var(--danger); color: #fff; font-size: 10px; padding: 2px 5px; border-radius: 99px; display: none; }
.notif-panel { display: none; position: fixed; top: 56px; right: 24px; width: 320px; max-height: 400px; overflow-y: auto; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); z-index: 2000; padding: 12px; }
.notif-panel.open { display: block; }
.notif-item { padding: 10px; border-bottom: 1px solid var(--border-glass); font-size: 13px; }
.notif-item.unread { background: var(--gold-dim); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price-card { padding: 28px; text-align: center; }
.price-card.featured { border-color: var(--gold-primary); box-shadow: var(--shadow-gold); }
.price-tag { font-size: 1.75rem; font-family: var(--font-ui); color: var(--gold-light); margin: 12px 0; }
.price-feats { list-style: none; text-align: left; font-size: 14px; color: var(--white-secondary); margin: 20px 0; }
.price-feats li { padding: 6px 0; border-bottom: 1px solid var(--border-glass); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.trust-card { padding: 20px; }
.upgrade-banner { padding: 14px 20px; margin-bottom: 20px; text-align: center; border-color: var(--gold-primary); }
.usage-meters { display: grid; gap: 16px; margin: 20px 0; }
.bill-card { padding: 24px; margin-bottom: 24px; }
.doc-block pre { background: var(--bg-card); padding: 16px; border-radius: var(--radius-md); overflow-x: auto; font-size: 12px; }
.queue-row { padding: 12px 16px; margin-bottom: 8px; }

.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 12px;
}
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}
.admin-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-primary);
  text-transform: uppercase;
}
.admin-table tr:hover td { background: var(--bg-glass); }

.page-loading { color: var(--white-muted); padding: 24px; font-size: 14px; }
.page-error { color: var(--danger); padding: 16px; background: rgba(248,113,113,.1); border-radius: var(--radius-md); margin: 12px 0; }

.app-main h1 { font-family: var(--font-ui); font-size: 2rem; margin-bottom: 8px; color: var(--white-primary); }
.app-main h2 { font-family: var(--font-ui); font-size: 1.25rem; margin: 24px 0 12px; color: var(--gold-light); }

@media (max-width: 768px) {
  .app-layout { flex-direction: column; }
  .app-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .app-nav { flex-direction: row; flex-wrap: wrap; }
}

/* ── Marketing header (Resemble-style layout, Zuah theme) ── */
body.has-zuah-header { padding-top: 72px; }
.zuah-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 1px 0 var(--border-gold);
}
.zuah-header.mega-open { border-bottom-color: transparent; }
.zuah-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.zuah-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.zuah-logo-wave {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad-gold);
  position: relative;
  overflow: hidden;
}
.zuah-logo-wave::after {
  content: '';
  position: absolute;
  inset: 6px 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--navy-deep) 0 2px,
    transparent 2px 4px
  );
  opacity: 0.5;
  border-radius: 2px;
}
.zuah-logo-text .en {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  display: block;
  line-height: 1.1;
  white-space: nowrap;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.zuah-header--minimal .zuah-header-inner--minimal {
  justify-content: space-between;
}
.zuah-header-nav--minimal {
  flex: 0;
  justify-content: flex-end;
}
.zuah-header--minimal .zuah-header-burger,
.zuah-header--minimal .zuah-header-actions,
.zuah-header--minimal .zuah-mega-wrap {
  display: none !important;
}
.zuah-header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.zuah-nav-item { position: relative; }
.zuah-nav-trigger {
  position: relative;
}
.zuah-nav-trigger,
.zuah-nav-plain {
  background: none;
  border: none;
  color: var(--white-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, background 0.2s;
}
.zuah-nav-trigger:hover,
.zuah-nav-plain:hover,
.zuah-nav-trigger.active {
  color: var(--gold-light);
  background: var(--gold-dim);
}
.zuah-nav-trigger.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-primary);
}
.zuah-nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
}
.zuah-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.zuah-header-link {
  color: var(--white-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
}
.zuah-header-link:hover { color: var(--gold-light); }
.zuah-header-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}
.zuah-header-btn-outline {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}
.zuah-header-btn-outline:hover { background: var(--gold-dim); }
.zuah-header-btn-solid {
  background: var(--grad-gold);
  color: var(--navy-deep);
  border: 1px solid transparent;
}
.zuah-header-btn-solid:hover { filter: brightness(1.06); }
.zuah-header-btn-ghost {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--white-primary);
}
.zuah-header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}
.zuah-header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 1px;
}
.zuah-mega-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(17, 24, 39, 0.98);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-elevated);
}
.mega-panel[hidden] { display: none !important; }
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 28px;
  align-items: start;
}
.mega-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 12px;
}
.mega-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  margin-bottom: 4px;
  transition: background 0.2s;
}
.mega-link:hover { background: var(--gold-dim); }
.mega-link-title {
  display: block;
  color: var(--white-primary);
  font-size: 14px;
  font-weight: 500;
}
.mega-link-desc {
  display: block;
  font-size: 12px;
  color: var(--white-muted);
  margin-top: 2px;
}
.mega-feature {
  max-width: 300px;
  padding: 22px;
  border-color: var(--border-gold);
}
.mega-feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  font-weight: 600;
}
.mega-feature h4 {
  font-family: var(--font-ui);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin: 10px 0 8px;
}
.mega-feature p {
  font-size: 13px;
  color: var(--white-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.mega-feature-cta {
  display: inline-block;
  padding: 10px 18px !important;
  font-size: 13px !important;
}

@media (max-width: 960px) {
  .zuah-header-burger { display: flex; }
  .zuah-header--minimal .zuah-header-burger { display: none; }
  .zuah-header--minimal .zuah-header-nav {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    flex-direction: row;
  }
  .zuah-header-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px;
  }
  .zuah-header-nav.open { display: flex; }
  .zuah-nav-trigger, .zuah-nav-plain { width: 100%; justify-content: flex-start; }
  .zuah-header-actions { gap: 6px; }
  .zuah-header-btn { padding: 8px 12px; font-size: 12px; }
  .zuah-header-link { display: none; }
  .mega-inner { grid-template-columns: 1fr; }
  .mega-feature { max-width: none; }
}

/* Home page: layout sections */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-label .label-line {
  display: block;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-label.animated .label-line { width: 48px; }
.section-title {
  font-family: var(--font-ui);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--white-primary);
}
.section-sub {
  color: var(--white-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.7;
}

/* About section — full width, animated */
.about-section {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  text-align: left;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(201, 169, 97, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(91, 154, 160, 0.06), transparent 50%);
  pointer-events: none;
}
.about-ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  animation: aboutOrbFloat 14s ease-in-out infinite;
}
.about-orb-a {
  width: 280px; height: 280px;
  top: 10%; left: -5%;
  background: rgba(201, 169, 97, 0.2);
}
.about-orb-b {
  width: 220px; height: 220px;
  bottom: 5%; right: 0;
  background: rgba(91, 154, 160, 0.15);
  animation-delay: -5s;
}
@keyframes aboutOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.08); }
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-copy h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white-primary);
}
.about-copy p {
  color: var(--white-secondary);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-quote {
  position: relative;
  border-left: none;
  border: 1px solid var(--border-gold);
  padding: 28px 32px;
  margin: 28px 0;
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-quote::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(201, 169, 97, 0.5) 45%,
    rgba(232, 220, 196, 0.35) 55%,
    transparent 80%
  );
  background-size: 250% 250%;
  animation: quoteShine 8s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
@keyframes quoteShine {
  0% { background-position: 200% 50%; }
  100% { background-position: -50% 50%; }
}
.about-quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.about-quote .urdu-quote {
  font-family: var(--font-urdu);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--gold-light);
  direction: rtl;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.about-quote .quote-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white-muted);
  margin-top: 12px;
  direction: ltr;
}
.about-pills { justify-content: flex-start; }
.about-pills .pill {
  opacity: 0;
  transform: translateY(12px);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.about-pills .pill.animated {
  animation: pillPop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
@keyframes pillPop {
  to { opacity: 1; transform: translateY(0); }
}
.about-pills .pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.15);
  transform: translateY(-2px);
}
.about-split {
  animation: splitCardFloat 6s ease-in-out infinite;
}
@keyframes splitCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.about-split .split-half i {
  transition: transform 0.4s ease, filter 0.4s ease;
}
.about-split:hover .split-half:first-child i {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(201, 169, 97, 0.4));
}
.about-split:hover .split-half:last-child i {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.35));
}
.pullquote { border-left: 3px solid var(--gold-primary); }

.split-card {
  display: flex;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  border-color: var(--border-gold);
}
.split-half {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: flex 0.45s ease, background 0.35s ease;
}
.split-half:hover { flex: 1.12; background: var(--bg-glass-hover); }
.split-half h4 {
  font-family: var(--font-ui);
  color: var(--gold-light);
  margin-top: 4px;
}
.split-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
  flex-shrink: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.sdlc-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
}
.sdlc-card {
  min-width: min(320px, 85vw);
  scroll-snap-align: start;
  padding: 24px;
}
.sdlc-metrics {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--font-ui);
  font-size: 2.5rem;
  font-weight: 700;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white-muted);
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .about-orb,
  .about-split,
  .about-quote::before,
  .gold-text { animation: none !important; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-pills { justify-content: center; }
  .about-copy h2 { text-align: center; }
  .about-split { animation: none; }
}

/* Home page: pills, features, badges, and subtle animations */
.pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;justify-content:center}
.pill{padding:8px 16px;border:1px solid rgba(212,175,55,.12);border-radius:99px;font-size:13px;color:var(--white-secondary);background:linear-gradient(180deg, rgba(212,175,55,0.02), transparent)}

.feature-card{padding:22px;min-height:200px;transition:transform .35s,border-color .35s,box-shadow .35s,background .3s}
.feature-card:hover{transform:translateY(-8px);border-color:rgba(212,175,55,.14);box-shadow:0 12px 30px rgba(11,17,32,0.45)}
.feature-accent{width:0;height:3px;background:linear-gradient(90deg,var(--gold-primary),var(--gold-light));margin-bottom:12px;border-radius:4px;transition:width .35s ease}
.feature-card:hover .feature-accent{width:56px}
.feature-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(212,175,55,0.08),rgba(212,175,55,0.02));box-shadow:inset 0 -6px 12px rgba(11,17,32,0.08);font-size:22px;color:var(--gold-primary)}
.feature-tag{display:inline-block;padding:6px 10px;border-radius:12px;font-size:12px;background:rgba(255,255,255,0.03);color:var(--white-secondary);border:1px solid rgba(255,255,255,0.03);margin-top:12px}

.badge-sm{font-family:var(--font-mono);font-size:10px;padding:6px 10px;border-radius:99px;display:inline-block;vertical-align:middle}
.badge-gold{background:linear-gradient(180deg,rgba(212,175,55,0.12),rgba(212,175,55,0.06));color:var(--gold-primary);border:1px solid rgba(212,175,55,0.18)}
.badge-green{background:linear-gradient(180deg,rgba(34,197,94,0.12),rgba(34,197,94,0.06));color:var(--success);border:1px solid rgba(34,197,94,0.2)}

/* subtle stat highlight / shimmer */
.stats .stat strong{background:linear-gradient(90deg,var(--gold-light),var(--gold-primary));-webkit-background-clip:text;background-clip:text;color:transparent}
.stats .stat{transition:transform .3s,opacity .3s}
.stats .stat:hover{transform:translateY(-6px)}

@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.gold-text{background:linear-gradient(90deg,var(--gold-primary),var(--gold-light));background-size:200% 200%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:gradientShift 6s ease-in-out infinite}

