/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
 .hero {
  min-height: 88vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 40px;
  position: relative;
  z-index: 1;
}

/* ===== MAIN TITLE ===== */
.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #f3e9d2;
  text-shadow:
    0 0 20px rgba(224, 190, 130, 0.55),
    0 0 45px rgba(212, 175, 130, 0.4),
    0 0 90px rgba(176, 141, 87, 0.25);
  animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    text-shadow:
      0 0 20px rgba(224, 190, 130, 0.55),
      0 0 45px rgba(212, 175, 130, 0.4),
      0 0 90px rgba(176, 141, 87, 0.25);
  }
  to {
    text-shadow:
      0 0 28px rgba(224, 190, 130, 0.75),
      0 0 60px rgba(212, 175, 130, 0.55),
      0 0 120px rgba(176, 141, 87, 0.4);
  }
}

/* ===== SUBTITLE ===== */
.brand-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: #b08d57;
  margin-top: 10px;
}

/* ===== QUOTE ===== */
.brand-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #a89d84;
  margin-top: 35px;
  letter-spacing: 0.03em;
}

/* ===== ENTER BUTTON ===== */
.enter-btn {
  margin-top: 55px;
  padding: 16px 42px;
  background: transparent;
  border: 1px solid #b08d57;
  color: #e8ddc4;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-block;
  text-decoration: none;
}

.enter-btn:hover {
  background-color: #b08d57;
  color: #0a0a0a;
  box-shadow: 0 0 25px rgba(176, 141, 87, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .brand-title {
    font-size: 3.2rem;
  }

  .brand-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.35em;
  }

  .brand-quote {
    font-size: 1rem;
  }
}
/* ===== BACKGROUND FLOATING WORDS ===== */
.bg-words {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-words span {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: rgba(212, 172, 110, 0.32);
  text-shadow: 0 0 18px rgba(212, 172, 110, 0.4), 0 0 40px rgba(212, 172, 110, 0.15);
  white-space: nowrap;
  animation: floatUp linear infinite;
}

.bg-words span:nth-child(1) { left: 8%;  font-size: 3rem;   animation-duration: 28s; animation-delay: 0s; }
.bg-words span:nth-child(2) { left: 20%; font-size: 4rem;   animation-duration: 35s; animation-delay: -5s; }
.bg-words span:nth-child(3) { left: 32%; font-size: 2.2rem; animation-duration: 24s; animation-delay: -10s; }
.bg-words span:nth-child(4) { left: 45%; font-size: 3.5rem; animation-duration: 32s; animation-delay: -15s; }
.bg-words span:nth-child(5) { left: 58%; font-size: 2.4rem; animation-duration: 27s; animation-delay: -3s; }
.bg-words span:nth-child(6) { left: 68%; font-size: 3.2rem; animation-duration: 30s; animation-delay: -18s; }
.bg-words span:nth-child(7) { left: 78%; font-size: 2.6rem; animation-duration: 26s; animation-delay: -8s; }
.bg-words span:nth-child(8) { left: 88%; font-size: 3.8rem; animation-duration: 34s; animation-delay: -12s; }
.bg-words span:nth-child(9) { left: 95%; font-size: 2.3rem; animation-duration: 29s; animation-delay: -20s; }

@keyframes floatUp {
  0% {
    transform: translateY(110vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20vh);
    opacity: 0;
  }
}

/* Ensure hero content stays above background */
.hero {
  position: relative;
  z-index: 1;
}
/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 45px;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(10,10,10,0.85), transparent);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  color: #e8ddc4;
}

.logo-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 175, 130, 0.5));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #9a9078;
  cursor: pointer;
}

.lang-option {
  transition: color 0.3s ease;
}

.lang-option.active {
  color: #e8ddc4;
}

.lang-option:hover {
  color: #b08d57;
}

.lang-divider {
  color: #4a4438;
}

/* Login Button */
.login-btn {
  background: transparent;
  border: 1px solid rgba(176, 141, 87, 0.5);
  color: #e8ddc4;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 9px 22px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.login-btn:hover {
  background-color: #b08d57;
  color: #0a0a0a;
  box-shadow: 0 0 18px rgba(176, 141, 87, 0.45);
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .nav-logo {
    font-size: 1.05rem;
    letter-spacing: 0.18em;
  }

  .nav-right {
    gap: 14px;
  }

  .login-btn {
    padding: 7px 14px;
    font-size: 0.65rem;
  }

  .lang-toggle {
    font-size: 0.68rem;
  }
}
/* ===== BACKGROUND DOODLES ===== */
.bg-doodles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.doodle {
  position: absolute;
  color: rgba(200, 165, 110, 0.18);
  animation: doodleFloat linear infinite;
}

