/* ===================================================
   GCRIG - Global Credit Rating & Intelligence Group
   Main Stylesheet — Clean White Fintech SaaS Design
   Inspired by Stripe, Mercury, Brex, Ramp, Axra
   =================================================== */

/* ==============================================
   1. CSS VARIABLES
   ============================================== */
:root {
  /* Backgrounds */
  --bg-primary: #f7f9fc;
  --bg-secondary: #eef2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafd;

  /* Text */
  --text-primary: #0d223c;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;

  /* Borders */
  --border-color: #e5e9f2;
  --card-border: #e5e9f2;

  /* Accent colors */
  --accent-blue: #3b82f6;
  --accent-mint: #22c55e;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --accent-pink: #ec4899;

  /* Legacy aliases (kept for compatibility) */
  --navy: #0d223c;
  --navy-2: #1e293b;
  --navy-3: #334155;
  --navy-4: #475569;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #d97706;
  --teal: #22c55e;
  --teal-light: #4ade80;
  --teal-dark: #16a34a;
  --white: #ffffff;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --pink: #ec4899;
  --blue-accent: #3b82f6;
  --success: #22c55e;
  --danger: #ef4444;

  /* Gradients */
  --gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-hover: linear-gradient(135deg, #2563eb, #7c3aed);
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-blue: linear-gradient(135deg, #3b82f6, #06b6d4);
  --gradient-green: linear-gradient(135deg, #22c55e, #10b981);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 8px 25px rgba(59, 130, 246, 0.15);
  --shadow-purple: 0 8px 25px rgba(139, 92, 246, 0.15);

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --radius-pill: 9999px;
  --transition: all 0.25s ease;
  --section-padding: 100px;
  --container-max: 1200px;

  /* Glass background (now white-based) */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: #e5e9f2;
  --glass-bg-hover: rgba(59, 130, 246, 0.04);
}

/* ==============================================
   2. RESET & BASE
   ============================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  color: var(--text-primary);
}

/* ==============================================
   3. CUSTOM SCROLLBAR
   ============================================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

html, body {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 var(--bg-secondary);
}

/* ==============================================
   4. LAYOUT UTILITIES
   ============================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.bg-navy-2 {
  background: #202653;
}

.section-gradient {
  background: linear-gradient( 180deg, #1f2552 0%, #292f5a 50%, #1f2552 100% );
}


/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

/* Spacing utilities */
.mb-0  { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-0  { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Text utilities */
.text-center { text-align: center; }
.body-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

.small-muted {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.note-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Stats inline helpers */
.stat-inline-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
}

.stat-inline-number-blue {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
}

.stat-inline-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-inline-group {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

/* Nav button small variant */
.btn-nav {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Icon emoji box */
.icon-emoji {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

/* Step number display */
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.5;
}

.step-num-blue {
  color: var(--accent-blue);
}

/* Highlight box */
.highlight-box {
  padding: 14px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-sm);
}

.highlight-teal {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.2);
}

/* Metric value color variants */
.metric-purple { color: var(--accent-purple); }
.metric-blue   { color: var(--accent-blue); }
.metric-green  { color: var(--accent-mint); }
.metric-red    { color: var(--accent-red); }
.metric-amber  { color: var(--accent-amber); }

/* Revenue bar fill color variants */
.fill-purple { background: var(--gradient); }
.fill-blue   { background: linear-gradient(90deg, var(--accent-blue), #06b6d4); }
.fill-green  { background: linear-gradient(90deg, var(--accent-mint), #10b981); }

/* Small learn-more link */
.learn-more-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.learn-more-link:hover {
  color: var(--accent-purple);
}

/* Feature visual custom bg */
.feature-visual-gradient {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(139, 92, 246, 0.04));
  border: 1px solid var(--border-color);
}

/* Feature visual column layout */
.feature-visual-col {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Why different / inline feature text heading */
.feature-inner-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Feature item icon colour variants */
.feature-item-icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
}

.feature-item-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
}

/* Grid alignment modifier */
.grid-align-start {
  align-items: start;
}

/* Block button — full width */
.btn-block {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Tier type label */
.tier-type-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tier-type-label-purple {
  color: var(--accent-purple);
}

/* Tier icon background variants */
.tier-icon-soft {
  background: var(--bg-secondary);
}

.tier-icon-purple {
  background: rgba(139, 92, 246, 0.1);
}

/* AI dashboard element helpers */
.ai-dot-red    { background: #ef4444; }
.ai-dot-yellow { background: #f59e0b; }
.ai-dot-green  { background: #22c55e; }

.ai-entity-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-metric-gap {
  margin-top: 12px;
}

.ai-recommendation-box {
  margin-top: 20px;
  padding: 14px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-sm);
}

.ai-recommendation-box-blue {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.15);
}

.ai-recommendation-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.ai-recommendation-title-blue {
  color: var(--accent-mint);
}

.ai-recommendation-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Data metric card (financial stats) */
.data-metric-card {
  padding: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.data-metric-card-blue {
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.03);
}

.data-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.data-metric-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-blue);
}

.data-metric-number-blue {
  color: var(--accent-mint);
}

/* Data row (CRB network stats) */
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.data-row-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.data-row-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.data-row-value-purple { color: var(--accent-purple); }
.data-row-value-blue   { color: var(--accent-blue); }

/* sr-only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* font-size-inherit */
.font-size-inherit { font-size: inherit; }

/* ==============================================
   5. TYPOGRAPHY
   ============================================== */
h1 { font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--text-primary); }
h2 { font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--text-primary); }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--text-primary); }
h4 { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--text-primary); }
h5 { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--text-primary); }
p  { color: var(--text-secondary); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==============================================
   6. SECTION HEADERS
   ============================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-tag-center {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: #fff;
  line-height: 1.7;
  max-width: 640px;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ==============================================
   7. BUTTONS
   ============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #0d223c;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.15);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #0d223c;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-teal {
  background: #0d223c;
  color: #ffffff;
}

.btn-teal:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.15);
  color: #ffffff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
  border-radius: 10px;
}

