/* ==========================================================================
   TEMP MAIL - COMPONENTS & LAYOUTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--bg-dark-base);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--transition-normal);
}

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

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Store Link Buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.store-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 102, 255, 0.45)) drop-shadow(0 0 10px rgba(163, 230, 53, 0.35));
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 6px 18px rgba(0, 102, 255, 0.65)) drop-shadow(0 0 16px rgba(163, 230, 53, 0.5));
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand-title span {
  color: var(--brand-lime);
  text-shadow: 0 0 14px rgba(163, 230, 53, 0.45);
}

/* Right Header Buttons */
.blog-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 102, 255, 0.15);
  color: #38bdf8;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.35);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.blog-nav-btn:hover {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.blog-nav-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
}

.sms-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.sms-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.premium-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-yellow);
  color: #111;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(255, 214, 0, 0.35);
  transition: all var(--transition-fast);
}

.premium-nav-btn:hover {
  background: var(--brand-yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 214, 0, 0.45);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  color: #fff;
  padding: 0.5rem;
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION & TEMP EMAIL DISPLAY
   -------------------------------------------------------------------------- */
.hero-section {
  background: radial-gradient(circle at 50% 10%, #152758 0%, #0a0f1d 75%);
  color: var(--text-white);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

/* Email Capsule Wrapper */
.email-capsule-container {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.email-capsule {
  display: flex;
  align-items: center;
  background-color: var(--bg-dark-input);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.5rem 0.4rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
  position: relative;
}

.email-capsule:focus-within,
.email-capsule:hover {
  border-color: var(--brand-lime);
  box-shadow: 0 8px 35px rgba(0, 102, 255, 0.35), 0 0 16px rgba(163, 230, 53, 0.3);
}

.email-display-text {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
  letter-spacing: 0.3px;
}

.email-display-text.loading-pulse {
  color: #64748b;
  font-style: italic;
  animation: pulseOpacity 1.2s infinite;
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.email-actions-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* QR Code Trigger Icon Button */
.qr-trigger-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
}

.qr-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: scale(1.05);
}

.qr-trigger-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Neon Lime Copy Pill Button matching Logo Speed Trails */
.copy-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bbf246 0%, #84cc16 100%);
  color: #081026;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(163, 230, 53, 0.5);
  transition: all var(--transition-fast);
}

.copy-circle-btn:hover {
  background: #a8ff00;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(163, 230, 53, 0.7);
}

.copy-circle-btn:active {
  transform: scale(0.96);
}

.copy-circle-btn svg {
  width: 20px;
  height: 20px;
  fill: #081026;
}

/* --------------------------------------------------------------------------
   QR CODE TOOLTIP POPUP (Matches Screenshot 1)
   -------------------------------------------------------------------------- */
.qr-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 48px;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  animation: popoverFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-popover.active {
  display: flex;
}

/* Arrow pointer */
.qr-popover::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0,0,0,0.05);
  border-top: 1px solid rgba(0,0,0,0.05);
}

@keyframes popoverFade {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.qr-code-box {
  width: 180px;
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-popover-caption {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.75rem;
  max-width: 180px;
  text-align: center;
  line-height: 1.3;
}

/* Hero Descriptive Paragraph */
.hero-desc {
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10-MINUTE AUTO-DESTRUCT COUNTDOWN TIMER
   -------------------------------------------------------------------------- */
.countdown-timer-wrapper {
  max-width: 680px;
  margin: 1.25rem auto 1.5rem;
  position: relative;
  z-index: 5;
}

.countdown-timer-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.countdown-info-side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.countdown-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.18);
  border: 1px solid rgba(0, 102, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
  animation: pulseClock 2s infinite ease-in-out;
}

@keyframes pulseClock {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.countdown-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.countdown-headline {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.2px;
}

.countdown-subtext {
  font-size: 0.73rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.countdown-clock-side {
  display: flex;
  align-items: center;
}

.countdown-digits {
  font-family: var(--font-mono, monospace);
  font-size: 1.45rem;
  font-weight: 800;
  color: #a3e635;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(163, 230, 53, 0.35);
  text-shadow: 0 0 12px rgba(163, 230, 53, 0.45);
  transition: all 0.3s ease;
}

.countdown-digits.warning {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.45);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.countdown-digits.danger {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.6);
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
  animation: dangerPulse 0.9s infinite ease-in-out;
}

@keyframes dangerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.countdown-btn-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-timer-extend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-timer-extend:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-timer-vanish {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-timer-vanish:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.6);
  transform: translateY(-1px);
}

.countdown-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
}

.countdown-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0066ff 0%, #84cc16 100%);
  transition: width 1s linear;
}

