/* ============================================================
   style-studio.css
   Marketing-site aesthetic ported from app.heinrichstech.com
   (BitBooth dashboard). Loaded AFTER style.css + style-premium.css
   so its rules win. Remove the <link> tag from a page to roll
   back to the legacy navy/gold look without deleting anything.
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  --bg-deep: #06060a;
  --bg-surface: #0d0d14;
  --bg-card: #12121c;
  --bg-card-hover: #181828;
  --bg-panel: #080810;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #555568;
  --purple: #9945ff;
  --teal: #14f195;
  --xrpl: #23e5db;
  --xrpl-evm: #7cf1a0;
  --solana: #9945ff;
  --base: #0052ff;
  --green: #14f195;
  --red: #ff4466;
  --yellow: #fbbf24;
  --studio-gradient: linear-gradient(135deg, #23e5db, #7cf1a0);
  --studio-gradient-hover: linear-gradient(135deg, #3affef, #9dffbb);
  --studio-gradient-purple: linear-gradient(135deg, #9945ff, #14f195);
  --studio-radius: 12px;
  --studio-radius-sm: 8px;
  --studio-font: 'Inter', system-ui, -apple-system, sans-serif;
  --studio-font-mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;

  /* Back-compat aliases so legacy token references still render */
  --dark-navy: var(--bg-deep);
  --gold: var(--xrpl);
  --light-gray: var(--text-primary);
  --mid-gray: var(--text-secondary);
}

/* ---- RESET + BASE ---- */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
body.home-premium {
  font-family: var(--studio-font) !important;
  background: var(--bg-deep) !important;
  color: var(--text-primary) !important;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}

a {
  color: inherit;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); }

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER / NAV ---- */
#header,
header#header {
  background: rgba(6, 6, 10, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: none !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--studio-gradient) !important;
  color: #000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.logo-icon.small { width: 30px; height: 30px; font-size: 0.72rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: var(--studio-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.logo-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

nav#nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  border-radius: var(--studio-radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
  position: relative;
  letter-spacing: 0.01em;
  text-transform: none !important;
}

.nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(35, 229, 219, 0.1);
}

.nav-link.nav-signin {
  background: var(--studio-gradient);
  color: #000 !important;
  font-weight: 700;
}

.nav-link.nav-signin:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(35, 229, 219, 0.3);
}

/* Sign-in button hidden site-wide while login/dashboard pages are
   being rebuilt in the studio aesthetic. Restore by deleting this
   block once login.html and dashboard.html are ready. */
.nav-link.nav-signin,
a.nav-link.nav-signin {
  display: none !important;
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius);
  padding: 6px;
  min-width: 180px;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
/* Invisible bridge over the visual gap so the hover area stays continuous
   between the parent nav-link and the dropdown menu. Without this, moving
   the cursor across the 6px gap deactivates :hover and the menu disappears. */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-secondary) !important;
  border-radius: var(--studio-radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.04);
}

.hamburger { display: none; background: none; border: none; padding: 8px; cursor: pointer; flex-direction: column; gap: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; }

/* ---- BUTTONS ---- */
.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--studio-font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--studio-radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  text-transform: none !important;
  line-height: 1;
}

.btn-gold,
a.btn-gold {
  background: var(--studio-gradient) !important;
  color: #000 !important;
  border: none !important;
  box-shadow: 0 0 24px rgba(35, 229, 219, 0.15);
}

.btn-gold:hover,
a.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(35, 229, 219, 0.35);
  background: var(--studio-gradient-hover) !important;
}

.btn-outline,
a.btn-outline {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-light) !important;
}

.btn-outline:hover,
a.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(35, 229, 219, 0.3) !important;
}

.btn-full { width: 100%; }
.btn-animated:hover { transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  isolation: isolate;
}

