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

:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --bg: #f5f7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
  --dark: #111827;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

.navbar {
  width: 100%;
  padding: 18px 8%;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: var(--blue);
}

.navbar nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.hero {
  padding: 90px 8%;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: bold;
  opacity: 0.9;
  margin-bottom: 10px;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #ffffff;
  color: var(--blue);
  font-weight: bold;
}

.btn-blue {
  background: var(--blue);
  color: white;
  font-weight: bold;
}

.btn-outline {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-muted {
  background: #eef2ff;
  color: var(--blue);
}

.btn-small {
  padding: 8px 12px;
}

.full-width {
  width: 100%;
}

.mailbox-section,
.pricing,
.dashboard-page {
  padding: 50px 8%;
}

.mailbox-card,
.panel,
.auth-card,
.pricing-card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mailbox-card {
  max-width: 860px;
  margin: auto;
  padding: 28px;
}

.section-title-row,
.inbox-header,
.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.pill {
  background: #fef3c7;
  color: #92400e;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.email-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 12px;
}

#tempEmailText,
#adminEmailText {
  word-break: break-all;
}

.timer-text,
.muted {
  color: var(--muted);
}

.inbox-list {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.empty-text {
  color: var(--muted);
}

.message-card {
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #ffffff;
}

.message-card h4 {
  margin-bottom: 4px;
}

.message-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.pricing {
  text-align: center;
}

.pricing h2 {
  margin-bottom: 8px;
}

.pricing-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
}

.pricing-card {
  padding: 24px;
  width: 270px;
  text-align: left;
}

.pricing-card h3 {
  color: var(--blue);
  margin-bottom: 12px;
}

.footer {
  text-align: center;
  padding: 24px;
  background: var(--dark);
  color: white;
  margin-top: 40px;
}

.auth-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  padding: 28px;
}

.auth-card h1 {
  margin-bottom: 6px;
}

form {
  margin-top: 24px;
}

label {
  display: block;
  font-weight: bold;
  margin: 14px 0 6px;
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
}

input:focus {
  border-color: var(--blue);
}

.form-message {
  margin-top: 14px;
  color: var(--muted);
  min-height: 22px;
}

.dashboard-header {
  margin-bottom: 28px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.panel {
  padding: 24px;
}

.margin-top {
  margin-top: 18px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

th {
  background: #f9fafb;
}

.danger-btn {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 800px) {
  .navbar {
    padding: 16px 5%;
  }

  .hero {
    padding: 64px 5%;
  }

  .mailbox-section,
  .pricing,
  .dashboard-page {
    padding: 36px 5%;
  }

  .pricing-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 380px;
  }

  .email-box,
  .section-title-row,
  .inbox-header,
  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar {
    gap: 12px;
  }
}