.magnetic-btn {
  position: relative;
  overflow: hidden;
}

.magnetic-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.magnetic-btn:hover::before {
  opacity: 1;
}

/* ==============================================
   8. NAVBAR
   ============================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgb(31, 37, 82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(14, 14, 14, 0.22);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

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

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

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: #0d223c;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  color: #ffffff;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.nav-logo-tagline {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

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

.nav-link {
  padding: 8px 14px;
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-link.active {
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.08);
}

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

/* ==============================================
   9. HAMBURGER & MOBILE MENU
   ============================================== */
.hamburger {
  width: 32px;
  height: 32px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 88px 24px 32px;
  gap: 4px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-right: 1px solid var(--border-color);
}

.mobile-menu.open,
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  padding: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  width: 100%;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.05);
  padding-left: 24px;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-footer .btn {
  width: 100%;
  justify-content: center;
}

/* ==============================================
   10. FLOATING ORBS (hidden in light theme)
   ============================================== */
.orb {
  display: none;
}

.hero-canvas {
  display: none;
}

.hero-gradient {
  display: none;
}

/* ==============================================
   11. HERO SECTION
   ============================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--accent-mint);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(1.0rem, 3vw, 3.0rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 740px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 28px;
  width: 100%;
  max-width: 800px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-align: center;
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent-blue);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* ==============================================
   12. CURRENCY TICKER
   ============================================== */
.ticker-bar {
  background: #1010104f;
  /*border-bottom: 1px solid var(--border-color);*/
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: sticky;
  top: 72px;
  z-index: 900;
}

.ticker-track {
  display: inline-flex;
  gap: 40px;
  animation: tickerScroll 35s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.ticker-pair {
  color: var(--text-muted);
  font-weight: 600;
}

.ticker-rate {
  color: var(--text-primary);
  font-weight: 600;
}

.ticker-change {
  font-size: 0.75rem;
  font-weight: 500;
}

.ticker-up   { color: var(--accent-mint); }
.ticker-down { color: var(--accent-red); }

/* ==============================================
   13. CARDS
   ============================================== */
.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.card-glow {
  /* In light theme, card-glow is just a subtle hover effect */
}

.card-glow:hover {
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card-icon-gradient {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--accent-blue);
}

.card-icon-gold {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}

.card-icon-teal {
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent-mint);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.card-title-flush {
  margin-bottom: 0;
}

.card-title-sm {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 0.75rem;
  top: 1px;
}

.tilt-card {
  transform-style: preserve-3d;
}

/* ==============================================
   14. BADGES & PILLS
   ============================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-teal {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-mt {
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
}

/* ==============================================
   15. PAGE HERO (inner pages)
   ============================================== */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.page-hero-breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.page-hero-breadcrumb a:hover {
  color: var(--accent-blue);
}

.page-hero-breadcrumb .current {
  color: var(--text-primary);
  font-weight: 500;
}

.page-hero-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 640px;
}