/* Animated aurora mesh behind hero */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.hero::before {
  background:
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(35, 229, 219, 0.35), transparent 60%),
    radial-gradient(ellipse 35% 35% at 80% 20%, rgba(153, 69, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 45% 35% at 50% 80%, rgba(124, 241, 160, 0.22), transparent 60%);
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  background:
    radial-gradient(ellipse 30% 30% at 75% 60%, rgba(35, 229, 219, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 15% 75%, rgba(153, 69, 255, 0.2), transparent 60%);
  animation: auroraDrift 24s ease-in-out infinite alternate-reverse;
}

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 4%, 0) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 90%);
  pointer-events: none;
  animation: gridShift 30s linear infinite;
}

@keyframes gridShift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 48px 48px, 48px 48px; }
}

/* Scroll-triggered accent glow that follows mouse on the hero card */
.hero-visual {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}

/* Magnetic mouse spotlight inside the hero */
.hero {
  --mouse-x: 50%;
  --mouse-y: 40%;
}
.hero-content { position: relative; }
.hero-content::before {
  content: '';
  position: absolute;
  inset: -40px;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(35, 229, 219, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: inherit;
}
.hero:hover .hero-content::before { opacity: 1; }

/* Typewriter caret */
.hero-headline::after {
  content: '';
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  vertical-align: -0.08em;
  margin-left: 4px;
  background: var(--xrpl);
  opacity: 0;
  animation: caretBlink 0.8s steps(2) infinite;
  border-radius: 2px;
}
.hero-headline.typing::after { opacity: 1; }
.hero-headline.typing-done::after { opacity: 0; }

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-headline-accent {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-headline-accent.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Hero console (terminal-style Lab feed) ----- */
.hero-console {
  position: relative;
  background: #08080f;
  border: 1px solid rgba(35, 229, 219, 0.14);
  border-radius: var(--studio-radius);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  font-family: var(--studio-font-mono);
}

.hero-console::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(35, 229, 219, 0.4), rgba(124, 241, 160, 0.18) 30%, rgba(153, 69, 255, 0.28) 70%, rgba(35, 229, 219, 0.3));
  opacity: 0.35;
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
  animation: consoleGlow 8s ease-in-out infinite;
}

@keyframes consoleGlow {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.55; }
}

.hero-console-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-console-dots { display: flex; gap: 6px; }
.hero-console-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.hero-console-dots span:nth-child(1) { background: rgba(255, 68, 102, 0.5); }
.hero-console-dots span:nth-child(2) { background: rgba(251, 191, 36, 0.5); }
.hero-console-dots span:nth-child(3) { background: rgba(20, 241, 149, 0.5); }

.hero-console-title {
  flex: 1;
  font-family: var(--studio-font-mono);
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.hero-console-net {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(20, 241, 149, 0.08);
  border: 1px solid rgba(20, 241, 149, 0.22);
  color: var(--green);
  font-family: var(--studio-font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hero-console-net-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s infinite;
}

.hero-console-body {
  padding: 16px 18px;
  min-height: 280px;
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feed-line {
  opacity: 0;
  transform: translateX(-6px);
  animation: feedLineIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--studio-font-mono);
}
.feed-line[data-kind="cmd"]     { color: var(--xrpl); font-weight: 600; }
.feed-line[data-kind="info"]    { color: var(--text-muted); font-style: italic; font-size: 0.72rem; }
.feed-line[data-kind="success"] { color: var(--green); margin-top: 8px; font-size: 0.76rem; }
.feed-line:nth-child(1) { animation-delay: 0.3s; }
.feed-line:nth-child(2) { animation-delay: 0.55s; }
.feed-line:nth-child(3) { animation-delay: 0.85s; }
.feed-line:nth-child(4) { animation-delay: 1.15s; }
.feed-line:nth-child(5) { animation-delay: 1.45s; }
.feed-line:nth-child(6) { animation-delay: 1.75s; }
.feed-line:nth-child(7) { animation-delay: 2.1s; }

@keyframes feedLineIn {
  to { opacity: 1; transform: translateX(0); }
}

.feed-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  margin: 2px -8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.feed-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.feed-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--xrpl);
  box-shadow: 0 0 0 3px rgba(35, 229, 219, 0.14);
  animation: pulse-dot 2.2s infinite;
}
.feed-row[data-chain="xrpl-evm"] .feed-dot {
  background: var(--xrpl-evm);
  box-shadow: 0 0 0 3px rgba(124, 241, 160, 0.18);
}
.feed-row[data-chain="purple"] .feed-dot,
.feed-row[data-chain="solana"] .feed-dot {
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(153, 69, 255, 0.2);
}
.feed-row[data-chain="base"] .feed-dot {
  background: var(--base);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.22);
}

