/* ================================================================
   الفراجي للمحاماة — AlFaraji Law
   Premium Boutique Legal — Green & Gold
   Glamour · High Contrast · Vivid · Professional
   ================================================================ */

/* ── Fonts ────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Brand — Deep Forest Green palette */
  --green-50:  #f0f7f2;
  --green-100: #d9ede0;
  --green-200: #b3dbc1;
  --green-300: #7dc49a;
  --green-400: #4aaa73;
  --green-500: #2d8f5a;
  --green-600: #1f7347;
  --green-700: #1a5f3b;
  --green-800: #164d31;
  --green-900: #123d28;
  --green-950: #0a2419;

  /* Gold — Rich Warm Accents */
  --gold-50:  #fdf8ed;
  --gold-100: #f7edcd;
  --gold-200: #f0da9a;
  --gold-300: #e5c25e;
  --gold-400: #d4a72e;
  --gold-500: #c49a2a;
  --gold-600: #a07d1f;
  --gold-700: #7c5f17;
  --gold-800: #5c4612;
  --gold-shine: linear-gradient(135deg, #d4a72e, #f0da9a, #d4a72e);

  /* Neutrals — Warm Grays */
  --gray-50:  #fafaf9;
  --gray-100: #f5f5f4;
  --gray-200: #e7e5e4;
  --gray-300: #d6d3d1;
  --gray-400: #a8a29e;
  --gray-500: #78716c;
  --gray-600: #57534e;
  --gray-700: #44403c;
  --gray-800: #292524;
  --gray-900: #1c1917;
  --gray-950: #0c0a09;

  /* Semantic Colors */
  --primary:       #1a6b3c;
  --primary-hover:  #155c33;
  --primary-light:  #e8f5ee;
  --primary-dark:   #0f4025;
  --primary-deep:   #0a2d1a;
  --secondary:      #c9a23e;
  --accent:         #2d8f5a;
  --surface:        #fefefe;
  --surface-warm:   #fafaf8;
  --surface-card:   #ffffff;
  --text-primary:   #111111;
  --text-secondary: #333333;
  --text-muted:     #78716c;
  --text-light:     #a8a29e;
  --border:         #e7e5e4;
  --border-subtle:  #f0efed;

  /* Elevation */
  --shadow-xs:  0 1px 2px rgba(28,25,23,0.04);
  --shadow-sm:  0 1px 3px rgba(28,25,23,0.06), 0 1px 2px rgba(28,25,23,0.04);
  --shadow:     0 4px 6px -1px rgba(28,25,23,0.07), 0 2px 4px -2px rgba(28,25,23,0.05);
  --shadow-md:  0 8px 16px -4px rgba(28,25,23,0.08), 0 4px 6px -2px rgba(28,25,23,0.03);
  --shadow-lg:  0 16px 32px -8px rgba(28,25,23,0.1), 0 8px 16px -4px rgba(28,25,23,0.04);
  --shadow-xl:  0 24px 48px -12px rgba(28,25,23,0.12);
  --shadow-green: 0 4px 14px rgba(26,107,60,0.2);

  /* Typography */
  --font-heading: 'Noto Sans Arabic', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans Arabic', 'Noto Sans Arabic', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* Layout */
  --container-max: 1180px;
  --container-narrow: 720px;
  --section-pad: 6rem 0;
  --radius:    8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.25s var(--ease);
  --transition-slow: all 0.4s var(--ease);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #000000;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

::selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ── Flag Icon (replaces emoji flags) ────────────────────────── */
.flag-icon {
  display: inline-block;
  width: 18px;
  height: auto;
  vertical-align: -2px;
  margin-inline-end: 4px;
  border-radius: 2px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.1);
}

.footer-links .flag-icon {
  width: 16px;
  vertical-align: -1px;
}

/* ── Container ────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Announcement Bar ────────────────────────────────────────── */
.announcement-bar {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 11px 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.announcement-bar strong {
  color: white;
  font-weight: 700;
}

.announcement-bar a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  font-weight: 600;
}

.announcement-bar a:hover {
  color: var(--gold-100);
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(254,254,254,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(254,254,254,0.97);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 38px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.8rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 0.8rem;
  left: 0.8rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* ── Hamburger ───────────────────────────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  transition: var(--transition);
}

.hamburger-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,107,60,0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

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

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

.btn-white {
  background: white;
  color: var(--primary-dark);
  font-weight: 700;
}

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

.btn-pulse {
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: var(--shadow-green); }
  50%      { box-shadow: 0 0 0 6px rgba(26,107,60,0.1), var(--shadow-green); }
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ── Hero Section (Homepage) ─────────────────────────────────── */
.hero {
  background: var(--surface-warm);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('/images/pattern-light.png') repeat center / 400px,
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(26,107,60,0.06), transparent),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(201,162,62,0.04), transparent);
  opacity: 0.7;
  pointer-events: none;
  animation: subtleShift 20s ease-in-out infinite;
}

