/* ========================================
   CSS VARIABLES — BRAND COLORS
   ======================================== */
:root {
  /* Primary Brand Colors */
  --gold: #b8972e;
  --gold-light: #d4af5a;
  --gold-pale: #f0e0a0;
  --navy: #0a0e1a;
  --navy-mid: #111827;
  --navy-soft: #1a2235;
  --slate: #2a3550;
  --text-light: #e8e0d0;
  --text-muted: #8a9bb5;
  --white: #ffffff;

  /* Additional Platform Colors */
  --card-bg: rgba(17, 24, 39, 0.8);
  --border-color: rgba(184, 151, 46, 0.15);
}

/* ========================================
   BASE STYLES
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--navy);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--white);
}

.text-headline-1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.text-headline-2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.text-headline-3 {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  font-weight: 500;
}

.serif-italic {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

/* ========================================
   NAVIGATION
   ======================================== */
.psp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(10, 14, 26, 0.95);
  border-bottom: 1px solid rgba(184, 151, 46, 0.15);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.psp-nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 14, 26, 0.98);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-brand-divider {
  color: var(--slate);
  font-size: 1.2rem;
}

.nav-brand-platform {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  text-decoration: none;
}

.nav-brand-platform:hover {
  color: var(--gold);
}

.nav-link {
  color: var(--text-muted) !important;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 14px !important;
  transition: color 0.3s;
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light) !important;
}

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

.navbar-toggler {
  border: 1px solid rgba(184, 151, 46, 0.4);
  padding: 8px 12px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(184,151,46,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 36px;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  border-radius: 2px;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(184, 151, 46, 0.35);
  padding: 14px 36px;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  border-radius: 2px;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.7rem;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}

/* ========================================
   CARDS
   ======================================== */
.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 36px 30px;
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.platform-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.platform-card:hover {
  border-color: rgba(184, 151, 46, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.platform-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 151, 46, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.card-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  color: rgba(184, 151, 46, 0.15);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 500;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  font-weight: 300;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(184, 151, 46, 0.05) 0%,
    transparent 70%
  );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 151, 46, 0.1);
  border: 1px solid rgba(184, 151, 46, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-image-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-stat {
  text-align: center;
  padding: 20px;
}

.hero-stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
  display: block;
}

/* ========================================
   DASHBOARD PREVIEW
   ======================================== */
.dashboard-mockup {
  background: var(--navy-soft);
  border: 1px solid rgba(184, 151, 46, 0.2);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.dashboard-header {
  background: rgba(184, 151, 46, 0.05);
  border: 1px solid rgba(184, 151, 46, 0.1);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.metric-card {
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(184, 151, 46, 0.1);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}

.metric-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

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

/* ========================================
   FEATURE LISTS
   ======================================== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(184, 151, 46, 0.08);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================
   SECURITY BADGES
   ======================================== */
.security-badge {
  background: rgba(184, 151, 46, 0.08);
  border: 1px solid rgba(184, 151, 46, 0.15);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: center;
}

.security-badge i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.security-badge h5 {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
}

.security-badge p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========================================
   ROADMAP
   ======================================== */
.roadmap-phase {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
}

.roadmap-phase::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}

.phase-badge {
  display: inline-block;
  background: rgba(184, 151, 46, 0.15);
  border: 1px solid rgba(184, 151, 46, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ========================================
   FOOTER
   ======================================== */
.psp-footer {
  background: #070a12;
  padding: 60px 0 28px;
  border-top: 1px solid rgba(184, 151, 46, 0.15);
}

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
  font-weight: 300;
}

.footer-heading {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 4px 0;
  transition: color 0.3s;
  font-weight: 300;
}

.footer-link:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(184, 151, 46, 0.1);
  margin-top: 44px;
  padding-top: 22px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================
   GRAIN OVERLAY
   ======================================== */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   UTILITIES
   ======================================== */
.text-gold {
  color: var(--gold) !important;
}

.text-gold-light {
  color: var(--gold-light) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.bg-card {
  background: var(--card-bg);
}

.border-gold {
  border-color: var(--border-color) !important;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  .text-headline-1 {
    font-size: 48px;
  }

  .text-headline-2 {
    font-size: 36px;
  }

  section {
    padding: 60px 0;
  }

  .btn-gold,
  .btn-ghost {
    padding: 12px 28px;
    font-size: 0.72rem;
  }

  .psp-nav {
    padding: 12px 0;
  }
}