.page-hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* ==============================================
   16. STATS SECTION
   ============================================== */
.stats-section {
  padding: 64px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==============================================
   17. FEATURE ROWS & LISTS
   ============================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-visual {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
}

.feature-item-text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.feature-item-text p {
  font-size: 0.875rem;
  color: #fff;
  line-height: 1.5;
}

/* ==============================================
   18. TIMELINE
   ============================================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  position: relative;
  padding: 0 0 32px 60px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent-blue);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==============================================
   19. TIER CARDS (pricing / investor)
   ============================================== */
.tier-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.tier-card.featured {
  border-color: #0d223c;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d223c;
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.tier-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.75rem;
  background: var(--bg-secondary);
}

.tier-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tier-min {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.tier-min-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 20px;
}

.tier-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tier-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tier-feature-check {
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==============================================
   20. CONTACT FORM
   ============================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 4px;
}

.form-error {
  font-size: 0.8125rem;
  color: var(--accent-red);
  margin-top: 4px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  color: #16a34a;
  font-weight: 500;
}

.form-success-icon {
  font-size: 1.25rem;
}

/* ==============================================
   21. FAQ ACCORDION
   ============================================== */
.faq-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

/* ==============================================
   22. WORLD MAP
   ============================================== */
.world-map-container {
  width: 100%;
  position: relative;
}

.world-map-svg {
  width: 100%;
  height: auto;
  filter: none;
}

.map-node {
  fill: var(--accent-blue);
  opacity: 0.7;
}

.map-connection {
  stroke: var(--accent-blue);
  opacity: 0.3;
}

.pulse-outer {
  fill: var(--accent-blue);
  opacity: 0.2;
  animation: mapPulse 2.5s ease-in-out infinite;
}

@keyframes mapPulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.6); opacity: 0; }
}

/* ==============================================
   23. MARKET OVERVIEW
   ============================================== */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.market-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.market-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.market-pair {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.market-rate {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.market-change {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 4px;
}

.market-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  animation: pulse 2s ease-in-out infinite;
}

.rate-up   { color: var(--accent-mint); }
.rate-down { color: var(--accent-red); }

/* ==============================================
   24. AI DASHBOARD
   ============================================== */
.ai-dashboard {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ai-dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.ai-dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-dashboard-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 4px;
}

.ai-dashboard-body {
  padding: 20px;
}

.ai-metric {
  margin-bottom: 16px;
}

.ai-metric-name {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.ai-metric-value {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.ai-metric-bar {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ai-metric-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient);
  width: 0%;
  transition: width 1s ease-out;
}

/* ==============================================
   25. CURRENCY CONVERTER
   ============================================== */
.converter-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.converter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.converter-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr;
  gap: 12px;
  align-items: end;
}

.converter-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.converter-field input,
.converter-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-size: 0.9375rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.converter-field input:focus,
.converter-field select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.converter-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.converter-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  padding-bottom: 4px;
}

.converter-swap button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.converter-swap button:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

.converter-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.converter-result {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.conv-result-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.conv-result-rate {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.conv-result-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==============================================
   26. CHARTS
   ============================================== */
.chart-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 200px;
}

.chart-pair {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chart-rate {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-blue);
}

/* ==============================================
   27. REVENUE / BUSINESS MODEL COMPONENTS
   ============================================== */
.revenue-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.revenue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.revenue-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.revenue-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.revenue-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.revenue-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.revenue-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.revenue-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 0.875rem;
}

.revenue-pct {
  margin-top: 16px;
}

.revenue-pct-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.revenue-pct-bar {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.revenue-pct-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient);
  transition: width 1s ease-out;
}