@keyframes subtleShift {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.9; }
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,107,60,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 15s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-40px, 30px) scale(1.1); }
  66%      { transform: translate(20px, -20px) scale(0.95); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(26,107,60,0.15);
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: #000000;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-800);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-700);
  font-weight: 500;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--primary-light);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.75rem;
}

/* ── Landing Hero (Country / Scam / Company Pages) ───────────── */
.landing-hero {
  background: var(--primary-deep);
  color: white;
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/pattern-dark.png') repeat center / 500px;
  opacity: 0.12;
  pointer-events: none;
  animation: patternDrift 40s linear infinite;
}

@keyframes patternDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 500px 500px; }
}

.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(26,107,60,0.3), transparent),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(201,162,62,0.08), transparent);
  pointer-events: none;
}

.landing-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.landing-hero h1 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.landing-hero .hero-subtitle {
  color: rgba(255,255,255,0.9);
  line-height: 1.85;
  max-width: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

/* ── Form Card ───────────────────────────────────────────────── */
.hero-form-wrapper {
  position: relative;
}

.form-card {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.form-header {
  background: var(--primary-dark);
  padding: 1.4rem 1.75rem;
  color: white;
  position: relative;
}

.form-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.form-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
}

.form-header p {
  font-size: 0.82rem;
  opacity: 0.85;
  margin: 0;
}

.form-card-inner {
  padding: 1.5rem 1.75rem 1.75rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-primary);
  transition: var(--transition);
  direction: rtl;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
  background: white;
}

.form-control::placeholder {
  color: var(--text-light);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10L6 8z' fill='%2378716c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  padding-left: 2rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-status {
  padding: 0.9rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
  margin-top: 0.75rem;
}

.form-status.success {
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid var(--green-200);
}

.form-status.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.9rem;
}

/* ── Landing Hero Form (Dark Background, No Card Wrapper) ──── */
.landing-hero > .container > .form-card-inner .form-label,
.landing-hero .form-card-inner:not(.form-card .form-card-inner) .form-label {
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

.landing-hero > .container > .form-card-inner .form-control,
.landing-hero .form-card-inner:not(.form-card .form-card-inner) .form-control {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.3);
  color: #111111;
}

.landing-hero > .container > .form-card-inner .form-control:focus,
.landing-hero .form-card-inner:not(.form-card .form-card-inner) .form-control:focus {
  background: #ffffff;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212,167,46,0.2);
}

.landing-hero > .container > .form-card-inner .form-control::placeholder {
  color: #999999;
}

.landing-hero > .container > .form-card-inner .btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 700;
}

.landing-hero > .container > .form-card-inner .btn-submit:hover {
  background: var(--accent);
}

.landing-hero > .container > .form-card-inner .form-security {
  color: rgba(255,255,255,0.6);
}

/* Re-assert dark labels inside .form-card (white card wrapper) */
.form-card .form-label {
  color: var(--text-secondary) !important;
}

.form-card .form-control {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
}

.form-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
  background: white;
}

.form-card .form-control::placeholder {
  color: var(--text-light);
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  padding: var(--section-pad);
}

.section-light {
  background: var(--surface-warm);
}

.section-green {
  background: var(--green-50);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

/* ── Grids ────────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Feature Cards ───────────────────────────────────────────── */
.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 2rem;
  left: 2rem;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
  transform: translateY(-2px);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.feature-card h4 {
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── Step Cards ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: stepCount;
}

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-deep);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step-card h4 {
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── Stat Strip ──────────────────────────────────────────────── */
.stat-strip {
  background: var(--primary-deep);
  color: white;
  padding: 3rem 0;
  position: relative;
}

.stat-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,107,60,0.15), transparent, rgba(201,162,62,0.05));
  pointer-events: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--gold-300);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── Scam Type Cards ─────────────────────────────────────────── */
.scam-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.scam-type-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  color: var(--text-primary);
  text-decoration: none;
}

.scam-type-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.scam-type-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.scam-type-body { flex: 1; }

.scam-type-body h4 {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.scam-type-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.scam-type-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 0.35rem;
}

.scam-type-arrow {
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}

.scam-type-card:hover .scam-type-arrow {
  color: var(--primary);
  transform: translateX(-4px);
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--primary-deep);
  padding: 5rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(26,107,60,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,162,62,0.06) 0%, transparent 50%);
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ── News Cards ──────────────────────────────────────────────── */
.news-card {
  display: block;
  padding: 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--green-200);
  color: var(--text-primary);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.news-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.news-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.news-icon {
  width: 34px;
  height: 34px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* ── Country Cards ───────────────────────────────────────────── */
.country-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  background: var(--surface-card);
}

.country-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.country-card > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.country-card .flag-icon {
  width: 18px !important;
  height: auto !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: -2px;
}

.country-card-body {
  padding: 1.25rem;
}

.country-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.country-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Article Content ─────────────────────────────────────────── */
.article-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.article-content h2 {
  margin: 3rem 0 1.25rem;
  padding-top: 1rem;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 0.6rem;
  line-height: 1.75;
}

