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

:root {
  --bg: #0B0B0F;
  --surface: #131318;
  --surface-elevated: #1C1C22;
  --border: rgba(201, 168, 76, 0.15);
  --border-bright: rgba(201, 168, 76, 0.4);
  --gold: #C9A84C;
  --gold-dim: rgba(201, 168, 76, 0.6);
  --text: #EDE9E3;
  --text-muted: #8A857A;
  --text-dim: #4A4740;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.125rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--text);
}

.nav-logo-mark {
  color: var(--gold);
  font-size: 0.6rem;
}

.nav-logo-text {
  font-weight: 600;
  letter-spacing: 0.3em;
}

.nav-logo-sub {
  color: var(--gold);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

/* ===== HERO ===== */
.hero {
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border-bright);
  padding: 0.375rem 1rem;
  border-radius: 100px;
}

.hero-label-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 300;
}

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

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #0B0B0F;
  text-decoration: none;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: #d4b55e;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

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

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-trust-locations {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust-sep {
  color: var(--gold-dim);
  font-size: 0.6rem;
}

/* ===== DIVIDER ===== */
.divider {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-gem {
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.7;
}

/* ===== SECTION SHARED ===== */
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1rem;
}

/* ===== FEATURES ===== */
.features {
  padding: 6rem 2rem;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.3s;
}

.feature-card:hover {
  border-color: var(--border-bright);
  background: var(--surface-elevated);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-icon {
  width: 52px; height: 52px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ===== PLATFORM ===== */
.platform {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, #0F0F14 50%, var(--bg) 100%);
}

.platform-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.platform-headline-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.platform-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.platform-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}

.panel-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* Platform Panel 1: Analytics */
.panel-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex: 1;
}

.metric-delta {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 2px;
}

.metric-delta.positive {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.panel-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-bottom: 0.5rem;
}

.chart-bar {
  flex: 1;
  background: var(--surface-elevated);
  border-radius: 2px 2px 0 0;
  transition: background 0.2s;
  min-height: 8px;
}

.chart-bar.active {
  background: var(--gold-dim);
}

.panel-chart-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Platform Panel 2: Content */
.panel-content-types {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.content-type {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--surface-elevated);
  border-radius: 3px;
  border: 1px solid var(--border);
}

.content-type-icon {
  width: 28px; height: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dim);
  flex-shrink: 0;
}

.content-type-name {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}

.content-type-status {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.content-type-badge {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* Platform Panel 3: CRM */
.pipeline-stages {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.stage {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.25rem 0.75rem;
  align-items: center;
}

.stage-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: var(--surface-elevated);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.stage-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: var(--fill, 60%);
  background: linear-gradient(90deg, var(--gold-dim), rgba(201,168,76,0.3));
  border-radius: 2px;
}

.stage:nth-child(1) .stage-bar { --fill: 100%; }
.stage:nth-child(2) .stage-bar { --fill: 76%; }
.stage:nth-child(3) .stage-bar { --fill: 54%; }
.stage:nth-child(4) .stage-bar { --fill: 31%; }
.stage:nth-child(5) .stage-bar { --fill: 18%; }

.stage-name {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stage-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* ===== CAPABILITIES / PRICING ===== */
.capabilities {
  padding: 6rem 2rem;
}

.capabilities-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.capabilities-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--border-bright);
  background: var(--surface-elevated);
}

.pricing-card-overline {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #0B0B0F;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 0 0 4px 4px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.pricing-amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}

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

.pricing-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.825rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  font-weight: 300;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.7;
}

.pricing-cta-wrap {
  margin-top: auto;
}

.btn-pricing {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border-bright);
  color: var(--gold);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}

.btn-pricing:hover {
  background: rgba(201,168,76,0.1);
}

.btn-pricing.primary {
  background: var(--gold);
  color: #0B0B0F;
  border-color: var(--gold);
}

.btn-pricing.primary:hover {
  background: #d4b55e;
}

.pricing-enterprise {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-enterprise a {
  color: var(--gold);
  text-decoration: none;
}

.pricing-enterprise a:hover {
  text-decoration: underline;
}

/* ===== CLOSING ===== */
.closing {
  padding: 6rem 2rem 8rem;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-rule {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.closing-rule-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.closing-rule-gem {
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.7;
}

.closing-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.closing-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 280px;
}

.footer-tagline {
  font-size: 0.825rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  line-height: 1.6;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col-head {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-right {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .platform-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 5rem 1.5rem 4rem;
  }

  .features, .platform, .capabilities {
    padding: 4rem 1.5rem;
  }

  .closing {
    padding: 4rem 1.5rem 5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 2rem;
  }

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

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