/* ==========================================================================
   XENO - STABLECOIN CARD SCHEME FOR ROBINHOOD CHAIN (ENHANCED EFFECTS & FONTS)
   Fonts: Outfit (Display Headlines), Inter (Body Text), JetBrains Mono (Tech Specs)
   Effects: Glassmorphism Spotlight Glow, 3D Card Tilt, Animated Button Shimmer,
            Concentric NFC Radar Pulse, Table Row Glow Highlights
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-soft: #f8fafc;
  --bg-softer: #f1f5f9;
  --surface-white: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.76);
  --surface-glass-card: rgba(255, 255, 255, 0.88);

  --stroke: rgba(15, 23, 42, 0.08);
  --stroke-strong: rgba(15, 23, 42, 0.16);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --accent-yellow: #FFD400;
  --accent-yellow-light: #ffe866;
  --accent-yellow-dark: #B89700;
  --accent-black: #121212;
  --green: #22c55e;

  --font-display: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-soft);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(255, 212, 0, 0.12) 0%, transparent 80%),
    var(--bg-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Layout Containers */
.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-5xl {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke);
  padding: 16px 36px;
  transition: all 0.3s ease;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.chain-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-yellow-dark);
  transition: all 0.25s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Shimmer Buttons */
.btn-yellow {
  background: linear-gradient(120deg, #FFD400, #ffe566 50%, #FFD400);
  background-size: 200% 100%;
  color: var(--text-primary);
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-yellow:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 212, 0, 0.55);
}

.btn-black {
  background: var(--accent-black);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.btn-black:hover {
  background: #262626;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 212, 0, 0.16);
  border: 1px solid rgba(184, 151, 0, 0.35);
  color: var(--accent-yellow-dark);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(255, 212, 0, 0.15);
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 80px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

h1.hero-title span.highlight {
  color: var(--accent-yellow-dark);
  background: linear-gradient(120deg, #B89700, #d4ae00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* NFC Tap-to-Pay Terminal Simulator Widget with Radar Rings */
.nfc-simulator-wrap {
  margin: 48px auto 0;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid var(--stroke-strong);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nfc-simulator-wrap:hover {
  box-shadow: 0 30px 80px rgba(255, 212, 0, 0.18);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.pos-terminal-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
  overflow: hidden;
}

.nfc-signal-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 212, 0, 0.15);
  border: 2px solid var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(255, 212, 0, 0.6);
  position: relative;
}

.nfc-signal-ring::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 212, 0, 0.4);
  animation: radar-pulse 2.4s ease-out infinite;
}

@keyframes radar-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.phone-wallet-card {
  background: var(--surface-white);
  border: 1.5px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
}

/* Tab Switcher Section */
.switcher-section {
  padding: 100px 0;
}

.tab-buttons {
  display: inline-flex;
  gap: 12px;
  background: rgba(15, 23, 42, 0.05);
  padding: 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 56px;
}

.tab-btn {
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: var(--surface-white);
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Technical Comparison Matrix Table */
.comparison-section {
  padding: 100px 0;
  background: var(--bg-softer);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--stroke-strong);
}

.comparison-table tr {
  transition: background 0.2s ease;
}

.comparison-table tr:hover {
  background: rgba(255, 212, 0, 0.04);
}

.comparison-table th, .comparison-table td {
  padding: 22px 28px;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15, 23, 42, 0.02);
}

.comparison-table th.highlight-col, .comparison-table td.highlight-col {
  background: rgba(255, 212, 0, 0.1);
  color: var(--text-primary);
  font-weight: 800;
}

/* Partner & Settlement Network Strip */
.partner-strip {
  padding: 70px 0;
  text-align: center;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.15rem;
}

/* Footer */
footer {
  background: var(--surface-white);
  border-top: 1px solid var(--stroke);
  padding: 90px 0 50px;
}

/* Modals & Toasts */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-xeno {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.toast-xeno {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  background: #0f172a;
  color: #ffffff;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  border-left: 4px solid var(--accent-yellow);
}

/* Responsive */
@media (max-width: 900px) {
  .simulator-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