.article-content li strong {
  color: var(--text-primary);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(26,107,60,0.3);
}

.article-content a:hover {
  text-decoration-color: var(--primary);
}

/* ── Trust Wallet Box ────────────────────────────────────────── */
.trust-wallet-box {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-right: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.trust-wallet-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.trust-wallet-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ── FAQ Items ───────────────────────────────────────────────── */
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-xs);
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── Company Card (Open Cases) ───────────────────────────────── */
.company-card {
  display: block;
  padding: 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
}

.company-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.company-card h4 {
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.company-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.company-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--green-50);
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 0.6rem;
  border: 1px solid var(--green-100);
}

/* ── Sticky CTA ──────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: var(--primary-deep);
  color: white;
  padding: 0.9rem 0;
  z-index: 998;
  transition: bottom 0.4s var(--ease);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sticky-cta.visible {
  bottom: 0;
}

.sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

/* ── Modal ────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,10,9,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.04);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}

.modal-close:hover {
  background: rgba(255,255,255,0.3);
}

/* ── Social Proof Ticker ─────────────────────────────────────── */
#socialProofTicker {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
  transition: var(--transition-slow);
}

/* ── Partners ────────────────────────────────────────────────── */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.partner-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-card);
}

.partner-link:hover {
  color: var(--primary);
  border-color: var(--green-200);
  box-shadow: var(--shadow-xs);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--gray-950);
  color: var(--gray-500);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.footer p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--green-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 0;
  }

  .container { padding: 0 1.25rem; }

  .hamburger-btn { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    background: rgba(254,254,254,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 998;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
  }

  .nav-link::after { display: none; }

  .nav-link:hover,
  .nav-link.active {
    background: var(--primary-light);
  }

  .hero .container,
  .landing-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero { padding: 3rem 0; }
  .landing-hero { padding: 3rem 0 3.5rem; }

  .hero-subtitle { max-width: none; }
  .hero-actions { justify-content: center; }
  .trust-row { justify-content: center; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .scam-types-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .sticky-cta .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .sticky-cta p { font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 1.6rem; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }

  .form-card-inner { padding: 1.25rem; }
  .form-header { padding: 1.1rem 1.25rem; }
}

/* ── Utilities ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-green { color: var(--primary); }
.text-gold { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.5s var(--ease) both;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  .header, .sticky-cta, .modal-overlay, .announcement-bar, .cta-banner,
  .cookie-banner, .a11y-widget { display: none; }
  body { font-size: 12pt; line-height: 1.5; }
  .hero, .landing-hero { padding: 1rem 0; background: white; color: black; }
}

/* ── Gold Accents — Boutique Law Firm ────────────────────────── */
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold-shine);
  border-radius: 3px;
  margin-top: 0.75rem;
}

.section-header {
  text-align: center;
}

.section-header h2::after {
  margin-inline: auto;
}

.stat-strip {
  border-top: 3px solid var(--gold-400);
}

.cta-banner {
  border-top: 3px solid var(--gold-400);
}

.feature-card {
  border-top: 2px solid transparent;
  transition: var(--transition), border-color 0.3s ease;
}

.feature-card:hover {
  border-top-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.step-card {
  border-top: 2px solid transparent;
}

.step-card:hover {
  border-top-color: var(--gold-400);
}

/* Gold Badge Variant */
.hero-badge {
  border: 1px solid var(--gold-300) !important;
  background: var(--gold-50) !important;
  color: var(--gold-700) !important;
}

.landing-hero .hero-badge {
  background: rgba(212,167,46,0.15) !important;
  border-color: rgba(212,167,46,0.3) !important;
  color: var(--gold-200) !important;
}

/* ── Cookie Consent Banner ──────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-deep);
  color: white;
  padding: 1rem 0;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.9);
}

.cookie-banner p a {
  color: var(--gold-300);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-reject:hover {
  border-color: rgba(255,255,255,0.5);
  color: white;
}

/* ── Accessibility Widget ───────────────────────────────────── */
.a11y-widget {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 9998;
}

.a11y-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: white;
  border: 2px solid var(--gold-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  font-size: 0;
}

.a11y-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.a11y-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.a11y-panel {
  position: absolute;
  bottom: 54px;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  width: 220px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.a11y-panel.open {
  display: block;
  animation: fadeInUp 0.3s var(--ease);
}

.a11y-panel h4 {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.a11y-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-body);
  transition: var(--transition);
}

.a11y-option:hover {
  color: var(--primary);
}

.a11y-option span {
  font-size: 0.7rem;
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
}

/* High contrast mode */
body.high-contrast {
  --text-primary: #000000;
  --text-secondary: #111111;
  --text-muted: #333333;
  --border: #999999;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast p { color: #000000; }

/* Large text mode */
body.large-text {
  font-size: 1.15rem;
}

body.large-text h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
body.large-text h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
