/* ==================== VARIABLES ==================== */
:root {
  --green:        #16a34a;
  --green-light:  #dcfce7;
  --green-mid:    #86efac;
  --green-glow:   rgba(22, 163, 74, 0.18);
  --blue:         #2563eb;
  --blue-light:   #dbeafe;
  --blue-mid:     #93c5fd;
  --blue-glow:    rgba(37, 99, 235, 0.18);
  --text:         #0f172a;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-dark:      #0f172a;
  --border:       #e2e8f0;
  --border-dark:  #1e293b;
  --radius:       14px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.07);
  --shadow:       0 4px 12px rgba(15,23,42,0.08), 0 1px 3px rgba(15,23,42,0.05);
  --shadow-md:    0 10px 24px rgba(15,23,42,0.1), 0 4px 8px rgba(15,23,42,0.06);
  --shadow-lg:    0 24px 48px rgba(15,23,42,0.14), 0 8px 16px rgba(15,23,42,0.07);
  --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ==================== UTILITIES ==================== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ==================== NAVBAR ==================== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
}
.logo-green { color: var(--green); }
.logo-blue  { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--bg-soft); color: var(--text); }
.nav-links a.active { background: var(--green-light); color: var(--green); font-weight: 600; }
.hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
  transition: border-color var(--transition);
}
.hamburger:hover { border-color: var(--green); color: var(--green); }

