/* ============================================================
   WeddingSync – Main Stylesheet
   Premium Wedding Guest Management Platform
   ============================================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  --rose-gold:   #C9956C;
  --burgundy:    #6B2737;
  --burgundy-dark: #4A1B26;
  --cream:       #FFF8F0;
  --blush:       #F4C2C2;
  --gold:        #D4AF37;
  --gold-light:  #E8C84A;
  --charcoal:    #2C2C2C;
  --charcoal-light: #4A4A4A;
  --white:       #FFFFFF;
  --gray-100:    #F9F5F1;
  --gray-200:    #EDE8E3;
  --gray-300:    #D4CCC5;
  --gray-400:    #A09890;
  --gray-500:    #706860;

  --success:     #2D7A4F;
  --warning:     #B8860B;
  --danger:      #8B1A2A;
  --info:        #2B5D7A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:   0 2px 8px rgba(107,39,55,.08);
  --shadow-md:   0 6px 24px rgba(107,39,55,.14);
  --shadow-lg:   0 16px 48px rgba(107,39,55,.18);
  --shadow-xl:   0 24px 64px rgba(107,39,55,.22);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);

  --sidebar-w:   260px;
  --header-h:    70px;
}

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

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 85px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--blush); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--rose-gold); }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--charcoal-light); }

.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.text-burgundy{ color: var(--burgundy); }
.text-rose    { color: var(--rose-gold); }

/* ---------- Section Utility ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 56px 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-gold); background: rgba(201,149,108,.12);
  padding: 6px 16px; border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 600px; margin: 0 auto 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  transition: var(--transition); cursor: pointer;
  white-space: nowrap; border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--burgundy), #9B3D50);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(107,39,55,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(107,39,55,.45);
  background: linear-gradient(135deg, #7D2D40, #B0475A);
}
.btn-secondary {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-secondary:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(212,175,55,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,175,55,.5); }
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #a01e2e; transform: translateY(-2px); }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #236040; transform: translateY(-2px); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body { padding: 28px; }
.card-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}

/* ---------- Badge / Status ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.badge-attending  { background: rgba(45,122,79,.12);  color: var(--success); }
.badge-pending    { background: rgba(184,134,11,.12); color: var(--warning); }
.badge-declined   { background: rgba(139,26,42,.12);  color: var(--danger); }
.badge-info       { background: rgba(43,93,122,.12);  color: var(--info); }
.badge-gold       { background: rgba(212,175,55,.15); color: #8a6f00; }

/* ---------- Form Controls ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 7px;
  font-size: .88rem; font-weight: 700; color: var(--charcoal);
  letter-spacing: .02em;
}
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: .95rem; color: var(--charcoal);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(201,149,108,.15); }
.form-control::placeholder { color: var(--gray-400); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a09890' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:560px){ .form-row { grid-template-columns: 1fr; } }

/* ---------- Divider ---------- */
.divider {
  display: flex; align-items: center; gap: 16px;
  margin: 32px 0; color: var(--gray-400); font-size: .85rem;
}
.divider::before, .divider::after { content:''; flex:1; height:1px; background: var(--gray-200); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 24px;
  background: rgba(255,248,240,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,149,108,.2);
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--gray-300);
  box-shadow: 0 4px 20px rgba(107,39,55,.1);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}
.navbar-brand .brand-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), #9B3D50);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(107,39,55,.3);
}
.navbar-nav {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-full);
  font-weight: 700; font-size: .92rem;
  color: var(--charcoal-light);
  text-decoration: none;
  transition: var(--transition);
}
.nav-link:hover { color: var(--burgundy); background: rgba(107,39,55,.06); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; padding: 8px; border-radius: var(--radius-sm);
  background: transparent; border: 1.5px solid var(--gray-300);
  cursor: pointer; transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  z-index: 1002;
}
.hamburger:hover, .hamburger:focus {
  background: rgba(107,39,55,.06);
  border-color: var(--burgundy);
}
.hamburger span {
  width: 22px; height: 2.5px; background: var(--burgundy);
  border-radius: 2px; transition: var(--transition);
  display: block; pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--rose-gold);
  padding: 16px 20px 24px; z-index: 1001;
  flex-direction: column; gap: 4px;
  box-shadow: 0 16px 36px rgba(107,39,55,.14);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.mobile-nav.open { display: flex !important; }
.mobile-nav .nav-link {
  padding: 12px 16px; font-size: 1rem; font-weight: 700;
  color: var(--charcoal); border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition); display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav .nav-link:hover, .mobile-nav .nav-link:active {
  background: var(--cream); color: var(--burgundy);
}
.mobile-nav .btn { margin-top: 12px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--cream) 0%, #FDF0E8 40%, #F8E0D8 100%);
  display: flex; align-items: center;
  padding-top: var(--header-h);
  position: relative; overflow: hidden;
}
.hero::before {
  content:''; position: absolute; inset:0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,149,108,.08) 0%, transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}
.hero-content { animation: fadeSlideUp .8s ease both; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-gold); margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content:'—'; color: var(--blush); }
.hero-title { margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--burgundy); }
.hero-subtitle { font-size: 1.15rem; margin-bottom: 36px; color: var(--gray-500); max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  margin-top: 36px; font-size: .85rem; color: var(--gray-400);
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: var(--white);
  margin-left: -10px;
}
.hero-trust-avatars span:first-child { margin-left: 0; }
.hero-trust-avatars span:nth-child(1) { background: var(--burgundy); }
.hero-trust-avatars span:nth-child(2) { background: var(--rose-gold); }
.hero-trust-avatars span:nth-child(3) { background: var(--gold); color: var(--charcoal); }
.hero-trust-avatars span:nth-child(4) { background: #9B3D50; }

/* Hero Visual */
.hero-visual { position: relative; animation: fadeSlideUp .8s ease .2s both; }
.hero-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.mockup-header {
  background: linear-gradient(135deg, var(--burgundy) 0%, #9B3D50 100%);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.3);
}
.mockup-dots span:first-child { background: #ff6b6b; }
.mockup-dots span:nth-child(2) { background: #ffd93d; }
.mockup-dots span:nth-child(3) { background: #6bcb77; }
.mockup-title { color: rgba(255,255,255,.9); font-size: .88rem; font-weight: 700; font-family: var(--font-heading); }
.mockup-body { padding: 24px; }
.mockup-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px;
}
.mockup-stat {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 14px 12px; text-align: center;
  border: 1px solid var(--gray-200);
}
.mockup-stat-val { font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); color: var(--burgundy); }
.mockup-stat-lbl { font-size: .7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.mockup-bar-title { font-size: .78rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.mockup-bar { height: 8px; background: var(--gray-200); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.mockup-bar-fill { height: 100%; border-radius: 8px; }
.mockup-bar-fill.attending  { background: linear-gradient(90deg, #2D7A4F, #4CAF82); width: 72%; }
.mockup-bar-fill.pending    { background: linear-gradient(90deg, #B8860B, #D4A520); width: 20%; }
.mockup-bar-fill.declined   { background: linear-gradient(90deg, #8B1A2A, #B02E40); width: 8%; }
.mockup-bar-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mockup-bar-label { font-size: .73rem; color: var(--gray-500); font-weight: 700; }
.mockup-bar-pct   { font-size: .73rem; color: var(--charcoal); font-weight: 700; }
.mockup-guests { margin-top: 4px; }
.mockup-guest-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  margin-bottom: 4px; transition: var(--transition);
}
.mockup-guest-row:hover { background: var(--gray-100); }
.mockup-guest-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.mockup-guest-info { flex: 1; }
.mockup-guest-name { font-size: .78rem; font-weight: 700; color: var(--charcoal); }
.mockup-guest-role { font-size: .68rem; color: var(--gray-400); }

/* Floating decorations */
.hero-decor { position: absolute; pointer-events: none; }
.hero-decor-1 { top: 15%; right: 5%; animation: floatA 6s ease-in-out infinite; }
.hero-decor-2 { bottom: 20%; left: 3%; animation: floatB 8s ease-in-out infinite; }
.hero-decor-3 { top: 50%; right: 2%; animation: floatA 7s ease-in-out infinite .5s; }
.petal {
  width: 18px; height: 28px;
  background: linear-gradient(135deg, var(--blush), rgba(244,194,194,.4));
  border-radius: 50% 0 50% 0;
  box-shadow: 0 2px 8px rgba(244,194,194,.3);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content:''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--rose-gold));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.feature-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--cream), var(--blush));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: .92rem; line-height: 1.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--cream); }
.steps-wrapper {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; position: relative; margin-top: 16px;
}
.steps-wrapper::before {
  content:''; position: absolute;
  top: 44px; left: calc(16.66% + 28px); right: calc(16.66% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--rose-gold), var(--gold));
  z-index: 0;
}
.step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.step-number {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), #9B3D50);
  color: var(--white); font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 28px rgba(107,39,55,.35);
  position: relative;
}
.step-number::after {
  content:''; position: absolute; inset: -5px;
  border-radius: 50%; border: 2px dashed rgba(201,149,108,.4);
  animation: spin 20s linear infinite;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: .95rem; color: var(--gray-500); }

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--burgundy) 0%, #9B3D50 50%, var(--rose-gold) 100%);
  padding: 72px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.stat-item { text-align: center; color: var(--white); }
.stat-number {
  font-family: var(--font-heading); font-size: clamp(2.5rem,5vw,3.8rem);
  font-weight: 800; color: var(--white);
  display: block; line-height: 1;
}
.stat-suffix { color: var(--gold-light); }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.testimonial-card {
  background: var(--gray-100); border-radius: var(--radius-lg);
  padding: 36px 28px; border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.quote-icon {
  font-size: 3rem; line-height: 1;
  font-family: Georgia, serif; color: var(--blush);
  margin-bottom: 16px; display: block;
}
.testimonial-text { font-style: italic; font-size: 1rem; color: var(--charcoal-light); margin-bottom: 24px; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--rose-gold));
  color: var(--white); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .95rem; color: var(--charcoal); }
.author-wedding { font-size: .8rem; color: var(--rose-gold); font-weight: 700; }
.stars { color: var(--gold); font-size: .85rem; margin-bottom: 4px; letter-spacing: 2px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card .pricing-features {
  flex-grow: 1;
  margin-bottom: 32px;
}
.pricing-card .btn {
  margin-top: auto;
}
.pricing-card.featured {
  border-color: var(--burgundy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured:hover { box-shadow: var(--shadow-xl); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--burgundy), var(--rose-gold));
  color: var(--white); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 18px; border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-tier { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--rose-gold); margin-bottom: 12px; }
.pricing-price {
  display: flex; align-items: flex-start; gap: 4px;
  margin-bottom: 8px;
}
.price-currency { font-size: 1.2rem; font-weight: 700; color: var(--charcoal); margin-top: 10px; }
.price-amount { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--charcoal); line-height: 1; }
.price-amount.free { font-size: 2.2rem; display: flex; align-items: center; }
.price-period { font-size: .85rem; color: var(--gray-400); align-self: flex-end; margin-bottom: 6px; }
.pricing-desc { font-size: .9rem; color: var(--gray-500); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 36px; }
.pricing-features li {
  padding: 9px 0; border-bottom: 1px solid var(--gray-100);
  font-size: .92rem; display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content:'✓'; color: var(--success); font-weight: 900; flex-shrink: 0; }
.pricing-features li.disabled { color: var(--gray-400); }
.pricing-features li.disabled::before { content:'×'; color: var(--gray-300); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { }
.footer-logo {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.footer-desc { font-size: .9rem; line-height: 1.8; margin-bottom: 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: var(--transition); border: 1px solid rgba(255,255,255,.12);
}
.social-btn:hover { background: var(--burgundy); color: var(--white); transform: translateY(-2px); }
.footer-heading { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: var(--rose-gold); padding-left: 4px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--rose-gold); }

/* ============================================================
   APP LAYOUT (Dashboard, Guests, Seating, Website pages)
   ============================================================ */
.app-layout {
  display: flex;
  min-height: 100vh;
  background: var(--gray-100);
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
  position: fixed; top: 0; left: 0; bottom: 0;
  display: flex; flex-direction: column;
  z-index: 100; overflow-y: auto; overflow-x: hidden;
  transition: var(--transition);
}
.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-close-btn {
  display: none;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.sidebar-close-btn:hover {
  background: var(--danger);
}
@media (max-width: 900px) {
  .sidebar-close-btn {
    display: inline-flex;
  }
}
.sidebar-logo a {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--white);
}
.sidebar-logo .brand-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.25);
}
.sidebar-nav { flex: 1; padding: 20px 12px; }
.sidebar-section-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.35); padding: 0 8px; margin: 20px 0 8px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--radius-md);
  color: rgba(255,255,255,.65); font-weight: 700; font-size: .9rem;
  transition: var(--transition); margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,.1); color: var(--white); }