.doodle:nth-child(1) { width: 70px; left: 12%;  top: 100%; animation-duration: 38s; animation-delay: -4s; }
.doodle:nth-child(2) { width: 55px; left: 40%;  top: 100%; animation-duration: 42s; animation-delay: -20s; }
.doodle:nth-child(3) { width: 65px; left: 65%;  top: 100%; animation-duration: 36s; animation-delay: -12s; }
.doodle:nth-child(4) { width: 60px; left: 85%;  top: 100%; animation-duration: 44s; animation-delay: -28s; }
.doodle:nth-child(5) { width: 75px; left: 25%;  top: 100%; animation-duration: 40s; animation-delay: -8s; }

@keyframes doodleFloat {
  0% {
    transform: translateY(15vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-115vh) rotate(15deg);
    opacity: 0;
  }
}
/* ===== ABOUT SECTION ===== */
body {
  overflow-x: hidden;
  overflow-y: auto;
}

.about-section {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 30px;
  background: linear-gradient(to bottom, #0a0a0a, #0e0d0b);
  border-top: 1px solid rgba(176, 141, 87, 0.12);
}

.about-content {
  max-width: 640px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: #d4ac6e;
  margin-bottom: 24px;
  font-weight: 500;
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: #e8ddc4;
  line-height: 1.3;
  margin-bottom: 28px;
}

.about-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: #c2b89f;
  letter-spacing: 0.01em;
}

/* ===== RESPONSIVE ABOUT ===== */
@media (max-width: 768px) {
  .about-section {
    padding: 70px 24px;
    min-height: auto;
  }

  .about-heading {
    font-size: 1.9rem;
  }

  .about-text {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}
/* ===== FEATURES SECTION ===== */
.features-section {
  position: relative;
  z-index: 2;
  padding: 90px 30px 110px;
  text-align: center;
}

.features-section .section-label {
  display: block;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 36px 22px;
  border: 1px solid rgba(212, 172, 110, 0.3);
  background-color: rgba(255, 255, 255, 0.015);
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 0 18px rgba(212, 172, 110, 0.08);
  animation: cardGlowPulse 4s ease-in-out infinite;
}

.feature-card:nth-child(2) { animation-delay: 0.5s; }
.feature-card:nth-child(3) { animation-delay: 1s; }
.feature-card:nth-child(4) { animation-delay: 1.5s; }

@keyframes cardGlowPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(212, 172, 110, 0.08); }
  50%      { box-shadow: 0 0 26px rgba(212, 172, 110, 0.22); }
}

.feature-card:hover {
  border-color: #d4ac6e;
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 35px rgba(212, 172, 110, 0.35);
  animation-play-state: paused;
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 22px;
  color: #b08d57;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #e8ddc4;
  margin-bottom: 12px;
}

.feature-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: #b3a88f;
}

/* ===== RESPONSIVE FEATURES ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-section {
    padding: 60px 24px 80px;
  }
}
/* ===== THEME TOGGLE ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(176, 141, 87, 0.2);
  border-radius: 20px;
  padding: 4px;
}

.theme-btn {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  padding: 5px 9px;
  border-radius: 16px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  opacity: 0.85;
}

.theme-btn.active {
  opacity: 1;
  background-color: rgba(176, 141, 87, 0.2);
}

/* ===== THEME VARIANTS ===== */

/* PURE BLACK THEME */
body.theme-black {
  background-color: #000000;
}

body.theme-black .about-section {
  background-color: #000000;
}

body.theme-black .navbar {
  background: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent);
}

body.theme-black .brand-title {
  color: #fff5e0;
  text-shadow:
    0 0 25px rgba(255, 210, 140, 0.7),
    0 0 55px rgba(255, 200, 120, 0.5),
    0 0 100px rgba(200, 160, 90, 0.3);
}

body.theme-black .enter-btn {
  border-color: #d4ac6e;
}

body.theme-black .about-section {
  border-top-color: rgba(212, 172, 110, 0.25);
}

/* ADAPTIVE / SYSTEM THEME — deep navy-charcoal mood */
body.theme-adaptive {
  background-color: #0c0f14;
}

body.theme-adaptive .about-section {
  background-color: #0c0f14;
}

