/* ====================================================
   Arcteron Trust — Public Pages CSS
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
   Colors: inherited from theme.css CSS variables
   ==================================================== */

/* ── Base overrides for public pages ── */
body.public-page {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ── Smooth scroll ── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ── Container ── */
.pub-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .pub-container {
    padding: 0 20px;
  }
}

/* ====================================================
   NEWS TICKER BAR
   ==================================================== */
.news-ticker-bar {
  background: #0D0F12;
  color: #9CA3AF;
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 200;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 16px 0 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #10B981;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  background: #10B981;
  border-radius: 50%;
  animation: tickerPulse 1.8s ease-in-out infinite;
}

@keyframes tickerPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: default;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: tickerScroll 55s linear infinite;
  white-space: nowrap;
}

.ticker-track-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #9CA3AF;
  padding: 0 36px;
  gap: 10px;
}

.ticker-item::after {
  content: '◆';
  font-size: 6px;
  color: rgba(255, 255, 255, 0.15);
  margin-left: 36px;
}

.ticker-item:last-child::after {
  display: none;
}

/* ====================================================
   NAVIGATION
   ==================================================== */
.pub-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  height: 68px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.pub-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .pub-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  width: 30px;
  height: 30px;
  color: var(--text-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .nav-brand-logo {
  color: #E5E7EB;
}

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

.nav-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: 0.3px;
}

.nav-brand-sub {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links>li {
  position: relative;
}

.nav-link-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-link-btn.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-links>li:hover .nav-chevron,
.nav-links>li.open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

[data-theme="dark"] .nav-dropdown {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nav-links>li:hover .nav-dropdown,
.nav-links>li.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-secondary);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

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

.nav-dropdown a svg {
  width: 15px;
  height: 15px;
  opacity: 0.6;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-btn-signin {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

.nav-btn-signin:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.nav-btn-open {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bg-secondary);
  background: var(--text-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

.nav-btn-open:hover {
  opacity: 0.85;
}

[data-theme="dark"] .nav-btn-open {
  color: #0D0F12;
}

.nav-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.nav-theme-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  pointer-events: all;
}

.mobile-drawer.open .drawer-overlay {
  opacity: 1;
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav {
  flex: 1;
  padding: 12px 16px;
  overflow-y: auto;
}

.drawer-nav-section {
  margin-bottom: 4px;
}

.drawer-nav-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}

.drawer-nav-trigger:hover {
  background: var(--bg-primary);
}

.drawer-nav-trigger.open {
  background: var(--bg-primary);
}

.drawer-nav-trigger .drawer-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
  color: var(--text-muted);
}

.drawer-nav-trigger.open .drawer-chevron {
  transform: rotate(180deg);
}

.drawer-sub-links {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 8px 12px;
}

.drawer-sub-links.open {
  display: flex;
}

.drawer-sub-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.drawer-sub-links a:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.drawer-sub-links a svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.drawer-solo-link {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s;
}

.drawer-solo-link:hover {
  background: var(--bg-primary);
}

.drawer-footer {
  padding: 20px 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-footer .nav-btn-signin,
.drawer-footer .nav-btn-open {
  width: 100%;
  text-align: center;
  display: block;
  padding: 12px;
}

/* ====================================================
   HERO SLIDESHOW
   ==================================================== */
.hero-section {
  position: relative;
  height: 88vh;
  min-height: 580px;
  max-height: 820px;
  overflow: hidden;
  background: #0D0F12;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.08;
  max-width: 680px;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 38px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-btn-primary {
  padding: 14px 30px;
  background: #ffffff;
  color: #0D0F12;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.hero-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-btn-secondary {
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 80px 40px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  border: none;
}

.hero-dot.active {
  background: #ffffff;
  width: 52px;
}

.hero-arrows {
  display: flex;
  gap: 10px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .hero-slide-content {
    padding: 0 24px;
  }

  .hero-title {
    font-size: clamp(36px, 8vw, 54px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-controls {
    padding: 0 24px 30px;
  }

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

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ====================================================
   TRUST STATS BAR
   ==================================================== */
.stats-bar {
  background: #0D0F12;
  padding: 36px 40px;
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-bar-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-bar-item:last-child {
  border-right: none;
}

.stat-bar-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
}

.stat-bar-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6B7280;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-bar-item:nth-child(2) {
    border-right: none;
  }

  .stat-bar-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 20px;
  }

  .stat-bar-item:last-child {
    border-bottom: none;
  }
}

/* ====================================================
   SECTION SHARED STYLES
   ==================================================== */
.pub-section {
  padding: 96px 0;
}

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

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--text-muted);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 14px;
}

/* ====================================================
   SERVICES SECTION
   ==================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 34px 28px;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--text-muted);
}

.service-card:hover::before {
  opacity: 0.3;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: gap 0.2s;
}

.service-card-link:hover {
  gap: 10px;
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.service-card-link:hover svg {
  transform: translateX(3px);
}

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

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

/* ====================================================
   WHY ARCTERON — FEATURES
   ==================================================== */
.features-section {
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.feature-item {
  text-align: center;
}

.feature-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--text-primary);
}

.feature-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.feature-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 780px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ====================================================
   PRODUCTS HIGHLIGHT
   ==================================================== */
.products-section {
  background: var(--bg-secondary);
}

.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.product-card:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--text-primary);
}

.product-card-icon svg {
  width: 100%;
  height: 100%;
}

