/* CyberPicks - Cybersecurity Review Website Styles v2 */
/* Theme: primary=#1e40af (deep blue), accent=#f59e0b (amber) */

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-darker: #172f6e;
  --primary-light: #dbeafe;
  --primary-lighter: #eff6ff;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --accent-dark: #d97706;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-darker: #0a0f1d;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --success: #059669;
  --success-light: #ecfdf5;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1);
  --max-width: 1140px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-logo {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}

.nav-logo::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 7px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E") center/cover no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E") center/cover no-repeat;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-lighter);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, var(--primary-dark) 30%, var(--primary) 60%, #312e81 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: heroGrid 20s linear infinite;
}

@keyframes heroGrid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Glow orbs */
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,64,175,0.3) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: heroOrb 8s ease-in-out infinite alternate;
}

@keyframes heroOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.18rem;
  opacity: 0.8;
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 0 20px;
}

.hero-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 0.88rem;
  opacity: 0.7;
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* Decorative line under section header */
.section-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ============================================
   AD CONTAINER
   ============================================ */
.ad-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 28px;
  text-align: center;
}

.ad-container ins {
  border-radius: var(--radius);
  overflow: hidden;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
#categories {
  padding: 80px 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
  opacity: 0;
  transition: opacity 0.35s;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-card:hover .cat-icon {
  transform: scale(1.15);
}

.cat-label {
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  color: var(--text);
  transition: color 0.3s;
}

.cat-card:hover .cat-label {
  color: var(--primary);
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ARTICLE CARDS (Grid Layout)
   ============================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.article-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 var(--radius) var(--radius);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.article-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 3px 13px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.4;
}

.article-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0 0 18px;
  line-height: 1.55;
  flex: 1;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-lighter);
  font-weight: 500;
  margin-top: auto;
}

/* Star icon wrapper for meta */
.article-meta::before {
  content: '';
}

@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ARTICLE LIST (Categorized)
   ============================================ */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.article-list-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition);
}

.article-list-section:hover {
  box-shadow: var(--shadow-md);
}

.article-list-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-list-section h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.article-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  gap: 12px;
}

.article-list-item:hover {
  background: var(--bg-alt);
}

.article-list-item a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
  flex: 1;
}

.article-list-item a:hover {
  color: var(--primary);
}

.article-list-item .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .article-list { grid-template-columns: 1fr; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-darker) 50%, var(--primary-dark) 100%);
  color: #fff;
  padding: 72px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.08rem;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  margin: 0 8px;
  position: relative;
  z-index: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.97rem;
  letter-spacing: -0.2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-darker);
  color: #cbd5e1;
  padding: 56px 0 28px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.footer-grid a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 28px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #64748b;
}

.footer-bottom span:last-child {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 16px 0;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   TYPOGRAPHY (Article Pages)
   ============================================ */
h1 { font-size: 2.2rem; font-weight: 800; color: var(--text); margin-bottom: 16px; line-height: 1.3; letter-spacing: -0.5px; }
h2 { font-size: 1.6rem; font-weight: 700; margin: 40px 0 16px; color: var(--text); }
h3 { font-size: 1.3rem; font-weight: 600; margin: 32px 0 12px; color: var(--text); }
h4 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
p { margin-bottom: 16px; }
ul, ol { margin: 0 0 24px 24px; }
li { margin-bottom: 8px; }
a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }

/* ============================================
   SCORE CARD
   ============================================ */
.score-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.score-header h2 { margin: 0; font-size: 1.5rem; }

.score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(30,64,175,0.3);
}

/* ============================================
   PROS & CONS
   ============================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.pros, .cons {
  padding: 24px;
  border-radius: var(--radius);
}

.pros {
  background: var(--success-light);
  border: 1px solid #a7f3d0;
}

.cons {
  background: var(--danger-light);
  border: 1px solid #fecaca;
}

.pros h3 { color: var(--success); margin-top: 0; font-size: 1.1rem; }
.cons h3 { color: var(--danger); margin-top: 0; font-size: 1.1rem; }
.pros ul, .cons ul { margin-bottom: 0; }

@media (max-width: 768px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 32px;
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comp-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
}

.comp-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.comp-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.comp-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.comp-table tr:nth-child(even) td {
  background: var(--bg-alt);
}

.comp-table tr:hover td {
  background: var(--primary-lighter);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius);
}

.comp-table tr:last-child td:last-child {
  border-radius: 0 0 var(--radius) 0;
}

/* ============================================
   CALLOUT BOX
   ============================================ */
.callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}

.callout p { margin: 0; }
.callout strong { color: var(--accent-dark); }

/* ============================================
   CTA BOX (in-article)
   ============================================ */
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 44px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 48px 0 32px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  top: -60px;
  right: -60px;
}

.cta-box h2 { color: #fff; margin-top: 0; position: relative; z-index: 1; }
.cta-box p { opacity: 0.9; position: relative; z-index: 1; margin-bottom: 20px; }
.cta-box .btn { position: relative; z-index: 1; }

@media (max-width: 768px) {
  .cta-box { padding: 32px 24px; }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--bg-alt), var(--primary-lighter));
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-header h1 { margin-bottom: 8px; color: var(--primary); }
.page-header p { color: var(--text-light); font-size: 1.08rem; }

/* ============================================
   ARTICLE CONTENT
   ============================================ */
article {
  max-width: 780px;
  margin: 0 auto;
}

article h2 {
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

article img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  counter-reset: checklist;
  list-style: none;
  margin-left: 0;
}

.checklist li {
  counter-increment: checklist;
  padding: 18px 18px 18px 60px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  position: relative;
  transition: all 0.2s;
}

.checklist li:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.checklist li::before {
  content: counter(checklist);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ============================================
   STEP LIST
   ============================================ */
.step-list {
  counter-reset: step;
  list-style: none;
  margin-left: 0;
}

.step-list li {
  counter-increment: step;
  padding: 24px 24px 24px 72px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 18px;
  position: relative;
  transition: all 0.25s;
}

.step-list li:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-list li::before {
  content: "Step " counter(step);
  position: absolute;
  left: 20px;
  top: 24px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-list li h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step-list li p:last-child { margin-bottom: 0; }

/* ============================================
   GUIDE META
   ============================================ */
.guide-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ============================================
   PRICE BADGE
   ============================================ */
.price-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ============================================
   RATING
   ============================================ */
.rating {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 3px;
}

/* ============================================
   TAG
   ============================================ */
.tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
}

.toc h3 { margin-top: 0; font-size: 1.1rem; }
.toc ol { margin-bottom: 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 620px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.93rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.12);
}

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

/* ============================================
   LEGAL CONTENT
   ============================================ */
.legal-content h2 { font-size: 1.4rem; margin-top: 36px; }
.legal-content h3 { font-size: 1.15rem; }
.legal-content ul, .legal-content ol { margin-bottom: 20px; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger children animation for grids */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger.visible > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.stagger.visible > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger.visible > *:nth-child(9) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.stagger.visible > *:nth-child(10) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 28px; }
  .hero-stat-num { font-size: 1.8rem; }

  .nav-links { gap: 2px; }
  .nav-links a { font-size: 0.8rem; padding: 6px 10px; }

  .section-header h2 { font-size: 1.6rem; }

  h1 { font-size: 1.7rem; }
  article { padding: 0 16px; }

  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 1.7rem; }
  .hero-stats { gap: 20px; flex-direction: column; }

  .cta-section { padding: 48px 20px; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section .btn { display: block; margin: 8px 0; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
