/* ============================================
   CASHMEET - Premium Dark Platform Stylesheet
   Pure CSS - No Frameworks
   ============================================ */

/* ---- CSS Variables & Design Tokens ---- */
:root {
  --void-black: #030303;
  --slate-surface: #141414;
  --crimson-core: #53041e;
  --garnet: #711f30;
  --liquid-gold: #ffb657;
  --champagne: #fae6c7;
  --text-primary: #fae6c7;
  --text-secondary: rgba(250, 230, 199, 0.65);
  --text-muted: rgba(250, 230, 199, 0.4);
  --border-subtle: rgba(113, 31, 48, 0.3);
  --border-hover: rgba(255, 182, 87, 0.3);
  --glass-bg: rgba(20, 20, 20, 0.4);
  --glass-border: rgba(250, 230, 199, 0.08);
  --radius-pill: 50px;
  --radius-card: 8px;
  --radius-sm: 4px;
  --max-width: 77.5rem;
  --section-padding: min(20vh, 15rem);
  --gap-lg: clamp(4rem, 6vw, 8rem);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--void-black);
  overflow-x: hidden;
}

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

a {
  color: var(--liquid-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--champagne);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--champagne);
  word-wrap: break-word;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

ul, ol {
  list-style: none;
}

/* ---- Typography Utilities ---- */
.font-display {
  font-family: 'BIZ UDGothic', 'Inter', sans-serif;
  font-weight: 700;
}

.font-editorial {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
}

.text-gold { color: var(--liquid-gold); }
.text-champagne { color: var(--champagne); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container-narrow {
  max-width: 60rem;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-sm {
  padding: calc(var(--section-padding) * 0.5) 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: var(--gap-lg); }

.grid {
  display: grid;
}

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

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

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

/* ---- Header / Navigation ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

.header.scrolled {
  background: rgba(3, 3, 3, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--champagne);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--liquid-gold);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--liquid-gold);
  transition: width var(--transition-medium);
}

.nav-desktop a:hover {
  color: var(--champagne);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-rounded {
  border-radius: var(--radius-card);
}

.btn-primary {
  background: var(--crimson-core);
  color: var(--champagne);
  border: 1px solid var(--crimson-core);
}

.btn-primary:hover {
  background: var(--garnet);
  border-color: var(--garnet);
  color: var(--champagne);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(83, 4, 30, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--champagne);
  border: 1px solid rgba(250, 230, 199, 0.3);
}

.btn-outline:hover {
  background: var(--champagne);
  color: var(--void-black);
  border-color: var(--champagne);
  transform: translateY(-2px);
}

.btn-gold {
  background: transparent;
  color: var(--liquid-gold);
  border: 1px solid var(--liquid-gold);
}

.btn-gold:hover {
  background: var(--liquid-gold);
  color: var(--void-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 182, 87, 0.3);
}

.btn-text {
  background: none;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--champagne);
  transform: none;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
}

/* ---- Mobile Nav ---- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  position: relative;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--champagne);
  transition: all var(--transition-fast);
}

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(3, 3, 3, 0.98);
  backdrop-filter: blur(30px);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--champagne);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--champagne);
  font-size: 2rem;
  cursor: pointer;
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--void-black);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(3,3,3,0.3) 0%, rgba(3,3,3,0.8) 70%, rgba(3,3,3,1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--liquid-gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--champagne);
  overflow-wrap: anywhere;
  word-break: normal;
}

#hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .gold {
  color: var(--liquid-gold);
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-prompt {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--liquid-gold);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ---- Section Headers ---- */
.section-header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--liquid-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--champagne);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 55ch;
}

.section-header.text-center .section-desc {
  margin-inline: auto;
}

/* ---- Cards ---- */
.card {
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  transition: all var(--transition-medium);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(83, 4, 30, 0.3);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--champagne);
  margin-bottom: 0.75rem;
}

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

/* ---- Feature Cards (Image + Content) ---- */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-card.reverse {
  direction: rtl;
}

