/* =================================================================
   Ganiga Matrimony - Premium Design System v2
   Inspired by luxury wedding brands. Maroon-gold matrimonial palette
   with serif/sans typography pairing, mandala motifs, and depth.
   ================================================================= */

:root {
  /* Brand */
  --gm-primary:        #9D1A41;
  --gm-primary-700:    #7A1132;
  --gm-primary-900:    #4D0A20;
  --gm-primary-50:     #FBEAEF;
  --gm-primary-100:    #F5D5DD;

  --gm-accent:         #C9A14A;
  --gm-accent-600:     #A88136;
  --gm-accent-200:     #ECD7A1;
  --gm-accent-50:      #FAF3E0;

  /* Neutrals */
  --gm-ink:            #1A0F12;
  --gm-ink-soft:       #3A2C30;
  --gm-mute:           #6F6063;
  --gm-line:           #E8DFD8;
  --gm-line-soft:      #F0EAE3;
  --gm-cream:          #FBF6EE;
  --gm-ivory:          #FFFAF2;
  --gm-white:          #FFFFFF;

  /* Effects */
  --gm-shadow-sm:      0 1px 3px rgba(26,15,18,0.06), 0 1px 2px rgba(26,15,18,0.04);
  --gm-shadow:         0 8px 24px rgba(157,26,65,0.08), 0 2px 6px rgba(26,15,18,0.04);
  --gm-shadow-lg:      0 20px 60px rgba(157,26,65,0.15), 0 8px 24px rgba(26,15,18,0.06);
  --gm-shadow-glow:    0 10px 40px rgba(201,161,74,0.25);

  /* Radius */
  --gm-r-sm:           8px;
  --gm-r:              14px;
  --gm-r-lg:           24px;
  --gm-r-xl:           32px;

  /* Type */
  --gm-sans:           'Poppins', 'Noto Sans Kannada', system-ui, -apple-system, Segoe UI, sans-serif;
  --gm-serif:          'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --gm-kn:             'Noto Sans Kannada', 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--gm-sans);
  background: var(--gm-ivory);
  color: var(--gm-ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--gm-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gm-primary-700); }

::selection { background: var(--gm-primary); color: #fff; }

/* ============= Typography ============= */
h1, h2, h3, h4, h5 {
  font-family: var(--gm-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gm-ink);
  line-height: 1.15;
}
.serif {
  font-family: var(--gm-serif);
  font-style: italic;
  font-weight: 500;
}
.serif-bold {
  font-family: var(--gm-serif);
  font-weight: 700;
  font-style: normal;
}
.kn { font-family: var(--gm-kn); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gm-accent-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
  margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--gm-accent);
}
.text-muted-2 { color: var(--gm-mute); }
.text-primary-gm { color: var(--gm-primary) !important; }
.text-accent-gm { color: var(--gm-accent-600) !important; }

/* ============= Mandala SVG Background Pattern ============= */
.gm-pattern-mandala {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23C9A14A' stroke-width='0.5' opacity='0.15'><circle cx='100' cy='100' r='90'/><circle cx='100' cy='100' r='70'/><circle cx='100' cy='100' r='50'/><circle cx='100' cy='100' r='30'/><path d='M100 10 L100 190 M10 100 L190 100 M29 29 L171 171 M171 29 L29 171'/></g></svg>");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.gm-pattern-dots {
  background-image: radial-gradient(circle, rgba(201,161,74,0.2) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ============= Navbar ============= */
.gm-navbar {
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gm-line-soft);
  padding: .9rem 0;
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow .2s ease;
}
.gm-navbar.scrolled { box-shadow: var(--gm-shadow-sm); }
.gm-navbar .brand {
  font-family: var(--gm-serif);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--gm-primary);
  white-space: nowrap;   /* keep "Ganiga Matrimony" on one line at all widths */
  display: flex; align-items: center; gap: .65rem;
  letter-spacing: -0.01em;
}
.gm-navbar .brand .mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gm-primary) 0%, var(--gm-accent) 100%);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-family: var(--gm-serif);
  box-shadow: 0 4px 12px rgba(157,26,65,0.25);
  font-size: 1.1rem;
}
.gm-navbar .nav-link {
  color: var(--gm-ink-soft);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .75rem;   /* tightened from 1rem so 7+ items fit at lg widths */
  white-space: nowrap;      /* stop "How It Works" / "Contact" from wrapping onto their own row */
  position: relative;
  transition: color .2s ease;
}
.gm-navbar .nav-link::after {
  content: '';
  position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gm-accent);
  transition: all .25s ease;
  transform: translateX(-50%);
}
.gm-navbar .nav-link:hover { color: var(--gm-primary); }
.gm-navbar .nav-link:hover::after { width: 24px; }
.gm-navbar .nav-link.active { color: var(--gm-primary); }
.gm-navbar .nav-link.active::after { width: 24px; }

/* Auth buttons must not wrap ("Sign In" was breaking to 2 lines when the
   nav got tight). Applying to navbar btns only so it doesn't affect other buttons. */
.gm-navbar .btn { white-space: nowrap; }

/* Slightly denser padding at the borderline lg width (992-1199px) so the packed
   guest nav (Home | About | Features | How It Works | Stories | Pricing | Contact
   + auth buttons) doesn't overflow. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gm-navbar .nav-link { padding: .5rem .55rem; font-size: .9rem; }
  .gm-navbar .brand    { font-size: 1.35rem; }
  .gm-navbar .brand .mark { width: 36px; height: 36px; }
}

/* ============= Buttons ============= */
.btn {
  font-family: var(--gm-sans);
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--gm-r-sm);
  transition: all .22s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.btn-gm-primary {
  background: linear-gradient(135deg, var(--gm-primary) 0%, var(--gm-primary-700) 100%);
  color: #fff;
  border: none;
  padding: .75rem 1.75rem;
  box-shadow: 0 4px 14px rgba(157,26,65,0.30);
}
.btn-gm-primary:hover, .btn-gm-primary:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(157,26,65,0.40);
}
.btn-gm-primary:active { transform: translateY(0); }