.sidebar-link.active { background: rgba(255,255,255,.18); color: var(--white); }
.sidebar-link.active .sidebar-link-icon { color: var(--gold-light); }
.sidebar-link-icon { width: 20px; height: 20px; flex-shrink: 0; opacity: .85; }
.sidebar-link-badge {
  margin-left: auto; background: var(--gold); color: var(--charcoal);
  font-size: .68rem; font-weight: 900; padding: 2px 7px;
  border-radius: var(--radius-full); min-width: 20px; text-align: center;
}
.sidebar-footer {
  padding: 16px 12px; border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.sidebar-footer .sidebar-link { color: rgba(255,255,255,.5); }

/* Main content area */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1; display: flex; flex-direction: column;
  min-height: 100vh;
}

/* App header */
.app-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center;
  padding: 0 32px;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.app-header-wedding {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.app-header-couple {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--burgundy); line-height: 1.2;
}
.app-header-date { font-size: .8rem; color: var(--gray-400); font-weight: 700; }
.app-header-right { display: flex; align-items: center; gap: 16px; }
.header-countdown {
  background: var(--cream); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 8px 16px; text-align: center;
}
.countdown-val { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--burgundy); display: block; }
.countdown-lbl { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); font-weight: 700; }
.header-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--rose-gold));
  color: var(--white); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 2px solid var(--blush);
}
.header-notification {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid var(--gray-200); color: var(--charcoal-light);
  transition: var(--transition);
}
.header-notification:hover { background: var(--blush); color: var(--burgundy); }
.notif-dot {
  position: absolute; top: 8px; right: 8px;
  width: 8px; height: 8px; background: var(--danger); border-radius: 50%;
  border: 2px solid var(--white);
}

/* Page content */
.page-content { padding: 32px; flex: 1; }
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.page-header-text {}
.page-title { font-size: 1.6rem; color: var(--charcoal); margin-bottom: 4px; }
.page-subtitle { font-size: .9rem; color: var(--gray-400); font-weight: 700; }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   DASHBOARD STATS CARDS
   ============================================================ */
.stats-cards {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: 18px; margin-bottom: 28px;
}
.stat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 22px 18px; border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative; overflow: hidden;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-card::after {
  content:''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
}
.stat-card.card-total::after   { background: linear-gradient(90deg, var(--burgundy), var(--rose-gold)); }
.stat-card.card-attending::after { background: linear-gradient(90deg, #2D7A4F, #6BCB77); }
.stat-card.card-pending::after  { background: linear-gradient(90deg, #B8860B, #D4A520); }
.stat-card.card-declined::after { background: linear-gradient(90deg, #8B1A2A, #B02E40); }
.stat-card.card-tables::after   { background: linear-gradient(90deg, var(--info), #4A90C4); }
.stat-card.card-dietary::after  { background: linear-gradient(90deg, var(--rose-gold), var(--blush)); }
.stat-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stat-card.card-total    .stat-card-icon { background: rgba(107,39,55,.1); color: var(--burgundy); }
.stat-card.card-attending .stat-card-icon { background: rgba(45,122,79,.1); color: var(--success); }
.stat-card.card-pending  .stat-card-icon { background: rgba(184,134,11,.1); color: var(--warning); }
.stat-card.card-declined .stat-card-icon { background: rgba(139,26,42,.1); color: var(--danger); }
.stat-card.card-tables   .stat-card-icon { background: rgba(43,93,122,.1); color: var(--info); }
.stat-card.card-dietary  .stat-card-icon { background: rgba(201,149,108,.1); color: var(--rose-gold); }
.stat-card-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--charcoal); line-height: 1; margin-bottom: 4px; }
.stat-card-label { font-size: .78rem; color: var(--gray-400); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stat-card-change { display: flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; margin-top: 8px; }
.stat-card-change.up   { color: var(--success); }
.stat-card-change.down { color: var(--danger); }

/* Charts */
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }

.chart-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; }
.chart-card .card-header h4 { font-size: 1rem; }

/* CSS Donut Chart */
.donut-wrapper { display: flex; align-items: center; gap: 28px; padding: 24px; }
.donut {
  position: relative; flex-shrink: 0;
  width: 140px; height: 140px;
}
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-label {
  position: absolute; inset:0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.donut-label span:first-child { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--charcoal); }
.donut-label span:last-child { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); font-weight: 700; }
.donut-legend { flex: 1; }
.legend-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.legend-label { font-size: .85rem; font-weight: 700; color: var(--charcoal); }
.legend-pct { font-size: .8rem; color: var(--gray-400); margin-left: auto; }

/* CSS Bar Chart */
.bar-chart { padding: 20px 24px; }
.bar-chart-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bar-chart-label { width: 90px; font-size: .82rem; font-weight: 700; color: var(--charcoal); text-align: right; flex-shrink: 0; }
.bar-chart-bar { flex: 1; height: 28px; background: var(--gray-100); border-radius: var(--radius-sm); overflow: hidden; }
.bar-chart-fill {
  height: 100%; border-radius: var(--radius-sm);
  display: flex; align-items: center; padding-left: 10px;
  font-size: .75rem; font-weight: 700; color: var(--white);
  transition: width 1s ease;
}
.bar-chart-count { width: 36px; text-align: right; font-size: .82rem; font-weight: 700; color: var(--charcoal); flex-shrink: 0; }

/* Activity Feed */
.activity-feed { display: flex; flex-direction: column; gap: 0; }
.activity-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 24px; border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.activity-item:hover { background: var(--gray-100); }
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
}
.activity-icon.green  { background: rgba(45,122,79,.12); color: var(--success); }
.activity-icon.amber  { background: rgba(184,134,11,.12); color: var(--warning); }
.activity-icon.red    { background: rgba(139,26,42,.12);  color: var(--danger); }
.activity-icon.blue   { background: rgba(43,93,122,.12);  color: var(--info); }
.activity-icon.pink   { background: rgba(201,149,108,.12);color: var(--rose-gold); }
.activity-content { flex: 1; }
.activity-text { font-size: .9rem; color: var(--charcoal); font-weight: 700; margin-bottom: 2px; }
.activity-text span { color: var(--burgundy); }
.activity-time { font-size: .78rem; color: var(--gray-400); }

/* Quick Actions */
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.quick-action-btn {
  flex: 1; min-width: 120px;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px 16px;
  text-align: center; cursor: pointer; transition: var(--transition);
  color: var(--charcoal);
}
.quick-action-btn:hover { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quick-action-btn:hover .qa-icon { background: rgba(255,255,255,.2); color: var(--white); }
.qa-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--white); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.qa-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* Mini table */
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th {
  background: var(--gray-100); text-align: left; padding: 11px 16px;
  font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray-500); border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.mini-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: .88rem; vertical-align: middle; }
.mini-table tr:hover td { background: var(--gray-100); }
.mini-table tr:last-child td { border-bottom: none; }
.guest-avatar-sm {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--rose-gold));
  color: var(--white); font-weight: 700; font-size: .75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.guest-name-cell { display: flex; align-items: center; gap: 10px; }

/* ============================================================
   GUESTS PAGE
   ============================================================ */
.filter-bar {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 16px 20px; border: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.search-input-wrap { position: relative; flex: 1; min-width: 200px; }
.search-input-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width:18px; height:18px; color: var(--gray-400); }
.search-input-wrap input { padding-left: 40px; }
.filter-select { padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); font-size: .9rem; color: var(--charcoal); background: var(--gray-100); cursor: pointer; transition: var(--transition); }
.filter-select:focus { border-color: var(--rose-gold); outline: none; background: var(--white); }
.filter-actions { display: flex; gap: 8px; margin-left: auto; }

