:root {
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

html[data-theme="light"] {
  --bg: #f5f8fc;
  --bg-card: #ffffff;
  --bg-soft: #eef3fa;
  --text: #16243d;
  --text-soft: #4b5f7f;
  --text-muted: #7b8ca8;
  --line: #dbe5f2;
  --primary: #3d79f2;
  --primary-soft: #edf4ff;
  --success: #18a66a;
  --warning: #e8ad3a;
  --danger: #e45c5c;
}

html[data-theme="dark"] {
  --bg: #0d1420;
  --bg-card: #131d2c;
  --bg-soft: #1a2638;
  --text: #eef4ff;
  --text-soft: #c5d3ea;
  --text-muted: #8ea3c1;
  --line: #2a3950;
  --primary: #6a9cff;
  --primary-soft: #1d2b43;
  --success: #3cc68a;
  --warning: #f0bd57;
  --danger: #ff7a7a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-main {
  padding: 28px 0 48px;
}

.page-hero {
  margin-bottom: 20px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
}

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

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

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

.user-name {
  color: var(--text-soft);
  font-weight: 600;
}

.filter-section,
.complaints-section,
.detail-section {
  margin-top: 20px;
}

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}

.filter-bar input,
.filter-bar select,
textarea {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.filter-bar input {
  min-width: 260px;
  flex: 1;
}

.filter-bar select {
  min-width: 160px;
}

.loading-state,
.empty-state {
  margin-top: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.complaints-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.complaint-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.complaint-card:hover {
  transform: translateY(-3px);
}

.card-top,
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-tag,
.status-tag,
.meta-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.platform-tag,
.meta-tag {
  background: var(--primary-soft);
  color: var(--text-soft);
}

.status-tag {
  color: white;
}

.status-wait {
  background: var(--warning);
}

.status-processing {
  background: var(--primary);
}

.status-done {
  background: var(--success);
}

.complaint-title,
.detail-title {
  margin: 16px 0 10px;
  font-size: 1.35rem;
  line-height: 1.5;
}

.complaint-desc {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.card-meta,
.detail-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.back-row {
  margin-bottom: 16px;
}

.back-link {
  color: var(--primary);
  font-weight: 700;
}

.detail-container {
  display: grid;
  gap: 18px;
}

.detail-header,
.detail-description-box,
.vote-section,
.comments-section,
.comment-form-section {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.detail-description {
  color: var(--text-soft);
  line-height: 1.9;
}

.vote-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vote-btn {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

.comments-list {
  display: grid;
  gap: 12px;
}

.comment-card {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 14px 16px;
}

.comment-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.comment-content {
  color: var(--text-soft);
  line-height: 1.75;
}

.comment-form-section textarea {
  width: 100%;
  margin-bottom: 12px;
  min-height: 120px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding: 20px 0 40px;
  color: var(--text-muted);
  text-align: center;
}

.toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  z-index: 999;
}

.toast {
  min-width: 220px;
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 12px;
  color: white;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.toast-info {
  background: var(--primary);
}

.toast-success {
  background: var(--success);
}

.toast-error {
  background: var(--danger);
}

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

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .filter-bar {
    flex-direction: column;
  }

  .filter-bar input,
  .filter-bar select {
    width: 100%;
    min-width: unset;
  }
}
/* ===== Create Page ===== */
.create-page {
  padding: 48px 0 80px;
}

.create-wrapper {
  max-width: 980px;
}

.card-block {
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
}

.page-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.create-hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-desc {
  font-size: 17px;
  color: #64748b;
  line-height: 1.8;
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  border: 1px solid #d8e2ef;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  background: #f8fbff;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.form-textarea {
  min-height: 220px;
  resize: vertical;
}

.custom-hidden {
  display: none;
  margin-top: 10px;
}

.form-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.large-btn {
  min-width: 160px;
  height: 52px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .create-page {
    padding: 28px 0 56px;
  }

  .card-block {
    padding: 22px;
    border-radius: 22px;
  }

  .create-hero h1 {
    font-size: 32px;
  }

  .page-desc {
    font-size: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-group-full {
    grid-column: auto;
  }

  .form-actions {
    justify-content: stretch;
  }

  .large-btn {
    width: 100%;
  }
}
/* ===== Detail Page ===== */
.detail-page {
  padding: 48px 0 80px;
}

.detail-layout {
  max-width: 1100px;
}

.detail-back-row {
  margin-bottom: 18px;
}

.detail-hero {
  padding: 34px;
}

.detail-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.detail-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f2f6fd;
  color: #5b6f92;
  font-size: 14px;
  font-weight: 700;
}

.detail-main-title {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #0f172a;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.meta-item {
  color: #7a8ca8;
  font-size: 15px;
  font-weight: 600;
}

.detail-description-text {
  font-size: 18px;
  line-height: 1.9;
  color: #334155;
  white-space: pre-wrap;
}

.section-head {
  margin-bottom: 18px;
}

.section-title {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #0f172a;
}

.section-subtitle {
  margin: 0;
  font-size: 15px;
  color: #7a8ca8;
}

.vote-button-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.vote-btn {
  min-width: 130px;
  height: 52px;
  border: 1px solid #d8e2ef;
  border-radius: 16px;
  background: #f8fbff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vote-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.08);
}

.vote-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vote-btn-agree:hover:not(:disabled) {
  border-color: #3b82f6;
}

.vote-btn-check:hover:not(:disabled) {
  border-color: #f59e0b;
}

.vote-btn-controversy:hover:not(:disabled) {
  border-color: #ef4444;
}

.modern-comments {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-card {
  border: 1px solid #e5ecf5;
  border-radius: 20px;
  padding: 18px 20px;
  background: #f8fbff;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #7a8ca8;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.comment-content {
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.detail-loading {
  text-align: center;
  color: #7a8ca8;
  font-size: 18px;
  font-weight: 700;
}

.status-processing {
  background: #e8f0ff;
  color: #3772ff;
}

.status-done {
  background: #e8faee;
  color: #22a559;
}

.status-wait {
  background: #fff3df;
  color: #d79218;
}

@media (max-width: 768px) {
  .detail-page {
    padding: 28px 0 56px;
  }

  .detail-hero,
  .card-block {
    padding: 22px;
  }

  .detail-main-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 28px;
  }

  .detail-hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .vote-button-grid {
    flex-direction: column;
  }

  .vote-btn {
    width: 100%;
  }
}
/* ===== Complaints Page ===== */
.complaints-page {
  padding: 48px 0 80px;
}

.complaints-layout {
  max-width: 1180px;
}

.complaints-hero,
.complaints-filter {
  margin-bottom: 24px;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(180px, 1fr));
  gap: 16px;
  align-items: center;
}

.filter-search,
.filter-item {
  width: 100%;
}

.complaints-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.complaint-card {
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.22s ease;
  cursor: pointer;
}

.complaint-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  border-color: #d7e6fb;
}

.complaint-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.complaint-card-platform {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #5877ad;
  font-size: 14px;
  font-weight: 800;
}

.complaint-card-title {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #0f172a;
  word-break: break-word;
}

.complaint-card-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #64748b;
  margin: 0 0 18px;
  min-height: 58px;
  word-break: break-word;
}

.complaint-card-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.complaint-card-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f4f8fd;
  color: #6f83a7;
  font-size: 14px;
  font-weight: 700;
}

.complaint-card-meta {
  color: #8a9bb7;
  font-size: 14px;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

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

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

@media (max-width: 768px) {
  .complaints-page {
    padding: 28px 0 56px;
  }

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

  .complaint-card {
    padding: 20px;
    border-radius: 22px;
  }

  .complaint-card-title {
    font-size: 28px;
  }

  .complaint-card-desc {
    font-size: 15px;
    min-height: auto;
  }

  .complaint-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== Home Page ===== */
.home-page {
  padding: 48px 0 80px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.home-hero-content,
.home-hero-card,
.bottom-cta-card {
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.home-hero-content h1 {
  font-size: 52px;
  line-height: 1.14;
  margin: 0 0 16px;
  color: #0f172a;
}

.home-desc {
  font-size: 18px;
  line-height: 1.9;
  color: #64748b;
  margin: 0 0 28px;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-cta-row.center {
  justify-content: center;
}

.hero-mini-card + .hero-mini-card {
  margin-top: 16px;
}

.hero-mini-card {
  border: 1px solid #e7eef7;
  border-radius: 20px;
  padding: 20px;
  background: #f8fbff;
}

.mini-label {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3b82f6;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-mini-card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  color: #0f172a;
}

.hero-mini-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
  font-size: 15px;
}

.home-feature-section,
.home-flow-section,
.home-bottom-cta {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 38px;
  margin: 0;
  color: #0f172a;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  border-color: #d7e6fb;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
  color: #0f172a;
}

.feature-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
  font-size: 15px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.flow-card {
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.flow-step {
  font-size: 13px;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 12px;
}

.flow-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
  color: #0f172a;
}

.flow-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
  font-size: 15px;
}

.bottom-cta-card {
  text-align: center;
}

.bottom-cta-card h2 {
  font-size: 40px;
  margin: 0 0 12px;
  color: #0f172a;
}

.bottom-cta-card p {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .home-hero-grid,
  .home-feature-grid,
  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .home-page {
    padding: 28px 0 56px;
  }

  .home-hero-grid,
  .home-feature-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-content,
  .home-hero-card,
  .bottom-cta-card {
    padding: 24px;
    border-radius: 22px;
  }

  .home-hero-content h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .bottom-cta-card h2 {
    font-size: 30px;
  }

  .home-desc,
  .bottom-cta-card p {
    font-size: 15px;
  }

  .home-cta-row {
    flex-direction: column;
  }

  .large-btn {
    width: 100%;
  }
}
/* ===== Home Page Optimized ===== */
.nav-cta-btn {
  min-width: 150px;
  height: 48px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.22);
}

.hero-main-btn {
  min-width: 180px;
  height: 56px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.26);
}

.hero-main-btn:hover,
.nav-cta-btn:hover {
  transform: translateY(-1px);
}

.home-side-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.home-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 24px;
}

.home-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3f7fd;
  border: 1px solid #dce7f5;
  color: #274472;
  font-size: 15px;
  font-weight: 700;
}

