/* =============================================
   YourCallMemo – Marketing Site Styles
   Color Palette: Navy Blue · White · Golden Yellow
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── CSS Variables ───────────────────────────── */
:root {
  --navy:       #0B1F3A;
  --navy-mid:   #122848;
  --navy-light: #1C3A5F;
  --blue:       #1A5EBF;
  --blue-light: #2979E8;
  --gold:       #F5C518;
  --gold-light: #FFD85C;
  --gold-dark:  #D4A800;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-100:   #EEF2F7;
  --gray-200:   #D8E2EE;
  --gray-500:   #7A8FA8;
  --gray-700:   #3D5168;
  --text-dark:  #0B1F3A;
  --text-body:  #3D5168;

  --sidebar-w:  270px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;
  --shadow-sm:  0 2px 12px rgba(11,31,58,.08);
  --shadow-md:  0 8px 32px rgba(11,31,58,.14);
  --shadow-lg:  0 20px 60px rgba(11,31,58,.20);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset & Base ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  overflow: hidden;          /* prevent page-level scroll */
  height: 100vh;
  display: flex;
}

/* ─── Layout Shell ────────────────────────────── */
.shell {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ─── SIDEBAR (fixed left) ────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100vh;
  background: rgba(247,249,252,.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
  box-shadow: 1px 0 12px rgba(0,0,0,.03);
}

/* Decorative background shapes */
.sidebar::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(26,94,191,.04) 0%, transparent 70%);
  pointer-events: none;
}
.sidebar::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(26,94,191,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Brand / Logo area */
.sidebar-brand {
  padding: 32px 24px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.brand-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(245,197,24,.4);
  flex-shrink: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: .3px;
}

.brand-tagline {
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Navigation */
.sidebar-nav {
  flex: 1;
  padding: 20px 16px;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 0 8px;
  margin: 16px 0 8px;
}
.nav-section-label:first-child { margin-top: 0; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--gray-700);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 2px;
  position: relative;
}

.nav-item:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(26,94,191,.08) 0%, rgba(26,94,191,.02) 100%);
  color: var(--blue);
  border-left: 3px solid var(--blue);
  padding-left: 11px;
}

.nav-item .nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
}

/* Social / Footer */
.sidebar-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-200);
}

.sidebar-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: rgba(26,94,191,.08);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.sidebar-copy {
  font-size: 10px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── MAIN SCROLL AREA ────────────────────────── */
.main-scroll {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}

.main-scroll::-webkit-scrollbar { width: 6px; }
.main-scroll::-webkit-scrollbar-track { background: transparent; }
.main-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 10px;
}

/* ─── TOP NAV BAR ────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,249,252,.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(245,197,24,.4);
  border: none;
}

.topbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,197,24,.5);
}

/* ─── PAGE CONTENT WRAPPER ────────────────────── */
.page-content {
  padding-bottom: 80px;
}

/* ─── SECTION BASE ────────────────────────────── */
section {
  padding: 80px 48px;
}

section.alt-bg {
  background: var(--white);
}

/* ─── SECTION HEADER ──────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(26,94,191,.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-eyebrow.gold {
  color: var(--gold-dark);
  background: rgba(245,197,24,.12);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── HERO SECTION ────────────────────────────── */
#home {
  padding: 0;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3f70 100%);
  z-index: 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245,197,24,.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(26,94,191,.25) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(245,197,24,.08) 0%, transparent 35%);
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px 60px;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease forwards;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.6); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp .8s .1s ease both;
}

.hero-title span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeInUp .8s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp .8s .3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(245,197,24,.45);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(245,197,24,.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-3px);
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  padding: 0 48px 60px;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  max-width: 760px;
  width: 100%;
}

.hero-img {
  width: 100%;
  border-radius: 150px 24px 150px 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  display: block;
  object-fit: cover;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-img {
    border-radius: 80px 16px 80px 16px;
  }
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.hero-float-card.card-1 {
  top: -20px; left: -20px;
  animation: floatCard 3s ease-in-out infinite;
}

.hero-float-card.card-2 {
  bottom: 30px; right: -20px;
  animation: floatCard 3s .8s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.float-label { font-size: 11px; font-weight: 600; }
.float-value { font-size: 18px; font-weight: 800; }

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 48px;
}

.hero-stat {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right: none; }

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .5px;
}

/* ─── FEATURES (Products) ─────────────────────── */
#products {
  background: var(--off-white);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--navy);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.product-card-badge.new {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
}

.product-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.product-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(245,197,24,.15);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  align-self: flex-start;
}