.feature-card.reverse > * {
  direction: ltr;
}

.feature-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-image:hover img {
  transform: scale(1.05);
}

.feature-content h3 {
  margin-bottom: 1rem;
}

.feature-content p {
  margin-bottom: 1.5rem;
}

/* ---- Step Cards (How It Works) ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255, 182, 87, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--champagne);
  margin-bottom: 0.75rem;
}

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

/* ---- FAQ Accordion ---- */
.faq-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin: 0 auto 3rem;
  max-width: 960px;
}

.faq-topic-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.125rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.faq-topic-chip:hover {
  color: var(--liquid-gold);
  border-color: rgba(255, 182, 87, 0.35);
  transform: translateY(-1px);
}

.faq-categories {
  display: grid;
  gap: 2rem;
}

.faq-category {
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  scroll-margin-top: 7rem;
}

.faq-category-header {
  max-width: 720px;
  margin: 0 auto 1rem;
  text-align: center;
}

.faq-category-title {
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.faq-category-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--champagne);
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--liquid-gold);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--liquid-gold);
  transition: transform var(--transition-medium);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .faq-topic-nav {
    justify-content: flex-start;
    margin-bottom: 2rem;
  }

  .faq-topic-chip {
    width: 100%;
  }

  .faq-category {
    padding: 1.5rem;
  }
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  color: var(--champagne);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--liquid-gold);
  box-shadow: 0 0 0 3px rgba(255, 182, 87, 0.1);
}

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

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

.form-error {
  font-size: 0.8125rem;
  color: #e74c3c;
  margin-top: 0.375rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--crimson-core);
}

.form-checkbox span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ---- Blog Cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

.blog-content {
  padding: 1.75rem;
}

.blog-meta {
  font-size: 0.75rem;
  color: var(--liquid-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--champagne);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Homepage Role Introduction ---- */
.role-intro {
  background: linear-gradient(180deg, var(--black) 0%, rgba(83, 4, 30, 0.16) 100%);
}

.role-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.role-intro-card {
  overflow: hidden;
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.role-intro-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.role-intro-image {
  height: 320px;
  overflow: hidden;
}

.role-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.role-intro-card:hover .role-intro-image img {
  transform: scale(1.04);
}

.role-intro-content {
  padding: 2rem;
}

.role-intro-content h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.5rem;
}

.role-intro-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---- Footer ---- */
.footer {
  background: var(--slate-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--liquid-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: calc(var(--section-padding) * 1.2) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 100vw);
  height: min(600px, 100vw);
  background: radial-gradient(circle, rgba(83, 4, 30, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.faq-page .faq-cta-compact {
  margin-top: 3rem;
  padding: calc(var(--section-padding) * 0.7) 0 0;
}

.faq-page .footer {
  padding-top: 3.5rem;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--champagne);
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.cta-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--liquid-gold);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-medium);
  z-index: 100;
  color: var(--champagne);
  font-size: 1.25rem;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--crimson-core);
  border-color: var(--crimson-core);
}

/* ---- Login Page ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void-black);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(83, 4, 30, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 3rem;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}

.login-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-logo a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--champagne);
}

.login-logo a span {
  color: var(--liquid-gold);
}

.login-card h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -0.5rem 0 1.5rem;
}

.login-options a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.login-options a:hover {
  color: var(--liquid-gold);
}

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--liquid-gold);
}

/* ---- Decorative Elements ---- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.15;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--liquid-gold);
  margin: 2rem 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Page Header (Inner Pages) ---- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

.breadcrumb a:hover {
  color: var(--liquid-gold);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

/* ---- Content Page Styles ---- */
.content-page {
  padding-bottom: var(--section-padding);
}

.content-body {
  max-width: 800px;
  margin: 0 auto;
}

.content-body h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.content-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.content-body p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.content-body ul,
.content-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.content-body ul {
  list-style: disc;
}

.content-body ol {
  list-style: decimal;
}

