/* ==========================================================================
   WishCraft.in — Artisanal Editorial Stationery Stylesheet
   Zone B: Landing, 60-Second Builder & Host Dashboard
   ========================================================================== */

:root {
  --bg-paper: #FAF7F2;          /* Warm archival paper background */
  --bg-card: #FFFFFF;           /* Crisp card stock */
  --bg-tinted: #F3EDE3;         /* Subtle recessed paper / table header */
  --ink-primary: #1C1917;       /* Deep ink */
  --ink-muted: #57534E;         /* Muted stone */
  --accent-terracotta: #B4432C; /* Terracotta / vermilion primary CTA */
  --accent-terracotta-dark: #933420;
  --accent-gold: #B08D57;       /* Antique gold foil / hairline accents */
  --accent-forest: #1E4D3B;     /* Deep forest / auspicious confirmation */
  --border-hairline: #E7E0D6;   /* 1px solid hairline borders */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 6px;
  --radius-pill: 9999px;
  --shadow-card: 0 8px 30px rgba(28, 25, 23, 0.06);
  --shadow-seal: 0 10px 25px rgba(180, 67, 44, 0.28);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Subtle SVG Paper Grain Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperNoise)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--ink-primary);
  font-weight: 600;
}

.display-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-bottom: 0.85rem;
}

.body-muted {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
}

/* Hairline Dividers & Editorial Frames */
.hairline-rule {
  border: 0;
  border-top: 1px solid var(--border-hairline);
  margin: 0;
}

.editorial-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.editorial-frame::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(176, 141, 87, 0.25);
  border-radius: calc(var(--radius-card) - 2px);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--transition-smooth), background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.btn i {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
}

.btn-primary {
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
  border-color: var(--accent-terracotta);
  box-shadow: 0 4px 14px rgba(180, 67, 44, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-dark);
  border-color: var(--accent-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(180, 67, 44, 0.26);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--ink-primary);
  border-color: var(--border-hairline);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background-color: var(--bg-paper);
  transform: translateY(-2px);
}

.btn-forest {
  background-color: var(--accent-forest);
  color: #FFFFFF;
  border-color: var(--accent-forest);
}

.btn-forest:hover {
  background-color: #163B2D;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: transparent;
  padding: 0.55rem 0.9rem;
}

.btn-ghost:hover {
  color: var(--ink-primary);
  background: var(--bg-tinted);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   Site Header & Footer
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-seal {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(180, 67, 44, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  font-weight: 600;
  padding-left: 0.65rem;
  border-left: 1px solid var(--border-hairline);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--border-hairline);
  background-color: var(--bg-tinted);
  padding: 3.5rem 0 2.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-promise {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-forest);
  font-weight: 600;
}

/* ==========================================================================
   Landing Page (home.blade.php)
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 540px;
  margin: 1.35rem 0 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-item i {
  color: var(--accent-forest);
}

/* Interactive Mini-Invitation Preview Card on Hero */
.hero-preview-stage {
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-invite-card {
  width: 100%;
  max-width: 410px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(28, 25, 23, 0.09);
  padding: 2.25rem 2rem;
  position: relative;
  text-align: center;
  transition: transform 0.5s var(--transition-smooth);
}

.mini-invite-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(176, 141, 87, 0.35);
  pointer-events: none;
}

.mini-invite-card:hover {
  transform: translateY(-4px);
}

.mini-invite-envelope {
  position: relative;
  background: var(--bg-tinted);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.5s var(--transition-smooth);
}

.mini-invite-card.is-opened .mini-invite-envelope {
  background: var(--bg-paper);
  border-color: var(--accent-gold);
}

.mini-wax-seal-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: radial-gradient(circle at 32% 30%, #C8563E, var(--accent-terracotta) 65%, #842B1A);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-seal);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease;
  margin: 0.75rem auto;
}

.mini-wax-seal-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 14px 30px rgba(180, 67, 44, 0.35);
}