.btn-card.blue {
  background: var(--navy);
  color: var(--white);
}
.btn-card.blue:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,94,191,.35);
}

.btn-card.gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
}
.btn-card.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,197,24,.4);
}

/* ─── HOW IT WORKS ────────────────────────────── */
#how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 10px);
  right: calc(16.67% + 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue-light) 100%);
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(11,31,58,.2);
  transition: var(--transition);
}

.step-card:hover .step-number {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  transform: scale(1.1);
}

.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ─── NEW PRODUCT SPOTLIGHT (E-Card) ─────────── */
#ecard {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #163060 100%);
  position: relative;
  overflow: hidden;
}

#ecard::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,.15) 0%, transparent 65%);
  pointer-events: none;
}

#ecard::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,94,191,.2) 0%, transparent 65%);
  pointer-events: none;
}

.ecard-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ecard-text .section-eyebrow { color: var(--gold); background: rgba(245,197,24,.12); }
.ecard-text .section-title { color: var(--white); text-align: left; }
.ecard-text .section-subtitle { color: rgba(255,255,255,.65); text-align: left; margin: 0; }

.ecard-features {
  list-style: none;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ecard-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.6;
}

.ecard-feat-icon {
  width: 36px; height: 36px;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ecard-img-wrap {
  position: relative;
}

.ecard-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  display: block;
}

.ecard-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(245,197,24,.2) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── TESTIMONIALS ────────────────────────────── */
#testimonials {
  background: var(--off-white);
}

/* "Add Review" button beneath the heading */
.testimonials-header-action {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.btn-add-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(245,197,24,.45);
  letter-spacing: .3px;
}

.btn-add-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245,197,24,.55);
}

/* Carousel outer wrapper – positions the nav buttons on the sides */
.testimonials-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

/* The sliding container */
.testimonials-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 260px; /* prevent height collapse during transition */
}

/* Each page hides/shows with a fade */
.testimonials-page {
  display: none;
  animation: testimonialFadeIn .35s ease forwards;
}

.testimonials-page.active {
  display: block;
}

@keyframes testimonialFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Nav arrow buttons */
.testimonial-nav-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.testimonial-nav-btn:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.testimonial-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Pagination dots */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--navy);
  transform: scale(1.3);
}

.testimonial-dot:hover:not(.active) {
  background: var(--gray-500);
}

/* ─── Individual Testimonial Cards ─────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  font-size: 14px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  font-style: italic;
  flex: 1;
}

.testimonial-text::before { content: '"'; }
.testimonial-text::after { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.author-event {
  font-size: 11px;
  color: var(--gray-500);
}

/* ─── Review Modal ───────────────────────────── */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,31,58,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.review-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.review-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 44px 40px 40px;
  transform: translateY(20px) scale(.97);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.review-modal-overlay.active .review-modal {
  transform: translateY(0) scale(1);
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.review-modal-close:hover {
  background: var(--gray-200);
  color: var(--navy);
}

.review-modal-header {
  margin-bottom: 28px;
}

.review-modal-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 6px 0 8px;
}

.review-modal-header p {
  font-size: 13px;
  color: var(--gray-500);
}

.review-modal-body {
  /* form lives here */
}

/* ─── Review Form ─────────────────────────────── */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.review-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.review-required {
  color: #e74c3c;
  margin-left: 2px;
}

/* Icon-prefixed input wrapper */
.review-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.review-input-icon {
  position: absolute;
  left: 13px;
  font-size: 15px;
  pointer-events: none;
  line-height: 1;
}

.review-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px 11px 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: var(--navy);
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.review-input::placeholder {
  color: var(--gray-500);
  opacity: 0.7;
}

.review-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,94,191,.12);
}

/* Select arrow */
.review-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8FA8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Star Rating Picker */
.review-star-picker {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.review-star-btn {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-200);
  transition: color .15s ease, transform .15s ease;
  padding: 0;
}

.review-star-btn:hover,
.review-star-btn.active {
  color: var(--gold);
}

.review-star-btn:hover {
  transform: scale(1.15);
}

/* Textarea */
.review-textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: var(--navy);
  outline: none;
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
  transition: var(--transition);
}

.review-textarea::placeholder {
  color: var(--gray-500);
  opacity: 0.7;
}

.review-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,94,191,.12);
}

.review-char-count {
  font-size: 11.5px;
  color: var(--gray-500);
  text-align: right;
  margin-top: 4px;
}