body.theme-adaptive .navbar {
  background: linear-gradient(to bottom, rgba(12,15,20,0.9), transparent);
}

body.theme-adaptive .brand-title {
  color: #e8ecf3;
  text-shadow:
    0 0 20px rgba(150, 180, 220, 0.45),
    0 0 45px rgba(120, 150, 200, 0.35),
    0 0 90px rgba(90, 120, 170, 0.2);
}

body.theme-adaptive .brand-subtitle,
body.theme-adaptive .section-label {
  color: #8aa0c4;
}

body.theme-adaptive .enter-btn {
  border-color: #6f89b0;
  color: #dfe6f0;
}

body.theme-adaptive .enter-btn:hover {
  background-color: #6f89b0;
  color: #0c0f14;
  box-shadow: 0 0 25px rgba(111, 137, 176, 0.5);
}

body.theme-adaptive .bg-words span {
  color: rgba(130, 155, 200, 0.14);
}

body.theme-adaptive .doodle {
  color: rgba(130, 155, 200, 0.18);
}
/* ===== GALLERY SECTION ===== */
.gallery-section {
  position: relative;
  z-index: 2;
  padding: 90px 30px 120px;
  text-align: center;
}

.gallery-section .section-label {
  display: block;
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(176, 141, 87, 0.3);
  box-shadow: 0 0 0 rgba(176, 141, 87, 0);
  transition: all 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) brightness(0.85);
  transition: all 0.5s ease;
}

.gallery-item:hover {
  border-color: #b08d57;
  box-shadow: 0 0 35px rgba(176, 141, 87, 0.5);
  transform: translateY(-6px);
}

.gallery-item:hover img {
  filter: grayscale(0%) brightness(1);
}

/* ===== RESPONSIVE GALLERY ===== */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding: 60px 24px 80px;
  }
}
/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger feature cards & gallery items */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }

.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.15s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.3s; }

/* ===== HERO LOAD-IN ANIMATION ===== */
.hero-item {
  opacity: 0;
  transform: translateY(25px);
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-item:nth-of-type(1) { animation-delay: 0.2s; }
.hero-item:nth-of-type(2) { animation-delay: 0.45s; }
.hero-item:nth-of-type(3) { animation-delay: 0.65s; }
.hero-item:nth-of-type(4) { animation-delay: 0.85s; }
.hero-item:nth-of-type(5) { animation-delay: 1.05s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: #7a7160;
}

.scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, #b08d57, transparent);
  animation: scrollLineMove 1.8s ease-in-out infinite;
}

@keyframes scrollLineMove {
  0%   { transform: scaleY(0.3); opacity: 0.3; transform-origin: top; }
  50%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.3); opacity: 0.3; transform-origin: bottom; }
}

/* ===== FEATURE CARD NUMBER + HOVER ANIMATION ===== */
.feature-card {
  position: relative;
}

.feature-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: rgba(200, 165, 110, 0.4);
  letter-spacing: 0.05em;
}

.feature-icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(-6deg);
}

/* ===== GALLERY MASONRY LAYOUT ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.gallery-item {
  position: relative;
}

.gallery-large {
  grid-row: span 1;
}

.gallery-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #f3e9d2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-large {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-large {
    grid-column: span 1;
  }
}

/* ===== NAVBAR SCROLLED STATE (Point 4) ===== */
.navbar {
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(8, 8, 7, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(176, 141, 87, 0.18);
}

/* ===== MAGNETIC BUTTON EFFECT (Point 6) ===== */
.enter-btn {
  transition: all 0.3s ease, transform 0.15s ease-out;
}
/* ===== EXAM GOALS SECTION ===== */
.goals-section {
  position: relative;
  z-index: 2;
  padding: 90px 30px 100px;
  text-align: center;
}

.goals-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #e8ddc4;
  margin: 18px 0 50px;
}

.goals-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.goal-badge {
  position: relative;
  padding: 14px 30px;
  border: 1px solid rgba(200, 165, 110, 0.3);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.015);
  cursor: default;
  transition: all 0.4s ease;
  overflow: hidden;
}

.goal-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 172, 110, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.goal-badge:hover {
  border-color: #d4ac6e;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 172, 110, 0.25);
}

.goal-badge:hover::before {
  opacity: 1;
}

.goal-text {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #d8cdb4;
  transition: color 0.4s ease;
}

.goal-badge:hover .goal-text {
  color: #f3e9d2;
  text-shadow: 0 0 12px rgba(224, 190, 130, 0.6);
}

