/* ---------------------------------------------------------------------------
   Aura landing page — design tokens carried over from the app:
   dark base, gold accents, Cormorant for display, DM Sans for body.
   --------------------------------------------------------------------------- */

:root {
  --bg: #0A0A0F;
  --surface: #13131A;
  --surface-elevated: #1C1C28;
  --gold: #C9A96E;
  --gold-muted: #8A7355;
  --text-primary: #F0EDE8;
  --text-secondary: #8A8790;
  --border: rgba(201, 169, 110, 0.15);
  --border-strong: rgba(201, 169, 110, 0.35);
  --danger: #A85555;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max-width: 1100px;
  --narrow-width: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.18s ease;
}
a:hover { opacity: 0.75; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--narrow-width); }
.centered { text-align: center; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.display-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.18;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  margin: 16px 0 24px;
}

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 32px;
}

/* ---------------------------------------------------------------------------
   Section base
   --------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
  background: radial-gradient(ellipse at center top, rgba(201, 169, 110, 0.08), transparent 60%), var(--bg);
}
.hero-inner {
  max-width: 600px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-symbol {
  font-family: var(--font-display);
  font-size: 88px;
  color: var(--gold);
  text-shadow: 0 0 60px rgba(201, 169, 110, 0.6),
               0 0 120px rgba(201, 169, 110, 0.3);
  animation: pulse 4s ease-in-out infinite;
  line-height: 1;
  margin-bottom: 32px;
}
@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

.wordmark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 14px;
  color: var(--gold);
  margin: 0 0 24px;
  padding-left: 14px; /* offset to compensate for letter-spacing */
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 48px;
  letter-spacing: 0.3px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  max-width: 320px;
  margin: 0 auto;
}

.hero-scroll {
  display: block;
  margin-top: 64px;
  font-size: 24px;
  color: var(--gold-muted);
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ---------------------------------------------------------------------------
   CTA Buttons
   --------------------------------------------------------------------------- */

.cta-button {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-align: center;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
  text-decoration: none;
}
.cta-button:hover { opacity: 0.9; }
.cta-button:active { transform: translateY(1px); }

.cta-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.cta-secondary {
  background: transparent;
  color: var(--gold);
}

.cta-block {
  display: block;
  width: 100%;
}

.cta-large {
  padding: 18px 40px;
  font-size: 16px;
}

/* ---------------------------------------------------------------------------
   What is Aura
   --------------------------------------------------------------------------- */

.section-what { text-align: center; }

.ornament {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 48px auto 0;
  max-width: 380px;
}
.ornament-line {
  flex: 1;
  height: 1px;
  background: var(--border-strong);
}
.ornament-glyph {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
}

/* ---------------------------------------------------------------------------
   Discover (interactive)
   --------------------------------------------------------------------------- */

.section-discover { text-align: center; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.aura-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 420px;
  margin: 32px auto 0;
  text-align: left;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.form-field input {
  background: var(--surface-elevated);
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  outline: none;
  border-radius: 8px 8px 0 0;
  transition: border-color 0.2s ease;
  width: 100%;
}
.form-field input:focus {
  border-bottom-color: var(--gold);
}
.form-field input::placeholder {
  color: var(--text-secondary);
}
.form-field input::-webkit-calendar-picker-indicator {
  filter: invert(74%) sepia(31%) saturate(437%) hue-rotate(7deg) brightness(95%) contrast(85%);
  cursor: pointer;
}
.aura-form .cta-button { margin-top: 8px; }

/* Result reveal */
.aura-result {
  margin: 56px auto 0;
  max-width: 540px;
  text-align: center;
  animation: fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.result-symbol {
  font-family: var(--font-display);
  font-size: 88px;
  color: var(--gold);
  text-shadow: 0 0 50px rgba(201, 169, 110, 0.5);
  line-height: 1;
  margin-bottom: 20px;
}
.result-greeting {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.result-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 60px);
  letter-spacing: 1px;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.result-essence {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--gold);
  margin: 0 0 32px;
  opacity: 0.9;
}
.result-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-primary);
  border-left: 1px solid var(--border-strong);
  padding-left: 24px;
  text-align: left;
  margin: 0 auto 40px;
  max-width: 460px;
}
.result-cta {
  margin-top: 16px;
}

/* ---------------------------------------------------------------------------
   The 12 types
   --------------------------------------------------------------------------- */

.section-types .centered { margin-bottom: 64px; }

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.type-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.type-card:hover {
  border-color: var(--border-strong);
  background: rgba(201, 169, 110, 0.03);
  transform: translateY(-2px);
}
.type-card-symbol {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 24px rgba(201, 169, 110, 0.3);
}
.type-card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.4px;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.type-card-essence {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Sample reading card
   --------------------------------------------------------------------------- */

.section-sample { background: var(--surface); text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.reading-card {
  position: relative;
  background: linear-gradient(160deg, #1a1030 0%, #2d1b4e 50%, var(--bg) 100%);
  border-radius: 20px;
  padding: 56px 40px;
  margin: 40px auto 0;
  max-width: 560px;
  overflow: hidden;
}
.reading-frame {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  pointer-events: none;
}
.reading-corner {
  position: absolute;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  background: var(--surface);
  padding: 0 4px;
  line-height: 1;
}
.reading-corner-tl { top: -10px; left: 8px; }
.reading-corner-tr { top: -10px; right: 8px; }
.reading-corner-bl { bottom: -10px; left: 8px; }
.reading-corner-br { bottom: -10px; right: 8px; }

.reading-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.reading-brand {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
}
.reading-date {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-secondary);
}
.reading-identity {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.reading-symbol {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--gold);
  text-shadow: 0 0 36px rgba(201, 169, 110, 0.45);
  line-height: 1;
  margin-bottom: 16px;
}
.reading-type {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  color: var(--text-primary);
  letter-spacing: 0.4px;
  margin: 0 0 10px;
}
.reading-essence {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  opacity: 0.85;
  margin: 0;
}
.reading-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  position: relative;
  z-index: 1;
}
.reading-body {
  position: relative;
  z-index: 1;
}
.reading-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 24px;
  text-align: center;
}
.reading-reflection {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gold);
  margin: 0;
  text-align: center;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

/* ---------------------------------------------------------------------------
   Get the app
   --------------------------------------------------------------------------- */

.section-get-app {
  padding: 120px 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06), transparent 60%);
}
.get-app-symbol {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.5);
  margin-bottom: 24px;
}

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-wordmark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
}
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}
.footer-nav a:hover {
  color: var(--gold);
  opacity: 1;
}
.footer-tagline {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ---------------------------------------------------------------------------
   Mobile tweaks
   --------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .type-card { padding: 22px 14px; }
  .type-card-name { font-size: 18px; }
  .type-card-essence { font-size: 13px; }

  .reading-card { padding: 44px 24px; }
  .reading-type { font-size: 28px; }
  .reading-headline { font-size: 18px; }

  .hero-symbol { font-size: 72px; }

  .footer-row { justify-content: center; text-align: center; }
}
