/*
 * globals.css — Asenar Borsa v2 Design System
 * The single source of truth for all site-wide styles.
 * Every page loads this. No inline nav/footer CSS anywhere.
 */

/* ── Turkish İ fix ──
 * CSS text-transform:uppercase uses the element's lang attribute.
 * Under lang="tr", 'i' becomes 'İ' (dotted capital I) — wrong for English UI text.
 * Fix: i18n.js sets lang="en" on UI chrome elements (nav, badges, labels) at runtime.
 * See: i18n.js apply() → Turkish İ fix block.
 * RULE: Never use text-transform:uppercase on elements that might contain 'i'
 *       without ensuring lang="en" is set (via JS or HTML attribute).
 */

/* ─── Design Tokens ─────────────────────────────────────────────────────── */

:root {
  /* Backgrounds — petroleum black */
  --bg:       #080c12;
  --bg2:      #080c12;
  --surface:  #111318;
  --surface2: #161b24;
  --card:     #111318;

  /* Borders */
  --border:   #1e2d4a;
  --border2:  #253f68;

  /* Brand */
  --accent:   #00c896;
  --accent2:  #00a87e;
  --blue:     #3b82f6;
  --blue2:    #2563eb;
  --gold:     #f59e0b;
  --gold2:    #d97706;

  /* Semantic */
  --good:     #10b981;
  --warn:     #f59e0b;
  --danger:   #ef4444;

  /* Text — brightened muted/dim for better contrast on dark bg */
  --text:     #f1f5f9;
  --text2:    #e2e8f0;
  --muted:    #b0b8c4;
  --dim:      #8891a0;

  /* Typography */
  --fd: 'Inter', system-ui, -apple-system, sans-serif;
  --fb: 'Outfit', 'Inter', sans-serif;
  --fm: 'DM Mono', 'Fira Code', monospace;

  /* Shadows & Effects */
  --shadow:       0 1px 3px rgba(0,0,0,0.3);
  --shadow2:      0 4px 20px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 30px rgba(0,200,150,0.08);
  --glass:        rgba(17,24,39,0.7);
  --glass-border: rgba(255,255,255,0.06);

  /* Spacing */
  --wrap: 1200px;
  --gap: 24px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

/* ─── Light Theme ─────────────────────────────────────────────────────── */

[data-theme="light"] {
  /* Backgrounds — no pale greys on white, use visible contrast */
  --bg:       #f4f6f8;
  --bg2:      #e8ecf0;
  --surface:  #ffffff;
  --surface2: #e8ecf0;
  --card:     #ffffff;

  /* Borders — darker for visibility on light bg */
  --border:   #c8ced6;
  --border2:  #a0aab4;

  /* Text — high contrast, dark grays on light bg */
  --text:     #0c1016;
  --text2:    #1e293b;
  --muted:    #1f2937;
  --dim:      #374151;

  /* Shadows & Effects */
  --shadow:       0 1px 3px rgba(0,0,0,0.08);
  --shadow2:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-glow:  0 0 30px rgba(0,200,150,0.06);
  --glass:        rgba(255,255,255,0.8);
  --glass-border: rgba(0,0,0,0.06);
}

[data-theme="light"] nav#mainNav {
  background: rgba(248,250,252,0.92);
  border-bottom-color: var(--border);
}
[data-theme="light"] .mobile-menu {
  background: var(--surface);
  border-bottom-color: var(--border);
}
[data-theme="light"] .nav-hamburger span {
  background: var(--text);
}
[data-theme="light"] .brand-name {
  color: var(--blue) !important;
}
[data-theme="light"] footer {
  background: var(--bg2);
  border-top-color: var(--border);
}

/* Light theme — component overrides */
[data-theme="light"] .mobile-menu a {
  border-bottom-color: var(--border);
}
[data-theme="light"] .section + .section {
  border-top-color: var(--border);
}
[data-theme="light"] .footer-bottom {
  border-top-color: var(--border);
}
[data-theme="light"] .trust-bar {
  border-bottom-color: var(--border);
}
[data-theme="light"] .compare-table td {
  border-bottom-color: var(--border);
}
[data-theme="light"] .sticky-cta {
  background: rgba(248,250,252,0.95);
}
[data-theme="light"] .yz-prefix {
  color: var(--text);
  text-shadow: none;
}
[data-theme="light"] .card:hover,
[data-theme="light"] .pricing-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 1px rgba(0,200,150,0.15);
}