/* Full Table */
.data-table-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead { background: var(--gray-100); }
.data-table th {
  padding: 13px 16px; text-align: left;
  font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em;
  color: var(--gray-500); border-bottom: 2px solid var(--gray-200);
  white-space: nowrap; cursor: pointer; user-select: none;
}
.data-table th:hover { color: var(--burgundy); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); font-size: .9rem; vertical-align: middle; }
.data-table tbody tr:hover td { background: rgba(201,149,108,.04); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .checkbox-col { width: 40px; text-align: center; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--burgundy); cursor: pointer; }
.action-btns { display: flex; gap: 6px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid var(--gray-200);
  color: var(--gray-500); background: var(--white); transition: var(--transition);
}
.icon-btn:hover { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.icon-btn.danger:hover { background: var(--danger); border-color: var(--danger); }
.icon-btn svg { width: 14px; height: 14px; }

/* Table footer */
.table-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid var(--gray-200); background: var(--gray-100);
  font-size: .85rem; color: var(--gray-500); flex-wrap: wrap; gap: 12px;
}
.pagination { display: flex; gap: 4px; }
.page-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-200); background: var(--white);
  font-size: .85rem; cursor: pointer; transition: var(--transition); color: var(--charcoal);
}
.page-btn.active { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.page-btn:hover:not(.active) { border-color: var(--rose-gold); color: var(--burgundy); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(44,44,44,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; box-shadow: var(--shadow-xl);
  transform: scale(.95) translateY(20px); transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 24px 28px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--white); z-index: 1;
}
.modal-title { font-size: 1.2rem; color: var(--burgundy); }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); border: 1px solid var(--gray-200);
  font-size: 1.1rem;
}
.modal-close:hover { background: var(--danger); color: var(--white); border-color: var(--danger); }
.modal-body { padding: 28px; }
.modal-footer {
  padding: 20px 28px; border-top: 1px solid var(--gray-200);
  display: flex; justify-content: flex-end; gap: 12px;
  background: var(--gray-100);
}

/* ============================================================
   RSVP PAGE
   ============================================================ */
.rsvp-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--cream) 0%, #FDEEE8 50%, #FBE0D8 100%);
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 24px;
  position: relative; overflow: hidden;
}
.rsvp-page::before {
  content:''; position: absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M30 20c0-5.523-4.477-10-10-10S10 14.477 10 20c0 2.764 1.12 5.264 2.929 7.071L30 44.142l17.071-17.07A9.96 9.96 0 0 0 50 20c0-5.523-4.477-10-10-10S30 14.477 30 20z' fill='%23F4C2C2' fill-opacity='.07'/%3E%3C/g%3E%3C/svg%3E");
}
.rsvp-header { text-align: center; margin-bottom: 48px; position: relative; }
.rsvp-ornament {
  font-size: 2.5rem; display: block; margin-bottom: 12px;
  animation: floatA 4s ease-in-out infinite;
}
.rsvp-couple-names {
  font-family: var(--font-heading); font-size: clamp(2.5rem,6vw,4.5rem);
  font-weight: 700; color: var(--burgundy); line-height: 1;
  margin-bottom: 12px;
}
.rsvp-couple-names .ampersand { color: var(--rose-gold); font-style: italic; }
.rsvp-date { font-size: 1.1rem; color: var(--rose-gold); font-weight: 700; margin-bottom: 6px; letter-spacing: .04em; }
.rsvp-venue { font-size: .95rem; color: var(--gray-500); display: flex; align-items: center; justify-content: center; gap: 6px; }
.rsvp-divider {
  display: flex; align-items: center; gap: 16px; margin: 28px 0;
  color: var(--gray-300);
}
.rsvp-divider::before, .rsvp-divider::after { content:''; flex:1; height:1px; background: var(--gray-200); }
.rsvp-divider span { font-size: 1.2rem; color: var(--blush); }

.rsvp-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 48px; max-width: 620px; width: 100%;
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
  position: relative;
}
.rsvp-card::before {
  content:''; position: absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--burgundy), var(--rose-gold), var(--gold));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.attendance-choice {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px;
}
.attendance-btn {
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--gray-100);
}
.attendance-btn:hover { border-color: var(--rose-gold); background: rgba(201,149,108,.05); }
.attendance-btn.selected { border-color: var(--burgundy); background: rgba(107,39,55,.06); }
.attendance-btn.selected.no-attend { border-color: var(--danger); background: rgba(139,26,42,.05); }
.attendance-btn .att-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.attendance-btn .att-label { font-weight: 700; font-size: .9rem; color: var(--charcoal); }
.attendance-btn .att-sub { font-size: .78rem; color: var(--gray-400); margin-top: 3px; }

.guest-entry {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 20px;
  margin-bottom: 12px; position: relative;
}
.guest-entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.guest-entry-num { font-size: .8rem; font-weight: 700; color: var(--rose-gold); text-transform: uppercase; letter-spacing: .08em; }
.remove-guest-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(139,26,42,.1); color: var(--danger);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; transition: var(--transition);
}
.remove-guest-btn:hover { background: var(--danger); color: var(--white); }

.rsvp-success {
  text-align: center; padding: 60px 40px; display: none;
}
.rsvp-success.show { display: block; }
.success-icon {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, #2D7A4F, #6BCB77);
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 8px 28px rgba(45,122,79,.3);
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both;
}
.success-title { font-family: var(--font-heading); font-size: 2rem; color: var(--burgundy); margin-bottom: 12px; }
.success-text { color: var(--gray-500); font-size: 1rem; }

/* ============================================================
   SEATING PAGE
   ============================================================ */
.seating-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.seating-canvas {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.seating-canvas-header {
  padding: 16px 20px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gray-100);
}
.seating-grid {
  padding: 32px; display: flex; flex-wrap: wrap;
  gap: 28px; justify-content: center;
  min-height: 500px; position: relative;
}
.seating-grid::before {
  content: 'DANCE FLOOR'; position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  color: var(--gray-400); font-size: .68rem; font-weight: 900;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 14px 48px; border-radius: var(--radius-md);
  border: 2px dashed var(--gray-300);
  min-width: 200px; text-align: center;
}
.seating-table-item {
  position: relative; cursor: pointer;
  transition: var(--transition);
}
.seating-table-item:hover { transform: scale(1.05); }
.seating-table-circle {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--white), var(--gray-100));
  border: 3px solid var(--gray-300);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative;
}
.seating-table-item.selected .seating-table-circle,
.seating-table-item:hover .seating-table-circle {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(107,39,55,.12), var(--shadow-md);
  background: linear-gradient(135deg, rgba(107,39,55,.04), rgba(201,149,108,.06));
}
.seating-table-num { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--burgundy); }
.seating-table-count { font-size: .68rem; color: var(--gray-400); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.seating-table-label {
  text-align: center; margin-top: 8px;
  font-size: .78rem; font-weight: 700; color: var(--charcoal);
}

/* Chairs around table */
.chair {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gray-300); border: 2px solid var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: var(--transition);
}
.chair.occupied { background: var(--burgundy); }
.chair.occupied-veg { background: var(--success); }