/* ===== RESPONSIVE GOALS ===== */
@media (max-width: 600px) {
  .goals-section {
    padding: 60px 20px 70px;
  }

  .goals-heading {
    font-size: 1.5rem;
  }

  .goal-badge {
    padding: 11px 22px;
  }

  .goal-text {
    font-size: 0.75rem;
  }
}
/* ===== STATS / SOCIAL PROOF SECTION ===== */
.stats-section {
  position: relative;
  z-index: 2;
  padding: 80px 30px;
  border-top: 1px solid rgba(176, 141, 87, 0.12);
  border-bottom: 1px solid rgba(176, 141, 87, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: #f3e9d2;
  text-shadow: 0 0 18px rgba(224, 190, 130, 0.4);
  display: inline-block;
}

.stat-plus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #d4ac6e;
  margin-left: 2px;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #a89d84;
  margin-top: 10px;
}

/* ===== RESPONSIVE STATS ===== */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 500px) {
  .stat-number {
    font-size: 2.2rem;
  }

  .stats-section {
    padding: 60px 20px;
  }
}
/* ===== TESTIMONIAL SECTION ===== */
.testimonial-section {
  position: relative;
  z-index: 2;
  padding: 90px 30px 110px;
  text-align: center;
}

.testimonial-section .section-label {
  display: block;
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-grid .testimonial-card:nth-child(4),
.testimonial-grid .testimonial-card:nth-child(5) {
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 901px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid .testimonial-card:nth-child(4) {
    grid-column: 1 / 2;
  }

  .testimonial-grid .testimonial-card:nth-child(5) {
    grid-column: 2 / 3;
  }
}

/* ===== TESTIMONIAL CARD — GLASS PANEL W/ GRADIENT GLOW BORDER ===== */
.testimonial-card {
  position: relative;
  text-align: left;
  padding: 34px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid transparent;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 1px rgba(212,172,110,0.18), 0 8px 30px rgba(0,0,0,0.25);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212,172,110,0.85), rgba(212,172,110,0.05) 40%, rgba(176,141,87,0.6) 70%, rgba(243,233,210,0.4));
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(212,172,110,0.4), 0 16px 45px rgba(0,0,0,0.35), 0 0 30px rgba(212,172,110,0.25);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  line-height: 0.5;
  color: rgba(212, 172, 110, 0.4);
  margin-bottom: 14px;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #d8cdb4;
  margin-bottom: 26px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(200, 165, 110, 0.15);
  padding-top: 18px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 172, 110, 0.15);
  border: 1px solid rgba(212, 172, 110, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #d4ac6e;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e8ddc4;
}

.author-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #8f846f;
  margin-top: 2px;
}

/* ===== RESPONSIVE TESTIMONIALS ===== */
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 500px) {
  .testimonial-section {
    padding: 60px 20px 80px;
  }

  .testimonial-card {
    padding: 28px 22px;
  }
}
/* ===== HOW IT WORKS SECTION ===== */
.steps-section {
  position: relative;
  z-index: 2;
  padding: 90px 30px 110px;
  text-align: center;
}

.steps-section .section-label {
  display: block;
  margin-bottom: 60px;
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 0;
}

.step-item {
  flex: 1;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: #0a0a0a;
  background-color: #d4ac6e;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(212, 172, 110, 0.4);
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #e8ddc4;
  margin-bottom: 12px;
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: #a89d84;
}

.step-connector {
  flex: 0 0 auto;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, rgba(212, 172, 110, 0.5), rgba(212, 172, 110, 0.15));
  margin-top: 23px;
}

/* ===== RESPONSIVE STEPS ===== */
@media (max-width: 800px) {
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(212, 172, 110, 0.5), rgba(212, 172, 110, 0.15));
    margin: 0;
  }

  .step-item {
    max-width: 320px;
  }
}
/* ===== FAQ SECTION ===== */
.faq-section {
  position: relative;
  z-index: 2;
  padding: 90px 30px 110px;
  text-align: center;
}

.faq-section .section-label {
  display: block;
  margin-bottom: 45px;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(200, 165, 110, 0.18);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 22px 4px;
  cursor: pointer;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #e8ddc4;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #d4ac6e;
}

.faq-icon {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: #d4ac6e;
  flex-shrink: 0;
  margin-left: 20px;
  transition: transform 0.35s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: #a89d84;
  padding: 0 4px;
}