.countdown-progress-fill.warning {
  background: linear-gradient(90deg, #3b82f6 0%, #f59e0b 100%);
}

.countdown-progress-fill.danger {
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

/* Inbox Header Mini Timer Badge */
.inbox-header-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.6rem;
}

.timer-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a3e635;
  box-shadow: 0 0 6px #a3e635;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Vanish Animation for Inbox Wipe */
@keyframes inboxVanishEffect {
  0% { opacity: 1; transform: scale(1); filter: blur(0px); }
  40% { opacity: 0.2; transform: scale(0.97); filter: blur(6px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}

.inbox-vanish-wipe {
  animation: inboxVanishEffect 0.6s ease;
}

@media (max-width: 640px) {
  .countdown-timer-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  .countdown-info-side {
    flex-direction: column;
    text-align: center;
  }
  .countdown-text-col {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   3. FLOATING ACTION TOOLBAR (Copy, Refresh, Change, Delete)
   -------------------------------------------------------------------------- */
.action-toolbar-wrapper {
  background-color: var(--bg-light-body);
  padding: 1.5rem 0 2rem;
}

.action-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: var(--text-dark-primary);
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-normal);
}

.action-pill-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.action-pill-btn:active {
  transform: translateY(0);
}

.action-pill-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-normal);
}

.action-pill-btn.btn-refresh:hover svg,
.action-pill-btn.spinning svg {
  animation: spin 0.8s linear infinite;
}

.action-pill-btn.btn-delete:hover {
  color: var(--brand-red);
  border-color: #fecaca;
  background: #fef2f2;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   4. INBOX CONTAINER & EMAIL TABLE (Matches Screenshot 1 & 2)
   -------------------------------------------------------------------------- */
.inbox-section {
  padding-bottom: 4rem;
}

.inbox-card {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #edf2f7;
  overflow: hidden;
}

/* Dark Table Header */
.inbox-header-bar {
  background: linear-gradient(90deg, #0d1730 0%, #14244d 100%);
  color: #fff;
  padding: 1.1rem 1.75rem;
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.inbox-col-view {
  text-align: right;
}

/* Inbox Body Area */
.inbox-body {
  min-height: 260px;
  position: relative;
}

/* Empty State */
.inbox-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.sync-icon-spinner {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sync-arrows-svg {
  width: 64px;
  height: 64px;
  animation: rotateClockwise 12s linear infinite;
}

.sync-envelope-icon {
  position: absolute;
  width: 26px;
  height: 26px;
  fill: #64748b;
}

@keyframes rotateClockwise {
  100% { transform: rotate(360deg); }
}

.empty-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.empty-subtitle {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 10px var(--brand-lime);
  animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

/* Messages Table Rows */
.messages-list {
  list-style: none;
}

.message-item {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  align-items: center;
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.message-item:last-child {
  border-bottom: none;
}

.message-item:hover {
  background-color: #f8fafc;
}

.msg-sender {
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.5rem;
}

.msg-subject-wrap {
  display: flex;
  flex-direction: column;
  padding-right: 0.5rem;
}

.msg-subject {
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-snippet {
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-view-btn {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.msg-time {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   EMAIL READER DETAIL VIEW
   -------------------------------------------------------------------------- */
.email-reader-view {
  display: none;
  padding: 1.5rem 1.75rem;
  animation: fadeIn 0.2s ease;
}

.email-reader-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reader-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.reader-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #475569;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  transition: all var(--transition-fast);
}

.reader-back-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.reader-action-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reader-btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  transition: all var(--transition-fast);
}

.reader-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.reader-btn-danger:hover {
  background: #fee2e2;
  color: var(--brand-red);
  border-color: #fca5a5;
}

.email-meta-header {
  margin-bottom: 1.5rem;
}

.email-subject-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.email-info-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.9rem;
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.email-sender-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-sender-name {
  font-weight: 600;
  color: #1e293b;
}

.meta-sender-address {
  color: #64748b;
  font-size: 0.85rem;
}

.meta-recipient-address {
  color: #64748b;
  font-size: 0.85rem;
}

.meta-date {
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: right;
}

.email-content-body {
  padding: 1.25rem 0;
  color: #334155;
  line-height: 1.7;
  min-height: 200px;
}

.email-html-frame {
  width: 100%;
  min-height: 280px;
  border: none;
  background: #fff;
  border-radius: var(--radius-md);
}

.email-attachments-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.email-attachments-card {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.attachments-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.attachments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.attachment-item-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.attachment-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.08);
}

.attachment-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  min-width: 0;
}

.attachment-file-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.attachment-details {
  min-width: 0;
  flex: 1;
}

.attachment-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-size {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.attachment-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

.attachment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  flex: 1;
}

.attachment-btn-preview {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.attachment-btn-preview:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.attachment-btn-download {
  background: var(--brand-blue, #0066ff);
  color: #ffffff;
}

.attachment-btn-download:hover {
  background: #0052cc;
}

.email-rendered-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1e293b;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.email-rendered-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 6px;
}

.email-rendered-body a {
  color: #0066ff !important;
  text-decoration: underline !important;
}

.email-plain-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 0.5rem 0;
}

/* --------------------------------------------------------------------------
   5. SEO & INFORMATIVE ARTICLES GRID (Screenshot 3)
   -------------------------------------------------------------------------- */
.articles-section {
  background: #ffffff;
  padding: 4.5rem 0 3.5rem;
  border-top: 1px solid #f1f5f9;
}

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

.section-title-mono {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

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

.article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.article-info {
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-thumb-box {
  width: 140px;
  height: 95px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

.article-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.article-card:hover .article-thumb-box img {
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   6. INFORMATIVE TEXT CONTENT & SEO SECTIONS (Screenshot 2, 4, 5)
   -------------------------------------------------------------------------- */
.text-content-section {
  background-color: #ffffff;
  padding: 3rem 0 4rem;
}

.content-block {
  max-width: 860px;
  margin: 0 auto 3.5rem;
}

.content-heading-mono {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.content-block p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list-item {
  margin-bottom: 1.75rem;
}

.feature-list-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list-item h4::before {
  content: '•';
  color: var(--brand-blue);
  font-size: 1.5rem;
}

.feature-list-item p {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
  background: #f8fafc;
  padding: 4rem 0;
  border-top: 1px solid #e2e8f0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  fill: #64748b;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  fill: var(--brand-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #64748b;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. MODALS (Change Email, Premium, SMS)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-window-lg {
  max-width: 760px;
}

@keyframes modalScale {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-close-btn {
  font-size: 1.5rem;
  color: #94a3b8;
  line-height: 1;
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #1e293b;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  background: #f8fafc;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  background: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-light);
}

.input-split-group {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.75rem;
}

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #f8fafc;
}

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #e2e8f0;
  color: #334155;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition-fast);
}

.btn-secondary:hover {
  background: #cbd5e1;
}

/* Premium Plans Cards Inside Modal */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.plan-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  background: #fff;
  transition: all var(--transition-normal);
}

.plan-card.popular {
  border-color: var(--brand-yellow);
  box-shadow: 0 8px 24px rgba(255, 214, 0, 0.2);
  transform: translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-yellow);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.plan-period {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.plan-features-list {
  list-style: none;
  font-size: 0.85rem;
  color: #475569;
  text-align: left;
  margin-bottom: 1.5rem;
}

.plan-features-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.plan-features-list li::before {
  content: '✓';
  color: var(--brand-blue);
  font-weight: bold;
}

.plan-buy-btn {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  background: #f1f5f9;
  color: #1e293b;
  transition: all var(--transition-fast);
}

.plan-card.popular .plan-buy-btn {
  background: var(--brand-yellow);
  color: #000;
}

.plan-buy-btn:hover {
  filter: brightness(0.95);
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark-base);
  color: #94a3b8;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.footer-links-col a:hover {
  color: var(--brand-lime);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.language-selector {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .header-left .store-btn {
    display: none;
  }

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

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .header-right .sms-nav-btn {
    display: none;
  }

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

  .email-display-text {
    font-size: 0.95rem;
  }

  .email-capsule {
    padding: 0.35rem 0.4rem 0.35rem 1rem;
  }

  .action-toolbar {
    gap: 0.5rem;
  }

  .action-pill-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .inbox-header-bar,
  .message-item {
    grid-template-columns: 1.5fr 2fr 0.8fr;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-thumb-box {
    width: 100%;
    height: 160px;
    order: -1;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

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

  .input-split-group {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STANDALONE PAGES & ARTICLE SYSTEM STYLES
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--bg-dark-hero) 0%, var(--bg-dark-base) 100%);
  color: var(--text-white);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: #38bdf8;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.page-subtitle {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 680px;
  line-height: 1.6;
}

/* Standalone Content Wrapper */
.page-content-wrapper {
  background: #f8fafc;
  padding: 3rem 0 5rem;
  min-height: 50vh;
}

/* Policy & Legal Card */
.policy-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  max-width: 900px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.policy-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-section h2, .policy-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.policy-section p, .policy-section li {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.7;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.contact-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--brand-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Article Directory & Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.search-box-wrap {
  position: relative;
  max-width: 450px;
  margin-top: 1.25rem;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
}

.search-input:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.12);
}

.search-icon-inside {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  color: #94a3b8;
  pointer-events: none;
}

/* Articles Directory Grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.dir-article-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.dir-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.dir-thumb-wrap {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.dir-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dir-article-card:hover .dir-thumb-wrap img {
  transform: scale(1.05);
}

.dir-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 15, 29, 0.85);
  color: var(--brand-lime);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(163, 230, 53, 0.3);
}

.dir-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dir-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.dir-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.dir-excerpt {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.dir-read-link {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Article Reader View */
.article-reader-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-reader-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 3rem;
}

@media (max-width: 640px) {
  .article-reader-card {
    padding: 1.75rem 1.25rem;
  }
}

.article-featured-banner {
  width: 100%;
  max-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: #0f172a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.article-featured-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-meta-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-body h2, .article-body h3 {
  color: #0f172a;
  font-weight: 700;
  margin: 2.25rem 0 1rem;
}

.article-body h2 {
  font-size: 1.6rem;
}

.article-body h3 {
  font-size: 1.3rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body .lead-text {
  font-size: 1.18rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.7;
}

.tip-box {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.75rem 0;
  font-size: 0.96rem;
  color: #15803d;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid #f1f5f9;
}

.share-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease;
}

.share-btn:hover {
  opacity: 0.88;
}

.share-whatsapp { background: #25D366; color: #ffffff; }
.share-twitter { background: #000000; color: #ffffff; }
.share-facebook { background: #1877F2; color: #ffffff; }
.share-copy { background: #e2e8f0; color: #334155; }

/* Status Page */
.status-pill-healthy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.95rem;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.system-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.system-service-item:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   SEO RICH SECTIONS: HOW IT WORKS, COMPARISON TABLE & FEATURES GRID
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: 3.5rem 0 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -4px rgba(0, 102, 255, 0.08);
}

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

.step-number-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-blue, #0066ff);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

.step-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue, #0066ff);
  font-size: 1.4rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

/* Comparison Table Section (Google Position Zero Featured Snippets) */
.comparison-section {
  padding: 3.5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.table-responsive-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-top: 2rem;
}

.seo-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.93rem;
}

.seo-comparison-table th,
.seo-comparison-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.seo-comparison-table thead th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.seo-comparison-table th.col-highlight {
  background: #0052cc;
  color: #ffffff;
  border-left: 2px solid #3b82f6;
  border-right: 2px solid #3b82f6;
}

.seo-comparison-table td.col-highlight {
  background: rgba(0, 102, 255, 0.03);
  font-weight: 600;
  color: #0052cc;
  border-left: 2px solid rgba(0, 102, 255, 0.15);
  border-right: 2px solid rgba(0, 102, 255, 0.15);
}

.seo-comparison-table tbody tr:hover {
  background: #f8fafc;
}

.table-check-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #16a34a;
  font-weight: 700;
}

.table-cross-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #dc2626;
  font-weight: 600;
}

/* Features Grid */
.features-grid-section {
  padding: 3.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.features-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-box-card {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}

.feature-box-card:hover {
  border-color: #0066ff;
  box-shadow: 0 8px 20px -2px rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}

.feature-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.feature-box-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.feature-box-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.feature-box-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   SEO SEMANTIC KEYWORD HUB & INTERNAL LINK SILOS
   ========================================================================== */
.seo-tags-hub-section {
  padding: 4rem 0 3.5rem;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.seo-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.seo-hub-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.seo-hub-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.seo-hub-card-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.seo-hub-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.seo-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seo-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.seo-tag-pill:hover {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

.seo-tag-pill svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.seo-tag-pill:hover svg {
  opacity: 1;
  transform: translateX(2px);
}