/* Seating side panel */
.seating-panel {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.seating-panel-header {
  padding: 16px 20px; border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--burgundy), #9B3D50);
}
.seating-panel-title { color: var(--white); font-size: .95rem; font-weight: 700; font-family: var(--font-heading); }
.seating-panel-body { padding: 20px; max-height: 600px; overflow-y: auto; }
.table-info-card {
  background: var(--gray-100); border-radius: var(--radius-md);
  padding: 16px; margin-bottom: 16px; border: 1px solid var(--gray-200);
  display: none;
}
.table-info-card.active { display: block; }
.table-info-name { font-family: var(--font-heading); font-size: 1.1rem; color: var(--burgundy); margin-bottom: 6px; }
.table-capacity-bar { margin: 10px 0; }
.table-capacity-fill { height: 6px; background: linear-gradient(90deg, var(--success), var(--gold)); border-radius: 4px; transition: width .5s ease; }
.table-capacity-track { height: 6px; background: var(--gray-200); border-radius: 4px; margin-top: 4px; }
.assigned-guest-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-200); font-size: .85rem;
}
.assigned-guest-item:last-child { border-bottom: none; }

.unassigned-section { margin-top: 8px; }
.unassigned-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: 12px; }
.unassigned-guest {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: var(--radius-md);
  cursor: pointer; transition: var(--transition);
  border: 1px solid transparent; font-size: .85rem; font-weight: 700;
  color: var(--charcoal); background: var(--gray-100); margin-bottom: 6px;
}
.unassigned-guest:hover { border-color: var(--rose-gold); background: rgba(201,149,108,.06); color: var(--burgundy); }

/* ============================================================
   WEDDING WEBSITE PAGE
   ============================================================ */
.wedding-website-page {
  min-height: 100vh;
  background: var(--cream);
}
.ww-hero {
  min-height: 100vh;
  background: linear-gradient(180deg,
    rgba(44,44,44,.6) 0%,
    rgba(107,39,55,.5) 50%,
    rgba(44,44,44,.7) 100%),
    linear-gradient(135deg, #1a0a10 0%, #3d1220 30%, #6B2737 60%, #9B4555 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px; position: relative; overflow: hidden;
}
.ww-hero::before {
  content:''; position: absolute; inset:0;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(201,149,108,.15) 0%, transparent 70%);
}
.ww-hero-petals { position: absolute; inset:0; overflow: hidden; pointer-events: none; }
.ww-petal {
  position: absolute; opacity: .4;
  animation: petalFall linear infinite;
}
.ww-initials {
  font-family: var(--font-heading); font-size: 4rem; color: rgba(255,255,255,.12);
  position: absolute; user-select: none; letter-spacing: .1em;
  font-weight: 800;
}
.ww-hero-content { position: relative; z-index: 1; }
.ww-date-label {
  font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px; display: block;
}
.ww-couple-names {
  font-family: var(--font-heading); font-size: clamp(3rem,8vw,6rem);
  font-weight: 800; color: var(--white); line-height: 1.05; margin-bottom: 8px;
}
.ww-couple-names .and { font-size: 60%; color: var(--gold-light); font-style: italic; }
.ww-wedding-date { font-size: 1.15rem; color: rgba(255,255,255,.8); margin-bottom: 32px; letter-spacing: .04em; }
.ww-countdown { display: flex; gap: 24px; justify-content: center; margin-bottom: 40px; }
.ww-countdown-unit {
  text-align: center;
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md); padding: 16px 20px;
  min-width: 72px;
}
.ww-countdown-val { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--white); display: block; line-height: 1; }
.ww-countdown-lbl { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); font-weight: 700; margin-top: 4px; }
.ww-scroll-hint { color: rgba(255,255,255,.5); font-size: .82rem; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: bounce 2s infinite; }
.ww-scroll-arrow { font-size: 1.2rem; }

.ww-section { padding: 80px 0; }
.ww-story {
  background: var(--white);
}
.ww-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ww-story-art {
  aspect-ratio: 4/5; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--burgundy) 0%, #9B3D50 40%, var(--rose-gold) 70%, var(--blush) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xl); overflow: hidden; position: relative;
}
.ww-story-art-text {
  font-family: var(--font-heading); font-size: 4rem; color: rgba(255,255,255,.2);
  font-weight: 800; letter-spacing: .05em; text-align: center; line-height: 1.1;
}
.ww-story-content {}
.ww-section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-gold); margin-bottom: 16px;
}
.ww-story-text { color: var(--gray-500); font-size: 1rem; line-height: 1.9; margin-bottom: 20px; }
.ww-story-milestone { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.ww-milestone-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--rose-gold));
  color: var(--white); font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.ww-milestone-year { font-weight: 700; color: var(--burgundy); font-size: .85rem; margin-bottom: 2px; }
.ww-milestone-desc { font-size: .9rem; color: var(--gray-500); }

.ww-events { background: var(--cream); }
.ww-events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.ww-event-card {
  background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.ww-event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ww-event-header {
  background: linear-gradient(135deg, var(--burgundy), #9B3D50);
  padding: 32px; text-align: center; color: var(--white);
}
.ww-event-type { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); font-weight: 700; margin-bottom: 8px; }
.ww-event-title { font-family: var(--font-heading); font-size: 1.8rem; color: var(--white); }
.ww-event-icon { font-size: 2.5rem; margin-bottom: 12px; }
.ww-event-body { padding: 28px; }
.ww-event-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: .92rem; color: var(--charcoal-light); }
.ww-event-detail-icon { width: 20px; color: var(--rose-gold); flex-shrink: 0; margin-top: 1px; }