.mini-invite-revealed {
  display: none;
  animation: fadeUpReveal 0.45s var(--transition-smooth) forwards;
}

.mini-invite-card.is-opened .mini-invite-sealed {
  display: none;
}

.mini-invite-card.is-opened .mini-invite-revealed {
  display: block;
}

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

.mini-invite-hint {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Sections */
.editorial-section {
  padding: 5rem 0;
}

.editorial-section-tinted {
  background-color: var(--bg-tinted);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 5rem 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
  margin: 0 auto 3.5rem;
}

/* Comparison Grid (4 Pain Points) */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform 0.25s var(--transition-smooth), border-color 0.25s ease;
}

.comparison-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.comparison-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-terracotta);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.comparison-vs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.88rem;
}

.vs-old {
  color: var(--ink-muted);
  text-decoration: line-through;
  opacity: 0.8;
}

.vs-new {
  color: var(--accent-forest);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* 3 Unboxing Rituals Showcase */
.rituals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.ritual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s ease;
}

.ritual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.ritual-swatch-box {
  height: 140px;
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.ritual-seal-demo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: var(--shadow-seal);
}

.ritual-scroll-demo {
  width: 110px;
  height: 82px;
  background: #FFFDF9;
  border-top: 6px solid var(--accent-gold);
  border-bottom: 6px solid var(--accent-gold);
  border-left: 1px solid var(--border-hairline);
  border-right: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  color: var(--accent-terracotta);
  font-size: 0.9rem;
  font-weight: 600;
}

.ritual-foil-demo {
  width: 96px;
  height: 108px;
  background: var(--ink-primary);
  border: 1px solid var(--accent-gold);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

/* Occasions Grid */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.occasion-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s var(--transition-smooth);
}

.occasion-card:hover {
  border-color: var(--accent-terracotta);
  transform: translateY(-2px);
}

.occasion-icon {
  font-size: 1.25rem;
  color: var(--accent-terracotta);
  margin-bottom: 0.85rem;
  display: inline-flex;
}

/* 3-Step Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.workflow-step {
  padding-top: 1.5rem;
  border-top: 2px solid var(--accent-gold);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Invitation Builder (builder/create.blade.php)
   ========================================================================== */
.builder-page-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-card);
}

.builder-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

.builder-form-column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.builder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.builder-step-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.builder-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tinted);
  border: 1px solid var(--accent-gold);
  color: var(--ink-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: 0.01em;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.form-control {
  width: 100%;
  padding: 0.68rem 0.85rem;
  font-size: 0.92rem;
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  color: var(--ink-primary);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  background: #FFFFFF;
}

textarea.form-control {
  resize: vertical;
  min-height: 88px;
}

/* Radio Theme Selector Cards */
.theme-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.theme-option {
  position: relative;
}

.theme-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-option-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  background: var(--bg-paper);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-option input[type="radio"]:checked + .theme-option-label {
  border-color: var(--accent-terracotta);
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--accent-terracotta);
}

/* Color Swatches */
.swatch-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.swatch-btn.is-active {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--ink-primary);
}

/* Dress Code Swatch Chips */
.dress-swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
}

.dress-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(28, 25, 23, 0.15);
}

/* Dynamic Sub-Event Rows */
.sub-events-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.sub-event-row {
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  padding: 1.25rem;
  position: relative;
}

.sub-event-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sub-event-title-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
}

/* Sticky Live Stationery Preview */
.builder-preview-column {
  position: sticky;
  top: 96px;
}

.live-preview-shell {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.live-preview-bar {
  background: var(--bg-tinted);
  border-bottom: 1px solid var(--border-hairline);
  padding: 0.7rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.live-stationery-card {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  background: #FFFFFF;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.live-stationery-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--preview-accent, var(--accent-gold));
  opacity: 0.4;
  pointer-events: none;
}

.live-preview-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin: 0 auto 1.25rem;
}

.live-preview-blessing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-gold);
  margin-bottom: 0.65rem;
}