/* ===== RESPONSIVE FAQ ===== */
@media (max-width: 600px) {
  .faq-section {
    padding: 60px 20px 80px;
  }

  .faq-question {
    font-size: 0.95rem;
  }
}
/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 2;
  background-color: #060605;
  border-top: 1px solid rgba(176, 141, 87, 0.15);
  padding: 60px 30px 30px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212, 175, 130, 0.4));
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #e8ddc4;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #a89d84;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 35px;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #b8ae98;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4ac6e;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(176, 141, 87, 0.1);
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #6b6354;
  letter-spacing: 0.03em;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 600px) {
  .site-footer {
    padding: 50px 20px 25px;
  }

  .footer-links {
    gap: 18px 24px;
  }
}
/* ===== INFO MODAL (Oval Glassmorphism) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.info-modal {
  position: relative;
  width: 480px;
  max-width: 88vw;
  max-height: 78vh;
  overflow-y: auto;
  background: rgba(18, 16, 13, 0.55);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(212, 172, 110, 0.45);
  border-radius: 50% / 18%;
  padding: 60px 55px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(212, 172, 110, 0.1),
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(176, 141, 87, 0.15);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show .info-modal {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 26px;
  background: transparent;
  border: none;
  color: #b8ae98;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #e8ddc4;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: #d4ac6e;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.modal-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  line-height: 1.85;
  color: #c2b89f;
}

.modal-body p {
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .info-modal {
    padding: 45px 28px;
    border-radius: 40px;
  }
}
/* ===== CONTACT MODAL ICONS ===== */
.contact-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 24px 0 8px;
}

.contact-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(212, 172, 110, 0.35);
  background: rgba(255, 255, 255, 0.02);
  color: #d4ac6e;
  transition: all 0.35s ease;
  text-decoration: none;
}

.contact-icon-link svg {
  width: 20px;
  height: 20px;
}

.contact-icon-link:hover {
  background-color: #d4ac6e;
  color: #0a0a0a;
  box-shadow: 0 0 18px rgba(212, 172, 110, 0.55);
  transform: translateY(-3px);
}

.contact-email-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #c2b89f;
  margin-top: 18px;
}

.contact-email-line a {
  color: #d4ac6e;
  text-decoration: none;
}

.contact-email-line a:hover {
  text-decoration: underline;
}
/* ===== TRUST BADGES ===== */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #8f846f;
  letter-spacing: 0.02em;
  flex-wrap: wrap;
}

.badge-dot {
  color: #4a4438;
}

@media (max-width: 500px) {
  .trust-badges {
    font-size: 0.65rem;
    gap: 8px;
  }
}
/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
  position: relative;
  z-index: 2;
  padding: 100px 30px;
  background: transparent;
  text-align: center;
  border-top: 1px solid rgba(176, 141, 87, 0.12);
}

.final-cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: #f3e9d2;
  text-shadow: 0 0 25px rgba(224, 190, 130, 0.3);
  margin-bottom: 16px;
}

.final-cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #a89d84;
  margin-bottom: 36px;
}

.final-cta-btn {
  margin-top: 0;
}

@media (max-width: 600px) {
  .final-cta-heading {
    font-size: 1.9rem;
  }

  .final-cta-section {
    padding: 70px 24px;
  }
}
/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background-color: #0a0a0a;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: loaderPulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(212, 175, 130, 0.6));
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.05); }
}
/* ===== LOGIN MODAL (Glassmorphism, oval) ===== */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.login-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.login-modal {
  position: relative;
  width: 400px;
  max-width: 90vw;
  max-height: 88vh;
  overflow-y: auto;
  background: rgba(18, 16, 13, 0.55);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(212, 172, 110, 0.45);
  border-radius: 28px;
  padding: 44px 36px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(212, 172, 110, 0.1),
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(176, 141, 87, 0.15);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-modal-overlay.show .login-modal {
  transform: scale(1);
}

.login-modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: transparent;
  border: none;
  color: #b8ae98;
  font-size: 1rem;
  cursor: pointer;
}

.login-modal-close:hover {
  color: #e8ddc4;
}

.login-modal-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 10px rgba(212, 175, 130, 0.5));
}

.login-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  letter-spacing: 0.15em;
  color: #e8ddc4;
  margin-bottom: 6px;
}

.login-modal-subtitle {
  font-size: 0.8rem;
  color: #8f846f;
  margin-bottom: 20px;
}

.auth-error {
  color: #ff8066;
  font-size: 0.75rem;
  margin-bottom: 8px;
  min-height: 16px;
}