/* Submit button */
.review-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(11,31,58,.22);
  margin-top: 4px;
  letter-spacing: .3px;
}

.review-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,31,58,.30);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
}

.review-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Alert notifications inside review modal */
.review-form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn .25s ease both;
}

.review-form-alert.hidden {
  display: none !important;
}

.review-form-alert.success {
  background: #eafaf1;
  color: #1b7a43;
  border: 1px solid #b7ebd0;
}

.review-form-alert.error {
  background: #fdf2f2;
  color: #c81e1e;
  border: 1px solid #f8b4b4;
}


/* ─── PRICING ─────────────────────────────────── */
#pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gray-100);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,197,24,.15);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-header {
  padding: 28px;
  background: var(--off-white);
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-card.featured .pricing-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.pricing-plan {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-plan { color: var(--gold); }

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.pricing-card.featured .pricing-price { color: var(--white); }

.pricing-price sup {
  font-size: 20px;
  font-weight: 700;
  vertical-align: top;
  margin-top: 8px;
}

.pricing-period {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

.pricing-card.featured .pricing-period { color: rgba(255,255,255,.6); }

.pricing-body {
  padding: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
}

.pricing-features li .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(245,197,24,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--gold-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-features li .x-mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--gray-500);
  flex-shrink: 0;
}

.pricing-features li.dimmed { color: var(--gray-500); }

.btn-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.btn-pricing.outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-pricing.outline:hover {
  background: var(--navy);
  color: white;
}

.btn-pricing.filled {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(245,197,24,.4);
}
.btn-pricing.filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245,197,24,.5);
}

.featured-badge {
  text-align: center;
  padding: 8px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── GALLERY / MOMENTS ───────────────────────── */
#moments {
  background: var(--off-white);
  padding: 60px 48px;
}

.moments-card {
  background: var(--white);
  border-radius: var(--radius-lg, 20px);
  padding: 56px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-200);
}

/* ── All-embed moments grid: 3 columns, uniform card sizes ── */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.moment-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--white);
}

/* Remove legacy first-child span since grid is now uniform */
.moment-item:first-child {
  grid-row: auto;
  aspect-ratio: auto;
}

.moment-item.moment-embed-item {
  background: var(--white);
  border-radius: var(--radius-md);
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 100%;
  min-height: 740px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.moment-item.moment-embed-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.moment-item.moment-embed-item .embed-wrap {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.moment-item.moment-embed-item iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 710px !important;
  border: none !important;
}

.moment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,31,58,.85) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.moment-item:hover .moment-overlay { opacity: 1; }

.moment-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(245,197,24,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--navy);
  opacity: 0;
  transition: var(--transition);
}

.moment-item:hover .moment-play { opacity: 1; }

.moment-caption {
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.moment-sub {
  color: rgba(255,255,255,.6);
  font-size: 11px;
  margin-top: 2px;
}

.moment-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}

.moment-placeholder-icon { font-size: 32px; }

/* ─── CTA SECTION ─────────────────────────────── */
#contact {
  background: linear-gradient(135deg, var(--gold) 0%, #f0b800 40%, #e8a800 100%);
  text-align: center;
  padding: 80px 48px;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(11,31,58,.7);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.cta-input::placeholder { color: var(--gray-500); }
.cta-input:focus {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.cta-btn {
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--navy);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}
.cta-btn:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.cta-whatsapp-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.cta-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.cta-whatsapp-btn:hover {
  background: #20BA5A;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

/* ─── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 48px 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ─── Animations ──────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid,
  .testimonials-grid,
  .pricing-grid,
  .ecard-inner { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .moments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat { border-right: none; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { display: none; }
  .main-scroll { width: 100%; }
  section { padding: 60px 24px; }
  #contact { padding: 60px 24px; }
  .hero-content { padding: 60px 24px 40px; }
  .hero-image-wrap { padding: 0 24px 40px; }
  .hero-stats { padding: 20px 24px; }
  .topbar { padding: 0 20px; }
  .moments-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .moments-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Dedicated Login Page Styles
   ============================================= */
.login-body {
  background: var(--off-white);
  color: var(--text-body);
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  display: flex;
  width: 100%;
}

.login-container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Left Split: Brand Banner */
.login-brand-panel {
  flex: 1.1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #081526 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: var(--white);
  box-shadow: 4px 0 32px rgba(11,31,58,.15);
  z-index: 10;
}

.login-brand-glow-1 {
  position: absolute;
  top: -120px; left: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,.15) 0%, transparent 70%);
  pointer-events: none;
}