.content-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.content-body a {
  color: var(--liquid-gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.content-body a:hover {
  border-bottom-color: var(--liquid-gold);
}

/* ---- Exchange Section ---- */
.exchange-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: #030303;
}

.exchange-content {
  position: relative;
  z-index: 1;
}

.content-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: clamp(3rem, 6vw, 5rem) 0;
  min-height: auto;
}

.content-row:nth-child(even) {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
}

.content-text h3 {
  font-family: 'BIZ UDGothic', 'Inter', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--champagne);
  text-transform: uppercase;
}

.content-img {
  flex: 0 0 320px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.content-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.content-row--wide-image .content-img {
  flex-basis: 460px;
}

.content-row--wide-image .content-img img {
  height: 320px;
}

/* ---- Cinematic 3D Text Section ---- */
.tenets-section {
  background: var(--slate-surface);
  padding: var(--section-padding) 0;
}

.text-line {
  font-family: 'BIZ UDGothic', sans-serif;
  font-size: clamp(4rem, 6vw, 8rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--champagne);
  text-transform: uppercase;
  perspective: 900px;
  transform-style: preserve-3d;
  margin: 0.5em 0;
  overflow: hidden;
}

.text-word {
  display: inline-block;
  transform-origin: 50% 0%;
}

/* ---- Interactive Section ---- */
.interactive-section {
  padding: var(--section-padding) 0;
}

.interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.interactive-panel {
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 3rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--champagne);
  margin-bottom: 2rem;
  text-align: center;
}

/* ---- Scattered Cards Effect ---- */
.scatter-cards {
  position: relative;
  width: 100%;
  height: 350px;
  perspective: 1000px;
  overflow: hidden;
}

.scatter-card {
  position: absolute;
  width: 140px;
  height: 190px;
  background: var(--crimson-core);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 182, 87, 0.2);
}

.scatter-card:hover {
  transform: scale(1.1) rotateY(0deg) !important;
  z-index: 10;
  box-shadow: 0 16px 40px rgba(255, 182, 87, 0.2);
}

.scatter-card .card-symbol {
  font-size: 2.5rem;
  color: var(--liquid-gold);
}

.scatter-card .card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Wireframe Grid ---- */
.wireframe-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  transform: rotateZ(45deg);
}

.wireframe-letter {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'BIZ UDGothic', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--liquid-gold);
  border: 1px solid rgba(255, 182, 87, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(83, 4, 30, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
  animation: wireframeBob 3s ease-in-out infinite;
}

.wireframe-letter:hover {
  background: var(--crimson-core);
  border-color: var(--liquid-gold);
  transform: scale(1.2);
}

@keyframes wireframeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ---- SEO Article Styling ---- */
.article-page .content-body {
  max-width: 750px;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-header .article-meta {
  font-size: 0.8125rem;
  color: var(--liquid-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-image {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 2.5rem 0;
}

.article-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-image figcaption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.75rem 0;
  font-style: italic;
}

/* ---- Scroll Animations (Intersection Observer classes) ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

  .feature-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-card.reverse {
    direction: ltr;
  }

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

  .content-row {
    flex-direction: column !important;
    gap: 2rem;
    text-align: center;
  }

  .content-img {
    flex: none;
    width: 280px;
  }

  .content-row--wide-image .content-img {
    width: min(100%, 560px);
  }

  .content-row--wide-image .content-img img {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 0;
    z-index: 1003;
  }

  .header-inner {
    width: 100%;
    padding: 0 1rem;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .mobile-nav-close {
    display: none;
  }

  .header-actions {
    display: none;
  }

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

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
    line-height: 1.1;
  }

  #hero h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-actions .btn {
    width: min(100%, 20rem);
  }

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

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

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

  .role-intro-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .content-text h3 {
    font-size: clamp(1.75rem, 5vw, 3rem);
  }

  .wireframe-grid {
    grid-template-columns: repeat(4, 50px);
    justify-content: center;
    gap: 0.75rem;
    transform: none;
  }

  .wireframe-letter:hover {
    transform: none;
  }

  .login-card {
    margin: 1rem;
    padding: 2rem;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: min(15vh, 8rem);
  }

  .card {
    padding: 1.75rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  #hero h1 {
    font-size: 1.65rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll-prompt {
    animation: none;
  }

  .cta-cursor {
    animation: none;
  }

  .wireframe-letter {
    animation: none;
  }
}

/* ============================================
   RICH UI COMPONENTS - Stats, Chat, Timeline,
   Quotes, Feature Grids, Badges, Msg Bubbles
   ============================================ */

/* ---- Stats / Big Numbers ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--liquid-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ---- Message Bubble UI (Chat Preview) ---- */
.chat-preview {
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--crimson-core);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--champagne);
}

.chat-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27ae60;
  margin-left: auto;
}