.login-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-modal-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 172, 110, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  color: #e8ddc4;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.login-modal-input:focus {
  border-color: #d4ac6e;
}

.login-modal-input::placeholder {
  color: rgba(184, 174, 152, 0.4);
}

.login-modal-submit {
  background: transparent;
  border: 1px solid #b08d57;
  color: #e8ddc4;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.35s ease;
  margin-top: 4px;
}

.login-modal-submit:hover {
  background-color: #b08d57;
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(176, 141, 87, 0.4);
}

.toggle-mode {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #8f846f;
}

.toggle-mode a {
  color: #d4ac6e;
  text-decoration: none;
  margin-left: 5px;
}

.toggle-mode a:hover {
  text-decoration: underline;
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #6b6354;
  font-size: 0.7rem;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(176, 141, 87, 0.2);
}

.login-divider span {
  padding: 0 12px;
}

.google-login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 11px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-login-btn:hover {
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

@media (max-width: 500px) {
  .login-modal {
    padding: 34px 22px;
  }
}
/* ===== USER PROFILE (Post-Login) ===== */
.user-profile-wrapper {
  position: relative;
}

.user-avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(212, 172, 110, 0.6);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: rgba(212, 172, 110, 0.15);
  transition: all 0.3s ease;
}

.user-avatar-btn:hover {
  border-color: #d4ac6e;
  box-shadow: 0 0 16px rgba(212, 172, 110, 0.5);
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-dropdown {
  position: absolute;
  top: 52px;
  right: 0;
  width: 260px;
  background: rgba(18, 16, 13, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 172, 110, 0.35);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(176, 141, 87, 0.15);
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.user-dropdown.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
}

.dropdown-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 172, 110, 0.4);
}

.dropdown-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dropdown-user-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e8ddc4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-email {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #8f846f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-divider {
  height: 1px;
  background: rgba(212, 172, 110, 0.15);
  margin: 6px 4px;
}

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #d8cdb4;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #d4ac6e;
}

.dropdown-item:hover {
  background: rgba(212, 172, 110, 0.1);
  color: #f3e9d2;
}

.logout-item {
  color: #e08a76;
}

.logout-item svg {
  color: #e08a76;
}

.logout-item:hover {
  background: rgba(224, 90, 70, 0.1);
  color: #ff9c85;
}

@media (max-width: 500px) {
  .user-dropdown {
    width: 220px;
    right: -10px;
  }
}
/* ===== SHARED MODAL BASE (Profile/Sub/Settings) ===== */
.profile-modal-overlay,
.sub-modal-overlay,
.settings-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.profile-modal-overlay.show,
.sub-modal-overlay.show,
.settings-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.profile-modal,
.sub-modal,
.settings-modal {
  position: relative;
  width: 440px;
  max-width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  background: rgba(18, 16, 13, 0.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(212, 172, 110, 0.4);
  border-radius: 26px;
  padding: 40px 34px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 45px rgba(176, 141, 87, 0.15);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-modal-overlay.show .profile-modal,
.sub-modal-overlay.show .sub-modal,
.settings-modal-overlay.show .settings-modal {
  transform: scale(1);
}

.sub-modal { width: 560px; }

.profile-modal-close,
.sub-modal-close,
.settings-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: #b8ae98;
  font-size: 1rem;
  cursor: pointer;
}

.profile-modal-close:hover,
.sub-modal-close:hover,
.settings-modal-close:hover {
  color: #e8ddc4;
}

.profile-modal-title,
.sub-modal-title,
.settings-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #e8ddc4;
  text-align: center;
  margin-bottom: 26px;
}

/* ===== PROFILE MODAL ===== */
.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.profile-modal-avatar-img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 172, 110, 0.5);
  margin-bottom: 10px;
}

.edit-avatar-btn {
  background: transparent;
  border: 1px solid rgba(212, 172, 110, 0.3);
  color: #d4ac6e;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-avatar-btn:hover {
  background: rgba(212, 172, 110, 0.12);
}

.profile-field {
  margin-bottom: 16px;
}

.profile-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #8f846f;
  margin-bottom: 6px;
}

.profile-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 172, 110, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  color: #e8ddc4;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  outline: none;
}

.profile-input:focus {
  border-color: #d4ac6e;
}

.profile-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.profile-stats-row {
  display: flex;
  justify-content: space-around;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(212, 172, 110, 0.15);
  border-bottom: 1px solid rgba(212, 172, 110, 0.15);
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: #d4ac6e;
}

