/* =========================================================
   THE BUSINESS APOSTLE — LAUNCHING SOON PAGE
   Plain HTML + CSS + JavaScript
   ========================================================= */

:root {
  --navy-950: #050d19;
  --navy-900: #071426;
  --navy-850: #0b1b32;
  --navy-800: #102744;
  --gold: #d9b45b;
  --gold-bright: #f6dd94;
  --gold-soft: #ead08a;
  --white: #ffffff;
  --text: #eef3fa;
  --muted: #aab7c9;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

#dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4efe6;
}

.hero-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4efe6;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
  transform: scale(1.001);
  animation: bannerBreath 14s ease-in-out infinite alternate;
}

.hero-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      transparent 35%,
      rgba(255, 255, 255, 0.06) 45%,
      rgba(255, 244, 205, 0.28) 50%,
      rgba(255, 255, 255, 0.06) 55%,
      transparent 65%
    );
  transform: translateX(-130%);
  animation: bannerSweep 8s ease-in-out 2s infinite;
  mix-blend-mode: screen;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 70%, rgba(5, 13, 25, 0.18)),
    linear-gradient(to right, rgba(5, 13, 25, 0.04), transparent 20%, transparent 80%, rgba(5, 13, 25, 0.04));
}

@keyframes bannerBreath {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.025);
  }
}

@keyframes bannerSweep {
  0%,
  20% {
    transform: translateX(-130%);
  }
  55%,
  100% {
    transform: translateX(130%);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  z-index: 3;
  color: var(--navy-950);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  animation: cueIn 0.9s ease 1.2s forwards;
}

.scroll-cue .mouse {
  width: 23px;
  height: 35px;
  border: 2px solid currentColor;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(5px);
}

.scroll-cue .mouse i {
  width: 4px;
  height: 8px;
  border-radius: 5px;
  background: currentColor;
  animation: wheel 1.5s ease-in-out infinite;
}

@keyframes cueIn {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 0.85;
    transform: translate(-50%, 0);
  }
}

@keyframes wheel {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  65% {
    opacity: 0;
    transform: translateY(11px);
  }
}

/* =========================================================
   CONTENT
   ========================================================= */

.content {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(217, 180, 91, 0.11), transparent 65%),
    radial-gradient(750px 420px at 8% 100%, rgba(217, 180, 91, 0.07), transparent 65%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 52%, var(--navy-850));
}

.content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 180, 91, 0.7), transparent);
}

.content-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto;
}

.content-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.content-glow-one {
  width: 260px;
  height: 260px;
  right: -130px;
  top: 160px;
  background: rgba(217, 180, 91, 0.06);
  animation: floatGlow 8s ease-in-out infinite;
}

.content-glow-two {
  width: 190px;
  height: 190px;
  left: -95px;
  bottom: 90px;
  background: rgba(217, 180, 91, 0.045);
  animation: floatGlow 10s ease-in-out 1s infinite reverse;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gold);
  font-size: clamp(0.63rem, 1.6vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.36em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before,
.kicker::after {
  content: "";
  width: clamp(28px, 6vw, 62px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.kicker::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1 {
  max-width: 17ch;
  margin: 1rem auto 0.9rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.shine {
  background: linear-gradient(
    105deg,
    var(--gold) 0%,
    var(--gold-bright) 24%,
    #fff9e9 50%,
    var(--gold-bright) 76%,
    var(--gold) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 4.5s linear infinite;
}

@keyframes textShine {
  to {
    background-position: 220% center;
  }
}

.sub {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.92rem, 2vw, 1.08rem);
  line-height: 1.8;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: clamp(1.7rem, 4vw, 2.5rem) auto;
}

.divider .line {
  width: clamp(55px, 14vw, 145px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.divider .line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.divider .diamond {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(217, 180, 91, 0.75);
  animation: diamondPulse 2s ease-in-out infinite;
}

@keyframes diamondPulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) scale(1.35);
    opacity: 0.62;
  }
}

/* =========================================================
   COUNTDOWN
   ========================================================= */

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.6rem, 2vw, 1rem);
  max-width: 610px;
  margin: 0 auto;
}

.unit {
  position: relative;
  min-width: 0;
  padding: clamp(0.9rem, 2.5vw, 1.25rem) 0.55rem;
  border: 1px solid rgba(217, 180, 91, 0.23);
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.unit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}

.unit:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 180, 91, 0.65);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), 0 0 20px rgba(217, 180, 91, 0.1);
}

