:root {
  --plum: #43245f;
  --deep-plum: #2c163f;
  --lavender: #c4a7e7;
  --soft-lavender: #eadff5;
  --sky: #80c9eb;
  --gold: #d9ae47;
  --leaf: #3d8b69;
  --pink: #e576ad;

  --text: #302638;
  --muted: #6e6474;

  --card-bg: rgba(255, 252, 248, 0.72);
  --card-border: rgba(255, 255, 255, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family: "Nunito Sans", sans-serif;

  color: var(--text);

  background:
    linear-gradient(
      135deg,
      rgba(93, 56, 125, 0.15),
      rgba(111, 191, 222, 0.12),
      rgba(226, 121, 173, 0.12)
    ),
    url("assets/images/petalsOfConsciousnessLandingExpanded.png")
    center center / cover fixed no-repeat;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(255, 255, 255, 0.16),
      transparent 45%
    );

  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;

  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 48px 20px;
}

/* Harsh off-white background */
/* .card {
  width: min(760px, 100%);

  padding: 60px 60px 48px;

  text-align: center;

  background: var(--card-bg);

  border: 1px solid var(--card-border);
  border-radius: 32px;

  box-shadow:
    0 30px 80px rgba(45, 23, 62, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
} */

.card {
  width: min(760px, 100%);
  padding: 60px 60px 48px;
  text-align: center;

  /* Frosted glass color */
  background: rgba(255, 252, 248, 0.72);

  /* Stronger frosted glass effect */
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);

  /* Glass edge */
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;

  /* Depth + slight inner highlight */
  box-shadow:
    0 30px 80px rgba(45, 23, 62, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 30px rgba(255, 255, 255, 0.12);
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.05)
    );

  border-radius: inherit;
}

/* Brand */

.brand {
  margin-bottom: 30px;
}

.brand-petals {
  display: block;

  font-family: "Allura", cursive;
  font-size: clamp(4.8rem, 11vw, 7.5rem);
  line-height: 0.75;

  font-weight: 400;

  color: var(--plum);

  text-shadow:
    1px 1px 0 rgba(217, 174, 71, 0.45);

  transform: rotate(-2deg);
}

.brand-of {
  display: block;

  margin: 10px 0 2px;

  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;

  color: var(--gold);
}

.brand-consciousness {
  display: block;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5rem);

  line-height: 0.9;

  font-weight: 600;

  letter-spacing: -0.02em;

  color: var(--deep-plum);
}

/* Decorative divider */

.divider {
  width: 120px;
  height: 2px;

  margin: 28px auto;

  position: relative;

  background:
    linear-gradient(
      to right,
      transparent,
      var(--gold),
      transparent
    );
}

.divider::after {
  content: "✦";

  position: absolute;
  left: 50%;
  top: 50%;

  transform: translate(-50%, -52%);

  padding: 0 8px;

  background: rgba(255, 252, 248, 0.95);

  color: var(--gold);

  font-size: 0.8rem;
}

/* Copy */

.tagline {
  max-width: 560px;

  margin: 0 auto 18px;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(1.7rem, 4vw, 2.3rem);

  line-height: 1.2;

  font-weight: 600;

  color: var(--deep-plum);
}

.description {
  max-width: 590px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  text-wrap: balance;
}

.book-title {
  display: block;
  margin-top: 0.25rem;
}

/* Signup */

.signup-title {
  margin-bottom: 14px;

  font-family: "Cormorant Garamond", serif;

  font-size: 1.5rem;

  color: var(--deep-plum);
}

.signup-form {
  max-width: 520px;

  margin: 0 auto;

  display: flex;

  gap: 10px;
}

.signup-form input {
  flex: 1;

  min-width: 0;

  padding: 15px 20px;

  font-family: "Nunito Sans", sans-serif;

  font-size: 1rem;

  color: var(--text);

  background: rgba(255, 255, 255, 0.82);

  border:
    1px solid rgba(67, 36, 95, 0.18);

  border-radius: 100px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.signup-form input::placeholder {
  color: #918797;
}

.signup-form input:focus {
  background: white;

  border-color: var(--lavender);

  box-shadow:
    0 0 0 4px rgba(196, 167, 231, 0.22);
}

.signup-form button {
  padding: 15px 25px;

  border: none;

  border-radius: 100px;

  background:
    linear-gradient(
      135deg,
      var(--plum),
      #684187
    );

  color: white;

  font-family: "Nunito Sans", sans-serif;

  font-size: 0.95rem;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 7px 18px rgba(67, 36, 95, 0.22);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.signup-form button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(67, 36, 95, 0.3);
}

.signup-form button:active {
  transform: translateY(0);
}

.form-note {
  margin-top: 12px;

  font-size: 0.82rem;

  color: var(--muted);
}

/* Social */

.social-section {
  margin-top: 38px;
}

.social-label {
  margin-bottom: 14px;

  font-family: "Cormorant Garamond", serif;

  font-size: 1.15rem;

  font-style: italic;

  color: var(--muted);
}

.social-links {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;
}

.social-links a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 9px 16px;

  color: var(--plum);

  text-decoration: none;

  font-size: 0.9rem;

  font-weight: 700;

  background: rgba(255, 255, 255, 0.58);

  border:
    1px solid rgba(67, 36, 95, 0.13);

  border-radius: 100px;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 5px 12px rgba(45, 23, 62, 0.1);
}

/* Footer */

footer {
  margin-top: 42px;

  font-size: 0.75rem;

  color: rgba(48, 38, 56, 0.55);
}

footer a {
  color: inherit;
}

/* Thank-you page */

.thank-you-card {
  max-width: 700px;
}

.thank-you-note {
  margin: -12px auto 32px;

  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-style: italic;

  color: var(--muted);
}

.return-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;

  color: white;
  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 700;

  background:
    linear-gradient(
      135deg,
      var(--plum),
      #684187
    );

  border-radius: 100px;

  box-shadow:
    0 7px 18px rgba(67, 36, 95, 0.22);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.return-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(67, 36, 95, 0.3);
}

/* Mobile */

@media (max-width: 650px) {
  body {
    background-attachment: scroll;
  }

  .page {
    padding: 22px 14px;
  }

  .card {
    padding: 44px 22px 34px;

    border-radius: 24px;
  }

  .brand-petals {
    font-size: clamp(4.4rem, 22vw, 6rem);
  }

  .brand-consciousness {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .description {
    font-size: 0.98rem;

    line-height: 1.7;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form input,
  .signup-form button {
    width: 100%;
  }

  .signup-form button {
    padding: 15px;
  }
}