/* =========================================================
   Bhubaneswar Dental® — Coming Soon
   Brand tokens taken from the Figma files (color styles + Satoshi typeface).
   Temporary holding page — to be replaced by the full website.
   ========================================================= */

:root {
  /* Primary — purple */
  --purple-100: #f2f0f6;
  --purple-200: #d5d0e4;
  --purple-300: #b1a5cd;
  --purple-400: #8f7cb5;
  --purple-500: #6d5698; /* brand purple */
  --purple-600: #483866;
  --purple-700: #261c38;
  --pitch-purple: #46125e; /* deep display purple */

  /* Quaternary — teal */
  --teal-400: #1e7a7a; /* brand teal */
  --teal-500: #125454;

  /* Neutrals */
  --cream: #f3f4e5;
  --paper: #f1f1f1;
  --white: #ffffff;

  --radius: 18px;
  --maxw: 1280px;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--purple-700);
  background: var(--purple-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--white);
}

/* ----- Visual panel (brand purple + founder photo) ----- */
.visual {
  position: relative;
  flex: 0 0 42%;
  background: linear-gradient(160deg, var(--purple-500) 0%, var(--purple-600) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* soft glow behind the photo */
.visual__glow {
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0) 62%
  );
}

.visual__photo {
  position: relative;
  z-index: 2;
  width: 66%;
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 60px -20px rgba(38, 28, 56, 0.55);
}

.visual__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* faint BD smile mark watermark, bottom-right */
.visual__mark {
  position: absolute;
  z-index: 1;
  right: -40px;
  bottom: -40px;
  width: 220px;
  opacity: 0.12;
}

.visual__mark img {
  width: 100%;
  display: block;
  /* mark.png is purple on transparent — wash it white for the watermark */
  filter: brightness(0) invert(1);
}

/* ----- Content panel ----- */
.content {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 4.5rem);
  background: var(--white);
}

.content__logo {
  display: block;
}

.content__logo img {
  height: 56px;
  width: auto;
  display: block;
}

.content__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
  padding: 3rem 0;
}

.eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(30, 122, 122, 0.08);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--pitch-purple);
  margin-bottom: 1.1rem;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--purple-600);
  margin-bottom: 2rem;
}

/* ----- Signup form ----- */
.signup {
  display: flex;
  gap: 0.6rem;
  width: 100%;
}

.signup input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-weight: 500;
  color: var(--purple-700);
  padding: 0.95rem 1.15rem;
  border: 1.5px solid var(--purple-200);
  border-radius: 12px;
  background: var(--purple-100);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signup input::placeholder {
  color: var(--purple-300);
}

.signup input:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(109, 86, 152, 0.18);
}

.signup button {
  font: inherit;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  padding: 0.95rem 1.6rem;
  border: none;
  border-radius: 12px;
  background: var(--purple-500);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.signup button:hover {
  background: var(--purple-600);
}

.signup button:active {
  transform: translateY(1px);
}

.signup button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.signup__msg {
  min-height: 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.signup__msg--success {
  color: var(--teal-400);
}

.signup__msg--error {
  color: #c0392b;
}

/* ----- Footer ----- */
.content__footer {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--purple-300);
}

/* =========================================================
   Responsive — stacks to a single column on tablet / mobile
   ========================================================= */
@media (max-width: 768px) {
  .page {
    flex-direction: column;
  }

  .visual {
    flex: 0 0 auto;
    min-height: 38vh;
    padding: 2.5rem 1.5rem;
  }

  .visual__photo {
    width: 200px;
  }

  .visual__mark {
    width: 150px;
    right: -28px;
    bottom: -28px;
  }

  .content {
    text-align: center;
    padding: 2.25rem 1.5rem 2.5rem;
  }

  .content__logo img {
    height: 44px;
    margin: 0 auto;
  }

  .content__body {
    align-items: center;
    max-width: 100%;
    padding: 2rem 0;
  }

  .eyebrow {
    align-self: center;
  }

  .signup {
    flex-direction: column;
  }

  .signup button {
    padding: 0.95rem;
  }
}

@media (max-width: 380px) {
  .visual__photo {
    width: 160px;
  }
}