.hero-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-value-card {
  background: #f8fbff;
  border: 1px solid #e5ecf5;
  border-radius: 20px;
  padding: 18px 18px 16px;
}

.hero-value-label {
  display: block;
  font-size: 14px;
  color: #8aa0bf;
  margin-bottom: 8px;
}

.hero-value-card strong {
  font-size: 28px;
  color: #0f172a;
  line-height: 1.1;
}

.latest-case-panel h2,
.home-note-box h3 {
  font-size: 28px;
  margin: 0;
  color: #0f172a;
}

.latest-case-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.latest-case-item {
  display: block;
  text-decoration: none;
  border: 1px solid #e6edf7;
  background: #f8fbff;
  border-radius: 22px;
  padding: 18px;
  transition: all 0.22s ease;
}

.latest-case-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border-color: #d6e4f9;
}

.latest-case-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.latest-case-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
  color: #0f172a;
}

.latest-case-item p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.75;
  color: #64748b;
}

.latest-case-meta {
  font-size: 14px;
  font-weight: 700;
  color: #7a8ca8;
}

.home-note-box {
  background: #f3f7ff;
  border: 1px solid #d9e6fb;
}

.home-note-box p {
  margin: 12px 0 0;
  color: #5c6f8f;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .hero-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-cta-btn {
    display: none;
  }

  .latest-case-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== Auth Pages ===== */
.auth-page {
  padding: 48px 0 80px;
}

.auth-wrapper {
  max-width: 620px;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.auth-actions {
  justify-content: stretch;
}

.auth-actions .large-btn {
  width: 100%;
}

.auth-switch-text {
  margin-top: 22px;
  text-align: center;
  color: #64748b;
  font-size: 15px;
}

.auth-switch-text a {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
}

.auth-switch-text a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .auth-page {
    padding: 28px 0 56px;
  }

  .auth-card {
    padding: 24px;
    border-radius: 22px;
  }
}