.btn-gm-accent {
  background: linear-gradient(135deg, var(--gm-accent) 0%, var(--gm-accent-600) 100%);
  color: #1A0F12;
  border: none;
  padding: .75rem 1.75rem;
  box-shadow: 0 4px 14px rgba(201,161,74,0.35);
}
.btn-gm-accent:hover {
  color: #1A0F12;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,161,74,0.45);
}

.btn-gm-outline {
  background: transparent;
  color: var(--gm-primary);
  border: 1.5px solid var(--gm-primary);
  padding: .65rem 1.5rem;
}
.btn-gm-outline:hover {
  background: var(--gm-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-gm-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  padding: .65rem 1.5rem;
}
.btn-gm-ghost:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============= Hero ============= */
.gm-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201,161,74,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(157,26,65,0.20) 0%, transparent 50%),
    linear-gradient(135deg, #4D0A20 0%, #6B0F2A 45%, #9D1A41 100%);
  color: #fff;
  padding: 2rem 0 2.5rem;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.gm-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23C9A14A' stroke-width='0.6' opacity='0.12'><circle cx='150' cy='150' r='140'/><circle cx='150' cy='150' r='110'/><circle cx='150' cy='150' r='80'/><circle cx='150' cy='150' r='50'/><circle cx='150' cy='150' r='20'/><path d='M150 10 L150 290 M10 150 L290 150 M44 44 L256 256 M256 44 L44 256'/><path d='M150 30 L165 75 L210 75 L175 100 L190 145 L150 120 L110 145 L125 100 L90 75 L135 75 Z'/></g></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 800px 800px;
  opacity: .6;
  pointer-events: none;
}
.gm-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 80px;
  background: linear-gradient(to bottom, transparent 0%, var(--gm-ivory) 100%);
  pointer-events: none;
}
.gm-hero .container { position: relative; z-index: 2; }
.gm-hero .hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.gm-hero .hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gm-accent);
  box-shadow: 0 0 0 4px rgba(201,161,74,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,161,74,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(201,161,74,0.10); }
}
.gm-hero h1 {
  color: #fff;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.gm-hero h1 .serif {
  color: var(--gm-accent-200);
  font-weight: 500;
}
.gm-hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 2rem;
}
.gm-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.gm-hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.gm-hero-stats .stat .num {
  font-family: var(--gm-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gm-accent-200);
  line-height: 1;
}
.gm-hero-stats .stat .label {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: .35rem;
}

/* ============= Floating Profile Mockups in Hero ============= */
.gm-hero-mock {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gm-profile-mock {
  position: absolute;
  width: 240px;
  background: #fff;
  border-radius: var(--gm-r-lg);
  box-shadow: var(--gm-shadow-lg);
  overflow: hidden;
  color: var(--gm-ink);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.gm-profile-mock:hover { transform: scale(1.04); z-index: 10; }
.gm-profile-mock .ph {
  height: 220px;
  background: linear-gradient(135deg, #F5D5DD 0%, #ECD7A1 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--gm-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gm-primary);
}
.gm-profile-mock .ph .v-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--gm-accent);
  color: #1A0F12;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-family: var(--gm-sans);
  font-size: .7rem;
  font-weight: 700;
  display: flex; align-items: center; gap: .25rem;
}
.gm-profile-mock .body { padding: .9rem 1rem 1rem; }
.gm-profile-mock .body .name { font-weight: 700; font-size: 1rem; }
.gm-profile-mock .body .meta { color: var(--gm-mute); font-size: .82rem; margin-top: .15rem; }
.gm-profile-mock .body .tags { margin-top: .65rem; display: flex; gap: .3rem; flex-wrap: wrap; }
.gm-profile-mock .body .tag {
  background: var(--gm-primary-50);
  color: var(--gm-primary);
  font-size: .7rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-weight: 500;
}

/* Specific positions for the 3 mockups */
.gm-profile-mock.m1 { top: 0;   right: 8rem; transform: rotate(-3deg); }
.gm-profile-mock.m2 { top: 6rem; right: 0;   transform: rotate(2deg); z-index: 2; }
.gm-profile-mock.m3 { top: 14rem; right: 10rem; transform: rotate(-1deg); }
.gm-profile-mock.m1:hover { transform: rotate(-3deg) scale(1.05); }
.gm-profile-mock.m2:hover { transform: rotate(2deg) scale(1.05); }
.gm-profile-mock.m3:hover { transform: rotate(-1deg) scale(1.05); }

/* ============= Gold Particles (drift behind cards) ============= */
.gm-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.gm-particles .p {
  position: absolute;
  bottom: -10px;
  width: var(--s, 5px);
  height: var(--s, 5px);
  background: radial-gradient(circle, rgba(236,215,161,0.95) 0%, rgba(201,161,74,0.55) 40%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  filter: blur(0.5px);
  animation: particleDrift var(--dur, 14s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
  will-change: transform, opacity;
}
@keyframes particleDrift {
  0%   { transform: translate(0, 0) scale(0.55);  opacity: 0; }
  12%  { opacity: 1; }
  50%  { transform: translate(calc(var(--xshift, 20px) * 0.5), -260px) scale(1); opacity: 0.9; }
  88%  { opacity: 0.35; }
  100% { transform: translate(var(--xshift, 20px), -540px) scale(0.35); opacity: 0; }
}

/* ============= 3D Carousel Sway on hero mock group ============= */
.gm-hero-mock {
  transform-style: preserve-3d;
  animation: heroSway 22s ease-in-out infinite;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  /* Allow popped cards to extend beyond the mock box */
  overflow: visible;
}
@keyframes heroSway {
  0%, 100% { transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg); }
  50%      { transform: perspective(1600px) rotateY(3deg)  rotateX(-1.5deg); }
}
/* When any card is hovered, freeze the 3D sway and level out so the
   hovered card pops into a clean, fully-visible frame. */
.gm-hero-mock:has(.gm-thought-card:hover),
.gm-hero-mock.is-hover {
  animation: none;
  transform: perspective(1600px) rotateY(0deg) rotateX(0deg);
}

/* ============= Hero Thought Cards (cultural/wisdom) ============= */
/* Outer = invisible rotation+position frame. Inner = visible card. */
.gm-thought-card {
  position: absolute;
  width: 290px;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1),
              opacity .35s ease,
              filter .35s ease;
  transform-origin: center;
  color: var(--gm-ink);
}
.gm-thought-card .card-inner {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--gm-r-lg);
  box-shadow: var(--gm-shadow-lg);
  overflow: hidden;
  /* Continuous gentle float (paused on hover) */
  animation: cardFloat 6s ease-in-out infinite;
  will-change: transform;
  transition: box-shadow .35s ease;
}
.gm-thought-card:hover { z-index: 20; }
.gm-thought-card:hover .card-inner {
  animation-play-state: paused;
  box-shadow:
    0 40px 100px rgba(157,26,65,0.42),
    0 20px 50px rgba(26,15,18,0.20),
    0 0 0 1px rgba(212,169,70,0.35);
  border-color: var(--gm-accent-200);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0)    rotate(0deg);  }
  50%      { transform: translateY(-14px) rotate(0.6deg); }
}