/* ─── Light Theme — Homepage bars ──────────────────────────────────────── */

[data-theme="light"] .ticker-wrap {
  background: var(--surface);
  border-bottom-color: var(--border);
}
[data-theme="light"] .sw-bar {
  background: var(--surface);
}
[data-theme="light"] .sw-inner {
  background: var(--bg);
  border-color: var(--border);
}
[data-theme="light"] .indices-bar {
  background: var(--surface);
  border-bottom-color: var(--border);
}
[data-theme="light"] .idx-sep { color: var(--border); }

/* ─── Light Theme — Pulse / Market cards ───────────────────────────────── */

[data-theme="light"] .pulse-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .service-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .sotd-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .hl-col {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .cal-section {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .bp-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .sep-line { background: var(--border); }
[data-theme="light"] .ratio-box { background: var(--bg); border-color: var(--border); }

/* ─── Light Theme — FX/Commodity badges ────────────────────────────────── */

[data-theme="light"] .fx-row {
  background: var(--bg);
  border-color: var(--border);
}
[data-theme="light"] .fx-highlight {
  background: rgba(0,200,150,0.08);
  border-color: rgba(0,200,150,0.25);
}
[data-theme="light"] .fx-gold {
  background: #fffbeb;
  border-color: #fde68a;
}
[data-theme="light"] .fx-gold .fx-cur { color: #92400e; }
[data-theme="light"] .fx-gold .fx-val { color: #78350f; }
[data-theme="light"] .fx-silver,
[data-theme="light"] .fx-metal {
  background: var(--surface2);
  border-color: var(--border);
}
[data-theme="light"] .fx-silver .fx-cur,
[data-theme="light"] .fx-silver .fx-val,
[data-theme="light"] .fx-metal .fx-cur,
[data-theme="light"] .fx-metal .fx-val { color: var(--text2); }
[data-theme="light"] .fx-energy {
  background: #fef3c7;
  border-color: #fde68a;
}
[data-theme="light"] .fx-energy .fx-cur { color: #92400e; }
[data-theme="light"] .fx-energy .fx-val { color: #78350f; }
[data-theme="light"] .fx-commodity {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
[data-theme="light"] .fx-commodity .fx-cur { color: #065f46; }
[data-theme="light"] .fx-commodity .fx-val { color: #064e3b; }
[data-theme="light"] .fx-bond {
  background: #eff6ff;
  border-color: #bfdbfe;
}
[data-theme="light"] .fx-bond .fx-cur { color: #1e40af; }
[data-theme="light"] .fx-bond .fx-val { color: #1e3a8a; }

/* ─── Light Theme — Buffett widget ─────────────────────────────────────── */

[data-theme="light"] .buffett-widget {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #eef2ff 100%);
  border-color: rgba(59,130,246,0.18);
  box-shadow: 0 4px 24px rgba(59,130,246,0.08);
}
[data-theme="light"] .buffett-widget::before {
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 65%);
}
[data-theme="light"] .buffett-widget::after {
  background: radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%);
}
[data-theme="light"] .buffett-details { border-top-color: var(--border); }
[data-theme="light"] .buffett-detail-sep { background: var(--border); }
[data-theme="light"] .buffett-widget svg line { stroke: #1e293b; }
[data-theme="light"] .buffett-widget svg circle { fill: #e0e7ff; stroke: #1e293b; }

/* ─── Reset ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Layout ────────────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .wrap { padding: 0 16px; } }

/* ─── Brand ─────────────────────────────────────────────────────────────── */

.brand-name {
  color: var(--blue) !important;
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-name span {
  color: var(--accent) !important;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: none !important;
}
.brand-name img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.brand-name img:hover { transform: scale(1.1); }

/* asenar.///  text logo — tight letterspacing, single cohesive mark
   All parts share .brand-name font-family (var(--fd)) + font-weight 700
   so "asenar" and "Finans" read as the SAME typeface. */
.brand-name:has(.brand-mark) { gap: 0; }
.brand-name .brand-mark   { font-family: inherit; font-weight: inherit; color: var(--blue) !important; letter-spacing: -0.01em; }
.brand-name .brand-dot    { font-family: inherit; font-weight: inherit; color: #d9343a !important; font-style: italic; margin: 0; font-size: 1.05em; }
.brand-name .brand-slash  { font-family: inherit; font-weight: 900; color: #d9343a !important; letter-spacing: -0.05em; margin-left: 1px; }
.brand-name .brand-suffix { font-family: inherit; font-weight: inherit; color: var(--blue) !important; margin-left: 2px; opacity: 0.85; }
.footer-brand .brand-mark   { color: var(--blue); font-weight: 800; letter-spacing: -0.01em; }
.footer-brand .brand-dot    { color: #d9343a; font-style: italic; font-weight: 600; margin: 0 1px; }
.footer-brand .brand-slash  { color: #d9343a; font-weight: 900; letter-spacing: -0.05em; font-family: var(--fb, var(--fd)); }

/* ─── Verify Banner ─────────────────────────────────────────────────────── */

.has-verify-banner nav#mainNav { top: 40px; }

/* ─── Navbar ────────────────────────────────────────────────────────────── */

nav#mainNav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0 32px;
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 12px 0;
  gap: 10px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  font-family: var(--fm);
  font-size: 10.5px;
  color: var(--text2) !important;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
}
.nav-link:hover {
  color: var(--accent) !important;
  background: rgba(0,200,150,0.06);
}
.nav-link.active {
  color: var(--accent) !important;
  font-weight: 600;
  background: rgba(0,200,150,0.08);
}
.nav-link.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.nav-link.cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-right-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

/* ── Floating page nav arrows ── */
.page-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  opacity: 0.5;
}
.page-nav-arrow:hover {
  opacity: 1;
  color: var(--gold);
  border-color: var(--gold);
  background: var(--glow-gold, rgba(245,158,11,0.08));
}
.page-nav-left { left: 0 !important; right: auto !important; border-radius: 0 6px 6px 0; border-left: none; }
.page-nav-right { right: 0 !important; left: auto !important; border-radius: 6px 0 0 6px; border-right: none; }
.nav-action {
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.nav-action:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0,200,150,0.06);
}

/* Theme toggle */
.theme-toggle {
  font-size: 16px;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: none;
  cursor: pointer;
  padding: 0;
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(245,158,11,0.06);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 32px 16px;
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--fm);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(30,45,74,0.5);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

/* Breakpoints */
@media (max-width: 1280px) {
  .nav-link { font-size: 10px; padding: 5px 7px; }
  .nav-links { gap: 3px; }
  .nav-right-actions { gap: 4px; }
  .nav-action { width: 28px; height: 28px; font-size: 14px; }
  .theme-toggle { width: 28px; height: 28px; font-size: 14px; }
}
@media (max-width: 1024px) {
  .nav-link { font-size: 9px; padding: 4px 5px; letter-spacing: 0.03em; }
  .nav-link.cta { padding: 5px 11px; font-size: 8px; }
  .nav-links { gap: 1px; }
  .nav-inner { gap: 8px; }
  nav#mainNav { padding: 0 20px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav#mainNav { padding: 0 16px; }
  .mobile-menu { padding: 8px 16px 16px; }
  /* On mobile: hide injected nav-actions except bell, account, logout */
  .nav-right-actions .nav-action:not(#nav-account-btn):not(#nav-logout-btn):not(#notif-bell) { display: none; }
  .nav-right-actions .theme-toggle { display: none; }
  .nav-right-actions .lang-toggle { display: none; }
  .page-nav-arrow { display: none; }
}

/* ─── YZ / AI Prefix ────────────────────────────────────────────────────── */

.yz-group { display: flex; gap: 2px; align-items: center; }
.yz-prefix {
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 6px rgba(255,255,255,0.9), 0 0 14px rgba(255,255,255,0.5);
  letter-spacing: inherit;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 48px 32px 24px;
  font-family: var(--fm);
  font-size: 11px;
  color: var(--muted);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-brand img {
  height: 28px; width: 28px;
  object-fit: contain; opacity: 0.8;
}
.footer-brand-text {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}
.footer-brand-text span { color: var(--accent); }
.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  flex: 1;
}
.footer-group-title {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.footer-group-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-group-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}
.footer-group-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(30,45,74,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,200,150,0.06);
}
.footer-copy {
  font-size: 11px;
  color: var(--dim);
}

/* Footer links (simple mode — legacy) */
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
  footer { padding: 32px 16px 20px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-groups { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-social { justify-content: center; }
}
@media (max-width: 480px) {
  .footer-groups { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── Button System ─────────────────────────────────────────────────────── */

.btn {
  font-family: var(--fm);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: scale(0.97) translateY(0); }

/* Filled */
.btn-primary { background: var(--accent); color: #000; }
.btn-warn    { background: var(--warn);   color: #000; }
.btn-danger  { background: var(--danger); color: #fff; }
.btn-blue    { background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #fff; }

/* Outline / Ghost */
.btn-outline-primary { background: none; border: 1px solid var(--accent); color: var(--accent); }
.btn-outline-warn    { background: none; border: 1px solid var(--warn);   color: var(--warn); }
.btn-outline-danger  { background: none; border: 1px solid var(--danger); color: var(--danger); }
.btn-outline-blue    { background: none; border: 1px solid var(--blue);   color: var(--blue); }

.btn-outline-primary:hover { background: var(--accent); color: #000; opacity: 1; }
.btn-outline-warn:hover    { background: var(--warn);   color: #000; opacity: 1; }
.btn-outline-danger:hover  { background: var(--danger); color: #fff; opacity: 1; }
.btn-outline-blue:hover    { background: var(--blue);   color: #fff; opacity: 1; }

/* Sizes */
.btn-sm { font-size: 11px; padding: 5px 12px; }
.btn-lg { font-size: 14px; padding: 12px 28px; border-radius: var(--radius); }
.btn-xl { font-size: 16px; padding: 14px 36px; border-radius: var(--radius); font-weight: 700; }

/* ─── Card System ───────────────────────────────────────────────────────── */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow2);
}
.card-glass {
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
}
.card-accent {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.card-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

/* ─── Section Utilities ─────────────────────────────────────────────────── */

.section {
  padding: 72px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section + .section {
  border-top: 1px solid rgba(30,45,74,0.3);
}
.section-tag {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.section-title span { color: var(--accent); }
.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-gradient {
  position: relative;
}
.section-gradient::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,150,0.04), transparent 60%);
  pointer-events: none;
}

/* Separator */
.sep {
  display: flex; align-items: center; gap: 16px;
  margin: 48px 0 32px;
}
.sep-line { flex: 1; height: 1px; background: var(--border); }
.sep-label {
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* ─── Reveal Animation ──────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Landing Hero ──────────────────────────────────────────────────────── */

.landing-hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  text-align: center;
}
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 10%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(0,200,150,0.10) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(129,140,248,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.landing-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
  opacity: 0.3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,150,0.08);
  border: 1px solid rgba(0,200,150,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-family: var(--fm);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-h1 .gradient-text {
  background: linear-gradient(135deg, #00e8a4, #38bdf8, #818cf8);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 6px;
}

/* Hero grid pattern overlay */
.landing-hero .wrap { position: relative; z-index: 1; }

/* Glow on primary hero CTA */
.hero-ctas .btn-primary {
  box-shadow: 0 4px 20px rgba(0,200,150,0.3), 0 0 40px rgba(0,200,150,0.1);
}
.hero-ctas .btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0,200,150,0.4), 0 0 60px rgba(0,200,150,0.15);
}
.hero-ctas .btn-outline-blue {
  backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .landing-hero { padding: 56px 0 44px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 22px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
}

/* ─── Trust Bar ─────────────────────────────────────────────────────────── */

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 24px 0;
  opacity: 0.7;
  transition: opacity 0.3s;
  border-bottom: 1px solid rgba(30,45,74,0.4);
}
.trust-bar:hover { opacity: 1; }
.trust-item {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Feature Cards ─────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0,200,150,0.06);
  transform: translateY(-2px);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0,200,150,0.08);
  border: 1px solid rgba(0,200,150,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: background 0.3s;
}
.feature-card:hover .feature-icon {
  background: rgba(0,200,150,0.15);
}
.feature-title {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ─── Pricing Cards ─────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  max-width: 1080px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0,200,150,0.12), 0 0 80px rgba(0,200,150,0.05);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #fff;
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 12px;
}
.pricing-name {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--fd);
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.pricing-price .currency {
  font-size: 20px;
  color: var(--muted);
  vertical-align: super;
}
.pricing-price .period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.pricing-features {
  text-align: left;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
}
.pricing-feature .check {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}
.pricing-feature.disabled {
  color: var(--dim);
}
.pricing-feature.disabled .check {
  color: var(--dim);
}

/* ─── Comparison Table ──────────────────────────────────────────────────── */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th {
  font-family: var(--fd);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}
.compare-table th:nth-child(2),
.compare-table th:nth-child(3) {
  text-align: center;
}
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(30,45,74,0.4);
  color: var(--text2);
}
.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  text-align: center;
}
.compare-table tr:hover td {
  background: rgba(0,200,150,0.02);
}

/* ─── CTA Banner ────────────────────────────────────────────────────────── */

.cta-banner {
  background: linear-gradient(135deg, rgba(0,200,150,0.10), rgba(59,130,246,0.10));
  border: 1px solid rgba(0,200,150,0.2);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,200,150,0.08), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: var(--text2);
  margin-bottom: 28px;
  font-size: 16px;
  position: relative;
}

/* ─── Hub Sector / Market Cards ─────────────────────────────────────────── */

.sc-name { color: var(--text) !important; }
.mc-count { color: var(--text) !important; }
.mc-arrow { color: var(--accent) !important; }

/* ─── Sticky Mobile CTA ────────────────────────────────────────────────── */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(8,12,20,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  text-align: center;
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: 64px; }
}

/* ─── Language Toggle ───────────────────────────────────────────────────── */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
  line-height: 1;
}
.lang-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ─── Animated Grid Background (hero) ───────────────────────────────────── */

.hero-grid-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-grid-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, 30px) rotate(1deg); }
}

/* Floating orbs behind hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 300px; height: 300px;
  background: var(--accent);
  top: -80px; left: 10%;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 200px; height: 200px;
  background: var(--blue);
  bottom: -60px; right: 15%;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 150px; height: 150px;
  background: #818cf8;
  top: 30%; right: 25%;
  animation-delay: -2s;
  opacity: 0.08;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -15px); }
  50% { transform: translate(-5px, 10px); }
  75% { transform: translate(15px, 5px); }
}

/* ─── Glow Divider ──────────────────────────────────────────────────────── */

.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--accent) 30%, var(--blue) 70%, transparent 95%);
  opacity: 0.15;
  margin: 0;
}

/* ─── Number Counter Animation ──────────────────────────────────────────── */

@keyframes count-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-stat-value {
  animation: count-up 0.6s ease-out both;
}
.hero-stat:nth-child(1) .hero-stat-value { animation-delay: 0.1s; }
.hero-stat:nth-child(2) .hero-stat-value { animation-delay: 0.2s; }
.hero-stat:nth-child(3) .hero-stat-value { animation-delay: 0.3s; }
.hero-stat:nth-child(4) .hero-stat-value { animation-delay: 0.4s; }

/* ─── Smooth Badge Shimmer ──────────────────────────────────────────────── */

.hero-badge {
  position: relative;
  overflow: hidden;
}
.hero-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: badge-shimmer 4s ease-in-out infinite;
}
@keyframes badge-shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* ─── Card Glow on Hover ────────────────────────────────────────────────── */

.card:hover, .pricing-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 1px rgba(0,200,150,0.3);
}

/* ─── Pricing Annual Badge ──────────────────────────────────────────────── */

.pricing-save {
  display: inline-block;
  background: rgba(0,200,150,0.12);
  color: var(--accent);
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ─── Sticky CTA Smooth ────────────────────────────────────────────────── */

.sticky-cta {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-cta .btn {
  box-shadow: 0 -4px 20px rgba(0,200,150,0.2);
}

/* ─── Selection Color ───────────────────────────────────────────────────── */

::selection {
  background: rgba(0,200,150,0.25);
  color: var(--text);
}

/* ─── Focus States (a11y) ───────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border2); }

/* ─── Skeleton / Shimmer Loading ───────────────────────────────────────── */

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: transparent !important;
  pointer-events: none;
  user-select: none;
}
.skeleton * { color: transparent !important; }
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.04) 40%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 60%,
    transparent 100%
  );
  animation: shimmer 1.8s ease-in-out infinite;
}
[data-theme="light"] .skeleton::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.04) 40%,
    rgba(0,0,0,0.07) 50%,
    rgba(0,0,0,0.04) 60%,
    transparent 100%
  );
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Skeleton shapes */
.skeleton-text {
  height: 14px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-text:last-child { width: 60%; }
.skeleton-title {
  height: 22px;
  width: 70%;
  border-radius: 4px;
  margin-bottom: 12px;
}
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
}
.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.skeleton-chart {
  height: 200px;
  border-radius: var(--radius-sm);
}
.skeleton-badge {
  height: 24px;
  width: 80px;
  border-radius: 12px;
}
.skeleton-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .skeleton-grid { grid-template-columns: 1fr; }
}

/* ─── Light Theme — BIST Tool Pages ────────────────────────────────────── */

/* Common tool page elements: tables, filters, tabs, panels */
[data-theme="light"] .tool-table th,
[data-theme="light"] .data-table th {
  background: var(--bg);
  color: var(--text);
  border-bottom-color: var(--border);
}
[data-theme="light"] .tool-table td,
[data-theme="light"] .data-table td {
  color: var(--text2);
  border-bottom-color: var(--border);
}
[data-theme="light"] .tool-table tr:hover td,
[data-theme="light"] .data-table tr:hover td {
  background: rgba(0,200,150,0.03);
}

/* Filter/tab bars */
[data-theme="light"] .filter-bar,
[data-theme="light"] .tab-bar {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .filter-btn,
[data-theme="light"] .tab-btn {
  color: var(--text2);
}
[data-theme="light"] .filter-btn.active,
[data-theme="light"] .tab-btn.active {
  background: var(--accent);
  color: #fff;
}

/* Panels, info boxes */
[data-theme="light"] .info-panel,
[data-theme="light"] .stat-panel,
[data-theme="light"] .kpi-card {
  background: var(--surface);
  border-color: var(--border);
}

/* Chart containers */
[data-theme="light"] .chart-container,
[data-theme="light"] .chart-wrap {
  background: var(--surface);
  border-color: var(--border);
}

/* Paywall modal — keep dark for contrast */
[data-theme="light"] .paywall-overlay {
  background: rgba(0,0,0,0.4);
}

/* Landing hero in light */
[data-theme="light"] .landing-hero::before {
  background:
    radial-gradient(ellipse 70% 50% at 30% 10%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(0,200,150,0.06) 0%, transparent 60%);
}

/* Hero orbs — reduce opacity in light */
[data-theme="light"] .hero-orb { opacity: 0.06; }

/* Grid bg — lighter */
[data-theme="light"] .hero-grid-bg::before {
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
}

/* Hints in light theme */
[data-theme="light"] .asenar-hint {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  color: var(--text);
}
[data-theme="light"] .hint-text { color: var(--muted); }
[data-theme="light"] .hint-dismiss { border-color: var(--border); color: var(--accent); }
[data-theme="light"] .hint-dismiss:hover { background: rgba(0,200,150,0.06); border-color: var(--accent); }

/* ── First-Visit Hints ──────────────────────────────────── */
.asenar-hint{position:fixed;z-index:100000;max-width:300px;padding:14px 16px;background:#111318;border:1px solid #1e2d45;border-radius:10px;box-shadow:0 8px 32px rgba(0,0,0,0.5);font-size:13px;line-height:1.5;color:#dde3ee;display:flex;flex-direction:column;gap:10px;animation:hintFadeIn 0.3s ease}
.hint-icon{display:flex;align-items:center;gap:8px}
.hint-text{color:#b0b8c4;font-size:13px}
.hint-dismiss{align-self:flex-end;background:none;border:1px solid #1e2d45;border-radius:6px;padding:5px 14px;color:#22d3a0;font-size:12px;font-weight:600;cursor:pointer;transition:all 0.15s}
.hint-dismiss:hover{background:rgba(34,211,160,0.08);border-color:#22d3a0}
.hint-mobile{position:fixed!important;bottom:12px!important;left:12px!important;right:12px!important;top:auto!important;max-width:none}
@keyframes hintFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* DCF Valuation — Gold accent layer */
.valuation-page {
  --accent: #C9A84C;
  --accent-hover: #E8C97A;
  --accent-dim: rgba(201, 168, 76, 0.15);
  --accent-border: rgba(201, 168, 76, 0.3);
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #C9A84C, #E8C97A);
  color: #0A0E1A; border-radius: 8px;
  font-weight: 700; text-decoration: none; font-size: 14px;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.9; }
.pro-badge-small {
  display: inline-block; padding: 2px 8px;
  background: #C9A84C; color: #0A0E1A;
  border-radius: 4px; font-size: 10px; font-weight: 800;
  letter-spacing: 0.5px;
}

/* ============================================================
   PRO HERO BLOCK — editorial animated hero band
   Namespaced .pro-hero-* (zero collision with existing hero styles).
   Usage: <div class="pro-hero" data-snippets='["a","b",...]'>
            <div class="pro-hero-mesh"></div>
            <div class="pro-hero-grid"></div>
            <div class="pro-hero-particles"></div>
            <div class="pro-hero-content">...your H1/subtitle...</div>
          </div>
   Requires: /assets/js/pro-hero-particles.js
   ============================================================ */
:root {
  --pro-cyan: #00D4FF;
  --pro-cyan-glow: rgba(0, 212, 255, 0.35);
  --pro-violet: #8B5CF6;
  --pro-magenta: #FF4D8F;
  --pro-gold-bright: #E0BE73;
  --pro-parchment: #F5F1E8;
  --pro-navy-deep: #0A1628;
}
.pro-hero {
  position: relative;
  background: var(--pro-navy-deep);
  color: var(--pro-parchment);
  padding: 72px 24px 64px;
  overflow: hidden;
  isolation: isolate;
}
.pro-hero.pro-hero-slim { padding: 48px 24px 40px; }
.pro-hero-mesh {
  position: absolute; inset: -20%;
  z-index: 0; opacity: 0.55; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, var(--pro-violet)      0%, transparent 35%),
    radial-gradient(circle at 80% 20%, var(--pro-cyan)        0%, transparent 30%),
    radial-gradient(circle at 60% 80%, var(--pro-gold-bright) 0%, transparent 35%),
    radial-gradient(circle at 10% 90%, var(--pro-magenta)     0%, transparent 30%);
  filter: blur(80px);
  animation: pro-meshFloat 20s ease-in-out infinite;
}
.pro-hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(224, 190, 115, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 190, 115, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}
.pro-hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pro-hero-particle {
  position: absolute;
  font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Menlo', monospace;
  font-size: 12px;
  color: var(--pro-cyan);
  opacity: 0;
  white-space: nowrap;
  text-shadow: 0 0 8px var(--pro-cyan-glow);
  animation: pro-floatUp 12s linear infinite;
}
.pro-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}
.pro-hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 auto 16px;
  color: var(--pro-parchment);
}
.pro-hero-content h1 em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(120deg, var(--pro-gold-bright), var(--pro-cyan), var(--pro-violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pro-hero-content p {
  font-size: 16px; line-height: 1.55;
  color: rgba(245, 241, 232, 0.72);
  max-width: 52ch;
  margin: 0 auto;
}
@keyframes pro-meshFloat {
  0%, 100% { transform: rotate(0deg)  scale(1); }
  33%      { transform: rotate(3deg)  scale(1.05) translate(2%, -1%); }
  66%      { transform: rotate(-2deg) scale(0.98) translate(-1%, 2%); }
}
@keyframes pro-floatUp {
  0%   { opacity: 0;   transform: translateY(20px); }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { opacity: 0;   transform: translateY(-400px); }
}
@media (prefers-reduced-motion: reduce) {
  .pro-hero-mesh { animation: none; }
  .pro-hero-particle { display: none; }
}