.profile-stat-label {
  font-size: 0.65rem;
  color: #8f846f;
  margin-top: 3px;
}

.profile-save-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #b08d57;
  color: #e8ddc4;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-save-btn:hover {
  background-color: #b08d57;
  color: #0a0a0a;
}

/* ===== SUBSCRIPTION MODAL ===== */
.current-plan-card {
  background: rgba(212, 172, 110, 0.08);
  border: 1px solid rgba(212, 172, 110, 0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.plan-badge {
  display: inline-block;
  background: #d4ac6e;
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 0.82rem;
  color: #c2b89f;
  margin-bottom: 8px;
}

.plan-days-left {
  font-size: 0.75rem;
  color: #d4ac6e;
  font-weight: 500;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan-option {
  border: 1px solid rgba(212, 172, 110, 0.2);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.plan-option.featured {
  border-color: #d4ac6e;
  background: rgba(212, 172, 110, 0.06);
}

.popular-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #d4ac6e;
  color: #0a0a0a;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.plan-option-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #e8ddc4;
  margin-bottom: 6px;
}

.plan-option-price {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #d4ac6e;
  margin-bottom: 14px;
}

.plan-option-price small {
  font-size: 0.7rem;
  color: #8f846f;
}

.plan-features {
  list-style: none;
  margin-bottom: 16px;
  text-align: left;
}

.plan-features li {
  font-size: 0.72rem;
  color: #a89d84;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d4ac6e;
}

.plan-select-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(212, 172, 110, 0.4);
  color: #d4ac6e;
  padding: 9px;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-select-btn:hover {
  background-color: #d4ac6e;
  color: #0a0a0a;
}

/* ===== SETTINGS MODAL ===== */
.settings-section {
  margin-bottom: 22px;
}

.settings-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #8f846f;
  margin-bottom: 12px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.85rem;
  color: #d8cdb4;
}

.switch {
  position: relative;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: 0.3s;
}

.switch-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #cfc4a8;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .switch-slider {
  background: rgba(212, 172, 110, 0.5);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(18px);
  background: #d4ac6e;
}

.settings-action-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(212, 172, 110, 0.2);
  color: #d8cdb4;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.settings-action-btn:hover {
  background: rgba(212, 172, 110, 0.08);
  border-color: rgba(212, 172, 110, 0.4);
}

.settings-action-btn.danger {
  color: #e08a76;
  border-color: rgba(224, 90, 70, 0.25);
}

.settings-action-btn.danger:hover {
  background: rgba(224, 90, 70, 0.08);
  border-color: rgba(224, 90, 70, 0.4);
}