.gm-thought-card .icon-band {
  height: 88px;
  background: linear-gradient(135deg, var(--gm-primary-50) 0%, var(--gm-accent-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gm-thought-card .icon-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%239D1A41' stroke-width='0.5' opacity='0.10'><circle cx='50' cy='50' r='45'/><circle cx='50' cy='50' r='32'/><circle cx='50' cy='50' r='18'/></g></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.gm-thought-card .icon-band > i {
  font-size: 2.2rem;
  color: var(--gm-primary);
  position: relative; z-index: 1;
}
.gm-thought-card .icon-band.band-gold {
  background: linear-gradient(135deg, var(--gm-accent-50) 0%, #FFF6DC 100%);
}
.gm-thought-card .icon-band.band-gold > i {
  color: var(--gm-accent-600);
}

/* Dot row for Saptapadi 7 steps */
.gm-thought-card .dot-row {
  display: flex; align-items: center; gap: .55rem;
  position: relative; z-index: 1;
}
.gm-thought-card .dot-row span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gm-accent);
  box-shadow: 0 1px 3px rgba(168,129,54,0.4);
}
.gm-thought-card .dot-row .lotus {
  width: auto; height: auto;
  background: transparent;
  box-shadow: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--gm-primary);
  margin: 0 .15rem;
}

/* Diya glow effect */
.gm-thought-card .diya {
  filter: drop-shadow(0 0 12px rgba(212,169,70,0.6));
}

.gm-thought-card .body { padding: 1.25rem 1.35rem 1.4rem; }
.gm-thought-card .kn-head {
  font-family: var(--gm-kn);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gm-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.gm-thought-card .subhead {
  font-family: var(--gm-serif);
  font-size: .95rem;
  font-style: italic;
  color: var(--gm-accent-600);
  margin: .25rem 0 .85rem;
  font-weight: 500;
}
.gm-thought-card .thought-text {
  font-size: .85rem;
  color: var(--gm-ink-soft);
  line-height: 1.6;
  margin: 0 0 .85rem;
}
.gm-thought-card .source {
  font-size: .7rem;
  color: var(--gm-mute);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  padding-top: .65rem;
  border-top: 1px dashed var(--gm-line);
}

/* Per-card position + base rotation. Hover levels rotation to 0 + scale up. */
.gm-thought-card.t1 { top: 0;     right: 4rem; z-index: 1; transform: rotate(-5deg); }
.gm-thought-card.t2 { top: 6rem;  right: 0;    z-index: 3; transform: rotate(3deg); }
.gm-thought-card.t3 { top: 12rem; right: 5rem; z-index: 2; transform: rotate(-2deg); }

/* Hover: level out to 0deg, lift up significantly, scale up dramatically
   so the entire card is fully in front and readable. */
.gm-thought-card.t1:hover,
.gm-thought-card.t2:hover,
.gm-thought-card.t3:hover {
  transform: rotate(0deg) translateY(-40px) scale(1.28);
}

/* ============= SPOTLIGHT — non-hovered cards recede ============= */
/* When ANY card in the mock is hovered, the others fade back: dim, blur,
   scale down. They keep their base rotation so they stay positioned. */
.gm-hero-mock:has(.gm-thought-card:hover) .gm-thought-card:not(:hover),
.gm-hero-mock.is-hover .gm-thought-card:not(:hover) {
  opacity: 0.35;
  filter: blur(2.5px) saturate(0.7);
}
.gm-hero-mock:has(.gm-thought-card:hover) .gm-thought-card.t1:not(:hover),
.gm-hero-mock.is-hover .gm-thought-card.t1:not(:hover) {
  transform: rotate(-5deg) scale(0.85);
}
.gm-hero-mock:has(.gm-thought-card:hover) .gm-thought-card.t2:not(:hover),
.gm-hero-mock.is-hover .gm-thought-card.t2:not(:hover) {
  transform: rotate(3deg) scale(0.85);
}
.gm-hero-mock:has(.gm-thought-card:hover) .gm-thought-card.t3:not(:hover),
.gm-hero-mock.is-hover .gm-thought-card.t3:not(:hover) {
  transform: rotate(-2deg) scale(0.85);
}

/* Also pause every card's float animation while any card is hovered,
   so the scene fully stabilizes around the focused card. */
.gm-hero-mock:has(.gm-thought-card:hover) .gm-thought-card .card-inner,
.gm-hero-mock.is-hover .gm-thought-card .card-inner {
  animation-play-state: paused;
}

/* Staggered float phases so cards drift independently */
.gm-thought-card.t1 .card-inner { animation-delay:  0s; }
.gm-thought-card.t2 .card-inner { animation-delay: -2s; }
.gm-thought-card.t3 .card-inner { animation-delay: -4s; }

/* --- Per-card icon animations --- */

/* Card 1: Saptapadi - 7 dots pulse in sequence like footsteps */
.gm-thought-card .dot-row > span:not(.lotus) {
  animation: dotPulse 2.8s ease-in-out infinite;
  transform-origin: center;
}
.gm-thought-card .dot-row > span:nth-child(1) { animation-delay: 0s; }
.gm-thought-card .dot-row > span:nth-child(2) { animation-delay: .2s; }
.gm-thought-card .dot-row > span:nth-child(3) { animation-delay: .4s; }
.gm-thought-card .dot-row > span:nth-child(5) { animation-delay: .8s; }
.gm-thought-card .dot-row > span:nth-child(6) { animation-delay: 1.0s; }
.gm-thought-card .dot-row > span:nth-child(7) { animation-delay: 1.2s; }
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%      { transform: scale(1.7); opacity: 1; box-shadow: 0 0 10px var(--gm-accent); }
}

