/* ============================
   Design Tokens
   ============================ */
:root {
  /* Colors — dark, warm, hospitality-premium */
  --bg:          #0a0a0f;
  --bg-subtle:   #111118;
  --bg-card:     #14141c;
  --bg-card-hover: #1a1a24;
  --surface:     #1c1c28;
  --border:      rgba(201, 169, 110, 0.12);
  --border-hover: rgba(201, 169, 110, 0.25);

  --text:        #f0ebe3;
  --text-muted:  #9a958d;
  --text-dim:    #6b6762;

  --accent:      #c9a96e;
  --accent-soft: rgba(201, 169, 110, 0.08);
  --accent-glow: rgba(201, 169, 110, 0.15);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Libre Franklin', 'Helvetica Neue', Helvetica, sans-serif;

  /* Sizing */
  --container: 1120px;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 10rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.7s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================
   Grain Overlay
   ============================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ============================
   Layout
   ============================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.hide-mobile {
  display: inline;
}

/* ============================
   Navigation
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-logo-dot {
  color: var(--accent);
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--border-hover);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 1rem 2.5rem;
}

.btn-primary:hover {
  background: #d4b87a;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ============================
   Reveal Animation
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

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

/* ============================
   Section Typography
   ============================ */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.section-body {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  overflow: hidden;
}

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

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

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease-out) 0.35s forwards;
}

.hero-headline-em {
  color: var(--text-muted);
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero-cta {
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease-out) 0.65s forwards;
}

.hero-friction {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-top: var(--space-sm);
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease-out) 0.8s forwards;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   Prose (Problem / Agitate)
   ============================ */
.prose {
  max-width: 680px;
}

.prose p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose-emphasis {
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  font-style: italic;
  color: var(--text) !important;
}

/* ============================
   Math Callout (Problem)
   ============================ */
.math-callout {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 3px 3px 0;
  background: var(--bg-card);
  max-width: 680px;
}

.math-callout-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.math-callout p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.math-callout p:last-child {
  margin-bottom: 0;
}

.math-highlight {
  color: var(--text) !important;
  font-size: 1.0625rem !important;
}

.math-highlight strong {
  color: var(--accent);
}

/* ============================
   About / Credibility
   ============================ */
.about-layout {
  max-width: 680px;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-text-highlight {
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  font-style: italic;
  color: var(--text) !important;
}

/* ============================
   Solution Cards
   ============================ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.solution-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: var(--space-md);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(201, 169, 110, 0.03) 40%,
    rgba(201, 169, 110, 0.06) 50%,
    rgba(201, 169, 110, 0.03) 60%,
    transparent 100%
  );
  transition: left 0.7s var(--ease-out);
  pointer-events: none;
}

.solution-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.solution-card:hover::before {
  left: 120%;
}

.solution-card-icon {
  color: var(--accent);
  margin-bottom: var(--space-sm);
  opacity: 0.8;
}

.solution-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.solution-card-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================
   Language Tags
   ============================ */
.solution-languages {
  margin-top: var(--space-lg);
  text-align: center;
}

.language-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.language-tag {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-hover);
  border-radius: 2px;
  background: var(--accent-soft);
}

.solution-lang-note {
  font-size: 0.9375rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ============================
   Ownership Callout
   ============================ */
.ownership-callout {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border-hover);
  border-radius: 3px;
  background: var(--accent-soft);
  text-align: center;
}

.ownership-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.ownership-callout p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================
   Process Steps
   ============================ */
.steps {
  margin-top: var(--space-lg);
  max-width: 640px;
}

.step {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
}

.step:last-child {
  padding-bottom: 0;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  flex-shrink: 0;
}

.step-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: var(--space-xs);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================
   Proof / Launch Offer
   ============================ */
.section-proof {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  max-width: 680px;
}

.proof-inner .prose p {
  font-size: 1.0625rem;
}

.proof-inner .prose strong {
  color: var(--text);
}

.spots-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent-soft);
}

.spots-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.spots-text {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================
   Offer / Pricing
   ============================ */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-md);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  max-width: 680px;
}

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.offer-check::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.offer-item span:last-child {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.offer-no-cost {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.pricing-after {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-card);
  max-width: 680px;
}

.pricing-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-md);
}

.pricing-grid {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.pricing-item {
  flex: 1;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}

.pricing-period {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--text-dim);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.pricing-note {
  color: var(--text-dim);
}

.pricing-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

.pricing-funding {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.pricing-funding strong {
  color: var(--accent);
}

.pricing-philosophy {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text);
}

/* ============================
   FAQ Accordion
   ============================ */
.faq-list {
  max-width: 680px;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color 0.3s var(--ease-out);
}

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

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: transform 0.3s var(--ease-out);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-answer.open {
  max-height: 400px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-bottom: 1.25rem;
}

/* ============================
   Demo Form / Final CTA
   ============================ */
.section-cta {
  padding: var(--space-xl) 0 var(--space-2xl);
}

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

.cta-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.875rem 1rem;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn-submit {
  align-self: center;
  margin-top: var(--space-xs);
}

.form-success {
  padding: var(--space-md);
  border: 1px solid var(--border-hover);
  border-radius: 2px;
  background: var(--accent-soft);
  text-align: center;
}

.form-success p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
}

/* ============================
   BTL Callout
   ============================ */
.btl-callout {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-card);
  text-align: center;
}

.btl-callout p {
  font-size: 1rem;
  color: var(--text-muted);
}

.btl-callout strong {
  color: var(--text);
}

.btl-contact {
  margin-top: 0.5rem;
  font-size: 0.875rem !important;
  color: var(--text-dim) !important;
}

.btl-contact a {
  color: var(--accent);
  transition: opacity 0.3s;
}

.btl-contact a:hover {
  opacity: 0.8;
}

/* ============================
   Sticky Mobile CTA
   ============================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: var(--space-sm);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  display: none;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.footer-copy,
.footer-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-sep {
  color: var(--text-dim);
}

/* ============================
   Responsive — Tablet
   ============================ */
@media (max-width: 900px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-divider {
    width: 100%;
    height: 1px;
  }
}

/* ============================
   Responsive — Mobile
   ============================ */
@media (max-width: 640px) {
  :root {
    --space-xl: 4.5rem;
    --space-2xl: 6rem;
  }

  .hide-mobile {
    display: none;
  }

  .hero {
    padding-top: 7rem;
    min-height: auto;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 1.0625rem;
  }

  .nav-cta {
    font-size: 0.6875rem;
    padding: 0.5rem 1rem;
  }

  .section-headline {
    font-size: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .step {
    gap: var(--space-sm);
  }

  .step-title {
    font-size: 1.25rem;
  }

  .ownership-callout {
    padding: var(--space-md);
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .sticky-cta {
    display: block;
  }

  /* Add bottom padding so content isn't hidden behind sticky CTA */
  .footer {
    padding-bottom: calc(var(--space-md) + 60px);
  }
}
