
/* =========================================================
   CTM PATH™ MILLIONAIRES™
   GUIDED JOURNEY™
   PREMIUM DESIGN SYSTEM
   ========================================================= */

:root {
  --bg-primary: #070817;
  --bg-secondary: #0d1024;
  --bg-card: rgba(20, 22, 48, 0.82);

  --gold: #d9a62e;
  --gold-light: #f3c85b;
  --gold-dark: #8d6417;

  --teal: #00d6c7;
  --teal-dark: #008f88;

  --purple: #b45cff;
  --purple-dark: #6d32a8;

  --white: #f7f5ef;
  --text: #e9e7df;
  --muted: #aaa9b8;

  --border: rgba(217, 166, 46, 0.45);

  --shadow:
    0 20px 60px rgba(0, 0, 0, 0.45);

  --radius: 18px;
}

/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    "Noto Sans Tamil",
    "Nirmala UI",
    "Segoe UI",
    Arial,
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(94, 48, 151, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(0, 214, 199, 0.08),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #050612 0%,
      #0a0b1d 50%,
      #090719 100%
    );

  line-height: 1.6;
}

/* =========================================================
   JOURNEY CONTAINER
   ========================================================= */

#journey {
  width: 100%;
  min-height: 100vh;
}

/* =========================================================
   PAGE
   ========================================================= */

.journey-page {
  display: none;

  min-height: 100vh;
  width: 100%;

  padding:
    50px
    7vw
    60px;

  position: relative;

  overflow: hidden;
}

.journey-page.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative background glow */

.journey-page::before {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  top: -300px;
  right: -200px;

  background:
    radial-gradient(
      circle,
      rgba(180, 92, 255, 0.14),
      transparent 70%
    );

  pointer-events: none;
}

.journey-page::after {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  bottom: -300px;
  left: -200px;

  background:
    radial-gradient(
      circle,
      rgba(0, 214, 199, 0.08),
      transparent 70%
    );

  pointer-events: none;
}

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

.page-content {
  width: min(1100px, 100%);

  position: relative;
  z-index: 2;

  padding: 50px;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      rgba(18, 20, 48, 0.94),
      rgba(8, 9, 25, 0.92)
    );

  border:
    1px solid
    var(--border);

  border-radius: 24px;

  box-shadow:
    var(--shadow),
    inset 0 0 60px rgba(255, 255, 255, 0.015);
}

/* =========================================================
   PAGE NUMBER
   ========================================================= */

.page-number {
  display: inline-block;

  margin-bottom: 24px;

  padding: 7px 18px;

  border:
    1px solid
    var(--gold);

  border-radius: 30px;

  color: var(--gold-light);

  font-size: 0.85rem;

  font-weight: 700;

  letter-spacing: 0.15em;
}

/* =========================================================
   HEADINGS
   ========================================================= */

h1 {
  margin-bottom: 12px;

  color: var(--gold-light);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2.3rem, 6vw, 5rem);

  font-weight: 700;

  line-height: 1.08;

  letter-spacing: 0.025em;

  text-shadow:
    0 4px 25px rgba(217, 166, 46, 0.15);
}

h2 {
  margin-bottom: 24px;

  color: var(--teal);

  font-size:
    clamp(1.2rem, 3vw, 2rem);

  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

p {
  max-width: 800px;

  margin:
    0
    auto
    28px;

  color: var(--text);

  font-size:
    clamp(1rem, 2vw, 1.25rem);
}

/* =========================================================
   BUTTONS
   ========================================================= */

button,
.cta-button {
  display: inline-flex;

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

  min-height: 52px;

  padding:
    13px
    28px;

  margin: 8px;

  border:
    1px solid
    var(--gold);

  border-radius: 10px;

  background:
    linear-gradient(
      135deg,
      #c79428,
      #f1c75a
    );

  color: #090912;

  font-family: inherit;

  font-size: 0.95rem;

  font-weight: 800;

  letter-spacing: 0.06em;

  text-decoration: none;

  cursor: pointer;

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

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

  filter: brightness(1.08);

  box-shadow:
    0 10px 30px
    rgba(217, 166, 46, 0.25);
}

button:active,
.cta-button:active {
  transform: translateY(0);
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.navigation {
  display: flex;

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

  gap: 12px;

  margin-top: 40px;

  padding-top: 25px;

  border-top:
    1px solid
    rgba(217, 166, 46, 0.18);
}

.navigation button {
  min-width: 150px;

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

  color: var(--white);

  border-color:
    rgba(217, 166, 46, 0.5);
}

.navigation button:hover {
  background:
    rgba(217, 166, 46, 0.12);
}

/* =========================================================
   CTA
   ========================================================= */

.cta-button {
  display: inline-flex;

  margin-top: 15px;

  padding:
    16px
    34px;

  font-size: 1rem;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .journey-page {
    padding:
      20px
      14px
      30px;
  }

  .page-content {
    padding:
      32px
      20px;

    border-radius: 18px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.05rem;

    letter-spacing: 0.07em;
  }

  p {
    font-size: 1rem;
  }

  .navigation {
    flex-direction: column;
  }

  .navigation button {
    width: 100%;
    max-width: 320px;
  }

  button,
  .cta-button {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .journey-page {
    padding:
      12px
      10px
      20px;
  }

  .page-content {
    padding:
      25px
      16px;
  }

  h1 {
    font-size: 2rem;
  }

  .page-number {
    font-size: 0.75rem;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible {
  outline:
    3px solid
    var(--teal);

  outline-offset: 4px;
}

/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