.unit:hover::after {
  transform: translateX(110%);
}

.unit strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 5vw, 2.65rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.unit span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.launch-note {
  margin: 1.3rem auto 0;
  color: rgba(238, 243, 250, 0.58);
  font-size: 0.8rem;
}

/* =========================================================
   NOTIFY FORM
   ========================================================= */

.notify {
  width: min(650px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin: 2rem auto 0;
}

.input-wrap {
  position: relative;
}

.mail-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.9rem;
  pointer-events: none;
}

.notify input {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem 0 2.8rem;
  border: 1px solid rgba(217, 180, 91, 0.32);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.notify input::placeholder {
  color: #8e9caf;
}

.notify input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(217, 180, 91, 0.12);
}

.notify button {
  min-height: 54px;
  padding: 0 1.35rem 0 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--navy-950);
  background: linear-gradient(110deg, var(--gold), var(--gold-bright), var(--gold));
  background-size: 200% auto;
  box-shadow: 0 12px 28px rgba(217, 180, 91, 0.2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background-position 0.5s ease;
}

.notify button:hover {
  transform: translateY(-3px);
  background-position: 100% center;
  box-shadow: 0 16px 34px rgba(217, 180, 91, 0.32);
}

.notify button:active {
  transform: translateY(0) scale(0.98);
}

.form-hint {
  margin-top: 0.65rem;
  color: rgba(170, 183, 201, 0.62);
  font-size: 0.72rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  text-align: left;
}

.footer-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(217, 180, 91, 0.5);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(217, 180, 91, 0.06);
  box-shadow: inset 0 0 18px rgba(217, 180, 91, 0.05);
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1rem;
}

.footer-brand small {
  margin-top: 0.15rem;
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.footer-links a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.footer-links .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.copyright {
  margin-top: 1rem;
  color: rgba(170, 183, 201, 0.55);
  font-size: 0.68rem;
}

/* =========================================================
   TOAST
   ========================================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 50;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--navy-950);
  background: linear-gradient(110deg, var(--gold), var(--gold-bright));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 140%);
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 760px) {
  .scroll-cue {
    bottom: 14px;
  }

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

  .notify button {
    width: 100%;
  }

  .content {
    padding-top: 3.75rem;
  }
}

/* =========================================================
   MOBILE
   The banner remains completely visible instead of being
   cropped by object-fit: cover.
   ========================================================= */

@media (max-width: 560px) {
  .hero-banner {
    animation: none;
  }

  .hero-shine {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .content {
    padding:
      3.2rem
      max(1rem, 4vw)
      2.6rem;
  }

  .kicker {
    gap: 0.55rem;
    letter-spacing: 0.22em;
  }

  .kicker::before,
  .kicker::after {
    width: 24px;
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.1;
  }

  .sub {
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    max-width: 360px;
  }

  .unit {
    padding: 1rem 0.45rem;
    border-radius: 14px;
  }

  .unit strong {
    font-size: 2rem;
  }

  .unit span {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .notify {
    margin-top: 1.7rem;
  }

  .notify input,
  .notify button {
    min-height: 52px;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links .dot {
    display: none;
  }

  .copyright {
    line-height: 1.5;
  }

  .toast {
    bottom: 16px;
    font-size: 0.76rem;
  }
}

@media (max-width: 380px) {
  .content {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .unit strong {
    font-size: 1.75rem;
  }

  .unit span {
    font-size: 0.53rem;
  }
}

/* =========================================================
   REDUCED MOTION / ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
