/* AHAD REPORTS — site design system */

:root {
  --accent: #c41e3a;
  --accent-light: #e8354f;
  --accent-dark: #9a1830;
  --accent-glow: rgba(196, 30, 58, 0.2);
  --bg-base: #050a12;
  --bg-surface: #0a0f1a;
  --bg-elevated: #111b2e;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(196, 30, 58, 0.35);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 16px 48px rgba(196, 30, 58, 0.12);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
}

/* --- Base --- */
body {
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -30%, rgba(196, 30, 58, 0.07), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(36, 51, 82, 0.35), transparent);
  background-attachment: fixed;
}

::selection {
  background: rgba(196, 30, 58, 0.35);
  color: #fff;
}

/* --- Navigation --- */
.site-header {
  background: rgba(5, 10, 18, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-link::after {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

/* --- Typography helpers --- */
.section-label {
  display: inline-block;
  color: var(--accent-light);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.page-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .page-lead { font-size: 1.125rem; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease, gap 0.2s ease;
}

.link-arrow:hover {
  color: #fff;
  gap: 0.55rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(196, 30, 58, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  background: rgba(196, 30, 58, 0.08);
  transform: translateY(-1px);
}

/* --- Cards --- */
.card-hover {
  background: linear-gradient(165deg, rgba(17, 27, 46, 0.85) 0%, rgba(10, 15, 26, 0.95) 100%);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-accent) !important;
}

/* --- Badges & filters --- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(196, 30, 58, 0.12);
  border: 1px solid rgba(196, 30, 58, 0.2);
  border-radius: 9999px;
}

.filter-pill {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(17, 27, 46, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-pill:hover {
  color: #fff;
  border-color: var(--border-accent);
  background: rgba(196, 30, 58, 0.08);
}

.filter-pill-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(196, 30, 58, 0.3);
}

/* --- Page hero (inner pages) --- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.5), transparent);
  pointer-events: none;
}

/* --- Home hero --- */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #050a12 0%, #0a0f1a 45%, #120810 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(36, 51, 82, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.5'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-accent-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.hero-headline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-headline .accent-text {
  background: linear-gradient(135deg, #e8354f 0%, #c41e3a 50%, #ff6b7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Sections --- */
.section-alt {
  background: rgba(10, 15, 26, 0.55);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

/* --- Product image placeholder --- */
.product-img {
  background: linear-gradient(145deg, #111b2e 0%, #1a2744 45%, #0d1525 100%) !important;
}

/* --- Ad slots --- */
.ad-slot {
  background: rgba(17, 27, 46, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: #64748b;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%) !important;
  border-top: 1px solid var(--border-subtle) !important;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.6), transparent);
}

.footer-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.footer-link {
  color: #64748b;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-light);
}

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

/* --- Article --- */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s ease, color 0.2s ease;
}

.article-back:hover {
  color: #fff;
  gap: 0.5rem;
}

.article-excerpt {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #94a3b8;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

.article-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-body p {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
  color: #94a3b8;
  margin: 1rem 0 1.25rem 1.5rem;
  line-height: 1.8;
}

/* --- Video embed rounding --- */
.video-frame {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}