/* SuitAlert.com — Breaking-news class action alerts */

:root {
  --bg: #1a1a2e;
  --bg-card: #22223a;
  --bg-card-hover: #2a2a45;
  --text: #ffffff;
  --text-muted: #b8b8cc;
  --accent: #2d7a45;
  --accent-hover: #3a9a58;
  --accent-light: #4caf70;
  --accent-muted: #7ab890;
  --urgency: #d4a017;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Header ── */

.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-top .site-header {
  position: relative;
  top: auto;
  z-index: auto;
  border-bottom: none;
}

.site-header {
  background: rgba(26, 26, 46, 0.95);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 280px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(45, 122, 69, 0.15);
}

/* ── Breaking News Ticker ── */

.news-ticker {
  background: #1a1400;
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.4;
}

.news-ticker-inner {
  display: inline-block;
  animation: ticker-scroll 40s linear infinite;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  color: #d4a017;
  vertical-align: middle;
}

@keyframes ticker-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

@keyframes pulse-urgency {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.badge-urgent {
  animation: pulse-urgency 1.2s infinite;
  background: #a07010;
  color: white;
  font-size: 20px;
  font-weight: 800;
  padding: 14px 12px;
  letter-spacing: 0.5px;
  border-radius: 3px;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.badge-warning {
  background: #a07010;
  color: white;
  font-size: 20px;
  font-weight: 800;
  padding: 14px 12px;
  letter-spacing: 0.5px;
  border-radius: 3px;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

/* ── Hero ── */

.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0px,
    var(--accent) 20px,
    rgba(45, 122, 69, 0.5) 20px,
    rgba(45, 122, 69, 0.5) 40px
  );
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  max-width: 800px;
}

.hero h1 em {
  font-style: normal;
  color: #4caf70;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Sections ── */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

/* ── Settlement Cards ── */

.settlement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.settlement-card {
  background: #242438;
  border: none;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.settlement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 122, 69, 0.3);
  background: #2a2a42;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #cccccc;
  border: none;
}

.tag.amber {
  background: rgba(255, 255, 255, 0.08);
  color: #cccccc;
}

.settlement-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card-meta dt {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9999bb;
  margin-bottom: 0.15rem;
}

.card-meta dd {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.card-meta dd.deadline {
  color: #7ab890;
}

.card-urgency {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: #246b3a;
  color: #fff;
  width: 100%;
}

.btn-primary:hover {
  background: #1e5630;
  color: #fff;
  transform: scale(1.02);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  width: auto;
}

/* ── Case Page ── */

.case-hero {
  background: linear-gradient(180deg, #22223a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.25rem 3rem;
}

.case-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.case-hero .card-tags {
  margin-bottom: 1rem;
}

.case-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.case-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.highlight-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.highlight-box .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.highlight-box .value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  line-height: 1.1;
}

.highlight-box.settlement-amount .value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
}

.highlight-box.total-fund .value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
}

.highlight-box.deadline .value {
  color: var(--accent);
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 122, 69, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(45, 122, 69, 0); }
}

.claim-btn {
  animation: btn-pulse 2s infinite;
}

.case-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.case-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.case-content h2:first-child {
  margin-top: 0;
}

.case-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.case-content ul {
  color: var(--text-muted);
  margin: 0 0 1rem 1.25rem;
}

.case-content li {
  margin-bottom: 0.5rem;
}

.claim-cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 2rem 0;
}

.claim-cta p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--text);
}

/* ── FAQ ── */

.faq-list {
  margin-top: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background: rgba(45, 122, 69, 0.08);
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

/* ── Related Cases ── */

.related-cases {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-cases h2 {
  margin-bottom: 1rem;
}

.related-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-link {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  transition: all 0.2s ease;
}

.related-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}

.related-link span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── AdSense Placeholder ── */

.ad-slot {
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot ins {
  display: block;
  width: 100%;
}

/* ── About Page ── */

.about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.about-content h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.about-content p,
.about-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-content ul {
  margin-left: 1.25rem;
}

/* ── Footer ── */

.site-footer {
  background: #12121f;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(184, 184, 204, 0.5);
}

/* ── Utility ── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: var(--accent);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--accent);
    padding: 0.5rem 0;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.5rem 1rem;
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .logo-img {
    height: 44px;
    max-width: 220px;
  }

  .settlement-grid {
    grid-template-columns: 1fr;
  }

  .card-meta {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 2rem 1.25rem 2.5rem;
  }

  .case-highlights {
    grid-template-columns: 1fr;
  }
}
