:root {
  --brand-ink: #11151f;
  --brand-charcoal: #1b2230;
  --brand-gold: #c98a28;
  --brand-gold-soft: #e0b15b;
  --brand-ivory: #f7f3ec;
  --mindbase-cyan: #64d4e8;
  --mindbase-blue: #3474cc;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(224, 177, 91, 0.2), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(100, 212, 232, 0.16), transparent 24%),
    radial-gradient(circle at 50% 24%, rgba(17, 21, 31, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 236, 0.95));
}

.font-display,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  pointer-events: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.75;
}

.ambient-one {
  top: 4rem;
  right: -4rem;
  height: 22rem;
  width: 22rem;
  background: radial-gradient(circle, rgba(201, 138, 40, 0.22), transparent 68%);
}

.ambient-two {
  top: 34rem;
  left: -7rem;
  height: 24rem;
  width: 24rem;
  background: radial-gradient(circle, rgba(52, 116, 204, 0.14), transparent 66%);
}

.ambient-three {
  top: 12rem;
  left: 50%;
  height: 30rem;
  width: 30rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(17, 21, 31, 0.08), transparent 68%);
}

.header-shell {
  position: sticky;
  top: 0;
}

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

.brand-logo-mark {
  width: 3.35rem;
  height: 3.35rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(17, 21, 31, 0.14));
}

.brand-name {
  display: block;
  color: var(--brand-ink);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subline {
  display: block;
  margin-top: 0.12rem;
  color: rgba(27, 34, 48, 0.64);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(201, 138, 40, 0.9);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-stage {
  position: relative;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 8% 16% auto;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0));
  pointer-events: none;
  filter: blur(8px);
}

.hero-showcase {
  position: relative;
  width: min(88rem, 100%);
  min-height: clamp(30rem, 56vw, 46rem);
  margin: 1.5rem auto 2.25rem;
}

.logo-stage {
  position: relative;
  width: min(28.5rem, 76vw);
  margin: 0 auto;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  filter: blur(34px);
  pointer-events: none;
}

.logo-glow-gold {
  background: radial-gradient(circle, rgba(201, 138, 40, 0.32), rgba(201, 138, 40, 0));
  transform: translate(-4%, -2%);
}

.logo-glow-cyan {
  background: radial-gradient(circle, rgba(100, 212, 232, 0.18), rgba(100, 212, 232, 0));
  transform: translate(6%, 4%);
}

.logo-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(16.8rem, 46vw, 27.8rem);
  padding: clamp(0.6rem, 1.9vw, 1rem);
  border-radius: 2.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    radial-gradient(circle at 24% 22%, rgba(201, 138, 40, 0.12), transparent 32%),
    radial-gradient(circle at 78% 24%, rgba(52, 116, 204, 0.1), transparent 28%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 28px 80px rgba(17, 21, 31, 0.12);
  backdrop-filter: blur(18px);
}