@media (max-width: 500px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HIDE SCROLLBARS (scroll kaam karega, bas dikhega nahi) ===== */
html, body,
.info-modal,
.profile-modal,
.sub-modal,
.settings-modal {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar,
.info-modal::-webkit-scrollbar,
.profile-modal::-webkit-scrollbar,
.sub-modal::-webkit-scrollbar,
.settings-modal::-webkit-scrollbar {
  display: none;
}
/* =====================================================
   SUBSCRIPTION GATE — welcome, gate & decline
   ===================================================== */

.sub-decline-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  background: transparent;
  border: none;
  color: #8f846f;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}
.sub-decline-btn:hover { color: #d8cdb4; text-decoration: underline; }

/* ---- shared base for welcome + gate modals ---- */
.welcome-modal-overlay,
.gate-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}
.welcome-modal-overlay.show,
.gate-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.welcome-modal,
.gate-modal {
  position: relative;
  width: 400px;
  max-width: 100%;
  text-align: center;
  background: rgba(18, 16, 13, 0.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(212, 172, 110, 0.5);
  border-radius: 26px;
  padding: 44px 32px 36px;
  box-shadow: 0 0 0 1px rgba(212, 172, 110, 0.12), 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 45px rgba(176, 141, 87, 0.2);
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.welcome-modal-overlay.show .welcome-modal,
.gate-modal-overlay.show .gate-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* ---- Welcome (subscribed) modal ---- */
.welcome-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}
.welcome-check svg { width: 100%; height: 100%; }
.welcome-check-circle {
  stroke: #d4ac6e;
  stroke-width: 2.5;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  animation: welcomeCircleDraw 0.6s ease forwards;
  filter: drop-shadow(0 0 10px rgba(212, 172, 110, 0.6));
}
.welcome-check-mark {
  stroke: #f3e0b8;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: welcomeMarkDraw 0.4s ease 0.55s forwards;
}
@keyframes welcomeCircleDraw { to { stroke-dashoffset: 0; } }
@keyframes welcomeMarkDraw { to { stroke-dashoffset: 0; } }

.welcome-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: #f3e9d2;
  text-shadow: 0 0 18px rgba(224, 190, 130, 0.4);
  margin-bottom: 10px;
}
.welcome-modal-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #c2b89f;
  line-height: 1.6;
  margin-bottom: 26px;
}
.welcome-modal-btn {
  background: transparent;
  border: 1px solid #b08d57;
  color: #e8ddc4;
  padding: 13px 30px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.35s ease;
}
.welcome-modal-btn:hover {
  background-color: #b08d57;
  color: #0a0a0a;
  box-shadow: 0 0 22px rgba(176, 141, 87, 0.5);
}

/* ---- Gate (not subscribed) modal ---- */
.gate-modal-emoji {
  display: block;
  font-size: 2.6rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 14px rgba(212, 172, 110, 0.35));
}
.gate-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #e8ddc4;
  margin-bottom: 10px;
}
.gate-modal-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #c2b89f;
  line-height: 1.65;
  margin-bottom: 26px;
}
.gate-modal-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #b08d57;
  color: #e8ddc4;
  padding: 12px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.35s ease;
}
.gate-modal-btn:hover {
  background-color: #b08d57;
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(176, 141, 87, 0.45);
}
.gate-modal-close-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: transparent;
  border: none;
  color: #8f846f;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.3s ease;
}
.gate-modal-close-btn:hover { color: #d8cdb4; }

@media (max-width: 500px) {
  .welcome-modal, .gate-modal { padding: 36px 24px 28px; }
}
/* ===== PAUSE DECORATIVE ANIMATIONS JAB TAB BACKGROUND MEIN HO ===== */
body.tab-hidden .bg-words span,
body.tab-hidden .doodle,
body.tab-hidden .feature-card {
  animation-play-state: paused !important;
}
/* ===== NEW 4-PLAN PRICING GRID ===== */
.sub-modal-wide { width: 920px; max-width: 95vw; }

.sub-modal-sub {
  text-align: center;
  font-size: 0.82rem;
  color: #a89d84;
  margin-top: -16px;
  margin-bottom: 24px;
}

.plans-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.plans-grid-4 .plan-option {
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
}

.plans-grid-4 .plan-features {
  flex: 1;
  margin-bottom: 18px;
}

.plans-grid-4 .popular-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #d4ac6e;
  color: #0a0a0a;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(212, 172, 110, 0.5);
}

@media (max-width: 900px) {
  .plans-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .plans-grid-4 { grid-template-columns: 1fr; }
  .sub-modal-wide { padding: 30px 20px; }
}
/* =====================================================
   MOBILE & TABLET RESPONSIVE PATCH — new subscription grid
   ===================================================== */
@media (max-width: 768px) {
  .sub-modal-wide {
    width: 94vw;
    padding: 34px 20px;
  }
  .sub-modal-sub {
    font-size: 0.76rem;
    margin-bottom: 20px;
  }
  .plans-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .plans-grid-4 .plan-option {
    padding: 18px 12px;
  }
  .plans-grid-4 .plan-option-name {
    font-size: 0.95rem;
  }
  .plans-grid-4 .plan-option-price {
    font-size: 1.4rem;
  }
  .plans-grid-4 .plan-features li {
    font-size: 0.66rem;
  }
  .plans-grid-4 .popular-tag {
    font-size: 0.55rem;
    padding: 3px 10px;
  }
  .plan-select-btn {
    padding: 8px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .sub-modal-wide {
    padding: 28px 16px;
  }
  .sub-modal-title {
    font-size: 1.25rem;
  }
  .plans-grid-4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .plans-grid-4 .plan-option {
    padding: 20px 16px;
  }
}

/* Tablet: hero + navbar breathing room */
@media (min-width: 481px) and (max-width: 900px) {
  .brand-title { font-size: 4.2rem; }
  .brand-subtitle { font-size: 0.85rem; letter-spacing: 0.3em; }
  .brand-quote { font-size: 1.1rem; }
  .about-heading { font-size: 2.1rem; }
  .goals-heading { font-size: 1.7rem; }
  .final-cta-heading { font-size: 2.1rem; }
  .info-modal { width: 90vw; padding: 40px 30px; }
  .login-modal { width: 92vw; }
  .profile-modal, .settings-modal { width: 92vw; }
}