.ww-gallery { background: var(--white); }
.ww-gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; gap: 16px; margin-top: 48px;
}
.ww-gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition);
}
.ww-gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.ww-gallery-item:first-child { grid-column: span 2; }
.ww-gallery-placeholder {
  aspect-ratio: 4/3; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.ww-gallery-item:first-child .ww-gallery-placeholder { aspect-ratio: 16/7; }
.ww-gallery-text { font-family: var(--font-heading); color: rgba(255,255,255,.3); font-size: 1.5rem; font-weight: 700; }

.ww-rsvp-banner {
  background: linear-gradient(135deg, var(--burgundy) 0%, #9B3D50 50%, var(--rose-gold) 100%);
  padding: 80px 24px; text-align: center;
}
.ww-rsvp-title { font-family: var(--font-heading); font-size: clamp(2rem,4vw,3rem); color: var(--white); margin-bottom: 16px; }
.ww-rsvp-text { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(-5deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes petalFall {
  0%   { transform: translateY(-60px) rotate(0deg); opacity: 0; }
  10%  { opacity: .4; }
  90%  { opacity: .3; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
@keyframes pulse-ring {
  0%   { transform: scale(.8); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Scroll-triggered fade */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Staggered delays */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }
.fade-in:nth-child(5) { transition-delay: .4s; }
.fade-in:nth-child(6) { transition-delay: .5s; }

/* ============================================================
   MOBILE SIDEBAR TOGGLE
   ============================================================ */
.sidebar-toggle {
  display: none; width: 42px; height: 42px;
  border-radius: var(--radius-md); background: var(--gray-100);
  align-items: center; justify-content: center; cursor: pointer;
  border: 1px solid var(--gray-200); color: var(--charcoal);
  transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.sidebar-overlay {
  display: none; position: fixed; inset:0; z-index: 99;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
}
.sidebar-overlay.active { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width: 1200px) {
  .stats-cards { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial-card:last-child { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-wrapper { gap: 24px; }
  .steps-wrapper::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .seating-layout { grid-template-columns: 1fr; }
  .ww-story-grid { grid-template-columns: 1fr; }
  .ww-events-grid { grid-template-columns: 1fr; }
  .ww-gallery-grid { grid-template-columns: 1fr 1fr; }
  .ww-gallery-item:first-child { grid-column: span 2; }
  .charts-row { grid-template-columns: 1fr; }
}
@media(max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-mockup { max-width: 460px; margin: 0 auto; }
  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }
  .sidebar { transform: translateX(calc(-1 * var(--sidebar-w))); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .sidebar-toggle { display: flex; }
  .app-header { padding: 0 16px; }
  .page-content { padding: 20px 16px; }
  .stats-cards { grid-template-columns: repeat(2,1fr); }
}
@media(max-width: 680px) {
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { display: block; }
  .testimonials-grid .testimonial-card:nth-child(2) { display: none; }
  .steps-wrapper { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-cards { grid-template-columns: repeat(2,1fr); }
  .rsvp-card { padding: 28px 20px; }
  .ww-countdown { gap: 12px; }
  .ww-countdown-unit { padding: 12px 14px; min-width: 60px; }
  .ww-gallery-grid { grid-template-columns: 1fr; }
  .ww-gallery-item:first-child { grid-column: 1; }
}
@media(max-width: 480px) {
  .stats-cards { grid-template-columns: 1fr 1fr; }
  .data-table th:nth-child(3), .data-table td:nth-child(3) { display: none; }
  .attendance-choice { grid-template-columns: 1fr; }
  .stat-item { padding: 0 12px; }
  .stat-number { font-size: 2.2rem; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.loading {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white); border-radius: 50%;
  animation: spin .6s linear infinite;
}
.empty-state {
  text-align: center; padding: 60px 24px;
  color: var(--gray-400);
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 16px; opacity: .5; }
.empty-state-text { font-size: 1rem; font-weight: 700; }
.empty-state-sub { font-size: .875rem; margin-top: 6px; }

/* Toast */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--charcoal); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  min-width: 260px; max-width: 360px;
  animation: fadeSlideUp .3s ease both;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--danger); }
.toast.warning { background: var(--warning); }

/* ============================================================
   AUTH PAGES & ACCOUNT MANAGEMENT (Register / Login / Profile)
============================================================ */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #FFF9F4 0%, #F5EAE1 50%, #EDE1D8 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.auth-nav {
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 149, 108, 0.15);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.auth-nav-link {
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.auth-nav-link:hover {
  color: var(--rose-gold);
}

.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  position: relative;
}

.auth-card-wide {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(107, 39, 55, 0.14), 0 4px 16px rgba(201, 149, 108, 0.08);
  border: 1px solid rgba(201, 149, 108, 0.2);
  width: 100%;
  max-width: 1020px;
  display: grid;
  grid-template-columns: 1fr 1.38fr;
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: fadeSlideUp 0.4s ease both;
}

.auth-card-compact {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(107, 39, 55, 0.14), 0 4px 16px rgba(201, 149, 108, 0.08);
  border: 1px solid rgba(201, 149, 108, 0.2);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: fadeSlideUp 0.4s ease both;
}

.auth-sidebar-panel {
  background: linear-gradient(145deg, var(--burgundy) 0%, #852F43 50%, #4A1B26 100%);
  color: var(--white);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-sidebar-panel::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.auth-sidebar-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 24px;
}

.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.auth-feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.auth-main-panel {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

.auth-main-panel.compact-padding {
  padding: 40px 36px;
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.auth-subtitle {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-slug-banner {
  background: #FFFDF9;
  border: 1.5px dashed var(--rose-gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.auth-slug-banner code {
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.92rem;
  background: rgba(201, 149, 108, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .02em;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap .form-control {
  padding-right: 42px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.password-toggle-btn:hover {
  color: var(--burgundy);
}

.password-strength-container {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.password-strength-bar {
  height: 4px;
  flex: 1;
  background: var(--gray-200);
  border-radius: 2px;
  transition: var(--transition);
}

.password-strength-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
  min-width: 50px;
  text-align: right;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 22px 0;
  color: var(--gray-400);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--gray-200);
}
.auth-divider span {
  padding: 0 14px;
}

.demo-login-box {
  background: #FFFDF9;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.1);
}

.demo-login-text {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.4;
}
.demo-login-text strong {
  color: var(--burgundy);
  display: block;
  font-size: 0.95rem;
}

/* User Profile Avatar Dropdown Menu in App Header */
.avatar-menu-wrapper {
  position: relative;
}

.header-avatar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold), var(--burgundy));
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header-avatar-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(201, 149, 108, 0.35);
}

.avatar-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: 8px 0;
  z-index: 1000;
  display: none;
  animation: fadeSlideUp 0.2s ease forwards;
}
.avatar-dropdown-menu.active {
  display: block;
}

.dropdown-user-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
}
.dropdown-user-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--burgundy);
}
.dropdown-user-email {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
  word-break: break-all;
}
.dropdown-slug-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(201, 149, 108, 0.15);
  color: var(--burgundy);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--charcoal);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.dropdown-menu-item:hover {
  background: var(--cream);
  color: var(--burgundy);
}
.dropdown-menu-item.danger {
  color: var(--danger);
  border-top: 1px solid var(--gray-200);
  margin-top: 6px;
  padding-top: 12px;
}
.dropdown-menu-item.danger:hover {
  background: #FFF0F0;
  color: var(--danger);
}

/* ============================================================
   RESPONSIVE AUTH PAGES (MOBILE & TABLET AUTO-SCALE)
   ============================================================ */
@media (max-width: 860px) {
  .auth-card-wide {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .auth-sidebar-panel {
    display: none;
  }
  .auth-main-panel {
    padding: 36px 28px;
  }
}

@media (max-width: 680px) {
  .auth-page .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .auth-nav {
    padding: 14px 20px;
  }
}

@media (max-width: 540px) {
  .auth-nav {
    padding: 12px 16px;
  }
  .auth-nav .navbar-brand {
    font-size: 1.15rem;
  }
  .auth-nav-hint {
    display: none;
  }
  .auth-nav-link {
    font-size: 0.84rem;
    padding: 6px 12px;
    background: rgba(107, 39, 55, 0.06);
    border-radius: var(--radius-full);
  }
  .auth-container {
    padding: 16px 12px 36px;
    align-items: flex-start;
  }
  .auth-card-wide {
    border-radius: 16px;
    border: 1px solid rgba(201, 149, 108, 0.18);
    box-shadow: 0 10px 30px rgba(107, 39, 55, 0.08);
    width: 100%;
    margin: 0;
  }
  .auth-main-panel {
    padding: 24px 16px;
  }
  .auth-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }
  .auth-subtitle {
    font-size: 0.86rem;
    margin-bottom: 16px;
  }
  .auth-slug-banner {
    padding: 10px 12px;
    font-size: 0.82rem;
    gap: 8px;
    align-items: flex-start;
  }
  .auth-slug-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
  }
  .auth-slug-code {
    font-size: 0.8rem;
    word-break: break-all;
    white-space: normal;
    padding: 4px 8px;
    display: block;
    line-height: 1.4;
  }
  .auth-main-panel .btn,
  .auth-main-panel .btn-lg {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 14px 16px;
    font-size: 0.95rem;
    word-break: break-word;
  }
  .demo-login-box {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 12px;
    padding: 14px 16px;
  }
  .demo-login-box button {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
}

@media (max-width: 380px) {
  .auth-container {
    padding: 10px 8px 24px;
  }
  .auth-main-panel {
    padding: 20px 12px;
  }
  .auth-title {
    font-size: 1.3rem;
  }
  .reg-promo-chip {
    padding: 5px 9px;
    font-size: 0.72rem;
  }
}

/* Prevent iOS browser forced zoom */
@media (max-width: 768px) {
  .auth-page .form-control,
  .auth-page input[type="text"],
  .auth-page input[type="email"],
  .auth-page input[type="password"],
  .auth-page input[type="tel"],
  .auth-page input[type="date"],
  .auth-page select.form-control {
    font-size: 16px !important;
  }
}

/* ============================================================
   PROMO CODE & SEASONAL OFFERS SYSTEM
============================================================ */
.promo-top-bar {
  background: linear-gradient(135deg, var(--burgundy) 0%, #852F43 45%, var(--rose-gold) 100%);
  color: var(--white);
  padding: 10px 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(107,39,55,.18);
  position: relative;
  z-index: 40;
}

.promo-chip {
  background: rgba(255, 255, 255, 0.22);
  border: 1px dashed rgba(255, 255, 255, 0.7);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.promo-chip:hover {
  background: var(--white);
  color: var(--burgundy);
  border-style: solid;
  transform: scale(1.05);
}

.promo-input-box {
  background: var(--white);
  border: 2px solid rgba(201, 149, 108, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 0 auto 36px;
  max-width: 640px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeSlideUp .4s ease both;
}

.promo-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.promo-input-row .form-control {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: monospace;
  font-size: 1rem;
}

.promo-chips-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.promo-tag-btn {
  background: rgba(201, 149, 108, 0.12);
  border: 1px solid rgba(201, 149, 108, 0.35);
  color: var(--burgundy);
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.promo-tag-btn:hover {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
  transform: translateY(-1px);
}

.promo-discount-badge {
  display: inline-block;
  background: var(--success);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-left: 6px;
}

.price-original {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: var(--gray-400);
  margin-right: 6px;
  align-self: center;
  font-weight: 700;
}

.checkout-summary-box {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--gray-200);
  margin: 18px 0;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--charcoal);
}

.checkout-summary-row.discount {
  color: var(--success);
  font-weight: 700;
}

.checkout-summary-row.total {
  border-top: 1.5px dashed var(--gray-300);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--burgundy);
}

.plan-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-badge-pill.free {
  background: var(--gray-200);
  color: var(--charcoal);
}
.plan-badge-pill.premium {
  background: rgba(212, 175, 55, 0.2);
  color: #8C721E;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.plan-badge-pill.luxury {
  background: rgba(107, 39, 55, 0.15);
  color: var(--burgundy);
  border: 1px solid rgba(107, 39, 55, 0.35);
}

/* ============================================================
   PAYMENT METHODS & INVOICING SYSTEM
============================================================ */
.currency-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.currency-toggle-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--charcoal);
}
.currency-toggle-btn.active {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 580px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
}

.payment-method-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.payment-method-card:hover {
  border-color: var(--rose-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.payment-method-card.active {
  border-color: var(--burgundy);
  background: rgba(107, 39, 55, 0.03);
  box-shadow: 0 0 0 2px rgba(107, 39, 55, 0.15);
}

.payment-method-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.payment-method-icon {
  font-size: 1.25rem;
}
.payment-method-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.payment-method-card.active .payment-method-radio {
  border-color: var(--burgundy);
  background: var(--burgundy);
}
.payment-method-card.active .payment-method-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
}

.payment-method-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 4px;
}
.payment-method-sub {
  font-size: 0.72rem;
  color: var(--gray-400);
}

.card-logos-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.card-logo-mini {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--charcoal);
  letter-spacing: 0.04em;
}

.card-number-wrapper {
  position: relative;
}
.card-brand-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--charcoal);
  display: none;
}

.bank-transfer-box {
  background: #FFFDF9;
  border: 1.5px dashed rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 18px;
}
.bank-transfer-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
}
.bank-transfer-row:last-child {
  border-bottom: none;
}
.bank-transfer-label {
  color: var(--gray-500);
}
.bank-transfer-val {
  font-weight: 700;
  color: var(--burgundy);
  font-family: monospace;
  font-size: 0.92rem;
}

.slip-dropzone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-100);
  margin-bottom: 12px;
}
.slip-dropzone:hover {
  border-color: var(--burgundy);
  background: #FFF9F6;
}

.security-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.74rem;
  color: var(--gray-400);
}
.security-trust-badge span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Payment Processing Animation Screen */
.payment-processing-box {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.payment-processing-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(201, 149, 108, 0.2);
  border-top-color: var(--burgundy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
.payment-processing-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--burgundy);
  margin-bottom: 8px;
}
.payment-processing-sub {
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* Printable Official Tax Invoice Modal */
.invoice-container {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.invoice-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.invoice-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--burgundy);
}
.invoice-number-text {
  font-size: 0.82rem;
  font-family: monospace;
  color: var(--gray-400);
  margin-top: 2px;
}
.invoice-company-info {
  text-align: right;
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.invoice-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.invoice-meta-col strong {
  color: var(--charcoal);
  display: block;
  margin-bottom: 2px;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.88rem;
}
.invoice-table th {
  background: var(--gray-100);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--burgundy);
  border-bottom: 1px solid var(--gray-200);
}
.invoice-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-200);
}
.invoice-table th.text-right,
.invoice-table td.text-right {
  text-align: right;
}