.msg-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  animation: msgPopIn 0.4s ease-out;
}

.msg-received {
  background: rgba(250, 230, 199, 0.08);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
  margin-right: auto;
}

.msg-sent {
  background: rgba(83, 4, 30, 0.6);
  color: var(--champagne);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.msg-time {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-align: right;
}

@keyframes msgPopIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Timeline / Steps ---- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--slate-surface);
  border: 2px solid var(--liquid-gold);
  z-index: 1;
}

.timeline-item.active .timeline-dot {
  background: var(--liquid-gold);
}

.timeline-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9375rem;
}

/* ---- Blockquote / Quote ---- */
.quote-block {
  background: var(--slate-surface);
  border-left: 3px solid var(--liquid-gold);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  position: relative;
}

.quote-block::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: rgba(255, 182, 87, 0.15);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--champagne);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.quote-author {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--liquid-gold);
  font-weight: 500;
}

/* ---- Icon Feature Grid ---- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.icon-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(20, 20, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  transition: all var(--transition-fast);
}

.icon-item:hover {
  border-color: var(--border-hover);
  background: rgba(20, 20, 20, 0.8);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(83, 4, 30, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--liquid-gold);
  flex-shrink: 0;
}

.icon-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.icon-item p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(255, 182, 87, 0.1);
  color: var(--liquid-gold);
  border: 1px solid rgba(255, 182, 87, 0.2);
}

.badge-crimson {
  background: rgba(83, 4, 30, 0.4);
  color: var(--champagne);
  border: 1px solid var(--crimson-core);
}

/* ---- Image + Text Alternating Layouts ---- */
.img-text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.img-text-row.reverse {
  direction: rtl;
}

.img-text-row.reverse > * {
  direction: ltr;
}

.img-text-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.img-text-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.img-text-visual:hover img {
  transform: scale(1.04);
}

.img-text-content h3 {
  margin-bottom: 1rem;
}

.img-text-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---- Big Number Background Decor ---- */
.big-number-bg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 15vw, 14rem);
  font-weight: 700;
  color: rgba(255, 182, 87, 0.04);
  line-height: 1;
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---- Role Cards (Visual) ---- */
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.role-card {
  background: var(--slate-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.role-card:hover {
  border-color: var(--liquid-gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 182, 87, 0.08);
}

.role-card .role-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.role-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.role-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Two-Column Split Section ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.split-visual {
  position: relative;
  overflow: hidden;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: var(--slate-surface);
}

/* ---- Responsive for Rich UI ---- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .role-cards { grid-template-columns: repeat(2, 1fr); }
  .img-text-row { grid-template-columns: 1fr; gap: 2rem; }
  .img-text-row.reverse { direction: ltr; }
  .split-section { grid-template-columns: 1fr; }
  .split-content { padding: 2.5rem; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .icon-grid { grid-template-columns: 1fr; }
  .role-cards { grid-template-columns: 1fr; }
  .quote-block { padding: 1.5rem; }
  .timeline { padding-left: 2rem; }
}

/* ---- Print ---- */
@media print {
  .header,
  .footer,
  .back-to-top,
  .hero-scroll-prompt {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