.logo-frame-ring {
  position: absolute;
  inset: -0.65rem;
  border-radius: 2.5rem;
  border: 1px solid rgba(17, 21, 31, 0.08);
  background:
    linear-gradient(135deg, rgba(201, 138, 40, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(315deg, rgba(100, 212, 232, 0.08), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 20px 60px rgba(17, 21, 31, 0.08);
}

.app-preview {
  position: absolute;
  top: 42%;
  z-index: 1;
  width: min(20.2rem, 49vw);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transition:
    transform 260ms ease,
    filter 260ms ease;
  filter: drop-shadow(0 28px 44px rgba(17, 21, 31, 0.22));
  transform-style: preserve-3d;
  will-change: transform;
}

.preview-copy {
  max-width: 16rem;
  margin: 0;
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.preview-copy-wide {
  max-width: 18.5rem;
}

.preview-left {
  left: -4.5rem;
  transform: translateY(-48%) perspective(1800px) rotateY(-18deg) rotateZ(-1.5deg);
  transform-origin: center center;
}

.preview-right {
  right: -4.5rem;
  transform: translateY(-48%) perspective(1800px) rotateY(18deg) rotateZ(1.5deg);
  transform-origin: center center;
}

.preview-left:hover,
.preview-right:hover {
  filter: drop-shadow(0 34px 50px rgba(17, 21, 31, 0.26));
}

.preview-left:hover {
  transform: translateY(-48%) perspective(1800px) rotateY(0deg) rotateZ(0deg) scale(1.02);
}

.preview-right:hover {
  transform: translateY(-48%) perspective(1800px) rotateY(0deg) rotateZ(0deg) scale(1.02);
}

.app-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(27.4rem, 72vw);
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 38px rgba(17, 21, 31, 0.18))
    drop-shadow(0 6px 12px rgba(201, 138, 40, 0.12));
}

.hero-lead {
  text-wrap: balance;
}

.scroll-cue {
  margin-top: 2rem;
  color: rgba(27, 34, 48, 0.66);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue:hover {
  color: var(--brand-ink);
}

.cta-button {
  color: var(--brand-ink);
  text-decoration: none;
  background: linear-gradient(135deg, #f1c96c 0%, #d89b2d 56%, #c07d21 100%);
  box-shadow:
    0 18px 36px rgba(201, 138, 40, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cta-button:hover {
  color: var(--brand-ink);
  background: linear-gradient(135deg, #f5d27f 0%, #dfaa41 56%, #c78625 100%);
  box-shadow:
    0 22px 44px rgba(201, 138, 40, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.metric-card {
  border: 1px solid rgba(17, 21, 31, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1.25rem;
  box-shadow: 0 14px 34px rgba(17, 21, 31, 0.06);
  backdrop-filter: blur(8px);
}

.metric-value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.metric-label {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(27, 34, 48, 0.72);
}

.mindbase-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(100, 212, 232, 0.25), rgba(52, 116, 204, 0.2));
  padding: 0.72rem 1rem;
  color: var(--mindbase-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.feature-panel,
.timeline-card {
  border: 1px solid rgba(17, 21, 31, 0.08);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.74);
  padding: 1.75rem;
  box-shadow: 0 18px 44px rgba(17, 21, 31, 0.07);
  backdrop-filter: blur(12px);
}

.feature-index,
.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(201, 138, 40, 0.12);
  color: var(--brand-gold);
  padding: 0.4rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field-block {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.field-label {
  color: rgba(17, 21, 31, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
}

.field-input {
  width: 100%;
  border: 1px solid rgba(17, 21, 31, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.95rem 1rem;
  color: var(--brand-charcoal);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.field-input:focus {
  border-color: rgba(201, 138, 40, 0.72);
  box-shadow: 0 0 0 4px rgba(201, 138, 40, 0.12);
  outline: none;
}

.field-input:disabled {
  background: rgba(247, 243, 236, 0.9);
  color: rgba(27, 34, 48, 0.45);
  cursor: not-allowed;
}

#location-note:empty {
  display: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status[data-state="info"] {
  color: rgba(27, 34, 48, 0.78);
}

.form-status[data-state="success"] {
  color: #116149;
}

.form-status[data-state="error"] {
  color: #9b2c2c;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}

.reveal-delay {
  animation-delay: 0.14s;
}

.reveal-delay-2 {
  animation-delay: 0.28s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .feature-panel,
  .timeline-card {
    border-radius: 1.5rem;
  }

  .header-shell {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .logo-stage {
    width: min(22.75rem, 88vw);
    margin-top: 1rem;
  }

  .hero-showcase {
    min-height: auto;
    display: grid;
    gap: 1rem;
    justify-items: center;
  }

  .app-preview {
    position: static;
    width: min(16.5rem, 72vw);
  }

  .preview-copy,
  .preview-copy-wide {
    max-width: 16rem;
    font-size: 0.92rem;
  }

  .preview-left {
    transform: perspective(1600px) rotateY(-14deg) rotateZ(-1deg);
  }

  .preview-right {
    transform: perspective(1600px) rotateY(14deg) rotateZ(1deg);
  }

  .preview-left:hover {
    transform: perspective(1600px) rotateY(0deg) rotateZ(0deg) scale(1.02);
  }

  .preview-right:hover {
    transform: perspective(1600px) rotateY(0deg) rotateZ(0deg) scale(1.02);
  }

  .logo-frame,
  .logo-frame-ring {
    border-radius: 1.7rem;
  }

  .scroll-cue {
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1279px) and (min-width: 641px) {
  .hero-showcase {
    min-height: clamp(28rem, 68vw, 44rem);
  }

  .app-preview {
    width: min(16.8rem, 25vw);
  }

  .preview-copy {
    max-width: 14rem;
    font-size: 0.92rem;
  }

  .preview-copy-wide {
    max-width: 16rem;
  }

  .preview-left {
    left: -4rem;
  }

  .preview-right {
    right: -4rem;
  }
}

@media (max-width: 1023px) and (min-width: 641px) {
  .hero-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo logo"
      "left right";
    justify-items: center;
    gap: 1.5rem 1rem;
    min-height: auto;
  }

  .logo-stage {
    grid-area: logo;
  }

  .app-preview {
    position: static;
    width: min(15.8rem, 33vw);
  }

  .preview-copy {
    max-width: 14rem;
    font-size: 0.9rem;
  }

  .preview-copy-wide {
    max-width: 15rem;
  }

  .preview-left {
    grid-area: left;
    transform: perspective(1700px) rotateY(-16deg) rotateZ(-1deg);
  }

  .preview-right {
    grid-area: right;
    transform: perspective(1700px) rotateY(16deg) rotateZ(1deg);
  }

  .preview-left:hover {
    transform: perspective(1700px) rotateY(0deg) rotateZ(0deg) scale(1.02);
  }

  .preview-right:hover {
    transform: perspective(1700px) rotateY(0deg) rotateZ(0deg) scale(1.02);
  }
}