/* Card 1: Lotus slowly rotates in the middle */
.gm-thought-card .lotus > i {
  display: inline-block;
  animation: slowSpin 18s linear infinite;
  transform-origin: center;
}
@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

/* Card 2: Gotra tree icon - gentle scale beat */
.gm-thought-card .tree-pulse {
  display: inline-block;
  animation: treeBeat 3.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes treeBeat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.10); }
}

/* Card 3: Diya - realistic flame flicker */
.gm-thought-card .diya {
  display: inline-block;
  animation: diyaFlicker 2.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes diyaFlicker {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(212,169,70,0.55)); transform: scale(1); }
  20%      { filter: drop-shadow(0 0 18px rgba(212,169,70,0.95)); transform: scale(1.04); }
  40%      { filter: drop-shadow(0 0 6px  rgba(212,169,70,0.40)); transform: scale(0.98); }
  55%      { filter: drop-shadow(0 0 22px rgba(212,169,70,1.00)); transform: scale(1.06); }
  75%      { filter: drop-shadow(0 0 10px rgba(212,169,70,0.55)); transform: scale(1); }
}

/* Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  .gm-thought-card .card-inner,
  .gm-thought-card .dot-row > span,
  .gm-thought-card .lotus > i,
  .gm-thought-card .tree-pulse,
  .gm-thought-card .diya,
  .gm-hero-mock,
  .gm-particles .p,
  .gm-hero-mock .float-heart,
  .gm-hero-mock .float-ring {
    animation: none !important;
  }
}


/* Floating decorative accents */
.gm-hero-mock .float-heart, .gm-hero-mock .float-ring {
  position: absolute;
  color: var(--gm-accent-200);
  opacity: .85;
  filter: drop-shadow(0 4px 16px rgba(201,161,74,0.3));
  animation: float 6s ease-in-out infinite;
}
.gm-hero-mock .float-heart { top: 8%; left: 5%; font-size: 2.5rem; animation-delay: 0s; }
.gm-hero-mock .float-ring  { bottom: 6%; left: 15%; font-size: 3rem; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

/* ============= Trust Strip ============= */
.gm-trust-strip {
  background: var(--gm-ivory);
  padding: 2rem 0;
  margin-top: -1px;
  position: relative;
}
.gm-trust-strip .item {
  display: flex; align-items: center; gap: .7rem;
  color: var(--gm-ink-soft);
  font-weight: 500;
  font-size: .92rem;
}
.gm-trust-strip .item .ico {
  width: 36px; height: 36px;
  background: var(--gm-accent-50);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gm-accent-600);
  font-size: 1.1rem;
}

/* ============= Sections ============= */
.gm-section { padding: 6rem 0; position: relative; }
.gm-section.cream { background: var(--gm-cream); }
.gm-section.dark {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,161,74,0.10) 0%, transparent 50%),
    linear-gradient(135deg, #1A0F12 0%, #2D1418 100%);
  color: #fff;
}
.gm-section.dark h2, .gm-section.dark h3 { color: #fff; }
.gm-section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.gm-section-head h2 {
  font-size: 2.75rem;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.gm-section-head h2 .serif {
  color: var(--gm-primary);
}
.gm-section-head p {
  color: var(--gm-mute);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Ornamental divider */
.gm-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
  margin: 1rem auto;
  max-width: 200px;
  color: var(--gm-accent);
}
.gm-divider::before, .gm-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--gm-accent), transparent);
}

/* ============= Feature Cards ============= */
.gm-feature {
  background: #fff;
  border: 1px solid var(--gm-line-soft);
  border-radius: var(--gm-r-lg);
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.gm-feature::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gm-primary), var(--gm-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.gm-feature:hover {
  transform: translateY(-6px);
  border-color: var(--gm-accent-200);
  box-shadow: var(--gm-shadow-lg);
}
.gm-feature:hover::before { transform: scaleX(1); }
.gm-feature .ico {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gm-primary-50), var(--gm-accent-50));
  border-radius: var(--gm-r);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gm-primary);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all .3s ease;
}
.gm-feature:hover .ico {
  background: linear-gradient(135deg, var(--gm-primary), var(--gm-accent));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.gm-feature h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.gm-feature p { color: var(--gm-mute); font-size: .94rem; margin: 0; line-height: 1.6; }

/* ============= Step Cards ============= */
.gm-step {
  text-align: center;
  position: relative;
}
.gm-step .num {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gm-primary) 0%, var(--gm-primary-700) 100%);
  color: var(--gm-accent-200);
  font-family: var(--gm-serif);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(157,26,65,0.25);
  position: relative;
}
.gm-step .num::after {
  content: '';
  position: absolute; inset: -6px;
  border: 1.5px dashed var(--gm-accent);
  border-radius: 50%;
  opacity: .5;
}
.gm-step h4 { font-size: 1.2rem; margin-bottom: .5rem; }
.gm-step p { color: var(--gm-mute); font-size: .94rem; max-width: 280px; margin: 0 auto; }