/* ==============================================
   28. VALUES / ESG / VISION COMPONENTS
   ============================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.2);
}

.value-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.value-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.vm-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.vm-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.vm-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.vm-section-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.vision { color: var(--accent-blue); }
.mission { color: var(--accent-purple); }

/* ESG */
.esg-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.esg-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.esg-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.esg-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* ==============================================
   29. CHECK ITEMS
   ============================================== */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.check-icon {
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==============================================
   30. NUMBER CIRCLES
   ============================================== */
.num-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.num-circle-blue {
  background: linear-gradient(135deg, var(--accent-blue), #06b6d4);
}

.num-circle-sm {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  font-weight: 700;
}

/* ==============================================
   31. DATA COLUMN
   ============================================== */
.data-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card step row */
.card-step-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.card-step-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ==============================================
   32. CTA SECTION
   ============================================== */
.cta-section {
  padding: 100px 0;
  background: #0d223c;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-section .btn-primary {
  background: #3b82f6;
  color: #ffffff;
}

.cta-section .btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cta-section .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ==============================================
   33. FOOTER
   ============================================== */
.footer {
  background: #0d223c;
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-brand .nav-logo-icon {
  background: #3b82f6;
}

.footer-brand .nav-logo-name {
  color: #ffffff;
}

.footer-brand .nav-logo-tagline {
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-location {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.5);
}

/* ==============================================
   34. PAGE TRANSITION
   ============================================== */
.page-transition {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ==============================================
   35. SCROLL ANIMATIONS
   ============================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-up {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* Delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==============================================
   36. SCROLL INDICATOR
   ============================================== */
.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--accent-blue);
}

/* ==============================================
   37. RESPONSIVE — MOBILE
   ============================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 26px; }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    gap: 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }

  .stat-inline-group {
    gap: 20px;
  }

  .cta-section {
    padding: 72px 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .tier-card {
    padding: 28px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .converter-row {
    grid-template-columns: 1fr;
  }

  .converter-swap {
    justify-self: center;
  }

  .converter-card {
    padding: 24px 20px;
  }

  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vm-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .card {
    padding: 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .ticker-bar {
    display: none;
  }
}

/* ==============================================
   38. ANIMATIONS
   ============================================== */
@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ==============================================
   39. UTILITY OVERRIDES
   ============================================== */
.section-active {
  color: var(--accent-blue) !important;
}

/* Ensure proper scroll padding for fixed navbar */
html {
  scroll-padding-top: 80px;
}

/* =========================================================
   CRB NETWORK SECTION - BLENDED GLOBE STYLE
   ========================================================= */
.crb-network-section {
  position: relative;
  overflow: hidden;
  background: #202653;;
  padding-top: 90px;
  padding-bottom: 90px;
}

.crb-network-section .section-title,
.crb-network-section .section-tag {
  color: #fff;
}

.crb-network-section .section-subtitle {
  color: rgba(238, 242, 255, 0.78);
}

.crb-network-section .gradient-text {
  background: linear-gradient(90deg, #b9c7ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.world-map-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 620px;
  background: transparent;
}

.crb-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)),
    url("../../assets/world-dots-map.png") center center / cover no-repeat;
  opacity: 0.34;
  mix-blend-mode: screen;
  pointer-events: none;
}

.world-map-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,0.04), transparent 18%),
    radial-gradient(circle at 72% 42%, rgba(255,255,255,0.03), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.04));
}

#crbNetworkCanvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1400 / 620;
  background: transparent;
}

.network-legend {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(12, 18, 54, 0.34);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.network-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 244, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 500;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-primary {
  background: #6da0ff;
  box-shadow: 0 0 12px rgba(109, 160, 255, 0.65);
}

.legend-secondary {
  background: #38d7bb;
  box-shadow: 0 0 12px rgba(56, 215, 187, 0.55);
}

.legend-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  display: inline-block;
  background: linear-gradient(90deg, #6da0ff, #b28cff, #38d7bb);
}

@media (max-width: 991px) {
  .crb-network-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .world-map-video-card {
    min-height: 460px;
  }

  #crbNetworkCanvas {
    aspect-ratio: 16 / 10;
  }

  .crb-map-bg {
    opacity: 0.26;
  }
}

@media (max-width: 767px) {
  .world-map-video-card {
    min-height: 340px;
    border-radius: 18px;
  }

  #crbNetworkCanvas {
    aspect-ratio: 1.4 / 1;
  }

  .network-legend {
    position: static;
    margin-top: 12px;
    gap: 10px;
    padding: 10px 12px;
  }

  .network-legend span {
    font-size: 0.72rem;
  }

  .crb-map-bg {
    background-position: center top;
    opacity: 0.22;
  }
}

/* =========================================
   ABOUT HERO - TEXT LEFT / IMAGE RIGHT
   ========================================= */
.page-hero-about {
  padding: 52px 0 78px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 42px;
}

.page-hero-copy {
  max-width: 760px;
}