.invoice-paid-stamp {
  display: inline-block;
  border: 2px solid var(--success);
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 4px;
  transform: rotate(-5deg);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   DIGITAL WEDDING INVITATIONS & WHATSAPP SENDER
============================================================ */
.whatsapp-preview-box {
  background: #E5DDD5;
  background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 0);
  background-size: 16px 16px;
  border-radius: var(--radius-md);
  padding: 18px;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid #D1D7DB;
  margin-bottom: 18px;
}

.whatsapp-bubble {
  background: #FFFFFF;
  border-radius: 10px 10px 10px 0;
  padding: 16px 18px;
  max-width: 95%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.58;
  color: #111B21;
  white-space: pre-line;
  word-break: break-word;
  position: relative;
}

.whatsapp-time {
  text-align: right;
  font-size: 0.7rem;
  color: #667781;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background: #1EBE5D;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

.invite-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E8F8EE;
  color: #25D366;
  border: 1px solid #C1EED0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.invite-icon-btn:hover {
  background: #25D366;
  color: var(--white);
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}

.guest-personalized-banner {
  background: linear-gradient(135deg, rgba(107,39,55,.08), rgba(201,149,108,.12));
  border: 1.5px dashed var(--rose-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: center;
  animation: fadeSlideUp 0.3s ease both;
}
.guest-personalized-banner strong {
  color: var(--burgundy);
  font-size: 1.05rem;
}

/* ============================================================
   SUPER ADMIN PANEL STYLES
   ============================================================ */
.admin-body {
  background: #0d1117;
  color: #c9d1d9;
  font-family: var(--font-body);
  min-height: 100vh;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 270px;
  background: linear-gradient(180deg, #11151f 0%, #0b0e14 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: var(--transition);
}

.admin-brand {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.admin-crown-badge {
  background: linear-gradient(135deg, #D4AF37, #9B3D50);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-nav {
  flex: 1;
  padding: 20px 14px;
  overflow-y: auto;
}

.admin-nav-section {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  padding: 0 10px;
  margin: 18px 0 8px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  margin-bottom: 4px;
  cursor: pointer;
  border: 1px solid transparent;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-nav-link.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(107, 39, 55, 0.25));
  border-color: rgba(212, 175, 55, 0.35);
  color: #fff;
}

.admin-nav-link.active .admin-nav-icon {
  color: var(--gold-light);
}

.admin-nav-badge {
  margin-left: auto;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.admin-nav-badge.alert {
  background: #f59e0b;
  color: #000;
}

.admin-main {
  margin-left: 270px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #090c10;
}

.admin-header {
  height: 70px;
  background: #11151f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-page-content {
  padding: 32px;
  flex: 1;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.admin-card {
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
}

.admin-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.admin-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.admin-stat-val {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.admin-stat-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-badge.free { background: rgba(255,255,255,0.1); color: #ccc; }
.admin-badge.premium { background: rgba(212,175,55,0.2); color: #f59e0b; border: 1px solid rgba(212,175,55,0.4); }
.admin-badge.luxury { background: rgba(107,39,55,0.35); color: #f472b6; border: 1px solid rgba(244,114,182,0.4); }
.admin-badge.verified { background: rgba(46,160,67,0.2); color: #3fb950; border: 1px solid rgba(46,160,67,0.4); }
.admin-badge.pending { background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid rgba(245,158,11,0.4); }
.admin-badge.rejected { background: rgba(248,81,73,0.2); color: #f85149; border: 1px solid rgba(248,81,73,0.4); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #c9d1d9;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-action-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.admin-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.admin-action-btn.primary {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.admin-action-btn.success {
  background: #238636;
  border-color: #2ea043;
  color: #fff;
}

.admin-action-btn.gold {
  background: #b45309;
  border-color: #d97706;
  color: #fff;
}

.admin-action-btn.danger {
  background: rgba(248, 81, 73, 0.15);
  border-color: rgba(248, 81, 73, 0.3);
  color: #f85149;
}
.admin-action-btn.danger:hover {
  background: #da3633;
  color: #fff;
}

.admin-tab-panel {
  display: none;
}
.admin-tab-panel.active {
  display: block;
  animation: fadeSlideUp 0.3s ease both;
}

@media (max-width: 1024px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }
  .admin-header {
    padding: 0 16px;
  }
  .admin-page-content {
    padding: 20px 14px;
  }
}

/* Super Admin Auth & Additional Enhancements */
#admin-auth-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 25%, #231627 0%, #0d1117 70%);
  padding: 24px;
}

.admin-auth-box {
  width: 100%;
  max-width: 440px;
  background: rgba(22, 27, 34, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(14px);
  text-align: center;
  animation: modalIn 0.35s ease both;
}

.admin-auth-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(107, 39, 55, 0.35));
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 18px;
}

.admin-curr-btn {
  padding: 5px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.admin-curr-btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0b0e14;
}

.admin-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-filter-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
  min-width: 260px;
  transition: var(--transition);
}

.admin-filter-input:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.09);
}

/* ============================================================
   ENHANCED SUPER ADMIN CONSOLE STYLES & MOBILE ADAPTIVITY
============================================================ */
.admin-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
}

.admin-sidebar-backdrop.active {
  display: block;
}

@media (max-width: 900px) {
  #admin-sidebar-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
  }
  .admin-sidebar {
    z-index: 999;
  }
}

.admin-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.admin-pill-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(155, 61, 80, 0.25));
  border-color: var(--gold-light);
  color: #fff;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.admin-export-btn {
  background: rgba(56, 139, 253, 0.15);
  border: 1px solid rgba(56, 139, 253, 0.35);
  color: #58a6ff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.admin-export-btn:hover {
  background: rgba(56, 139, 253, 0.28);
  border-color: #58a6ff;
  color: #fff;
}

.admin-header-search {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 7px 14px 7px 34px;
  color: #fff;
  font-size: 0.82rem;
  width: 220px;
  outline: none;
  transition: var(--transition);
}

.admin-header-search:focus {
  width: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-light);
}

.admin-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-search-wrap .search-icon {
  position: absolute;
  left: 11px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  font-size: 0.82rem;
}