/* ============= Story / Profile Card ============= */
.gm-story {
  background: #fff;
  border-radius: var(--gm-r-lg);
  overflow: hidden;
  border: 1px solid var(--gm-line-soft);
  box-shadow: var(--gm-shadow-sm);
  transition: all .3s ease;
}
.gm-story:hover { transform: translateY(-6px); box-shadow: var(--gm-shadow-lg); }
.gm-story .img-wrap {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gm-primary-50) 0%, var(--gm-accent-50) 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.gm-story .img-wrap .couple-mark {
  font-family: var(--gm-serif);
  font-size: 4rem;
  color: var(--gm-primary);
  font-weight: 700;
  letter-spacing: .05em;
}
.gm-story .img-wrap::before {
  content: '❤';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  color: rgba(157,26,65,0.05);
}
.gm-story .img-wrap .ribbon {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gm-accent);
  color: #1A0F12;
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; gap: .3rem;
}
.gm-story .body { padding: 1.5rem; }
.gm-story .body .names {
  font-family: var(--gm-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gm-ink);
}
.gm-story .body .meta {
  color: var(--gm-mute);
  font-size: .85rem;
  margin: .25rem 0 .75rem;
}
.gm-story .body .quote {
  color: var(--gm-ink-soft);
  font-size: .95rem;
  font-style: italic;
  line-height: 1.55;
}

/* ============= Comparison Table ============= */
.gm-compare {
  background: #fff;
  border-radius: var(--gm-r-lg);
  border: 1px solid var(--gm-line);
  overflow: hidden;
  box-shadow: var(--gm-shadow);
}
.gm-compare table { width: 100%; margin: 0; border-collapse: collapse; }
.gm-compare th, .gm-compare td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gm-line-soft);
  font-size: .95rem;
}
.gm-compare thead th {
  background: var(--gm-cream);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gm-compare thead th.us {
  background: linear-gradient(135deg, var(--gm-primary), var(--gm-primary-700));
  color: #fff;
}
.gm-compare tbody tr:last-child td { border-bottom: 0; }
.gm-compare td.us { background: var(--gm-primary-50); font-weight: 600; color: var(--gm-primary); }
.gm-compare .yes { color: #18794E; font-weight: 600; }
.gm-compare .no  { color: #B42318; }

/* ============= Pricing ============= */
.gm-price {
  background: #fff;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-r-lg);
  padding: 2.25rem 1.5rem;
  height: 100%;
  position: relative;
  transition: all .3s ease;
  text-align: center;
}
.gm-price:hover { transform: translateY(-5px); box-shadow: var(--gm-shadow-lg); border-color: var(--gm-accent-200); }
.gm-price.popular {
  border: 2px solid var(--gm-accent);
  background: linear-gradient(180deg, #fff 0%, var(--gm-accent-50) 100%);
  transform: scale(1.04);
  box-shadow: var(--gm-shadow-lg);
}
.gm-price .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gm-primary), var(--gm-primary-700));
  color: #fff;
  padding: .3rem 1rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.gm-price h4 {
  font-family: var(--gm-serif);
  font-size: 1.6rem;
  margin-bottom: .25rem;
  color: var(--gm-primary);
}
.gm-price .price {
  font-family: var(--gm-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gm-ink);
  line-height: 1;
  margin: .75rem 0 .25rem;
}
.gm-price .price .currency { font-size: 1.4rem; vertical-align: top; color: var(--gm-mute); }
.gm-price .period { color: var(--gm-mute); font-size: .82rem; margin-bottom: 1.25rem; }
.gm-price ul { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; }
.gm-price ul li {
  padding: .45rem 0;
  font-size: .9rem;
  color: var(--gm-ink-soft);
  display: flex; align-items: flex-start; gap: .5rem;
}
.gm-price ul li i { color: var(--gm-accent-600); margin-top: 3px; }

/* ============= Form Controls ============= */
.form-label {
  font-weight: 500;
  color: var(--gm-ink);
  margin-bottom: .4rem;
  font-size: .85rem;
  letter-spacing: .01em;
}
.form-control, .form-select {
  border-radius: var(--gm-r-sm);
  border: 1.5px solid var(--gm-line);
  padding: .7rem 1rem;
  font-size: .95rem;
  background: #fff;
  transition: all .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gm-primary);
  box-shadow: 0 0 0 4px rgba(157,26,65,0.10);
  outline: none;
}

/* ============= Search Card (Hero overlay) ============= */
.gm-search-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-radius: var(--gm-r-lg);
  box-shadow: var(--gm-shadow-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,0.5);
}
.gm-search-card .label-row {
  display: flex; align-items: center; gap: .5rem;
  color: var(--gm-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--gm-serif);
  font-size: 1.25rem;
}