.feed-name {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--studio-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.feed-meta {
  color: var(--text-muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-badge {
  font-family: var(--studio-font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  background: rgba(20, 241, 149, 0.12);
  color: var(--green);
  border: 1px solid rgba(20, 241, 149, 0.25);
}
.feed-badge.beta {
  background: rgba(251, 191, 36, 0.12);
  color: var(--yellow);
  border-color: rgba(251, 191, 36, 0.25);
}
.feed-badge.internal {
  background: rgba(153, 69, 255, 0.12);
  color: var(--purple);
  border-color: rgba(153, 69, 255, 0.25);
}

.feed-blink {
  display: inline-block;
  width: 8px;
  color: var(--green);
  animation: caretBlink 0.8s steps(2) infinite;
}

.hero-console-footer {
  display: flex;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
  flex-wrap: wrap;
}
.hero-console-chain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--studio-font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.hero-console-chaindot {
  width: 7px; height: 7px; border-radius: 50%;
}
.hero-console-chaindot.xrpl    { background: var(--xrpl); box-shadow: 0 0 6px rgba(35, 229, 219, 0.55); }
.hero-console-chaindot.evm     { background: var(--xrpl-evm); box-shadow: 0 0 6px rgba(124, 241, 160, 0.55); }
.hero-console-chaindot.solana  { background: var(--solana); box-shadow: 0 0 6px rgba(153, 69, 255, 0.55); }
.hero-console-chaindot.base    { background: var(--base); box-shadow: 0 0 6px rgba(0, 82, 255, 0.55); }
.hero-console-chaindot.stellar { background: #e4e4f0; box-shadow: 0 0 6px rgba(228, 228, 240, 0.4); }

/* Magnetic buttons */
.btn.magnetic {
  position: relative;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
}

/* Chain-colored trust strip chips */
.trust-chip[data-chain="xrpl"]    { color: var(--xrpl); border-color: rgba(35, 229, 219, 0.25); background: rgba(35, 229, 219, 0.05); }
.trust-chip[data-chain="evm"]     { color: var(--xrpl-evm); border-color: rgba(124, 241, 160, 0.22); background: rgba(124, 241, 160, 0.05); }
.trust-chip[data-chain="solana"]  { color: var(--solana); border-color: rgba(153, 69, 255, 0.25); background: rgba(153, 69, 255, 0.05); }
.trust-chip[data-chain="base"]    { color: #6b9dff; border-color: rgba(0, 82, 255, 0.28); background: rgba(0, 82, 255, 0.05); }
.trust-chip[data-chain="stellar"] { color: #e4e4f0; border-color: rgba(228, 228, 240, 0.25); background: rgba(228, 228, 240, 0.04); }
.trust-chip[data-chain="x402"]    { color: var(--xrpl); border-color: rgba(35, 229, 219, 0.4); background: rgba(35, 229, 219, 0.1); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .feed-line, .hero-console::before, .feed-dot, .feed-blink, .hero-console-net-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-headline::after { display: none !important; }
  .hero-headline-accent { opacity: 1 !important; transform: none !important; }
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(35, 229, 219, 0.3), rgba(124, 241, 160, 0.15), rgba(153, 69, 255, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
  filter: blur(16px);
}

.hero-card:hover::before,
.hero-visual:hover .hero-card::before {
  opacity: 1;
}

/* Animated gradient text on the .grad span */
.grad {
  background: linear-gradient(135deg, #23e5db 0%, #7cf1a0 50%, #23e5db 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  animation: gradShift 6s ease infinite;
}

@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero-grid, .grad {
    animation: none !important;
  }
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 1; }

.sdvosb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(35, 229, 219, 0.08);
  border: 1px solid rgba(35, 229, 219, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--xrpl);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.sdvosb-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xrpl);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1,
.hero-copy h1 {
  font-family: var(--studio-font) !important;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0 0 20px;
  text-transform: none !important;
}

.hero h1 .grad,
.grad {
  background: var(--studio-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary) !important;
  margin: 0 0 32px;
  max-width: 560px;
}

.hero-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .stat-num {
  font-family: var(--studio-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.hero-stats .stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero card (The Lab visual) */
.hero-visual { position: relative; z-index: 1; }
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-card-dots { display: flex; gap: 6px; }
.hero-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.hero-card-dots span:nth-child(1) { background: rgba(255, 68, 102, 0.5); }
.hero-card-dots span:nth-child(2) { background: rgba(251, 191, 36, 0.5); }
.hero-card-dots span:nth-child(3) { background: rgba(20, 241, 149, 0.5); }
.hero-card-title {
  font-family: var(--studio-font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.hero-card-body { padding: 0; }
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 4px;
  animation: pulse-dot 2s infinite;
}

/* Lab row entries inside hero card */
.lab-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}
.lab-row:last-child { border-bottom: none; }
.lab-row:hover { background: rgba(255, 255, 255, 0.015); }
.lab-row-title {
  font-family: var(--studio-font);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.lab-row-sub {
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-top: 2px;
  font-weight: 400;
}
.lab-row-status {
  font-family: var(--studio-font-mono);
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: rgba(20, 241, 149, 0.12);
  color: var(--green);
}
.lab-row-status.beta { background: rgba(251, 191, 36, 0.12); color: var(--yellow); }

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 8px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--studio-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
  background: var(--bg-deep);
}

.section-dark {
  background: var(--bg-deep) !important;
}

.section-dark:nth-of-type(even) {
  background: var(--bg-surface) !important;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--studio-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--xrpl);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.eyebrow-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(35, 229, 219, 0.08);
  border: 1px solid rgba(35, 229, 219, 0.2);
  color: var(--xrpl) !important;
  font-family: var(--studio-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-title,
h2.section-title {
  font-family: var(--studio-font) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary) !important;
  line-height: 1.15;
  margin: 0 0 16px;
  text-transform: none !important;
}

.section-title.light { color: var(--text-primary) !important; }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary) !important;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ---- P-GRID + P-CARD (Why Us, Services Preview) ---- */
.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}

.p-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--studio-radius);
  padding: 28px 24px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.p-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--studio-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.p-card:hover {
  border-color: rgba(35, 229, 219, 0.25) !important;
  transform: translateY(-2px);
  background: var(--bg-card-hover) !important;
}

.p-card:hover::before { opacity: 1; }

.p-card-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(35, 229, 219, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card h3 {
  font-family: var(--studio-font) !important;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  text-transform: none !important;
}

.p-card p {
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin: 0;
}

.p-card .card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--studio-font-mono);
  font-size: 0.75rem;
  color: var(--xrpl);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---- FEATURE STRIP (The Lab section) ---- */
.feature-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.feature-strip h2 {
  font-family: var(--studio-font) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary) !important;
  line-height: 1.15;
  margin: 0 0 16px;
  text-transform: none !important;
}

.feature-strip p {
  font-size: 0.95rem;
  color: var(--text-secondary) !important;
  line-height: 1.65;
  margin: 0 0 20px;
}

.feature-strip ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.feature-strip ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.92rem;
  color: var(--text-secondary) !important;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.5;
}

.feature-strip ul li:last-child { border-bottom: none; }

.feature-strip ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.check {
  position: absolute;
  left: 0; top: 10px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(20, 241, 149, 0.12);
  color: var(--green) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.feature-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius);
  padding: 28px;
}

.feature-visual h3 {
  font-family: var(--studio-font) !important;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  text-transform: none !important;
}

.feature-visual .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.feature-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.feature-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius-sm);
  padding: 16px;
  text-align: center;
}

.feature-metric .num {
  font-family: var(--studio-font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--studio-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.feature-metric .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.feature-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.feature-mini .m {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius-sm);
  padding: 10px;
  text-align: center;
}

.feature-mini .n {
  font-family: var(--studio-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--xrpl);
  margin-bottom: 2px;
}

.feature-mini .l {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- STEPS GRID ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius);
  padding: 28px 24px;
  transition: all 0.2s ease;
  position: relative;
}

.step:hover {
  border-color: rgba(35, 229, 219, 0.25);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--studio-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #000;
  background: var(--studio-gradient);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.step h3 {
  font-family: var(--studio-font) !important;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  margin: 0 0 8px;
  text-transform: none !important;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin: 0;
}

/* ---- FAQ GRID ---- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius);
  padding: 22px 24px;
  transition: all 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(35, 229, 219, 0.25);
}

.faq-card h4 {
  font-family: var(--studio-font) !important;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  margin: 0 0 10px;
  text-transform: none !important;
  letter-spacing: -0.005em;
}

.faq-card p {
  font-size: 0.88rem;
  color: var(--text-secondary) !important;
  line-height: 1.65;
  margin: 0;
}

/* ---- ABOUT TEASER ---- */
.about-teaser {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}

.about-teaser-text h3 {
  font-family: var(--studio-font) !important;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 0 0 16px;
  text-transform: none !important;
  letter-spacing: -0.02em;
}

.about-teaser-text p {
  font-size: 0.95rem;
  color: var(--text-secondary) !important;
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-teaser-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--studio-radius);
  transition: all 0.2s ease;
}

.highlight-card:hover {
  border-color: rgba(35, 229, 219, 0.25) !important;
}

.highlight-icon {
  font-size: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(35, 229, 219, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-card h4 {
  font-family: var(--studio-font) !important;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  margin: 0 0 4px;
  text-transform: none !important;
}

.highlight-card p {
  font-size: 0.82rem;
  color: var(--text-muted) !important;
  line-height: 1.55;
  margin: 0;
}

/* ---- BLOG GRID ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(35, 229, 219, 0.25);
  transform: translateY(-2px);
}

.blog-card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(35, 229, 219, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card h3 {
  font-family: var(--studio-font) !important;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  margin: 0 0 8px;
  text-transform: none !important;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin: 0 0 14px;
}

.blog-card .read-more {
  font-family: var(--studio-font-mono);
  font-size: 0.72rem;
  color: var(--xrpl);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ---- CTA BANNER ---- */
.cta-section { background: var(--bg-surface) !important; }

.cta-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--studio-radius);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--studio-gradient);
}

