:root {
  --obsidian: #060608;
  --obsidian-elevated: #0e0f13;
  --obsidian-card: #14151b;
  --border: rgba(212, 175, 118, 0.18);
  --border-strong: rgba(212, 175, 118, 0.42);
  --hairline: rgba(255, 255, 255, 0.08);
  --gold: #d4af76;
  --gold-bright: #ebd1a7;
  --gold-muted: #9b7e4f;
  --gold-glow: rgba(212, 175, 118, 0.12);
  --ivory: #f6f2ea;
  --text-secondary: #a8a39b;
  --text-muted: #6d6963;
  --emerald: #3e9b77;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background: radial-gradient(circle at 50% -10%, rgba(212, 175, 118, 0.11), transparent 46%),
    var(--obsidian);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(212, 175, 118, 0.06), transparent 60%),
    radial-gradient(500px circle at 85% 75%, rgba(212, 175, 118, 0.05), transparent 60%);
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 6, 8, 0.78);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

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

.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ivory);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

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

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

.lang-select {
  background: var(--obsidian-elevated);
  border: 1px solid var(--border);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--border-strong);
  background: var(--gold-glow);
}

.lang-select option {
  background: var(--obsidian-elevated);
  color: var(--ivory);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 11px;
}

.btn-full {
  width: 100%;
  padding: 16px 26px;
}

.btn-gold {
  background: linear-gradient(135deg, #ebd1a7 0%, #d4af76 52%, #9b7e4f 100%);
  color: var(--obsidian);
  box-shadow: 0 10px 30px rgba(212, 175, 118, 0.2);
}

.btn-gold:hover {
  box-shadow: 0 14px 36px rgba(212, 175, 118, 0.3);
}

.btn-outline {
  background: rgba(212, 175, 118, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--gold-bright);
}

.btn-outline:hover {
  background: rgba(212, 175, 118, 0.12);
}

/* Typography helpers */
.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: 18px;
}

.section-subtitle,
.body-text {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 620px;
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  padding: 76px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

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

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.cohort-bar {
  background: var(--obsidian-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  max-width: 500px;
}

.cohort-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
}

.cohort-label {
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  font-size: 10px;
}

.cohort-count {
  color: var(--text-secondary);
}

.cohort-count strong {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 18px;
}

.progress-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9b7e4f, #ebd1a7);
  border-radius: 99px;
}

.platform-caption {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-image-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72), 0 0 60px rgba(212, 175, 118, 0.12);
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(14, 15, 19, 0.75), rgba(6, 6, 8, 0.95));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

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

/* Interactive 3D Card */
.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.card-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1100px;
}

.member-card-3d {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #1b1c24 0%, #0b0c10 52%, #19161b 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(235, 209, 167, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  overflow: hidden;
}

.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(235, 209, 167, 0.18), transparent 55%);
  transition: background 0.15s ease-out;
}

.card-top,
.card-mid,
.card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-brand-title {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.22em;
  color: var(--ivory);
  line-height: 1.1;
}

.card-brand-motto {
  display: block;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--gold-muted);
}

.card-nfc-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(6, 6, 8, 0.6);
}

.card-chip {
  width: 44px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(235, 209, 167, 0.32), rgba(155, 126, 79, 0.14));
}

.card-serial {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}

.card-holder {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ivory);
}

.card-tier {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-top: 3px;
}

.card-valid {
  text-align: right;
}

.card-valid span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.card-valid strong {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.tilt-hint {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.luxury-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.luxury-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ivory);
}

.luxury-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 3px;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pillar-card {
  background: var(--obsidian-elevated);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pillar-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.pillar-wide {
  grid-column: 1 / -1;
}

.pillar-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
}

.pillar-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.gallery-item {
  background: var(--obsidian-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  padding: 16px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  border-top: 1px solid var(--hairline);
}

/* Garage split */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.oem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.oem-tags span {
  border: 1px solid var(--border);
  background: var(--gold-glow);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.spec-panel {
  background: var(--obsidian-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 18px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}

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

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  color: var(--ivory);
  text-align: right;
  font-weight: 500;
}

/* Houses strip */
.houses-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.house-badge {
  background: var(--obsidian-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 24px;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

/* Pricing */
.pricing-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, #16171f 0%, #0b0c10 100%);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 52px 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

.pricing-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 14px;
}

.pricing-amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.price {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}

.period {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto 30px;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Form */
.form-container {
  max-width: 720px;
}

.luxury-form {
  background: var(--obsidian-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  display: grid;
  gap: 18px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--obsidian);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--border-strong);
}

.form-feedback {
  min-height: 20px;
  font-size: 13px;
  text-align: center;
  color: var(--gold-bright);
}

.form-feedback.error {
  color: #d97070;
}

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.24em;
  color: var(--ivory);
}

.footer-motto {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-muted);
  margin-top: 4px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--gold);
  text-decoration: none;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

  .hero-grid,
  .credential-grid,
  .split-grid,
  .pillars-grid,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .pricing-card {
    padding: 38px 22px;
  }

  .luxury-form {
    padding: 24px;
  }
}