/* Impersonation Banner on Client Dashboard */
.admin-impersonation-banner {
  background: linear-gradient(90deg, #9B3D50, #7B2D3E);
  color: #fff;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.admin-impersonation-banner a {
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.admin-impersonation-banner a:hover {
  background: var(--gold-light);
  color: var(--charcoal);
}

.admin-table-empty {
  text-align: center;
  padding: 40px 20px !important;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Sleek Admin Switch Toggles */
.switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.switch-input {
  display: none;
}
.switch-slider {
  width: 46px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  position: relative;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.switch-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.switch-input:checked + .switch-slider {
  background: #238636;
  border-color: #3fb950;
  box-shadow: 0 0 10px rgba(63, 185, 80, 0.35);
}
.switch-input:checked + .switch-slider::after {
  transform: translateX(22px);
  background: #fff;
}
.switch-status-label {
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
}
.switch-status-label.active {
  color: #3fb950;
}
.switch-status-label.disabled {
  color: #8b949e;
}

/* ============================================================
   WEDDINGSYNC UNIVERSAL AUTO-SCALING RESPONSIVE ENGINE
   Seamless Fluid Layouts across Mobile, Tablet PC & Desktop
   ============================================================ */

/* --- Layout Grids for Admin & Website --- */
.admin-overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.ww-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* Modal Box Generic */
.modal-box {
  width: 100%;
  border-radius: var(--radius-xl);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

/* Interactive Device Preview Simulator in website.html */
.preview-mode-desktop {
  max-width: 100% !important;
  margin: 0 auto;
  transition: max-width 0.35s ease, box-shadow 0.35s ease;
}
.preview-mode-tablet {
  max-width: 768px !important;
  margin: 20px auto !important;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
  border: 10px solid #2d3748;
  overflow: hidden;
  transition: max-width 0.35s ease, box-shadow 0.35s ease;
}
.preview-mode-mobile {
  max-width: 390px !important;
  margin: 20px auto !important;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border: 12px solid #1a202c;
  overflow: hidden;
  transition: max-width 0.35s ease, box-shadow 0.35s ease;
}

/* Touch Momentum Scrolling */
.table-responsive,
.data-table-wrap,
.seating-canvas,
div[style*="overflow-x:auto"] {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* ============================================================
   RESPONSIVE BREAKPOINT TIERS
   ============================================================ */

/* 1. Ultra-Wide Monitors (> 1440px) */
@media (min-width: 1441px) {
  .container { max-width: 1380px; }
  .stats-cards { grid-template-columns: repeat(6, 1fr); }
  .admin-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { max-width: 1240px; margin: 0 auto; grid-template-columns: repeat(3, 1fr) !important; gap: 28px; }
}

/* 2. Standard Laptops & Desktops (1025px - 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
  .stats-cards { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { max-width: 1160px; margin: 0 auto; grid-template-columns: repeat(3, 1fr) !important; gap: 24px; }
}

/* 3. Tablet Devices & Small Laptops (861px - 1024px) */
@media (max-width: 1024px) and (min-width: 861px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 980px !important;
    gap: 16px !important;
    margin: 0 auto;
  }
  .pricing-card {
    padding: 32px 18px !important;
  }
  .pricing-card.featured {
    transform: scale(1.02) !important;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps-wrapper { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .charts-row { grid-template-columns: 1fr; }
  .seating-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .auth-card { max-width: 720px; }
}

/* 3.1 Tablet Portrait & Large Phones (<= 860px) */
@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 460px !important;
    gap: 24px !important;
    margin: 0 auto !important;
  }
  .pricing-card.featured {
    transform: none !important;
  }
}

/* 4. Tablet Portrait & Mobile Landscape (681px - 900px) */
@media (max-width: 900px) {
  .sidebar, .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  }
  .sidebar.open, .admin-sidebar.open {
    transform: translateX(0);
  }
  .main-content, .admin-main {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .sidebar-toggle, #admin-sidebar-toggle {
    display: inline-flex !important;
  }
  .sidebar-overlay, .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1040;
    display: none;
  }
  .sidebar-overlay.active, .admin-sidebar-backdrop.active {
    display: block !important;
  }

  /* Admin Console Responsive */
  .admin-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .admin-settings-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .admin-settings-grid > .admin-card {
    grid-column: span 1 !important;
  }
  .admin-tools-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-header {
    min-height: 70px;
    height: auto;
    padding: 12px 20px;
    gap: 12px;
  }

  /* Client Navigation */
  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
}

/* 5. Mobile Devices (481px - 680px) */
@media (max-width: 680px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 440px !important;
  }
  .features-grid { grid-template-columns: 1fr; }
  .steps-wrapper { grid-template-columns: 1fr; }
  .stats-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* App Headers */
  .app-header {
    padding: 10px 16px;
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .app-header-wedding { min-width: 140px; }
  .page-content, .admin-page-content { padding: 18px 14px; }
  .page-header { flex-direction: column; align-items: stretch; gap: 12px; }
  .page-actions { width: 100%; display: flex; gap: 8px; }
  .page-actions .btn { flex: 1; text-align: center; justify-content: center; }

  /* Filter Bar */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }
  .search-input-wrap { width: 100%; }
  .filter-select { width: 100%; }
  .filter-actions { width: 100%; margin-left: 0; }
  .filter-actions .btn { width: 100%; }

  /* Modals */
  .modal, .modal-box {
    width: 95vw !important;
    max-width: 95vw !important;
    margin: 8px auto;
    border-radius: var(--radius-lg);
    max-height: calc(100vh - 20px);
  }
  .modal-header { padding: 16px 18px; }
  .modal-body { padding: 18px 16px; }
  .modal-footer {
    padding: 14px 18px;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .modal-footer .btn { width: 100%; }

  /* Payment Modal Tiles */
  .payment-methods-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  /* Table Cell Padding */
  .data-table th, .data-table td,
  .admin-table th, .admin-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* Form Rows */
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .ww-info-grid { grid-template-columns: 1fr !important; }

  /* Prevent iOS Auto-Zoom */
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* 6. Small Mobile (Screens <= 480px) */
@media (max-width: 480px) {
  :root {
    --header-h: 60px;
  }
  .container { padding: 0 14px; }
  .page-content, .admin-page-content { padding: 14px 10px; }

  /* Stats Cards */
  .stats-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .stat-card {
    padding: 14px 10px;
  }
  .stat-card-value {
    font-size: 1.4rem;
  }
  .stat-card-label {
    font-size: 0.68rem;
  }
  .stat-card-change {
    font-size: 0.65rem;
  }

  /* Admin Stats */
  .admin-stat-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .admin-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }
  .admin-stat-val {
    font-size: 1.5rem;
  }

  /* Headers */
  .app-header-right { gap: 8px; }
  .header-countdown { padding: 4px 8px; }
  .countdown-val { font-size: 1rem; }
  .countdown-lbl { font-size: 0.58rem; }
  #header-plan-box button span:nth-child(2) { display: none; }
  #header-plan-box button { padding: 6px 8px; }
  .plan-badge-pill { padding: 3px 8px; font-size: 0.7rem; }

  /* Admin Header */
  .admin-header {
    padding: 8px 12px;
  }
  .admin-search-wrap, .admin-header-search {
    width: 100% !important;
  }

  /* Quick Actions on Dashboard */
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .quick-action-btn {
    padding: 12px 8px;
  }

  /* RSVP Page */
  .rsvp-card {
    padding: 20px 14px;
    border-radius: var(--radius-lg);
  }
  .attendance-choice {
    grid-template-columns: 1fr;
  }

  /* Seating Chart */
  .seating-grid {
    padding: 16px 8px;
    gap: 14px;
    min-height: 360px;
  }
  .seating-table-circle {
    width: 86px;
    height: 86px;
  }
  .seating-table-num {
    font-size: 0.95rem;
  }

  /* Buttons & touch tap targets */
  .btn {
    min-height: 42px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
  }

  /* Switch Wrap */
  .switch-wrap {
    gap: 8px;
  }
}

/* ============================================================
   LEGAL PAGES RESPONSIVE & AUTO-SCALING SYSTEM
   (Privacy Policy, Terms of Service, Compliance Documents)
   ============================================================ */

.legal-navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  width: 100%;
}

.legal-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  width: 100%;
}

.legal-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-page-header {
  color: #fff;
  padding: clamp(34px, 6vw, 64px) clamp(16px, 4vw, 32px) clamp(28px, 5vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.legal-page-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: clamp(16px, 3vw, 24px);
  background: var(--cream);
  border-radius: 24px 24px 0 0;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 95%;
}

.legal-badge-privacy {
  background: rgba(45, 122, 79, 0.22);
  border: 1px solid rgba(45, 122, 79, 0.45);
  color: #4ade80;
}

.legal-badge-terms {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 5vw, 2.7rem);
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.2;
  word-break: break-word;
}

.legal-subtitle {
  font-size: clamp(0.85rem, 2.3vw, 0.98rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 8px;
}

.legal-doc-meta {
  margin-top: 12px;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  color: rgba(255, 255, 255, 0.7);
  padding: 0 8px;
  line-height: 1.4;
}

.legal-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px) clamp(12px, 3vw, 24px) clamp(48px, 8vw, 84px);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 40px);
  align-items: start;
  width: 100%;
}

.legal-toc-wrapper {
  position: sticky;
  top: 86px;
  align-self: start;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.legal-toc-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc-link {
  font-size: 0.83rem;
  color: var(--charcoal-light);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: block;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legal-toc-link:hover, .legal-toc-link.active {
  background: var(--cream);
  color: var(--burgundy);
  font-weight: 700;
  padding-left: 14px;
}

.legal-mobile-quicknav {
  display: none;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.quicknav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.quicknav-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
}

.legal-jump-select {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--cream);
  color: var(--charcoal);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.legal-jump-select:focus {
  border-color: var(--burgundy);
  background: #fff;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
  line-height: 1.75;
  color: #334155;
  min-width: 0;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.legal-section {
  margin-bottom: clamp(28px, 5vw, 40px);
  scroll-margin-top: 90px;
}

.legal-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 1.48rem);
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid var(--cream-dark);
  padding-bottom: 8px;
  line-height: 1.35;
}

.legal-highlight-box {
  padding: clamp(10px, 2.5vw, 14px) clamp(12px, 3vw, 18px);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: clamp(0.84rem, 2.2vw, 0.92rem);
  line-height: 1.6;
}

.legal-highlight-green {
  background: #F0FDF4;
  border-left: 4px solid #22c55e;
  color: #14532d;
}

.legal-highlight-gold {
  background: #FFFDF8;
  border-left: 4px solid var(--gold);
  color: #5d4037;
}

.legal-bullet-list {
  padding-left: clamp(18px, 4vw, 24px);
  margin: 12px 0;
}

.legal-bullet-list li {
  margin-bottom: 8px;
  font-size: clamp(0.88rem, 2.2vw, 0.95rem);
}

.legal-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: #fff;
  scrollbar-width: thin;
}