.page-hero-about .page-hero-title {
  max-width: 760px;
  margin-bottom: 22px;
}

.page-hero-about .page-hero-subtitle {
  max-width: 730px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.about-hero-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(76, 122, 255, 0.10), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(129, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,249,252,0.96));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.09),
    0 8px 22px rgba(76, 122, 255, 0.05);
}

.about-hero-visual-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18), transparent 42%);
  z-index: 1;
}

.about-hero-side-image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-visual {
    justify-content: flex-start;
  }

  .about-hero-visual-wrap {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .page-hero-about {
    padding: 40px 0 58px;
  }

  .page-hero-grid {
    gap: 22px;
  }

  .about-hero-visual-wrap {
    border-radius: 20px;
  }

  .page-hero-about .page-hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

/* ====================================
CRB HERO WITH RIGHT IMAGE
==================================== */
.page-hero-crb {
  padding: 56px 0 80px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 42px;
}

.page-hero-copy {
  max-width: 760px;
}

.page-hero-crb .page-hero-title {
  max-width: 760px;
  margin-bottom: 22px;
}

.page-hero-crb .page-hero-subtitle {
  max-width: 730px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.crb-hero-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
}

.crb-hero-side-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: drop-shadow(0 24px 50px rgba(15, 23, 42, 0.10));
}

@media (max-width: 1199px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-visual {
    justify-content: flex-start;
  }

  .crb-hero-visual-wrap {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .page-hero-crb {
    padding: 40px 0 56px;
  }

  .page-hero-grid {
    gap: 22px;
  }

  .crb-hero-visual-wrap {
    border-radius: 18px;
  }

  .page-hero-crb .page-hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

/* =========================================================
   GCRIG HOMEPAGE POLISH PACK
   Add at the very end of styles.css
   ========================================================= */

/* page depth */
body {
  background:
    radial-gradient(circle at top center, rgba(59,130,246,0.06), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f7f9fc 32%, #f3f7fb 100%);
}

/* navbar polish */
.navbar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* hero sharper framing */
.hero {
  padding-top: 144px;
  padding-bottom: 96px;
}

.hero-content {
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -28px -32px auto;
  height: 420px;
  max-width: 980px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  background:
    linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.06)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.9), transparent 18%);
  border: 1px solid rgba(59,130,246,0.08);
  border-radius: 36px;
  filter: blur(0.5px);
  z-index: -1;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.05);
}

.hero-badge {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  background: rgba(255,255,255,0.9);
}

.hero-title {
  letter-spacing: -0.04em;
  max-width: 980px;
}

.hero-subtitle {
  max-width: 760px;
  font-size: 1.08rem;
}

.hero-actions .btn {
  min-height: 52px;
  padding-inline: 28px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #0d223c 0%, #467df6 100%);
}

.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

/* stats */
.hero-stats {
  gap: 28px 50px;
  padding-top: 24px;
  max-width: 860px;
}

.hero-stat {
  min-width: 150px;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.92rem;
  color: #fff;
}

/* generic cards feel smarter */
.card,
.stat-card,
.converter-card,
.market-card,
.vm-card,
.tier-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.card:hover,
.stat-card:hover,
.converter-card:hover,
.market-card:hover,
.vm-card:hover,
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(59, 130, 246, 0.16);
}

/* card icon refinement */
.card-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.card-title {
  letter-spacing: -0.02em;
}

.card-text {
  color: #fff;
}

/* section headers */
.section-header {
  margin-bottom: 56px;
}

.section-title {
  letter-spacing: -0.035em;
}

.section-subtitle {
  max-width: 700px;
}

/* stats section */
.stats-section {
  position: relative;
}

