:root {
  --primary: #6366F1;
  --primary-light: #E0E7FF;
  --primary-dark: #4F46E5;
  --accent: #8B5CF6;
  --accent-light: #EDE9FE;
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --danger: #EF4444;
  --white: #FFFFFF;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-dark: #1E293B;
  --text-medium: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Keep these for the invitation card */
  --pink: #FF6B9D;
  --pink-light: #FFB8D0;
  --yellow: #FFD93D;
  --yellow-light: #FFF0A3;
  --blue: #6BC5F8;
  --blue-light: #B8E4FF;
  --green: #95E86B;
  --green-light: #D4FFB8;
  --purple: #B794F4;
  --purple-light: #E2D4FF;
  --orange: #FFA94D;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'News Cycle', sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

#root { min-height: 100vh; }

h1, h2, h3 { 
  font-family: 'Advent Pro', sans-serif; 
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Subtle Background */
.confetti-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.app-container { position: relative; min-height: 100vh; }

/* Floating shapes - hidden for neutral look */
.floating-shapes {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.shape-1 { width: 60px; height: 60px; background: var(--pink-light); top: 10%; left: 5%; animation-delay: 0s; }
.shape-2 { width: 40px; height: 40px; background: var(--yellow-light); top: 70%; left: 10%; animation-delay: 1s; }
.shape-3 { width: 80px; height: 80px; background: var(--blue-light); top: 20%; right: 10%; animation-delay: 2s; }
.shape-4 { width: 50px; height: 50px; background: var(--green-light); top: 80%; right: 5%; animation-delay: 3s; }
.shape-5 { width: 35px; height: 35px; background: var(--purple-light); top: 50%; left: 3%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; padding: 16px 30px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'News Cycle', sans-serif; 
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-emoji { font-size: 1.6rem; }
.nav-actions { display: flex; gap: 10px; }

/* Buttons */
.btn {
  padding: 10px 20px; 
  border-radius: var(--radius-md);
  font-family: 'News Cycle', sans-serif; 
  font-size: 0.9rem; 
  font-weight: 700;
  cursor: pointer; 
  transition: all 0.2s ease;
  border: none; 
  outline: none;
}

.btn:disabled { opacity: 0.6; cursor: wait; transform: none !important; }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover:not(:disabled) { 
  background: var(--primary-dark);
  transform: translateY(-1px); 
  box-shadow: var(--shadow-card);
}

.btn-secondary { 
  background: white; 
  color: var(--primary);
  border: 2px solid var(--border);
}
.btn-secondary:hover { 
  background: var(--primary-light);
  border-color: var(--primary);
}

.btn-ghost { 
  background: transparent; 
  color: var(--text-medium); 
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--primary); }

.btn-danger { 
  background: var(--danger);
  color: white;
}
.btn-danger:hover { background: #DC2626; }

.btn-success { 
  background: var(--success);
  color: white;
}
.btn-success:hover:not(:disabled) { 
  background: #059669;
  transform: translateY(-1px); 
}

/* Forms */
.input, .textarea {
  width: 100%; 
  padding: 12px 16px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: 'News Cycle', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.input:focus, .textarea:focus { 
  outline: none; 
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.input::placeholder, .textarea::placeholder { color: var(--text-light); }
.textarea { resize: vertical; min-height: 100px; }
.form-group { margin-bottom: 20px; }
.form-label { 
  display: block; 
  margin-bottom: 6px; 
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 700;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.card:hover { 
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Auth Pages */
.auth-page { 
  min-height: 100vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 40px 20px; 
  position: relative; 
  z-index: 1; 
}

.auth-card { 
  width: 100%; 
  max-width: 420px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.auth-emoji { font-size: 3rem; text-align: center; margin-bottom: 16px; }
.auth-title { font-size: 1.75rem; margin-bottom: 8px; text-align: center; color: var(--text-dark); }
.auth-subtitle { color: var(--text-medium); text-align: center; margin-bottom: 28px; font-weight: 500; }
.auth-switch { text-align: center; margin-top: 24px; color: var(--text-medium); font-weight: 500; }
.auth-switch a { color: var(--primary); text-decoration: none; cursor: pointer; font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }
.error-box { 
  background: #FEF2F2; 
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
  color: var(--danger);
  font-weight: 600;
  text-align: center;
}

/* Dashboard */
.dashboard { 
  position: relative; 
  z-index: 1; 
  padding: 100px 30px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-header { 
  display: flex; 
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.dashboard-emoji { font-size: 2.5rem; margin-bottom: 8px; }
.dashboard-title { font-size: 2rem; color: var(--text-dark); margin-bottom: 4px; }
.dashboard-subtitle { color: var(--text-medium); font-size: 1rem; font-weight: 500; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

/* Event Card */
.event-card { 
  position: relative;
  overflow: hidden;
  background: white;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.event-name { font-size: 1.4rem; margin-bottom: 6px; color: var(--text-dark); }
.event-location { color: var(--text-medium); margin-bottom: 16px; font-weight: 500; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }

.event-stats { 
  display: flex; 
  gap: 12px;
  padding: 14px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.stat { text-align: center; flex: 1; }
.stat-value { 
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
}
.stat-value.confirmed { color: var(--success); }
.stat-value.pending { color: var(--warning); }
.stat-label { font-size: 0.7rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; }

.event-actions { display: flex; gap: 10px; align-items: center; }
.event-actions .btn { padding: 10px 16px; font-size: 0.85rem; white-space: nowrap; }

/* Empty State */
.empty-state { 
  text-align: center; 
  padding: 60px 40px;
  background: white;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
}
.empty-emoji { font-size: 4rem; margin-bottom: 16px; }
.empty-title { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 8px; }
.empty-text { color: var(--text-medium); margin-bottom: 24px; font-weight: 500; }

/* Modal */
.modal-overlay { 
  position: fixed; 
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 200;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.2s ease;
  border: 1px solid var(--border);
  margin: auto;
}

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

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-title { font-size: 1.25rem; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  border: none;
  color: var(--text-medium);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.2s ease;
}
.modal-close:hover { background: var(--border); color: var(--text-dark); }

/* Event Detail */
.event-detail { position: relative; z-index: 1; padding: 100px 30px 40px; max-width: 1000px; margin: 0 auto; }
.back-link { 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  background: white;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}
.back-link:hover { color: var(--primary); border-color: var(--primary); }

.event-hero {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.event-hero-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.event-hero-title { font-size: 2rem; color: var(--text-dark); margin-bottom: 12px; }
.event-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.meta-item { 
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-medium);
  font-size: 0.9rem;
}
.meta-emoji { font-size: 1.1rem; }

.event-hero-stats { 
  display: flex; 
  gap: 12px; 
  text-align: center;
  flex-wrap: wrap;
}
.event-hero-stats > div {
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-width: 80px;
}
.hero-stat-value { 
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-value.confirmed { color: var(--success); }
.hero-stat-value.pending { color: var(--warning); }
.hero-stat-value.declined { color: var(--danger); }
.hero-stat-label { 
  font-size: 0.7rem; 
  color: var(--text-medium); 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 0.5px;
}

/* Guests Section */
.guests-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.guests-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.guests-header-buttons { display: flex; gap: 10px; }
.guests-title { font-size: 1.25rem; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }

.guest-list { display: flex; flex-direction: column; gap: 10px; }

.guest-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.guest-item:hover { border-color: var(--border); background: white; }

.guest-info { display: flex; align-items: center; gap: 14px; }

.guest-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.guest-name { font-weight: 600; font-size: 1rem; color: var(--text-dark); }
.guest-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.status-badge {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-badge .status-icon { font-size: 0.9rem; }
.status-badge .status-text { }
.status-pending { background: #FEF3C7; color: #92400E; }
.status-confirmed { background: var(--success-light); color: #065F46; }
.status-declined { background: #FEE2E2; color: #991B1B; }

.copy-link-btn, .print-invite-btn, .guest-status .download-btn {
  padding: 6px 12px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-medium);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.copy-link-btn:hover, .print-invite-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

.print-invite-btn {
  background: var(--bg-main);
  color: var(--text-medium);
}
.print-invite-btn:hover { background: var(--primary); color: white; }

.guest-status .download-btn {
  background: var(--success-light);
  color: #065F46;
  margin-top: 0;
  padding: 6px 12px;
  font-size: 0.75rem;
  box-shadow: none;
  border: none;
}
.guest-status .download-btn:hover { 
  background: var(--success); 
  color: white; 
  transform: none;
  box-shadow: none;
}

.delete-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 1px solid #ddd;
  color: #888;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.delete-btn:hover { background: #e0e0e0; color: #666; }

/* RSVP Page - PDF-like Design */
.rsvp-wrapper {
  min-height: 100vh;
  background: linear-gradient(180deg, #0D4F5A 0%, #1A6B7A 35%, #2E8B8B 65%, #4AA8A8 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsvp-ribbon {
  position: fixed;
  top: 35px;
  right: -55px;
  background: linear-gradient(135deg, #0D4F5A 0%, #1A6B7A 100%);
  color: #E0F4F4;
  padding: 8px 65px;
  font-size: 0.8rem;
  font-weight: 800;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  z-index: 10;
  text-align: center;
  min-width: 240px;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rsvp-balloon {
  position: fixed;
}
.rsvp-balloon-1 { top: 30px; left: 25px; }
.rsvp-balloon-2 { top: 60px; left: 65px; }
.rsvp-balloon-3 { top: 15px; left: 95px; }

.rsvp-confetti {
  position: fixed;
  border-radius: 50%;
}
.rsvp-confetti-1 { top: 180px; left: 30px; width: 12px; height: 12px; background: #0D4F5A; }
.rsvp-confetti-2 { top: 220px; left: 50px; width: 8px; height: 8px; background: #4AA8A8; }
.rsvp-confetti-3 { top: 250px; right: 40px; width: 10px; height: 10px; background: #E0F4F4; }
.rsvp-confetti-4 { top: 200px; right: 60px; width: 8px; height: 8px; background: #2E8B8B; }
.rsvp-confetti-5 { bottom: 150px; left: 35px; width: 10px; height: 10px; background: #1A6B7A; }
.rsvp-confetti-6 { bottom: 180px; right: 45px; width: 12px; height: 12px; background: #6BC5C5; }

.rsvp-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.rsvp-emoji { font-size: 3rem; margin-bottom: 16px; text-align: center; }
.rsvp-title { 
  text-align: center;
  font-family: 'News Cycle', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #4A3728;
  margin: 0 0 8px 0;
  line-height: 1.2;
}
.rsvp-subtitle { color: #4A3728; margin-bottom: 8px; text-align: center; font-weight: 700; }
.rsvp-host { text-align: center; color: #666; margin-bottom: 20px; font-weight: 600; }
.rsvp-text { color: #666; text-align: center; }
.rsvp-text-small { font-size: 0.8rem; color: #888; margin-bottom: 16px; text-align: center; }

.rsvp-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.rsvp-detail-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rsvp-detail-box-date { }
.rsvp-detail-box-time { }
.rsvp-detail-emoji { font-size: 1.2rem; }
.rsvp-detail-text { font-weight: 600; color: #4A3728; font-size: 0.9rem; }
.rsvp-detail-separator {
  width: 4px;
  height: 4px;
  background: #4A3728;
  border-radius: 50%;
  opacity: 0.4;
}

.rsvp-location {
  text-align: center;
  margin-bottom: 16px;
}
.rsvp-location-title {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 800;
  color: #4A3728;
}
.rsvp-location-address {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
}

.rsvp-map {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #E0E0E0;
}
.rsvp-map img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.rsvp-description {
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  padding: 8px 0;
  line-height: 1.5;
}

.rsvp-question {
  text-align: center;
  font-weight: 700;
  color: #4A3728;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.rsvp-buttons {
  display: flex;
  gap: 12px;
}
.rsvp-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.rsvp-btn-confirm {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
}
.rsvp-btn-decline {
  background: white;
  color: #666;
  border: 2px solid #E0E0E0;
}
.rsvp-btn-back {
  background: transparent;
  border: 2px solid #E0E0E0;
  padding: 10px 24px;
  color: #666;
}

.rsvp-guest-count-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.rsvp-guest-count-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid #E0E0E0;
  background: white;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #4A3728;
}
.rsvp-guest-count-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.rsvp-attending-badge {
  background: #D1FAE5;
  padding: 10px 16px;
  border-radius: 12px;
  color: #065F46;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

/* Mobile adjustments for RSVP */
@media (max-width: 480px) {
  .rsvp-card { padding: 24px 20px; }
  .rsvp-title { font-size: 1.5rem; }
  .rsvp-buttons { flex-direction: column; }
  .rsvp-ribbon { font-size: 0.65rem; padding: 6px 50px; min-width: 200px; right: -50px; }
}

/* QR Code Section - Hidden on screen, only visible when printing */
.qr-section {
  display: none;
}
.qr-section.visible {
  display: block !important;
}
.qr-title {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 16px;
  font-weight: 700;
}
.qr-code {
  display: inline-block;
  padding: 16px;
  background: white;
  border-radius: var(--radius-md);
  border: 3px solid var(--purple-light);
}
.qr-code img,
.qr-code canvas {
  display: block;
  width: 180px !important;
  height: 180px !important;
}
.qr-url {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  word-break: break-all;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.qr-instructions {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Download Button */
.download-btn {
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'News Cycle', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
.download-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 28px;
  background: white;
  border-radius: 50px;
  color: var(--text-dark);
  z-index: 300;
  animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.toast-success { border-left: 5px solid var(--green); }
.toast-error { border-left: 5px solid #FF6B6B; }
@keyframes slideIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }

/* Landing Page */
.landing { min-height: 100vh; position: relative; z-index: 1; display: flex; flex-direction: column; }

.landing-hero { flex: 1; display: flex; align-items: center; justify-content: center; padding: 120px 30px 60px; text-align: center; }
.landing-content { max-width: 640px; }
.landing-emoji { font-size: 4rem; margin-bottom: 20px; }
.landing-title { 
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.landing-title span { 
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing-subtitle { font-size: 1.15rem; color: var(--text-medium); margin-bottom: 32px; font-weight: 500; }
.landing-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.landing-cta .btn { padding: 14px 32px; font-size: 0.95rem; }

.landing-features { 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 30px 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-emoji { font-size: 2.5rem; margin-bottom: 12px; }
.feature-title { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 6px; }
.feature-text { color: var(--text-medium); font-weight: 500; font-size: 0.9rem; }

.loading { display: flex; align-items: center; justify-content: center; min-height: 200px; color: var(--text-medium); font-weight: 600; }

/* ===================== */
/* PRINT STYLES          */
/* ===================== */
@media print {
  * { 
    -webkit-print-color-adjust: exact !important; 
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  
  html, body { 
    background: white !important; 
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  #root,
  .app-container {
    display: block !important;
    position: static !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  /* Hide non-printable elements */
  .confetti-bg, 
  .floating-shapes, 
  .nav, 
  .rsvp-buttons,
  .toast,
  .download-btn,
  .no-print { 
    display: none !important; 
  }

  .rsvp-wrapper {
    background: white !important;
    min-height: auto !important;
    padding: 20px !important;
  }
  
  .rsvp-ribbon,
  .rsvp-balloon,
  .rsvp-confetti {
    display: none !important;
  }
  
  .rsvp-card {
    background: white !important;
    box-shadow: none !important;
    border: 2px solid #333 !important;
    max-width: 100% !important;
  }

  /* QR Code - Show ONLY when printing */
  .qr-section {
    display: block !important;
    margin-top: 25px !important;
    padding-top: 25px !important;
    border-top: 2px dashed #999 !important;
  }

  .qr-title {
    font-size: 1.1rem !important;
    color: #333 !important;
    font-weight: 800 !important;
  }

  .qr-code {
    border: 3px solid #333 !important;
    padding: 12px !important;
  }

  .qr-code img,
  .qr-code canvas {
    width: 180px !important;
    height: 180px !important;
  }

  .qr-url {
    display: block !important;
    font-size: 0.7rem !important;
    color: #666 !important;
    margin-top: 10px !important;
  }

  .qr-instructions {
    font-size: 0.9rem !important;
    color: #555 !important;
    font-weight: 700 !important;
  }

  /* Print footer */
  .print-footer {
    display: block !important;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 0.8rem;
    color: #888;
  }
}

/* Hide print-only elements on screen */
@media screen {
  .print-only {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 14px 16px; }
  .logo { font-size: 1rem; }
  .logo-emoji { font-size: 1.1rem; }
  .dashboard { padding: 80px 16px 20px; }
  .dashboard-header { flex-direction: column; }
  .dashboard-title { font-size: 1.6rem; }
  .events-grid { grid-template-columns: 1fr; }
  .landing-title { font-size: 1.8rem; }
  .landing-subtitle { font-size: 1rem; }
  .landing-features { grid-template-columns: 1fr; padding: 0 16px 40px; }
  .event-hero-header { flex-direction: column; }
  .event-hero-title { font-size: 1.3rem; }
  .modal { padding: 24px; }
  .modal-title { font-size: 1.3rem; }
  
  /* Event card on mobile */
  .event-card { padding: 16px; }
  .event-name { font-size: 1.2rem; }
  .event-date { font-size: 0.8rem; }
  .event-location { font-size: 0.85rem; }
  .event-stats { gap: 12px; }
  .stat-value { font-size: 1.3rem; }
  .stat-label { font-size: 0.65rem; }
  
  /* Hero stats on mobile */
  .event-hero-stats { 
    flex-wrap: wrap; 
    gap: 8px;
    justify-content: center;
  }
  .event-hero-stats > div {
    padding: 12px 14px;
    min-width: 70px;
  }
  .hero-stat-value { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.6rem; }
  .hero-stat-label { font-size: 0.65rem; }
  
  /* Guest list as compact single-line rows on mobile */
  .guest-list { gap: 4px; }
  .guest-item { 
    flex-direction: row; 
    gap: 6px; 
    text-align: left;
    padding: 6px 8px;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
  }
  .guest-info { 
    flex: 1;
    min-width: 0;
    gap: 6px;
    flex-direction: row;
    align-items: center;
  }
  .guest-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
    flex-shrink: 0;
  }
  .guest-name { 
    font-size: 0.75rem; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70px;
  }
  .guest-info > div:last-child {
    min-width: 0;
  }
  .guest-info .extra-guests-text {
    display: none;
  }
  .guest-status { 
    flex-direction: row;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .guest-status .status-badge {
    padding: 2px 4px;
    font-size: 0.6rem;
    min-width: auto;
    gap: 2px;
  }
  .guest-status .status-badge .status-icon {
    font-size: 0.65rem;
  }
  .guest-status .status-badge .status-text {
    display: inline;
    font-size: 0.55rem;
  }
  .guest-status .copy-link-btn,
  .guest-status .download-btn {
    padding: 2px 4px;
    font-size: 0.55rem;
    min-width: auto;
    gap: 2px;
  }
  .guest-status .copy-link-btn span,
  .guest-status .download-btn span {
    display: inline;
    font-size: 0.55rem;
  }
  .guest-status .delete-btn {
    position: static;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    padding: 0;
  }
  
  /* Nav actions on mobile */
  .nav-actions { gap: 6px; }
  .nav-actions .btn { 
    padding: 8px 10px; 
    font-size: 0.75rem;
  }
  .nav-actions .btn-ghost {
    padding: 8px 8px;
  }
  
  /* Guests header on mobile */
  .guests-title { font-size: 1.2rem; }
  .guests-header { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 8px; 
  }
  .guests-header-buttons {
    display: flex;
    gap: 8px;
  }
  .guests-header-buttons .btn { 
    font-size: 0.75rem;
    padding: 6px 10px;
  }
  
  /* Guest name wrapping on mobile - surname on second line */
  .guest-name {
    word-break: break-word;
    line-height: 1.3;
  }
  .guest-surname {
    display: block;
    font-size: 0.9em;
  }
}

/* Address Autocomplete Styles */
.address-autocomplete {
  position: relative;
}
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
}
.address-suggestion {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.address-suggestion:last-child {
  border-bottom: none;
}
.address-suggestion:hover {
  background: var(--primary-light);
}
.address-suggestion-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.address-suggestion-text {
  flex: 1;
}
.address-suggestion-main {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.address-suggestion-secondary {
  font-size: 0.8rem;
  color: var(--text-medium);
  margin-top: 2px;
}
.address-loading {
  padding: 16px;
  text-align: center;
  color: var(--text-medium);
  font-weight: 600;
}

/* Google Places Autocomplete Styling */
.pac-container {
  font-family: 'News Cycle', sans-serif;
  border: 2px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  margin-top: -2px;
  z-index: 10000 !important;
}
.pac-item {
  padding: 12px 14px;
  cursor: pointer;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.4;
}
.pac-item:first-child {
  border-top: none;
}
.pac-item:hover, .pac-item-selected {
  background: var(--primary-light);
}
.pac-icon {
  margin-right: 10px;
  margin-top: 4px;
}
.pac-item-query {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.pac-matched {
  font-weight: 700;
}

/* ==========================================
   EVENT THEMES
   ========================================== */

/* Theme: Wedding - Elegant champagne/gold/blush */
.rsvp-wrapper.theme-wedding {
  background: linear-gradient(180deg, #FDF8F3 0%, #F5E6D3 35%, #E8D4C4 65%, #D4B896 100%);
  font-family: 'News Cycle', sans-serif;
}
.theme-wedding .rsvp-title {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
}
.theme-wedding .rsvp-ribbon {
  background: linear-gradient(135deg, #D4AF37 0%, #C9A227 100%);
  color: #FFFEF5;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
}
.theme-wedding .rsvp-confetti-1 { background: #D4AF37; }
.theme-wedding .rsvp-confetti-2 { background: #E8D4C4; }
.theme-wedding .rsvp-confetti-3 { background: #FFFEF5; }
.theme-wedding .rsvp-confetti-4 { background: #F5E6D3; }
.theme-wedding .rsvp-confetti-5 { background: #C9A227; }
.theme-wedding .rsvp-confetti-6 { background: #D4B896; }

/* Theme: Baptism Boy - Soft baby blue */
.rsvp-wrapper.theme-baptism-boy {
  background: linear-gradient(180deg, #E3F2FD 0%, #BBDEFB 35%, #90CAF9 65%, #64B5F6 100%);
  font-family: 'News Cycle', sans-serif;
}
.theme-baptism-boy .rsvp-title {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 700;
}
.theme-baptism-boy .rsvp-ribbon {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  color: #E3F2FD;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
}
.theme-baptism-boy .rsvp-confetti-1 { background: #1976D2; }
.theme-baptism-boy .rsvp-confetti-2 { background: #90CAF9; }
.theme-baptism-boy .rsvp-confetti-3 { background: #E3F2FD; }
.theme-baptism-boy .rsvp-confetti-4 { background: #64B5F6; }
.theme-baptism-boy .rsvp-confetti-5 { background: #42A5F5; }
.theme-baptism-boy .rsvp-confetti-6 { background: #BBDEFB; }

/* Theme: Baptism Girl - Soft baby pink */
.rsvp-wrapper.theme-baptism-girl {
  background: linear-gradient(180deg, #FCE4EC 0%, #F8BBD9 35%, #F48FB1 65%, #EC407A 100%);
  font-family: 'News Cycle', sans-serif;
}
.theme-baptism-girl .rsvp-title {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 700;
}
.theme-baptism-girl .rsvp-ribbon {
  background: linear-gradient(135deg, #C2185B 0%, #AD1457 100%);
  color: #FCE4EC;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
}
.theme-baptism-girl .rsvp-confetti-1 { background: #C2185B; }
.theme-baptism-girl .rsvp-confetti-2 { background: #F48FB1; }
.theme-baptism-girl .rsvp-confetti-3 { background: #FCE4EC; }
.theme-baptism-girl .rsvp-confetti-4 { background: #F8BBD9; }
.theme-baptism-girl .rsvp-confetti-5 { background: #EC407A; }
.theme-baptism-girl .rsvp-confetti-6 { background: #F06292; }

/* Theme: Party Boy - Fun blue/green/yellow */
.rsvp-wrapper.theme-party-boy {
  background: linear-gradient(180deg, #E0F7FA 0%, #80DEEA 25%, #4DD0E1 50%, #26C6DA 75%, #00BCD4 100%);
  font-family: 'News Cycle', sans-serif;
}
.theme-party-boy .rsvp-title {
  font-family: 'Mynerve', cursive;
  font-weight: 400;
}
.theme-party-boy .rsvp-ribbon {
  background: linear-gradient(135deg, #00838F 0%, #006064 100%);
  color: #E0F7FA;
  font-family: 'Mynerve', cursive;
}
.theme-party-boy .rsvp-confetti-1 { background: #00838F; }
.theme-party-boy .rsvp-confetti-2 { background: #FFEB3B; }
.theme-party-boy .rsvp-confetti-3 { background: #4CAF50; }
.theme-party-boy .rsvp-confetti-4 { background: #26C6DA; }
.theme-party-boy .rsvp-confetti-5 { background: #FF9800; }
.theme-party-boy .rsvp-confetti-6 { background: #80DEEA; }

/* Theme: Party Girl - Fun pink/purple */
.rsvp-wrapper.theme-party-girl {
  background: linear-gradient(180deg, #F3E5F5 0%, #E1BEE7 25%, #CE93D8 50%, #BA68C8 75%, #AB47BC 100%);
  font-family: 'News Cycle', sans-serif;
}
.theme-party-girl .rsvp-title {
  font-family: 'Mynerve', cursive;
  font-weight: 400;
}
.theme-party-girl .rsvp-ribbon {
  background: linear-gradient(135deg, #7B1FA2 0%, #6A1B9A 100%);
  color: #F3E5F5;
  font-family: 'Mynerve', cursive;
}
.theme-party-girl .rsvp-confetti-1 { background: #7B1FA2; }
.theme-party-girl .rsvp-confetti-2 { background: #FF4081; }
.theme-party-girl .rsvp-confetti-3 { background: #F3E5F5; }
.theme-party-girl .rsvp-confetti-4 { background: #E040FB; }
.theme-party-girl .rsvp-confetti-5 { background: #EA80FC; }
.theme-party-girl .rsvp-confetti-6 { background: #CE93D8; }

/* Theme: Event Party - Sophisticated petrol (default) */
.rsvp-wrapper.theme-event-party {
  background: linear-gradient(180deg, #0D4F5A 0%, #1A6B7A 35%, #2E8B8B 65%, #4AA8A8 100%);
  font-family: 'News Cycle', sans-serif;
}
.theme-event-party .rsvp-title {
  font-family: 'Sofia Sans', sans-serif;
  font-weight: 700;
}
.theme-event-party .rsvp-ribbon {
  background: linear-gradient(135deg, #0D4F5A 0%, #1A6B7A 100%);
  color: #E0F4F4;
  font-family: 'Sofia Sans', sans-serif;
}
.theme-event-party .rsvp-confetti-1 { background: #0D4F5A; }
.theme-event-party .rsvp-confetti-2 { background: #4AA8A8; }
.theme-event-party .rsvp-confetti-3 { background: #E0F4F4; }
.theme-event-party .rsvp-confetti-4 { background: #2E8B8B; }
.theme-event-party .rsvp-confetti-5 { background: #1A6B7A; }
.theme-event-party .rsvp-confetti-6 { background: #6BC5C5; }

/* Theme selector buttons */
.theme-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.theme-option {
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  background: white;
}
.theme-option:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.theme-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.theme-option-preview {
  height: 40px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.theme-option-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Theme preview gradients */
.theme-preview-wedding { background: linear-gradient(135deg, #FDF8F3 0%, #D4AF37 100%); }
.theme-preview-baptism-boy { background: linear-gradient(135deg, #E3F2FD 0%, #1976D2 100%); }
.theme-preview-baptism-girl { background: linear-gradient(135deg, #FCE4EC 0%, #C2185B 100%); }
.theme-preview-party-boy { background: linear-gradient(135deg, #E0F7FA 0%, #00838F 100%); }
.theme-preview-party-girl { background: linear-gradient(135deg, #F3E5F5 0%, #7B1FA2 100%); }
.theme-preview-event-party { background: linear-gradient(135deg, #4AA8A8 0%, #0D4F5A 100%); }

@media (max-width: 480px) {
  .theme-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* How It Works Section */
.how-it-works {
  padding: 4rem 2rem;
  background: white;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

/* ========================================
   MODERN LANDING PAGE STYLES
   ======================================== */

/* Hero Enhancements */
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
}

.btn-hero {
  padding: 14px 28px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-hero:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: none;
}

.hero-stat {
  text-align: center;
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  min-width: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Mini Invitation Card Icon */
.mini-card-icon {
  width: 36px;
  height: 48px;
  background: linear-gradient(180deg, #0D4F5A 0%, #2E8B8B 100%);
  border-radius: 4px;
  margin: 0 auto 6px;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  overflow: hidden;
}

.mini-card-header {
  height: 10px;
  background: linear-gradient(180deg, #0D4F5A 0%, #1A6B7A 100%);
  border-radius: 2px 2px 0 0;
  margin-bottom: 2px;
}

.mini-card-body {
  background: white;
  border-radius: 3px;
  padding: 4px 3px;
  height: calc(100% - 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mini-card-line {
  width: 80%;
  height: 2px;
  background: #ddd;
  border-radius: 1px;
}

.mini-card-line.short {
  width: 50%;
}

.mini-card-qr {
  width: 14px;
  height: 14px;
  background: 
    linear-gradient(90deg, #333 25%, transparent 25%, transparent 75%, #333 75%),
    linear-gradient(90deg, #333 25%, transparent 25%, transparent 75%, #333 75%),
    linear-gradient(#333 25%, transparent 25%, transparent 75%, #333 75%),
    linear-gradient(#333 25%, transparent 25%, transparent 75%, #333 75%);
  background-size: 4px 4px;
  background-position: 0 0, 5px 5px, 0 0, 5px 5px;
  border-radius: 1px;
  margin-top: auto;
}

/* Modern How It Works */
.how-it-works-modern {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-badge.accent {
  background: var(--accent);
}

.section-title-modern {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-step:nth-child(odd) {
  flex-direction: row;
  padding-right: 50%;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: 50%;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .timeline-icon {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4);
}

.timeline-content {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 0 2rem;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.timeline-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Delivery Section */
.delivery-section {
  margin-bottom: 4rem;
}

.delivery-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.delivery-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.delivery-card {
  flex: 1;
  max-width: 350px;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.delivery-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.delivery-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.delivery-icon-wrap.digital {
  background: linear-gradient(135deg, var(--accent-light) 0%, #fce7f3 100%);
}

.delivery-card:hover .delivery-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.delivery-icon {
  font-size: 2.5rem;
}

.delivery-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.delivery-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.delivery-features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.delivery-features span {
  padding: 6px 12px;
  background: var(--bg-main);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-medium);
}

/* Guest Experience */
.guest-experience {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 24px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.guest-exp-header {
  text-align: center;
  margin-bottom: 2rem;
}

.guest-exp-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.guest-exp-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.guest-exp-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  max-width: 200px;
  transition: transform 0.3s ease;
}

.guest-exp-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}

.guest-exp-number {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 auto 1rem;
}

.guest-exp-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.guest-exp-card p {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  line-height: 1.4;
}

.guest-exp-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Modern Features Grid */
.features-modern {
  padding: 6rem 2rem;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-modern {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-modern:hover {
  background: var(--bg-main);
  transform: translateY(-4px);
}

.feature-icon-modern {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.feature-modern h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-modern p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Modern CTA */
.cta-modern {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-modern h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.cta-modern p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.btn-cta {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.cta-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
}

.cta-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 10%;
}

.cta-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 5%;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-stats {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .hero-stat {
    padding: 1rem 1.25rem;
    min-width: 85px;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  .section-title-modern {
    font-size: 1.8rem;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-step,
  .timeline-step:nth-child(odd),
  .timeline-step:nth-child(even) {
    flex-direction: row;
    padding: 0 0 0 80px;
  }
  
  .timeline-icon {
    left: 30px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .timeline-content {
    margin: 0;
  }
  
  .delivery-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .delivery-card {
    max-width: 100%;
  }
  
  .guest-experience {
    padding: 2rem 1rem;
  }
  
  .guest-exp-cards {
    flex-direction: column;
  }
  
  .guest-exp-arrow {
    transform: rotate(90deg);
  }
  
  .guest-exp-card {
    max-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cta-modern h2 {
    font-size: 1.8rem;
  }
}

.final-option {
  flex: 1;
  text-align: center;
  padding: 1rem;
}

.final-option .option-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.final-option h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.final-option p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.4;
}

.option-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  font-weight: 600;
  color: var(--text-medium);
  box-shadow: var(--shadow-sm);
}

/* Bottom CTA */
.landing-bottom-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.landing-bottom-cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.landing-bottom-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.landing-bottom-cta .btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.landing-bottom-cta .btn-primary {
  background: white;
  color: var(--primary);
}

.landing-bottom-cta .btn-primary:hover {
  background: var(--bg-main);
  transform: translateY(-2px);
}

/* Mobile responsive for How It Works */
@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card {
    width: 100%;
    max-width: 280px;
  }
  
  .step-arrow {
    display: none;
  }
  
  .final-options {
    flex-direction: column;
    gap: 1rem;
  }
  
  .option-divider {
    width: 40px;
    height: 40px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .landing-bottom-cta h2 {
    font-size: 1.4rem;
  }
}