.live-preview-title {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  line-height: 1.1;
  color: var(--ink-primary);
  margin-bottom: 0.5rem;
}

.live-preview-host {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--preview-accent, var(--accent-terracotta));
  margin-bottom: 1.25rem;
}

.live-preview-meta {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 1rem 0;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.live-preview-events-mini {
  text-align: left;
  margin-top: 1rem;
  font-size: 0.82rem;
}

.live-preview-event-pill {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.65rem;
  background: var(--bg-paper);
  border-left: 2px solid var(--preview-accent, var(--accent-terracotta));
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Host Command Center Dashboard (dashboard/show.blade.php)
   ========================================================================== */
.dashboard-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-hairline);
  padding: 2.5rem 0 2rem;
}

.dashboard-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  margin: 2rem 0;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.25rem;
}

.kpi-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.kpi-value {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-primary);
}

.kpi-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.45rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
}

.cohort-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.cohort-link-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Editorial Table */
.table-wrap {
  overflow-x: auto;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.editorial-table th {
  text-align: left;
  padding: 0.75rem 0.85rem;
  background: var(--bg-tinted);
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-weight: 700;
}

.editorial-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-attending {
  background: rgba(30, 77, 59, 0.1);
  color: var(--accent-forest);
}

.status-maybe {
  background: rgba(176, 141, 87, 0.15);
  color: #856432;
}

.status-declined {
  background: rgba(180, 67, 44, 0.1);
  color: var(--accent-terracotta);
}

/* Alert Banner */
.flash-banner {
  background: rgba(30, 77, 59, 0.08);
  border: 1px solid rgba(30, 77, 59, 0.25);
  color: var(--accent-forest);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-card);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.error-banner {
  background: rgba(180, 67, 44, 0.08);
  border: 1px solid rgba(180, 67, 44, 0.25);
  color: var(--accent-terracotta);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-card);
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

/* Toast Notification */
.wc-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink-primary);
  color: #FFFFFF;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-card);
  border-left: 3px solid var(--accent-gold);
  box-shadow: 0 12px 30px rgba(28, 25, 23, 0.22);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 10000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--transition-smooth);
}

.wc-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Mobile Navigation Drawer & Header Responsive Styles
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  background-color: transparent;
  color: var(--ink-primary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background-color: var(--bg-card);
  border-color: var(--accent-terracotta);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background-color: #FAF7F2;
  border-left: 1px solid var(--border-hairline);
  z-index: 9999;
  box-shadow: -8px 0 32px rgba(28, 25, 23, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  right: 0 !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 1rem;
}

.drawer-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.drawer-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.drawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(180, 67, 44, 0.1);
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.drawer-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-user-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-phone {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.drawer-auth-buttons {
  display: flex;
  gap: 0.65rem;
}

.drawer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-group-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.35rem;
  padding-left: 0.5rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  color: var(--ink-primary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.drawer-link:hover, .drawer-link.active {
  background-color: #FFFFFF;
  color: var(--accent-terracotta);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.05);
}

.drawer-link i {
  font-size: 1.05rem;
  color: var(--accent-gold);
}

.drawer-cta-wrapper {
  margin-top: auto;
  padding-top: 0.75rem;
}

.drawer-impersonation-alert {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.82rem;
  color: #B91C1C;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav,
  .header-action-desktop {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }

  .brand-tag {
    display: none !important;
  }

  .header-inner {
    height: 64px;
    gap: 0.75rem;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .hero-grid,
  .builder-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .builder-preview-column {
    position: static;
  }

  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container,
  .container-wide {
    padding: 0 1rem;
  }

  .comparison-grid,
  .rituals-grid,
  .occasions-grid,
  .workflow-grid,
  .footer-grid,
  .form-grid,
  .theme-selector-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .hero-trust-row {
    gap: 0.85rem;
  }

  .cohort-link-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cohort-link-actions {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }

  .cohort-link-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.18rem;
  }

  .header-cta-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  .header-cta-btn span {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .display-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}
