/* Modern High-Level Light Mode Design System */
:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;
  
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #2563eb;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-subtle: #eff6ff;
  --primary-ring: rgba(37, 99, 235, 0.18);

  --success: #059669;
  --success-subtle: #ecfdf5;
  --success-border: #a7f3d0;

  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --danger-subtle: #fef2f2;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-dialog: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Lights */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
}
.glow-top {
  width: 600px;
  height: 400px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}
.glow-bottom {
  width: 500px;
  height: 400px;
  bottom: 0;
  right: -100px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

/* Top Navigation Bar */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
}
.nav-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}
.brand-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.brand-icon {
  width: 20px;
  height: 20px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}
.domain-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 6px;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}
.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  position: relative;
}
.live-beacon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.35);
  animation: beaconPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes beaconPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.live-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Hero Section */
.page-body {
  flex: 1;
  position: relative;
  z-index: 1;
}
.hero-header {
  padding: 48px 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 12px;
}
.gradient-headline {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Master Email Card */
.card-section {
  margin-top: 12px;
}
.master-email-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.master-email-card:hover {
  border-color: var(--border-hover);
}
.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-caption {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.server-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-subtle);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid var(--success-border);
}

/* Email Input Cluster */
.email-input-cluster {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.input-with-icon {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0 16px;
  transition: all 0.2s ease;
}
.input-with-icon:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-ring);
}
.mail-glyph {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 10px;
}
.main-address-display {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-mono);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 14px 0;
  letter-spacing: -0.3px;
}

/* Button System */
.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.btn-secondary:active {
  transform: translateY(0);
}
.btn-square {
  padding: 12px;
}
.btn-delete {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid #fecaca;
}
.btn-delete:hover {
  background: var(--danger);
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.spin-fast {
  animation: spinSmooth 0.7s linear infinite;
}
@keyframes spinSmooth {
  100% { transform: rotate(360deg); }
}

/* Inbox Section */
.inbox-area {
  margin: 32px 0 48px;
}
.inbox-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inbox-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}
.count-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 3px 10px;
  border-radius: 9999px;
}
.policy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Empty State Modern Styling */
.empty-inbox-state {
  padding: 56px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty-visual {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-symbol {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}
.empty-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.2);
  inset: 0;
  animation: pulseRing 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.ring-2 {
  animation-delay: 1.5s;
}
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.empty-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.empty-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.listening-wave {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wave-bar {
  width: 3px;
  height: 16px;
  background-color: var(--primary);
  border-radius: 2px;
  animation: waveMotion 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; }
@keyframes waveMotion {
  0%, 100% { height: 6px; opacity: 0.4; }
  50% { height: 18px; opacity: 1; }
}

/* Messages List */
.messages-container {
  display: flex;
  flex-direction: column;
}
.msg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.16s ease;
  background: #ffffff;
  gap: 16px;
}
.msg-row:last-child {
  border-bottom: none;
}
.msg-row:hover {
  background: #f8fafc;
}
.msg-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.msg-content {
  min-width: 0;
  flex: 1;
}
.msg-sender-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.sender-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}
.sender-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.msg-subject-line {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.msg-preview-line {
  font-size: 0.84rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.msg-timestamp {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}
.otp-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Feature Showcase Section */
.features-section {
  padding-bottom: 64px;
}
.feature-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.feature-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.bubble-blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.bubble-green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.bubble-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* High Level Modal System */
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-layer.open {
  display: flex;
}
.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-dialog {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dialog);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 101;
  overflow: hidden;
  animation: dialogScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-compact {
  max-width: 480px;
}
@keyframes dialogScale {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.dialog-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-main-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.btn-subtle-back {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-subtle-back:hover {
  text-decoration: underline;
}
.dialog-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-close-glyph {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-close-glyph:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.dialog-meta-strip {
  padding: 14px 28px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}
.meta-item {
  display: flex;
  gap: 12px;
}
.meta-k {
  width: 48px;
  font-weight: 600;
  color: var(--text-muted);
}
.meta-v {
  color: var(--text-main);
  font-weight: 500;
}

/* OTP Highlight Panel */
.otp-highlight-panel {
  margin: 18px 28px 0;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.otp-left {
  display: flex;
  flex-direction: column;
}
.otp-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #047857;
  margin-bottom: 4px;
}
.otp-digits {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: #065f46;
  letter-spacing: 2.5px;
}
.btn-otp-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #059669;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
  transition: all 0.15s;
}
.btn-otp-action:hover {
  background: #047857;
  transform: translateY(-1px);
}

/* Tabs */
.tab-control-bar {
  display: flex;
  gap: 8px;
  padding: 14px 28px 0;
  border-bottom: 1px solid var(--border-light);
}
.tab-pill {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
}
.tab-pill.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.mail-body-wrapper {
  padding: 20px 28px;
  overflow-y: auto;
  flex: 1;
  min-height: 320px;
}
.secure-iframe {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
}
.plaintext-view {
  font-family: var(--font-body);
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

.dialog-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: #f8fafc;
}

/* Custom Alias Inner Form */
.dialog-inner {
  padding: 24px 28px;
}
.form-caption {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.prefix-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
}
.prefix-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-ring);
}
.prefix-input-wrap input {
  flex: 1;
  border: none;
  background: none;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
}
.domain-fixed {
  padding: 12px 16px;
  background: #f8fafc;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  border-left: 1px solid var(--border-light);
}
.form-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* QR Code Modal Box */
.qr-canvas-box {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-note {
  font-size: 0.86rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin: 0 auto;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: #ffffff;
  padding: 24px 0;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.footer-copy {
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.badge-tech {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 9999px;
}

/* Toast */
.toast-card {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}
.toast-card.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  color: #10b981;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  .master-email-card {
    padding: 20px 18px;
  }
  .input-with-icon {
    min-width: 100%;
  }
  .action-row {
    width: 100%;
  }
  .action-row .btn {
    flex: 1;
    padding: 10px 14px;
  }
  .msg-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .msg-right {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}