.login-brand-glow-2 {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(26,94,191,.28) 0%, transparent 70%);
  pointer-events: none;
}

.login-brand-header {
  position: relative;
  z-index: 2;
}

.login-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.login-brand-logo .logo-emoji {
  font-size: 26px;
}

.login-brand-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.login-brand-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: auto 0;
}

.login-brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}

.login-brand-title span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-brand-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}

.login-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.login-benefits li:hover .benefit-icon {
  transform: translateY(-2px);
  background: rgba(245, 197, 24, 0.15);
  border-color: var(--gold);
}

.login-benefits li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.login-benefits li p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.login-brand-footer {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Right Split: Forms Panel */
.login-form-panel {
  flex: 0.9;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px;
  overflow-y: auto;
}

.login-card-wrap {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-back-btn {
  align-self: flex-start;
}

.login-back-btn a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
}

.login-back-btn a:hover {
  color: var(--blue);
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

/* Custom Tabs */
.login-tabs {
  display: flex;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
}

.login-tab {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--gray-700);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.login-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(11,31,58,.06);
}

.form-title-area {
  margin-bottom: 24px;
}

.form-title-area h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-title-area p {
  font-size: 13px;
  color: var(--gray-500);
}

/* Inputs */
.form-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.hidden {
  display: none !important;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-pass-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.forgot-pass-link:hover {
  text-decoration: underline;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  pointer-events: none;
  color: var(--gray-500);
}

.input-wrapper input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 42px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--navy);
  outline: none;
  transition: var(--transition);
}

.input-wrapper input::placeholder {
  color: var(--gray-500);
  opacity: 0.65;
}

.input-wrapper input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,94,191,.15);
}

.password-toggle {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 2px;
  outline: none;
}

/* Checkbox Custom styling */
.form-options {
  margin-bottom: 24px;
}

.checkbox-container {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0; width: 0;
}

.checkbox-checkmark {
  position: absolute;
  left: 0;
  height: 18px; width: 18px;
  background-color: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 4px;
  transition: var(--transition);
}

.checkbox-container:hover input ~ .checkbox-checkmark {
  border-color: var(--blue);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
  background-color: var(--blue);
  border-color: var(--blue);
}

.checkbox-checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkbox-checkmark::after {
  display: block;
}

/* Submit Button & Spinner */
.auth-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(26,94,191,.25);
}

.auth-submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,94,191,.35);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: auth-spin 0.8s linear infinite;
}

.btn-spinner.hidden {
  display: none;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

/* Errors & Alert Box */
.field-error {
  font-size: 11.5px;
  font-weight: 600;
  color: #c0392b;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  animation: fadeInDown 0.3s ease;
}

.form-alert.success {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.form-alert.error {
  background: rgba(192, 57, 43, 0.15);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.25);
}

.form-alert.hidden {
  display: none;
}

/* Divider & Social Login */
.auth-divider {
  text-align: center;
  position: relative;
  margin: 24px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: var(--gray-200);
  z-index: 1;
}

.auth-divider span {
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 0 12px;
  font-size: 12px;
  color: var(--gray-500);
}

.social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-social:hover {
  background: var(--gray-100);
}

.social-icon {
  flex-shrink: 0;
}

.auth-toggle-footer {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.auth-toggle-footer a {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  margin-left: 4px;
}

.auth-toggle-footer a:hover {
  text-decoration: underline;
}

/* Media Query: Split layouts collapse on tablets/mobiles */
@media (max-width: 900px) {
  .login-brand-panel {
    display: none;
  }
  .login-form-panel {
    flex: 1;
    padding: 32px 20px;
  }
  .login-card {
    padding: 32px 24px;
  }
}


/* =============================================
   E-Card Templates Showcase Styles
   ============================================= */

/* Grids */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

/* Template Card */
.template-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.template-card-img {
  height: 380px; /* tall layout for vertical cards */
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}

.template-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.template-card:hover .template-card-img img {
  transform: scale(1.05);
}

.template-badge-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.template-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.template-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.template-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.template-footer {
  margin-top: auto;
}

.template-footer .btn-card {
  width: 100%;
  justify-content: center;
}

/* Templates Section Actions */
.templates-action {
  text-align: center;
  margin-top: 40px;
}

/* Category Filter Tabs (for templates.html) */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--gray-100);
  color: var(--navy);
  border-color: var(--gray-500);
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(11,31,58,0.15);
}

/* Responsive adjustment for templates */
@media (max-width: 768px) {
  .templates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
  .template-card-img {
    height: 280px;
  }
}