/* ============= Footer ============= */
.gm-footer {
  background: linear-gradient(180deg, #1A0F12 0%, #0F080A 100%);
  color: rgba(255,255,255,0.72);
  padding: 4rem 0 1.5rem;
  position: relative;
}
.gm-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gm-accent), transparent);
}
.gm-footer h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}
.gm-footer .brand-foot {
  font-family: var(--gm-serif);
  font-size: 1.7rem;
  color: #fff;
  font-weight: 700;
}
.gm-footer .brand-foot .accent { color: var(--gm-accent); }
.gm-footer a { color: rgba(255,255,255,0.72); transition: color .2s; }
.gm-footer a:hover { color: var(--gm-accent); }
.gm-footer ul { list-style: none; padding: 0; }
.gm-footer ul li { padding: .25rem 0; font-size: .9rem; }
.gm-footer .social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  margin-right: .5rem;
  transition: all .2s ease;
}
.gm-footer .social a:hover { background: var(--gm-accent); color: #1A0F12; transform: translateY(-2px); }
.gm-footer .copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  margin-top: 3rem;
  font-size: .82rem;
  color: rgba(255,255,255,0.5);

  /* Two-rail layout: copyright/credit on the left, policy links on the right.
     Stacks on mobile via flex-wrap. */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.gm-footer .copy .copy-left  { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.gm-footer .copy .copy-right { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.gm-footer .copy .copy-right a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .15s;
}
.gm-footer .copy .copy-right a:hover { color: var(--gm-accent, #d4a64a); }
.gm-footer .copy .heart {
  color: #ff5b7f;
  font-size: 12px;
  animation: gmHeartbeat 1.6s ease-in-out infinite;
  margin: 0 2px;
}
@keyframes gmHeartbeat {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.22); }
  60%      { transform: scale(0.95); }
}
.gm-footer .copy .credit-link {
  color: var(--gm-accent, #d4a64a);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.gm-footer .copy .credit-link:hover { color: #f0c470; text-decoration: underline; }

@media (max-width: 768px) {
  .gm-footer .copy { justify-content: center; text-align: center; }
  .gm-footer .copy .copy-left,
  .gm-footer .copy .copy-right { justify-content: center; }
}

/* ============= Auth Pages ============= */
.gm-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201,161,74,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(157,26,65,0.10) 0%, transparent 50%),
    var(--gm-ivory);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
  position: relative;
}
.gm-auth-page::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23C9A14A' stroke-width='0.5' opacity='0.10'><circle cx='150' cy='150' r='140'/><circle cx='150' cy='150' r='110'/><circle cx='150' cy='150' r='80'/><circle cx='150' cy='150' r='50'/></g></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 600px;
  pointer-events: none;
}
.gm-auth-card {
  background: #fff;
  border-radius: var(--gm-r-lg);
  box-shadow: var(--gm-shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.75rem;
  position: relative;
  z-index: 2;
  border: 1px solid var(--gm-line-soft);
}
.gm-auth-card .brand-mark {
  text-align: center; margin-bottom: 1.75rem;
}
.gm-auth-card .brand-mark .circle {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gm-primary), var(--gm-accent));
  border-radius: 50%;
  margin: 0 auto .75rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-family: var(--gm-serif); font-size: 2rem;
  box-shadow: 0 10px 30px rgba(157,26,65,0.30);
}
.gm-auth-card .brand-mark .name {
  font-family: var(--gm-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gm-primary);
}
.gm-auth-card .brand-mark .name .accent { color: var(--gm-accent-600); }
.gm-auth-card h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: .35rem;
  font-family: var(--gm-serif);
  font-weight: 700;
}
.gm-auth-card .subtitle {
  text-align: center;
  color: var(--gm-mute);
  font-size: .92rem;
  margin-bottom: 1.75rem;
}
.gm-auth-card .input-group-text { background: #fff; border-color: var(--gm-line); color: var(--gm-mute); }
.gm-auth-card .input-group .form-control { border-left: 0; }

/* ============= Auth Progress Stepper ============= */
.auth-progress {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  margin: 0 0 1.5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.auth-progress .step {
  color: var(--gm-mute);
  padding: .35rem .65rem;
  border-radius: 999px;
  background: var(--gm-line-soft);
  white-space: nowrap;
}
.auth-progress .step.active {
  background: var(--gm-primary);
  color: #fff;
}
.auth-progress .step.done {
  background: var(--gm-accent-50);
  color: var(--gm-accent-600);
}
.auth-progress .step.done::before {
  content: '\F26B';  /* bi-check */
  font-family: 'bootstrap-icons';
  margin-right: .25rem;
}
.auth-progress .dash {
  width: 18px; height: 1.5px;
  background: var(--gm-line);
  border-radius: 1px;
}

/* ============= Gender Pills ============= */
.gender-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.gender-pills input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gender-pill {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem;
  background: #fff;
  border: 1.5px solid var(--gm-line);
  border-radius: var(--gm-r-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: .95rem;
  color: var(--gm-ink-soft);
  transition: all .18s ease;
  user-select: none;
}
.gender-pill i { font-size: 1.15rem; color: var(--gm-mute); }
.gender-pill:hover {
  border-color: var(--gm-primary);
  background: var(--gm-primary-50);
}
.gender-pills input[type="radio"]:checked + .gender-pill {
  background: var(--gm-primary-50);
  border-color: var(--gm-primary);
  color: var(--gm-primary);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(157,26,65,0.08);
}
.gender-pills input[type="radio"]:checked + .gender-pill i {
  color: var(--gm-primary);
}

/* ============= OTP 6-Box Input ============= */
.otp-boxes {
  display: flex;
  gap: .65rem;
  justify-content: center;
  margin-top: .25rem;
}
.otp-box {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--gm-serif);
  border: 1.5px solid var(--gm-line);
  border-radius: var(--gm-r-sm);
  background: #fff;
  color: var(--gm-primary);
  transition: all .18s ease;
}
.otp-box:focus {
  outline: none;
  border-color: var(--gm-primary);
  box-shadow: 0 0 0 4px rgba(157,26,65,0.10);
}

@media (max-width: 480px) {
  .otp-box { width: 44px; height: 52px; font-size: 1.35rem; gap: .45rem; }
}

/* ============= Utilities ============= */
.bg-cream { background: var(--gm-cream); }
.bg-ivory { background: var(--gm-ivory); }
.shadow-gm { box-shadow: var(--gm-shadow); }
.shadow-gm-lg { box-shadow: var(--gm-shadow-lg); }
.rounded-gm { border-radius: var(--gm-r); }
.rounded-gm-lg { border-radius: var(--gm-r-lg); }

/* Animations on scroll (no library) */
.reveal { opacity: 0; transform: translateY(20px); transition: all .8s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============= Responsive ============= */
@media (max-width: 992px) {
  .gm-hero { padding: 4rem 0 5rem; }
  .gm-hero h1 { font-size: 3rem; }
  .gm-hero-mock { min-height: auto; margin-top: 2.5rem; height: 560px; }
  .gm-profile-mock { width: 200px; }
  .gm-profile-mock.m1 { top: 0; right: auto; left: 0; }
  .gm-profile-mock.m2 { top: 4rem; right: 0; left: auto; }
  .gm-profile-mock.m3 { top: 12rem; right: auto; left: 4rem; }
  .gm-thought-card { width: 250px; }
  .gm-thought-card.t1 { top: 0;    right: auto; left: 0; }
  .gm-thought-card.t2 { top: 8rem; right: 0;    left: auto; }
  .gm-thought-card.t3 { top: 16rem; right: auto; left: 3rem; }
  .gm-section { padding: 4rem 0; }
  .gm-section-head h2 { font-size: 2.1rem; }
  .gm-price.popular { transform: none; }
}
@media (max-width: 576px) {
  .gm-hero h1 { font-size: 2.4rem; }
  .gm-hero-stats { gap: 1.25rem; }
  .gm-hero-stats .stat .num { font-size: 1.8rem; }
  .gm-hero-mock { height: 380px; }
  .gm-profile-mock { width: 170px; }
  .gm-profile-mock .ph { height: 160px; font-size: 3rem; }
  .gm-thought-card { width: 220px; }
  .gm-thought-card .kn-head { font-size: 1.3rem; }
  .gm-thought-card .icon-band { height: 70px; }
  .gm-auth-card { padding: 1.75rem; }
  .gm-section-head h2 { font-size: 1.8rem; }
}

/* =================================================================
   Toastr overrides — keep toasts below sticky navbar, brand-aligned colors,
   readable contrast, comfortable width.
   ================================================================= */
#toast-container { z-index: 1100; }            /* navbar is z-index:1000 */
#toast-container.toast-top-right   { top: 84px; right: 16px; }
#toast-container.toast-top-left    { top: 84px; left: 16px; }
#toast-container.toast-top-center  { top: 84px; }
#toast-container.toast-top-full-width { top: 72px; }

#toast-container > div {
  opacity: 1;                                  /* full opacity, no semi-transparent */
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 14px 18px 14px 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(45, 12, 22, .18);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
#toast-container > .toast-success { background-color: #1f7a3a; color: #fff; }   /* deeper green */
#toast-container > .toast-warning {                                              /* classic yellow + dark text */
  background-color: #fbbf24;
  color: #2b1c20;
  border-left: 4px solid #b45309;
}
#toast-container > .toast-error   { background-color: #9D1A41; color: #fff; }   /* brand maroon */
#toast-container > .toast-info    { background-color: #1f5e7a; color: #fff; }
.toast-progress { background-color: rgba(255, 255, 255, .35); }
#toast-container > .toast-warning .toast-progress { background-color: rgba(0, 0, 0, .25); }
.toast-close-button { color: #fff; opacity: .9; text-shadow: none; }
#toast-container > .toast-warning .toast-close-button { color: #2b1c20; }

/* On small screens, full-width below navbar */
@media (max-width: 575.98px) {
  #toast-container.toast-top-right,
  #toast-container.toast-top-left,
  #toast-container.toast-top-center { top: 70px; right: 8px; left: 8px; width: auto; }
  #toast-container > div { width: auto; }
}


/* =================================================================
   Legal / policy pages (Privacy, Terms, Refund)
   ================================================================= */
.gm-legal { padding: 40px 0 80px; background: #faf7f4; min-height: 70vh; }
.gm-legal .legal-card {
  background: #fff; border-radius: 14px; padding: 36px 42px; max-width: 900px;
  margin: 0 auto; box-shadow: 0 4px 20px rgba(139, 21, 56, .06); border: 1px solid #efe4dc;
}
.gm-legal h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; color: #2b1c20;
  font-size: 2.2rem; margin-bottom: 4px;
}
.gm-legal .updated { color: #8d7868; font-size: 13px; margin-bottom: 8px; }
.gm-legal .disclaimer {
  background: #fff7ed; border-left: 4px solid #fbbf24; padding: 10px 14px;
  border-radius: 8px; font-size: 12.5px; color: #6b5b54; margin: 16px 0 26px;
}
.gm-legal h2 {
  font-family: 'Poppins', sans-serif; font-weight: 700; color: #8B1538;
  font-size: 1.15rem; margin: 26px 0 8px; padding-top: 6px;
}
.gm-legal p, .gm-legal li { color: #3a2c2c; font-size: 14.5px; line-height: 1.7; }
.gm-legal ul { padding-left: 20px; margin-bottom: 10px; }
.gm-legal li { margin-bottom: 5px; }
.gm-legal a { color: #8B1538; }
.gm-legal .ph { background: #f7e5dd; padding: 0 4px; border-radius: 3px; color: #8B1538; font-weight: 600; }
.gm-legal .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.gm-legal .toc a {
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  background: #faf2ee; border: 1px solid #e0d3cc; text-decoration: none; color: #6b5b54;
}
.gm-legal .toc a:hover { background: #8B1538; color: #fff; }
@media (max-width: 600px) { .gm-legal .legal-card { padding: 24px 20px; } }

/* =================================================================
   Ganiga Assistant — floating rule-based FAQ chatbot
   ================================================================= */
/* Collapsed by default = circular icon button.
   On hover (or keyboard focus) the label slides out to the left.
   A gentle pulsing ring + heartbeat draw attention until the user engages. */
.gm-bot-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  display: inline-flex; align-items: center; gap: 0;
  background: #8B1538; color: #fff; border: none; cursor: pointer;
  padding: 8px; border-radius: 999px;
  /* Inset 2px white ring + soft drop shadow — keeps the button visible on
     both the light cream backgrounds and the dark maroon hero. */
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9),
              0 10px 26px rgba(0, 0, 0, .35);
  font-family: 'Poppins', sans-serif;
  transition: gap .2s ease, padding .2s ease, box-shadow .15s;
  animation: gmBotHeartbeat 3s ease-in-out infinite;
}

/* Pulsing ring — brand gold so it pops on light AND dark backgrounds. */
.gm-bot-launcher::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(212, 166, 74, .85);
  animation: gmBotPulse 1.8s ease-out infinite;
  pointer-events: none;
}
/* Stop the animations once the user is engaged (hover/focus/open). */
.gm-bot-launcher:hover,
.gm-bot-launcher:focus-visible,
.gm-bot-launcher.is-open { animation: none; }
.gm-bot-launcher:hover::before,
.gm-bot-launcher:focus-visible::before,
.gm-bot-launcher.is-open::before { animation: none; box-shadow: none; }

@keyframes gmBotPulse {
  0%   { box-shadow: 0 0 0 0    rgba(212, 166, 74, .85); }
  70%  { box-shadow: 0 0 0 22px rgba(212, 166, 74, 0); }
  100% { box-shadow: 0 0 0 0    rgba(212, 166, 74, 0); }
}
@keyframes gmBotHeartbeat {
  0%, 60%, 100% { transform: scale(1); }
  10%           { transform: scale(1.06); }
  20%           { transform: scale(1); }
  30%           { transform: scale(1.04); }
  40%           { transform: scale(1); }
}

/* Respect users who've asked the OS to minimise motion. */
@media (prefers-reduced-motion: reduce) {
  .gm-bot-launcher, .gm-bot-launcher::before { animation: none !important; }
}
.gm-bot-launcher:hover,
.gm-bot-launcher:focus-visible {
  gap: 10px; padding: 8px 16px 8px 8px; outline: none;
  box-shadow: 0 12px 30px rgba(139, 21, 56, .45);
}
.gm-bot-launcher .ic {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #8B1538;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.gm-bot-launcher .lbl {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  text-align: left; line-height: 1.15;
  transition: max-width .25s ease, opacity .2s ease;
}
.gm-bot-launcher:hover .lbl,
.gm-bot-launcher:focus-visible .lbl { max-width: 280px; opacity: 1; }
.gm-bot-launcher .lbl .t { font-size: 13px; font-weight: 700; display: block; }
.gm-bot-launcher .lbl .s { font-size: 10px; opacity: .85; display: block; }
.gm-bot-launcher.is-open { display: none; }

.gm-bot-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 1201;
  width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 90px);
  background: #fff; border-radius: 16px; overflow: hidden; display: none; flex-direction: column;
  box-shadow: 0 18px 50px rgba(45, 12, 22, .28); border: 1px solid #e8ddd5;
}
.gm-bot-panel.is-open { display: flex; animation: gmBotIn .22s ease; }
@keyframes gmBotIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.gm-bot-head {
  background: linear-gradient(135deg, #8B1538, #6f1029); color: #fff;
  padding: 14px 16px; display: flex; align-items: center; gap: 10px;
}
.gm-bot-head .ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #8B1538;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.gm-bot-head .nm { flex: 1; }
.gm-bot-head .nm .t { font-weight: 700; font-size: 14px; }
.gm-bot-head .nm .s { font-size: 11px; opacity: .9; }
.gm-bot-head .x { background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: .9; }
.gm-bot-head .x:hover { opacity: 1; }

.gm-bot-body { flex: 1; overflow-y: auto; padding: 16px; background: #faf7f4; }
.gm-bot-msg { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; margin-bottom: 10px; }
.gm-bot-msg.bot  { background: #fff; border: 1px solid #ece0d8; color: #2b1c20; border-bottom-left-radius: 4px; margin-right: auto; }
.gm-bot-msg.user { background: #8B1538; color: #fff; border-bottom-right-radius: 4px; margin-left: auto; }
.gm-bot-msg a { color: #8B1538; font-weight: 600; }
.gm-bot-msg.user a { color: #fff; text-decoration: underline; }

.gm-bot-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid #efe4dc; background: #fff; }
.gm-bot-chips button {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: #faf2ee; border: 1px solid #e0d3cc; color: #8B1538; cursor: pointer;
  transition: background .12s, color .12s;
}
.gm-bot-chips button:hover { background: #8B1538; color: #fff; }

/* Ganiga Assistant — free-text input bar */
.gm-bot-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #efe4dc; background: #fff; }
.gm-bot-input input {
  flex: 1; border: 1px solid #e0d3cc; border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-family: 'Poppins', sans-serif; outline: none;
}
.gm-bot-input input:focus { border-color: #8B1538; }
.gm-bot-input button {
  width: 38px; height: 38px; border-radius: 50%; border: none; background: #8B1538; color: #fff;
  font-size: 16px; cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
}
.gm-bot-input button:hover { background: #6f1029; }
.gm-bot-chips { max-height: 120px; overflow-y: auto; }