.cta-content h2 {
  font-family: var(--studio-font) !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 0 0 12px;
  text-transform: none !important;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 0.95rem;
  color: var(--text-secondary) !important;
  line-height: 1.65;
  margin: 0 0 24px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary) !important;
}

.cta-badge-icon {
  font-size: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(35, 229, 219, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- CAREERS CTA ---- */
.careers-cta {
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--studio-radius);
  text-align: center;
}

.careers-cta .section-title { margin-bottom: 14px; }

/* ---- PAGE HERO (subpages) ---- */
.page-hero {
  padding: 88px 0 48px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(35, 229, 219, 0.06), transparent 60%),
    var(--bg-deep);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--studio-font) !important;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary) !important;
  margin: 0 0 12px;
  text-transform: none !important;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary) !important;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- PRICING CARDS (Services page) ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.pricing-card {
  position: relative;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--studio-radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  border-color: rgba(35, 229, 219, 0.2) !important;
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: rgba(35, 229, 219, 0.35) !important;
  background: linear-gradient(180deg, rgba(35, 229, 219, 0.03), var(--bg-card)) !important;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--studio-gradient);
  border-radius: var(--studio-radius) var(--studio-radius) 0 0;
}

.pricing-badge {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  align-self: flex-start;
  padding: 5px 11px !important;
  margin: 0 0 16px !important;
  border-radius: 20px !important;
  font-family: var(--studio-font-mono) !important;
  font-size: 0.65rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(35, 229, 219, 0.1) !important;
  color: var(--xrpl) !important;
  border: 1px solid rgba(35, 229, 219, 0.22) !important;
  line-height: 1;
  white-space: nowrap;
  width: auto !important;
}