.stats-grid {
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.stat-card-number {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

/* ai dashboard */
.ai-dashboard {
  border: 1px solid rgba(59,130,246,0.12);
  box-shadow: 0 24px 50px rgba(15,23,42,0.10);
}

.ai-dashboard-header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ai-recommendation-box {
  border-radius: 16px;
}

/* map card */
.world-map-video-card {
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.22);
}

.network-legend {
  backdrop-filter: blur(10px);
  background: rgba(10, 18, 40, 0.68);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* converter polish */
.converter-card {
  border-radius: 24px;
  overflow: hidden;
}

.converter-card .btn {
  min-height: 52px;
}

.converter-result {
  border: 1px solid rgba(59,130,246,0.10);
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

/* footer sharper */
.footer {
  border-top: 1px solid rgba(15,23,42,0.06);
}

.footer-social-link {
  box-shadow: 0 8px 20px rgba(15,23,42,0.06);
}

.footer-social-link:hover {
  transform: translateY(-3px);
}

/* subtle reveal baseline */
.fade-up,
.slide-left,
.slide-right,
.scale-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.slide-left {
  transform: translateX(-28px);
}

.slide-right {
  transform: translateX(28px);
}

.scale-up {
  transform: scale(.96);
}

.fade-up.visible,
.slide-left.visible,
.slide-right.visible,
.scale-up.visible {
  opacity: 1;
  transform: none;
}

/* mobile polish */
@media (max-width: 991px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-content::before {
    inset: -20px -12px auto;
    height: 360px;
    border-radius: 28px;
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stat {
    min-width: 132px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content::before {
    height: 320px;
  }

  .card,
  .stat-card,
  .converter-card,
  .market-card,
  .vm-card,
  .tier-card {
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 104px;
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-content::before {
    height: 290px;
    inset: -14px -4px auto;
    border-radius: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;

  background:
     linear-gradient(rgba(247, 249, 252, 0.68), rgba(247, 249, 252, 0.76)),
    url("../../../assets/auth-bg.png") center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 28px;
  padding: 28px 24px;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;

  background:
    linear-gradient(rgba(247, 249, 252, 0.55), rgba(247, 249, 252, 0.65)),
    url("../../../assets/auth-bg.png") center center / cover no-repeat;
}

/* Add contrast instead of washing it out */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(0,0,0,0.05), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.08), transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;

  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-radius: 24px;
  padding: 30px;
}

.hero {
  background:
    linear-gradient(rgba(32, 38, 84), rgba(32, 38, 84)),
    url("../../../") center center / cover no-repeat;
}

/* Base card background system */
.card {
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Overlay for readability */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 38, 84, 0.55) 0%,
    rgba(32, 38, 84, 0.85) 100%
  );
  z-index: 1;
}

/* Keep content above overlay */
.card > * {
  position: relative;
  z-index: 2;
}

.card-bg-1 {
  background: url("../../../assets/1.") center/cover no-repeat;
}

.card-bg-2 {
  background: url("../../assets/5.") center/cover no-repeat;
}

.card-bg-3 {
  background: url("../../assets/3.") center/cover no-repeat;
}

.card-bg-4 {
  background: url("../../assets/4.") center/cover no-repeat;
}

.card-bg-5 {
  background: url("../../assets/2.") center/cover no-repeat;
}

.card-bg-6 {
  background: url("../../assets/6.") center/cover no-repeat;
}
.card {
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 0.6s ease;
  z-index: 0;
}

.card:hover::after {
  transform: scale(1.08);
}

.ai-image-card{
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255,255,255,0.08);
}

.ai-feature-image{
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.ai-image-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 31, 0.08) 0%,
    rgba(7, 17, 31, 0.38) 45%,
    rgba(7, 17, 31, 0.82) 100%
  );
}

.ai-image-badge{
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.ai-image-title{
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  max-width: 460px;
}

.ai-image-text{
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin: 0;
}

@media (max-width: 991.98px){
  .ai-image-card,
  .ai-feature-image{
    min-height: 420px;
  }

  .ai-image-overlay{
    padding: 24px;
  }

  .ai-image-title{
    font-size: 24px;
  }
}

@media (max-width: 575.98px){
  .ai-image-card,
  .ai-feature-image{
    min-height: 340px;
    border-radius: 18px;
  }

  .ai-image-overlay{
    padding: 18px;
  }

  .ai-image-title{
    font-size: 20px;
    margin-bottom: 8px;
  }

  .ai-image-text{
    font-size: 14px;
    line-height: 1.6;
  }
}

.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;

  /* BACKGROUND IMAGE */
  background: url("assets/cta-bg.jpg") center center / cover no-repeat;
}

/* DARK GRADIENT OVERLAY (VERY IMPORTANT) */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(32, 38, 84, 0.95) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );

  z-index: 1;
}

/* CONTENT ABOVE OVERLAY */
.cta-section .container {
  position: relative;
  z-index: 2;
}

/* TEXT COLORS FOR VISIBILITY */
.cta-title {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.section-tag-center {
  color: #fff;
  opacity: 0.85;
}

/* BUTTON IMPROVEMENT */
.cta-actions .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.cta-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}