/* ═══════════════════════════════════════════════════════════════════
   VEYINO LABS — ENTERPRISE MINIMALIST DESIGN SYSTEM
   Standard: GitHub / Linear / Stripe Dark Modern Aesthetic
   Palette: Monochrome Pitch Black, Obsidian, Titanium Silver, Cold Metal
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #07080b;
  --bg-secondary: #0d0f15;
  --bg-card: rgba(15, 18, 26, 0.75);
  --bg-card-hover: rgba(22, 27, 39, 0.85);
  --bg-card-solid: #0f121a;
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-bright: rgba(255, 255, 255, 0.24);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  
  --accent-titanium: #e2e8f0;
  --accent-glow: rgba(255, 255, 255, 0.05);
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;

  --nav-height: 72px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-primary);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 15px;
}

/* ──────────────── Visual Background Grid & Gradients ──────────────── */
.bg-mesh-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
}

.ambient-light-top {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(56, 189, 248, 0.03) 30%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

/* ──────────────── Modern Navigation ──────────────── */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav.scrolled {
  background: rgba(7, 8, 11, 0.94);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ──────────────── High-Tech 1:1 Vector Logo ──────────────── */
.veyino-logo-box {
  width: 36px;
  height: 36px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.veyino-logo-box:hover {
  border-color: var(--border-bright);
  transform: scale(1.04);
}

.veyino-svg-logo {
  width: 26px;
  height: 26px;
  overflow: visible;
}

/* Logo Dynamic Animation */
@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); }
}

@keyframes lineShimmer {
  0% { stroke-dashoffset: 80; }
  100% { stroke-dashoffset: 0; }
}

.logo-geom-outer {
  transform-origin: center;
  animation: spinSlow 24s linear infinite;
}

.logo-geom-core {
  animation: pulseGlow 3.5s ease-in-out infinite;
}

.logo-geom-accent {
  stroke-dasharray: 40;
  animation: lineShimmer 6s ease-in-out infinite alternate;
}

/* ──────────────── Buttons & Interactive ──────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  background: #f8fafc;
  color: #07080b;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--border-medium);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-bright);
  color: #ffffff;
  transform: translateY(-1px);
}

.lang-selector {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.lang-selector:hover, .lang-selector:focus {
  border-color: var(--border-bright);
}

.lang-selector option {
  background: var(--bg-card-solid);
  color: var(--text-main);
}

/* ──────────────── Card & Glassmorphism Surfaces ──────────────── */
.enterprise-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  overflow: hidden;
}

.enterprise-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

/* Spotlight Follow Effect */
.enterprise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(500px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

/* ──────────────── Typography & Sections ──────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-main);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ──────────────── Hero Special Styling ──────────────── */
.hero-section {
  position: relative;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 500;
  margin-bottom: 28px;
  transition: border-color 0.2s ease;
}

.hero-pill:hover {
  border-color: var(--border-bright);
}

.hero-pill-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 1040px;
  color: #ffffff;
}

.hero-title-highlight {
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.metric-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: left;
}

.metric-value {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.775rem;
  color: var(--text-sub);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ──────────────── Continuous Tech Marquee ──────────────── */
.tech-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.4);
  padding: 16px 0;
  position: relative;
}

.tech-marquee-content {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.tech-marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-badge span {
  color: var(--text-main);
}

/* ──────────────── Product Matrix Cards ──────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-metric-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.15rem;
}

.product-status-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.product-badge-sub {
  font-size: 0.8rem;
  color: var(--accent-titanium);
  font-weight: 500;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 68px;
}

.product-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.tech-pill {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ──────────────── Architecture Blueprint Section ──────────────── */
.arch-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .arch-container { grid-template-columns: 1fr; }
}

.arch-layer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-layer-card {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.2s;
}

.arch-layer-card:hover {
  border-color: var(--border-medium);
}

.arch-layer-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.arch-layer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.arch-layer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.terminal-mockup {
  background: #090b10;
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.terminal-body {
  padding: 20px;
  font-size: 0.825rem;
  line-height: 1.7;
  color: #cbd5e1;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* ──────────────── Governance & Team Section ──────────────── */
.team-governance-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
}

.school-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  margin-bottom: 24px;
}

.school-badge-icon {
  color: var(--text-main);
  font-size: 1.1rem;
}

.school-badge-text {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.leader-signature-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.leader-name-tag {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
}

/* ──────────────── Sponsors & Strategic Partners ──────────────── */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.sponsor-item-card {
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 16px;
  text-align: center;
  transition: all 0.25s ease;
}

.sponsor-item-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.sponsor-logo-img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.75;
  transition: all 0.25s ease;
}

.sponsor-item-card:hover .sponsor-logo-img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.sponsor-empty-state {
  grid-column: 1 / -1;
  padding: 36px 20px;
  border-radius: 12px;
  border: 1px dashed var(--border-medium);
  text-align: center;
  color: var(--text-sub);
  font-size: 0.9rem;
}

/* ──────────────── Big Tech Multi-Column Footer ──────────────── */
.site-footer {
  border-top: 1px solid var(--border-medium);
  background: #050608;
  padding: 80px 0 40px;
  margin-top: 120px;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-top-grid { grid-template-columns: 1fr; }
}

.footer-col-title {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.825rem;
  color: var(--text-sub);
}

.footer-compliance-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.compliance-pill {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ──────────────── Interactive Legal / Compliance Modal ──────────────── */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.legal-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.legal-modal-window {
  background: #0c0f16;
  border: 1px solid var(--border-bright);
  border-radius: 18px;
  max-width: 840px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-backdrop.active .legal-modal-window {
  transform: translateY(0);
}

.legal-modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.legal-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.legal-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.legal-modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.legal-modal-body h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 20px 0 8px;
  font-weight: 700;
}

.legal-modal-body p {
  margin-bottom: 14px;
}

.legal-modal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-modal-body li {
  margin-bottom: 6px;
}