.pricing-badge.free-badge {
  background: rgba(251, 191, 36, 0.1);
  color: var(--yellow);
  border-color: rgba(251, 191, 36, 0.25);
}

.pricing-plan {
  font-family: var(--studio-font) !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-transform: none !important;
  line-height: 1.3;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 6px;
  flex-wrap: wrap;
}

.price-big {
  font-family: var(--studio-font) !important;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary) !important;
  background: var(--studio-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-sub {
  font-size: 0.82rem;
  color: var(--text-muted) !important;
  font-weight: 500;
}

.pricing-monthly {
  font-size: 0.95rem;
  color: var(--text-primary) !important;
  margin: 0 0 22px;
  font-weight: 600;
}

.pricing-monthly span {
  color: var(--text-muted) !important;
  font-size: 0.78rem;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary) !important;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.5;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li strong { color: var(--text-primary); font-weight: 600; }

.pricing-card-footer .pricing-note {
  font-size: 0.75rem;
  color: var(--text-muted) !important;
  margin: 10px 0 0;
  text-align: center;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-surface) !important;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
  color: var(--text-secondary);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-brand p { font-size: 0.9rem; color: var(--text-primary) !important; font-weight: 600; margin: 0; }
.footer-tag { font-size: 0.8rem !important; color: var(--text-muted) !important; font-weight: 400 !important; }

.footer-links, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a, .footer-legal a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover, .footer-legal a:hover { color: var(--xrpl); }

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom p { margin: 0; }

/* ---- SERVICE DETAIL CARDS (Services page) ---- */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.service-detail-card {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--studio-radius);
  transition: all 0.2s ease;
}