/* ==================== BADGE ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 5px 13px;
  border-radius: 100px;
  border: 1.5px solid transparent;
}
.badge-green { background: var(--green-light); color: var(--green); border-color: var(--green-mid); }
.badge-blue  { background: var(--blue-light);  color: var(--blue);  border-color: var(--blue-mid); }
.badge-gray  { background: var(--bg-soft); color: var(--text-muted); border-color: var(--border); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-green {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  box-shadow: 0 4px 14px var(--green-glow);
}
.btn-green:hover { box-shadow: 0 8px 24px var(--green-glow); filter: brightness(1.06); }
.btn-blue  {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 4px 14px var(--blue-glow);
}
.btn-blue:hover  { box-shadow: 0 8px 24px var(--blue-glow); filter: brightness(1.06); }
.btn-outline {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); box-shadow: var(--shadow); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==================== HERO ==================== */
.hero {
  background: #f7f5f0;
  overflow: hidden;
  position: relative;
  padding: 72px 0 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  background: var(--green-light);
  border: 1.5px solid var(--green-mid);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
  color: var(--text);
}
.accent-green {
  background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent-blue {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 0 36px;
  line-height: 1.7;
}
.btn-dark {
  background: var(--text);
  color: white;
}
.btn-dark:hover {
  background: #1e293b;
  box-shadow: 0 8px 24px rgba(15,23,42,0.22);
}
/* Visual column */
.hero-visual-col {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.hero-panel {
  flex: 1;
  background: linear-gradient(145deg, #e9f5ec 0%, #deeafc 100%);
  border-radius: 22px;
  min-height: 380px;
  position: relative;
  padding: 32px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hp-icon { font-size: 2.4rem; line-height: 1; }
.hp-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.hp-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
  width: 100%;
  margin: 4px 0;
}
.hp-bar {
  flex: 1;
  height: var(--bh);
  background: rgba(22, 163, 74, 0.25);
  border-radius: 4px 4px 0 0;
}
.hp-bar-hi { background: var(--green); }
.hp-value { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.hp-chip {
  position: absolute;
  background: white;
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hp-chip-1 { top: 24px; right: 24px; }
.hp-chip-2 { bottom: 24px; right: 24px; }
/* Aside stats column */
.hero-aside {
  width: 130px;
  flex-shrink: 0;
  padding-top: 8px;
}
.ha-num {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.ha-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}
.ha-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 20px; }
.ha-icon-row { display: flex; gap: 10px; align-items: flex-start; }
.ha-icon { font-size: 1.6rem; flex-shrink: 0; }
.ha-icon-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
/* Hero bottom stat cards */
.hero-foot { border-top: 1px solid rgba(0,0,0,0.08); }
.hf-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.hf-card {
  padding: 28px 32px;
  background: white;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.hf-card:last-child { border-right: none; }
.hf-card-green { background: var(--green); }
.hf-num {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.hf-card-green .hf-num,
.hf-card-green .hf-label { color: white; }
.hf-label { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.hf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hf-rating { font-size: 1.4rem; font-weight: 900; color: var(--text); letter-spacing: -0.02em; }
.hf-star { color: #f59e0b; }
.hf-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ==================== SECTION ==================== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.section-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.view-all {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid var(--green-mid);
  border-radius: 8px;
  background: var(--green-light);
  white-space: nowrap;
  transition: all var(--transition);
}
.view-all:hover { background: var(--green); color: white; border-color: var(--green); transform: translateY(-1px); }

/* ==================== CARDS GRID ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius) var(--radius) 0 0;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.card-badge { margin-bottom: 2px; }
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.02em;
}
.card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.card-footer {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.81rem;
  color: var(--text-light);
}
.card-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 9px; }
.card-link::after { content: '→'; }

/* TOOL CARD RATING */
.rating { display: flex; align-items: center; gap: 8px; }
.stars { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; }
.rating-score { font-weight: 800; font-size: 1rem; color: var(--text); }
.rating-count { font-size: 0.82rem; color: var(--text-muted); }

/* ==================== PAGE HERO ==================== */
.page-hero {
  padding: 68px 0 52px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .badge { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }
.page-content { padding: 56px 0; }

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.83rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--green); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--border); }

/* ==================== ARTICLE LAYOUT ==================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 56px;
  padding: 48px 0 80px;
  align-items: start;
}
.article-header { margin-bottom: 40px; }
.article-header .badge { margin-bottom: 16px; }
.article-header h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.article-meta strong { color: var(--text); }
.divider { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

/* ARTICLE BODY */
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 48px 0 16px;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.article-body p { margin-bottom: 20px; font-size: 1.04rem; line-height: 1.85; color: #334155; }
.article-body ul, .article-body ol { margin: 0 0 20px 0; padding-left: 24px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 10px; font-size: 1rem; line-height: 1.75; color: #334155; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--green); text-decoration: underline; }
.article-body a:hover { color: #15803d; }

/* CALLOUT BOX */
.callout {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 24px;
  margin: 28px 0;
  font-size: 0.95rem;
  color: #14532d;
}
.callout-blue { background: var(--blue-light); border-left-color: var(--blue); color: #1e3a8a; }
.callout strong { color: inherit; }

/* TABLE */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1.5px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th {
  background: var(--bg-soft);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--border);
}
td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-soft); }

/* SIDEBAR */
.sidebar { position: sticky; top: 84px; }
.sidebar-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
}
.sidebar-card h4 {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 14px;
}
.toc-list { display: flex; flex-direction: column; gap: 1px; }
.toc-list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
  display: block;
}
.toc-list a:hover { background: var(--green-light); color: var(--green); }
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-item { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-item a { font-size: 0.88rem; font-weight: 600; color: var(--text); transition: color var(--transition); }
.related-item a:hover { color: var(--green); }
.related-item span { font-size: 0.76rem; color: var(--text-light); }

/* ==================== NEWSLETTER ==================== */
.newsletter {
  background: var(--bg-dark);
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(22,163,74,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 30%, rgba(37,99,235,0.2) 0%, transparent 60%);
}
.newsletter > .container { position: relative; z-index: 1; }
.newsletter h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.newsletter p { opacity: 0.72; margin-bottom: 36px; font-size: 1.05rem; }
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px;
}
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  color: white;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--green), #15803d);
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform var(--transition), filter var(--transition);
  box-shadow: 0 4px 14px rgba(22,163,74,0.4);
}
.newsletter-form button:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-dark);
  color: #64748b;
  padding: 60px 0 28px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 28px;
}
.footer-brand .logo { color: white; margin-bottom: 14px; display: inline-block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: #64748b; transition: color var(--transition); }
.footer-links a:hover { color: var(--green-mid); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
  color: #475569;
}

/* ==================== TOOL REVIEW ==================== */
.tool-score-box {
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.tool-score-number { font-size: 3.2rem; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -0.05em; }
.tool-score-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.tool-score-stars { font-size: 1.3rem; color: #f59e0b; margin: 8px 0; letter-spacing: 2px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.pros, .cons { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.pros { border-top: 3px solid var(--green); }
.cons { border-top: 3px solid #ef4444; }
.pros h4 { color: var(--green); margin-bottom: 12px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.cons h4 { color: #ef4444; margin-bottom: 12px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.pros li, .cons li { font-size: 0.9rem; padding: 7px 0; border-bottom: 1px solid var(--border); color: #334155; list-style: none; }
.pros li:last-child, .cons li:last-child { border-bottom: none; }
.pros li::before { content: '✓ '; color: var(--green); font-weight: 800; }
.cons li::before { content: '✗ '; color: #ef4444; font-weight: 800; }

/* ==================== CARD VISUAL HEADER ==================== */
.card-img {
  width: calc(100% + 56px);
  height: 158px;
  margin: -28px -28px 20px -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(255,255,255,0.2) 0%, transparent 55%);
  pointer-events: none;
}
.card-img-green  { background: linear-gradient(140deg, #15803d 0%, #16a34a 55%, #4ade80 100%); }
.card-img-blue   { background: linear-gradient(140deg, #1d4ed8 0%, #2563eb 55%, #60a5fa 100%); }
.card-img-teal   { background: linear-gradient(140deg, #0e7490 0%, #0891b2 55%, #22d3ee 100%); }
.card-img-violet { background: linear-gradient(140deg, #6d28d9 0%, #7c3aed 55%, #a78bfa 100%); }
.card-img-slate  { background: linear-gradient(140deg, #1e293b 0%, #334155 55%, #64748b 100%); }

/* ==================== FEATURES SECTION ==================== */
.features-section {
  padding: 80px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.features-header {
  text-align: center;
  margin-bottom: 48px;
}
.features-header .section-eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}
.features-header .section-eyebrow::before { display: none; }
.features-header .section-title { font-size: 2rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.feature-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 22px;
}
.feature-icon-green { background: var(--green-light); }
.feature-icon-blue  { background: var(--blue-light); }
.feature-icon-teal  { background: #cffafe; }
.feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==================== GLOSSARY ==================== */
.glossary-wrapper { padding: 48px 0 80px; }
.glossary-layout { display: grid; grid-template-columns: 56px 1fr; gap: 28px; align-items: start; }
.alpha-sidebar-sticky { position: sticky; top: 84px; }
.alpha-sidebar-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 8px; text-align: center; }
.alpha-nav { display: flex; flex-direction: column; gap: 2px; }
.alpha-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 34px; border-radius: 8px;
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; margin: 0 auto; border: none; background: none;
}
.alpha-btn:hover { background: var(--green-light); color: var(--green); }
.alpha-btn.active { background: var(--green); color: white; }
.alpha-btn-empty { opacity: 0.22; cursor: default; pointer-events: none; }
.alpha-section { border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.alpha-section-header {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; background: var(--bg-soft);
}
.alpha-letter-badge {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--green); color: white;
  font-size: 0.95rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.alpha-terms-info { flex: 1; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; text-align: left; }
.glossary-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; border-top: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: background var(--transition);
}
.glossary-row:hover { background: var(--bg-soft); }
.gr-name { font-size: 0.93rem; font-weight: 600; color: var(--text); min-width: 185px; flex-shrink: 0; }
.gr-full { flex: 1; font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.gr-arrow { font-size: 0.88rem; color: var(--green); font-weight: 700; transition: transform var(--transition); }
.glossary-row:hover .gr-arrow { transform: translateX(4px); }

/* ==================== WHAT-IS ARTICLE LAYOUT ==================== */
.what-is-layout { display: grid; grid-template-columns: 220px 1fr 240px; gap: 28px; align-items: start; padding: 40px 0 80px; }
.glossary-nav-sidebar { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; border: 1.5px solid var(--border); border-radius: var(--radius); }
.glossary-nav-sidebar::-webkit-scrollbar { width: 4px; }
.glossary-nav-sidebar::-webkit-scrollbar-track { background: transparent; }
.glossary-nav-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.gn-header { padding: 12px 14px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.gn-section { border-bottom: 1px solid var(--border); }
.gn-section:last-child { border-bottom: none; }
.gn-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--bg-soft); border: none; cursor: pointer; font-family: inherit; transition: background var(--transition); }
.gn-btn:hover { background: var(--green-light); }
.gn-btn.open { background: var(--green-light); }
.gn-letter { width: 24px; height: 24px; border-radius: 6px; background: var(--text); color: white; font-size: 0.75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gn-btn.open .gn-letter { background: var(--green); }
.gn-label { font-size: 0.74rem; font-weight: 500; color: var(--text-muted); flex: 1; text-align: left; }
.gn-chevron { font-size: 0.68rem; color: var(--text-light); transition: transform 0.22s; }
.gn-btn.open .gn-chevron { transform: rotate(180deg); }
.gn-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.gn-link { display: block; padding: 6px 12px 6px 46px; font-size: 0.77rem; color: var(--text-muted); border-top: 1px solid var(--border); transition: all var(--transition); text-decoration: none; }
.gn-link:hover { background: var(--bg-soft); color: var(--green); }
.gn-link.gn-current { color: var(--green); font-weight: 600; background: var(--green-light); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual-col { display: none; }
  .hf-grid { grid-template-columns: 1fr; }
  .hf-card { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .hf-card:last-child { border-bottom: none; }
  .glossary-layout { grid-template-columns: 1fr; }
  .alpha-sidebar { display: none; }
  .gr-full { display: none; }
  .what-is-layout { grid-template-columns: 1fr; }
  .glossary-nav-sidebar { display: none; }
}
@media (max-width: 640px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex-direction: column; background: transparent; border: none; padding: 0; }
  .newsletter-form input { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 13px 16px; }
  .hero { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .sitemap-az { grid-template-columns: 1fr 1fr; }
}

/* ==================== SITEMAP PAGE ==================== */
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sitemap-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .15s;
}
.sitemap-list a:hover { color: var(--green); }
.sitemap-az {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
}
.sitemap-letter-group h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}
