.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.auth-card {
  background: var(--color-bg-elevated);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.auth-card .logo {
  font-size: 1.875rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.auth-card .logo span.gold {
  color: var(--color-gold);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 0.25rem;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-card button[type='submit'] {
  margin-top: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
}

.auth-card .footer-link {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.dashboard-header {
  margin-bottom: 1.5rem;
}

.dashboard-grid {
  display: grid;
  gap: 1rem;
}

.dashboard-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .dashboard-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: 1.5rem;
  }
}

/* ═══ Marketing pages ═══ */
.marketing-page {
  min-height: 100vh;
  background: #fff;
  color: #111827;
  font-family: 'Inter', sans-serif;
}
.marketing-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.marketing-logo {
  font-size: 1.5rem; font-weight: 800; color: #10b981; text-decoration: none;
}
.marketing-logo span { color: #f59e0b; }
.marketing-nav {
  display: flex; gap: 1rem; align-items: center;
}
.marketing-nav a {
  color: #374151; text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.marketing-nav a.cta {
  background: #10b981; color: white; padding: 0.5rem 1.25rem; border-radius: 6px;
}
.marketing-main {
  max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem;
}
.marketing-title {
  font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; color: #111827;
}
.marketing-content { font-size: 1.0625rem; line-height: 1.75; color: #374151; }
.marketing-content h1 { font-size: 2rem; margin: 2rem 0 1rem; color: #111827; }
.marketing-content h2 { font-size: 1.5rem; margin: 1.75rem 0 0.75rem; color: #111827; }
.marketing-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; color: #111827; }
.marketing-content p { margin: 0.75rem 0; }
.marketing-content ul, .marketing-content ol { margin: 0.75rem 0 0.75rem 1.5rem; }
.marketing-content li { margin: 0.375rem 0; }
.marketing-content strong { color: #111827; font-weight: 700; }
.marketing-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.footer-grid > div {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.footer-grid strong {
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: #6b7280; margin-bottom: 0.5rem;
}
.footer-grid a {
  color: #374151; text-decoration: none; font-size: 0.9375rem;
}
.footer-grid a:hover { color: #10b981; }
.footer-bottom {
  text-align: center; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  color: #6b7280; font-size: 0.875rem;
}
[dir='rtl'] .marketing-page { direction: rtl; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .marketing-title { font-size: 1.75rem; }
}