.service-detail-card:hover {
  border-color: rgba(35, 229, 219, 0.25) !important;
  transform: translateY(-2px);
}

.sd-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(35, 229, 219, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-content { flex: 1; }

.sd-content h3 {
  font-family: var(--studio-font) !important;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 0 0 10px;
  text-transform: none !important;
  letter-spacing: -0.01em;
}

.sd-content p {
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
  line-height: 1.65;
  margin: 0 0 14px;
}

.sd-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sd-features li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary) !important;
  line-height: 1.5;
}

.sd-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--xrpl);
  font-family: var(--studio-font-mono);
  font-weight: 700;
}

/* ---- REVEAL ANIMATIONS (preserve existing class names) ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible, .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { transform: translateX(-20px); }
.reveal-left.visible, .reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(20px); }
.reveal-right.visible, .reveal-right.is-visible { transform: translateX(0); }
.reveal-scale { transform: scale(0.97); }
.reveal-scale.visible, .reveal-scale.is-visible { transform: scale(1); }

.hero-anim { animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.hero-anim-1 { animation-delay: 0.05s; }
.hero-anim-2 { animation-delay: 0.15s; }
.hero-anim-3 { animation-delay: 0.25s; }
.hero-anim-4 { animation-delay: 0.35s; }
.hero-anim-5 { animation-delay: 0.45s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- PROMO BANNER (Services page) ---- */
.promo-banner {
  background: linear-gradient(135deg, rgba(35, 229, 219, 0.12), rgba(124, 241, 160, 0.08)) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(35, 229, 219, 0.25);
  border-radius: var(--studio-radius);
  padding: 14px 24px;
  text-align: center;
  margin-bottom: 28px;
  font-weight: 500;
  font-size: 0.92rem;
}

.promo-banner span {
  background: rgba(0, 0, 0, 0.3);
  color: var(--xrpl);
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .feature-strip { grid-template-columns: 1fr; gap: 32px; }
  .about-teaser { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-badges { flex-direction: row; flex-wrap: wrap; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav#nav { display: none; position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); padding: 16px; gap: 6px; }
  nav#nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .careers-cta { padding: 32px 20px; }
  .cta-banner { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
}