.product-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

@media (max-width: 480px) {
  .products-row {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   ABOUT SNIPPET
   ==================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 500px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(13, 15, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
}

.about-badge-icon svg {
  width: 20px;
  height: 20px;
}

.about-badge-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.about-badge-text span {
  font-size: 12px;
  color: #6B7280;
}

.about-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-check svg {
  width: 11px;
  height: 11px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  padding: 12px 26px;
  background: var(--text-primary);
  color: var(--bg-secondary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.about-link:hover {
  opacity: 0.85;
}

[data-theme="dark"] .about-link {
  color: #0D0F12;
}

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

  .about-img-wrap {
    height: 320px;
  }
}

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonials-section {
  background: #0D0F12;
  padding: 96px 0;
  overflow: hidden;
}

.testimonials-section .section-eyebrow {
  color: #6B7280;
}

.testimonials-section .section-eyebrow::before {
  background: #6B7280;
}

.testimonials-section .section-title {
  color: #ffffff;
}

.testimonials-stage {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex-shrink: 0;
  width: 100%;
  padding: 0 0;
  display: flex;
}

.testimonial-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 44px 48px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  line-height: 0.6;
  color: rgba(255, 255, 255, 0.06);
  position: absolute;
  top: 28px;
  left: 36px;
  pointer-events: none;
  user-select: none;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
}

.testimonial-stars span {
  color: #F59E0B;
  font-size: 16px;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #E5E7EB;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 32px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #E5E7EB;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: #E5E7EB;
}

.testimonial-role {
  font-size: 12px;
  color: #6B7280;
  margin-top: 2px;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonial-arrow {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.testimonial-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.testimonial-arrow svg {
  width: 17px;
  height: 17px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot.active {
  background: #ffffff;
  width: 20px;
  border-radius: 3px;
}

/* ====================================================
   CONTACT BUTTON
   ==================================================== */
.auth-btn {
  padding: 16px 32px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  margin-top: 10px;
}

.auth-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .auth-btn {
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

/* ====================================================
   CTA BANNER
   ==================================================== */
.cta-section {
  background: var(--bg-primary);
}

.cta-inner {
  background: var(--text-primary);
  border-radius: 24px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .cta-inner {
  background: #1E2128;
  border: 1px solid var(--border-color);
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

[data-theme="dark"] .cta-eyebrow {
  color: var(--text-muted);
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

[data-theme="dark"] .cta-title {
  color: var(--text-primary);
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

[data-theme="dark"] .cta-subtitle {
  color: var(--text-secondary);
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-btn-white {
  padding: 14px 32px;
  background: #ffffff;
  color: #0D0F12;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.cta-btn-white:hover {
  opacity: 0.9;
}

[data-theme="dark"] .cta-btn-white {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.cta-btn-outline {
  padding: 14px 32px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .cta-btn-outline {
  color: var(--text-secondary);
  border-color: var(--border-color);
}

@media (max-width: 768px) {
  .cta-inner {
    padding: 48px 28px;
  }
}

/* ====================================================
   FOOTER
   ==================================================== */
.pub-footer {
  background: #0D0F12;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-brand-logo svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 290px;
}

.footer-address {
  font-size: 12.5px;
  color: #4B5563;
  line-height: 1.8;
}

.footer-fdic {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 8px;
  padding: 7px 12px;
}

.footer-fdic-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: tickerPulse 2s ease-in-out infinite;
}

.footer-fdic span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #10B981;
  text-transform: uppercase;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 18px;
}

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

.footer-links a {
  font-size: 13.5px;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #E5E7EB;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12.5px;
  color: #374151;
}

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

.footer-legal-links a {
  font-size: 12.5px;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #9CA3AF;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

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

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

/* ====================================================
   SCROLL REVEAL ANIMATIONS
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

/* Stagger delays */
.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;
}

/* ====================================================
   BACK TO TOP
   ==================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--text-primary);
  color: var(--bg-secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  box-shadow: var(--shadow-md);
  z-index: 100;
}

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

.back-to-top:hover {
  opacity: 0.85;
}

[data-theme="dark"] .back-to-top {
  color: #0D0F12;
}

/* ====================================================
   PAGE HERO (sub pages)
   ==================================================== */
.page-hero {
  background: #0D0F12;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 80% 20%, rgba(255, 255, 255, 0.025) 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 10% 80%, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

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

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero-subtitle {
  font-size: 17px;
  color: #9CA3AF;
  max-width: 540px;
  line-height: 1.65;
}

/* ====================================================
   TERMS & PRIVACY PAGES
   ==================================================== */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 40px 96px;
}

.legal-toc {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 56px;
}

.legal-toc h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.legal-toc ol {
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 32px;
}

.legal-toc ol li {
  font-size: 13px;
  color: var(--text-secondary);
}

.legal-toc ol li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-toc ol li a:hover {
  color: var(--text-primary);
}

.legal-section {
  margin-bottom: 52px;
  scroll-margin-top: 88px;
}

.legal-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.legal-section h2 span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

.legal-section p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-section li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 6px;
}

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

.legal-highlight {
  background: var(--bg-primary);
  border-left: 3px solid var(--text-primary);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

[data-theme="dark"] .legal-highlight {
  border-left-color: #6B7280;
}

.legal-effective {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.legal-effective::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 48px 20px 72px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   NAV RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-btn-signin,
  .nav-btn-open {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

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