.table-scroll-hint {
  display: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--burgundy);
  background: #fff5f5;
  text-align: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-data-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: clamp(0.8rem, 2vw, 0.88rem);
  margin: 0;
}

.legal-data-table th, .legal-data-table td {
  border: 1px solid var(--gray-200);
  padding: clamp(8px, 1.8vw, 12px) clamp(10px, 2vw, 14px);
  text-align: left;
  line-height: 1.5;
}

.legal-data-table th {
  background: var(--cream);
  color: var(--burgundy);
  font-weight: 700;
}

.legal-contact-card {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: clamp(14px, 3vw, 20px);
  margin-top: 16px;
  font-size: clamp(0.82rem, 2.2vw, 0.9rem);
  line-height: 1.65;
  border-left: 4px solid var(--burgundy);
  word-break: break-word;
}

.legal-back-to-top {
  position: fixed;
  bottom: clamp(16px, 4vw, 28px);
  right: clamp(16px, 4vw, 28px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, background-color 0.2s;
}

.legal-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.legal-back-to-top:hover {
  background: var(--burgundy-dark);
}

.legal-footer {
  background: #111827;
  color: #fff;
  padding: clamp(36px, 6vw, 54px) clamp(16px, 4vw, 24px) 24px;
  margin-top: clamp(40px, 6vw, 70px);
  width: 100%;
}

.legal-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 24px);
  font-size: clamp(0.8rem, 2vw, 0.88rem);
}

/* Legal Media Queries */
@media (max-width: 1024px) and (min-width: 861px) {
  .legal-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
  }
  .legal-toc-wrapper {
    padding: 16px;
  }
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .legal-toc-wrapper {
    display: none;
  }
  .legal-mobile-quicknav {
    display: block;
  }
  .table-scroll-hint {
    display: block;
  }
}

@media (max-width: 680px) {
  .legal-nav-actions {
    display: none;
  }
  .legal-navbar .hamburger {
    display: flex !important;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc-wrapper {
    display: none;
  }
  .legal-mobile-quicknav {
    display: block;
  }
  .table-scroll-hint {
    display: block;
  }
  .legal-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .legal-footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .legal-nav-inner {
    padding: 10px 14px;
  }
  .legal-layout {
    padding: 10px 10px 40px;
    gap: 12px;
  }
  .legal-content {
    padding: 18px 12px;
    border-radius: var(--radius-md);
  }
  .legal-bullet-list {
    padding-left: 18px;
  }
  .quicknav-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .quicknav-label {
    font-size: 0.78rem;
  }
  .legal-jump-select {
    width: 100%;
  }
  .legal-footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media print {
  .legal-navbar,
  .mobile-nav,
  .legal-toc-wrapper,
  .legal-mobile-quicknav,
  .legal-back-to-top,
  .table-scroll-hint,
  .legal-footer {
    display: none !important;
  }
  .legal-layout {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .legal-content {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .legal-page-header {
    background: none !important;
    color: #000 !important;
    padding: 20px 0 !important;
  }
  .legal-title {
    color: #000 !important;
  }
  .legal-subtitle {
    color: #444 !important;
  }
}



/* ============================================================
   SRI LANKAN WEDDING SHOWCASE & PHOTO INTEGRATION
   Added for Sri Lankan Couple Photos & Traditions
   ============================================================ */

/* 1. Hero Mockup Image Banner */
.hero-mockup-banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--burgundy-dark);
}

.hero-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-mockup:hover .hero-mockup-img {
  transform: scale(1.04);
}

.hero-mockup-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 27, 38, 0.15) 0%, rgba(44, 15, 22, 0.75) 70%, rgba(28, 8, 13, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 22px;
  color: var(--white);
}

.hero-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFF8F0;
  align-self: flex-start;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-banner-names {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-banner-meta {
  font-size: 0.78rem;
  color: rgba(255, 248, 240, 0.9);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* 2. Traditions Spotlight Section (Image 2) */
.traditions-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(180deg, #FFF8F0 0%, #FAF0E4 50%, #FFF8F0 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.traditions-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.tradition-photo-wrapper {
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(201, 149, 108, 0.25) 50%, rgba(107, 39, 55, 0.35) 100%);
  box-shadow: 0 22px 60px rgba(107, 39, 55, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tradition-photo-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(107, 39, 55, 0.24);
}

.tradition-photo-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 460px;
  background: var(--burgundy-dark);
}

.tradition-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tradition-photo-wrapper:hover .tradition-photo-img {
  transform: scale(1.05);
}

.tradition-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(44,15,22,0.85) 100%);
  pointer-events: none;
}

.tradition-float-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.tradition-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--rose-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.tradition-float-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--charcoal);
  line-height: 1.25;
}

.tradition-float-sub {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.tradition-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.tradition-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 16px rgba(107, 39, 55, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tradition-feature-item:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 149, 108, 0.5);
  box-shadow: 0 10px 28px rgba(107, 39, 55, 0.1);
}

.tradition-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 149, 108, 0.15), rgba(107, 39, 55, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(201, 149, 108, 0.25);
}

.tradition-feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.tradition-feature-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0;
}

/* 3. Couple Website & Smartphone Showcase Section (Image 3) */
.mobile-showcase-section {
  position: relative;
  padding: 95px 0;
  background: #FFFFFF;
  overflow: hidden;
}

.mobile-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px 10px;
}

.phone-mockup {
  width: 320px;
  background: #18171B;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 0 30px 80px -15px rgba(107, 39, 55, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 0 4px #2E292E;
  position: relative;
  transition: transform 0.4s ease;
}

.phone-mockup:hover {
  transform: translateY(-6px);
}

.phone-screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.phone-notch-bar {
  background: #18171B;
  padding: 6px 14px 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-island {
  width: 86px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  position: relative;
}

.phone-browser-bar {
  background: rgba(255, 255, 255, 0.96);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.7rem;
  color: var(--charcoal-light);
}

.phone-browser-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-100);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--burgundy);
  border: 1px solid var(--gray-200);
}

.phone-photo-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: var(--burgundy-dark);
}

.phone-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s ease;
}

.phone-mockup:hover .phone-photo-img {
  transform: scale(1.06);
}

.phone-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(44, 15, 22, 0.5) 60%, rgba(30, 8, 14, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  color: #FFFFFF;
}

.phone-overlay-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFF8F0;
  margin-bottom: 6px;
}

.phone-overlay-names {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.phone-overlay-date {
  font-size: 0.75rem;
  color: rgba(255, 248, 240, 0.9);
  margin-top: 2px;
  margin-bottom: 12px;
}

.phone-overlay-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), #E6BE44);
  color: var(--burgundy-dark);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 9px 14px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  border: none;
}

/* Floating interactive badges on phone */
.phone-floating-pill {
  position: absolute;
  top: 60px;
  right: -25px;
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 32px rgba(107, 39, 55, 0.16);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  animation: floatA 4.5s ease-in-out infinite;
}

.phone-floating-pill-bottom {
  position: absolute;
  bottom: 45px;
  left: -20px;
  background: var(--white);
  border: 1px solid rgba(45, 122, 79, 0.4);
  box-shadow: 0 12px 32px rgba(45, 122, 79, 0.15);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  animation: floatB 5.5s ease-in-out infinite 0.5s;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.25);
  display: inline-block;
}

/* Showcase Highlights Checklist */
.showcase-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 26px 0 32px;
}

.showcase-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
}

.showcase-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 122, 79, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Responsive adjustments for the new showcases */
@media (max-width: 960px) {
  .traditions-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mobile-showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .phone-mockup-wrapper {
    order: -1;
  }
  .phone-floating-pill {
    right: 5px;
    top: 25px;
  }
  .phone-floating-pill-bottom {
    left: 5px;
    bottom: 20px;
  }
  .hero-mockup-banner {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .showcase-check-list {
    grid-template-columns: 1fr;
  }
  .phone-mockup {
    width: 290px;
  }
  .phone-photo-container {
    height: 340px;
  }
  .hero-mockup-banner {
    height: 160px;
  }
  .hero-banner-names {
    font-size: 1.15rem;
  }
}

/* ============================================================
   GOOGLE MAPS & VENUE NAVIGATION STYLES
   ============================================================ */
.rsvp-venue-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid rgba(201, 149, 108, 0.4);
  border-radius: var(--radius-full);
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(107, 39, 55, 0.06);
}

.rsvp-venue-link:hover {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(107, 39, 55, 0.2);
}

.rsvp-venue-link:hover svg {
  stroke: var(--gold-light);
}

.map-badge-tag {
  font-size: 0.72rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(201, 149, 108, 0.2));
  color: #9B3D50;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: all 0.2s ease;
}

.rsvp-venue-link:hover .map-badge-tag {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-banner-meta-link {
  color: rgba(255, 248, 240, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.hero-banner-meta-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

.map-embed-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
}
