@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700&family=JetBrains+Mono:wght@400;500;700&family=Syne:wght@700;800&display=swap');

.xf2-home * { box-sizing: border-box; margin: 0; padding: 0; }
.xf2-home ::selection { background: #00B36822; color: #0A0E1A; }
.xf2-home {
  color: #0A0E1A;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

@keyframes xf2-pulse { 0%,100%{opacity:.5} 50%{opacity:1} }
@keyframes xf2-slide-up { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

/* ── BUTTONS ── */
.xf2-btn-accent {
  background: #00B368; color: #fff !important; border: none; padding: 14px 32px;
  border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all .25s ease;
  letter-spacing: -.2px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.xf2-btn-accent:hover { background: #00995A; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,179,104,.25); color:white !important}
.xf2-btn-accent.sm { padding: 10px 22px; font-size: 13px; }
.xf2-btn-primary {
  background: #0A0E1A; color: #fff !important; border: none; padding: 14px 32px;
  border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all .25s ease;
  letter-spacing: -.2px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.xf2-btn-primary:hover { background: #1F2937; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(10,14,26,.15); color:white !important}
.xf2-btn-outline {
  background: #fff; color: #0A0E1A !important; border: 1.5px solid #E5E7EB;
  padding: 13px 32px; border-radius: 12px; font-weight: 600; font-size: 15px;
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .25s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.xf2-btn-outline:hover { border-color: #0A0E1A; background: #FAFAFA; }
.xf2-btn-outline.full { width: 100%; justify-content: center; }
.xf2-btn-ghost {
  background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.3);
  padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 15px;
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .25s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.xf2-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff;color:white !important }

/* ── UTILITIES ── */
.xf2-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
.xf2-section-label {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: #00B368;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.xf2-section-label::before { content: ''; width: 20px; height: 1px; background: #00B368; }
.xf2-h2 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 36px;
  color: #0A0E1A; letter-spacing: -1px; margin-bottom: 8px;
}
.xf2-mw { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ── HERO ── */
.xf2-hero { position: relative; padding-top: 140px; padding-bottom: 80px; }
.xf2-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,14,26,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(10,14,26,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.xf2-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
  animation: xf2-pulse 6s ease-in-out infinite;
}
.xf2-hero-center { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.xf2-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F0FDF4; border: 1px solid #BBF7D0;
  border-radius: 40px; padding: 8px 18px; margin-bottom: 28px;
  animation: xf2-slide-up .6s ease both;
}
.xf2-hero-dot { width: 6px; height: 6px; border-radius: 50%; background: #00B368; animation: xf2-pulse 2s infinite; }
.xf2-hero-pill-text { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #00B368; font-weight: 600; }
.xf2-hero-h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 64px; line-height: 1.05; color: #0A0E1A;
  letter-spacing: -2.5px; margin-bottom: 24px;
  animation: xf2-slide-up .6s ease .1s both;
}
.xf2-hero-gradient {
  background: linear-gradient(135deg, #00B368, #0066FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.xf2-hero-sub {
  font-size: 18px; line-height: 1.7; color: #6B7280; max-width: 560px;
  margin: 0 auto 40px; animation: xf2-slide-up .6s ease .2s both;
}

/* ── SEARCH ── */
.xf2-search-wrap {
  position: relative; max-width: 560px; margin: 0 auto 36px;
  animation: xf2-slide-up .6s ease .3s both;
}
.xf2-search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #9CA3AF; }
.xf2-search {
  background: #F9FAFB; border: 2px solid #E5E7EB; border-radius: 16px;
  padding: 18px 24px 18px 52px; color: #0A0E1A; font-size: 16px;
  width: 100%; outline: none; font-family: 'DM Sans', sans-serif;
  transition: all .3s ease;
}
.xf2-search:focus { border-color: #00B368; background: #fff; box-shadow: 0 0 0 4px rgba(0,179,104,.08); }
.xf2-search::placeholder { color: #9CA3AF; }
.xf2-search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 14px;
  padding: 8px; z-index: 10; box-shadow: 0 12px 40px rgba(10,14,26,.08);
  display: none;
}
.xf2-search-dropdown.open { display: block; }
.xf2-search-item {
  padding: 10px 16px; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: #374151; display: flex; align-items: center; gap: 10px;
  transition: background .15s;
}
.xf2-search-item:hover { background: #F9FAFB; }

.xf2-hero-ctas {
  display: flex; gap: 14px; justify-content: center;
  animation: xf2-slide-up .6s ease .4s both;
}

/* ── STATS ── */
.xf2-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  max-width: 900px; margin: 72px auto 0;
  animation: xf2-slide-up .6s ease .5s both;
}
.xf2-stat {
  text-align: center; padding: 28px 20px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.xf2-stat:hover { border-color: #D1D5DB; box-shadow: 0 8px 24px rgba(10,14,26,.05); }
.xf2-stat-num {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 32px;
  color: #0A0E1A; letter-spacing: -1px; margin-bottom: 4px;
}
.xf2-stat-label { font-size: 13px; color: #9CA3AF; font-weight: 500; }

/* ── CATEGORIES ── */
.xf2-cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.xf2-cat {
  cursor: pointer; border: 1px solid #E5E7EB; border-radius: 14px;
  padding: 20px; background: #fff; transition: all .3s ease;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
}
.xf2-cat:hover { border-color: rgba(0,179,104,.33); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,14,26,.06); }
.xf2-cat.active { border-color: #00B368; background: #F0FDF4; }
.xf2-cat-top { display: flex; justify-content: space-between; align-items: flex-start; }
.xf2-cat-icon { font-size: 28px; }
.xf2-cat-name { font-weight: 700; font-size: 16px; color: #0A0E1A; margin-top: 4px; }
.xf2-cat-desc { font-size: 13px; color: #6B7280; line-height: 1.4; }
.xf2-cat-bar {
  position: absolute; bottom: -1px; left: 24px; right: 24px; height: 2px;
  border-radius: 2px; transition: background .3s;
}

/* ── COMPARISONS ── */
.xf2-compare-section { background: #FAFAFA; border-top: 1px solid #F3F4F6; border-bottom: 1px solid #F3F4F6; }
.xf2-compare-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.xf2-compare-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.xf2-compare-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 14px;
  padding: 20px 24px; cursor: pointer; transition: all .3s ease;
  position: relative; overflow: hidden; text-decoration: none; display: block;
}
.xf2-compare-card:hover { border-color: rgba(0,102,255,.33); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(10,14,26,.06); }
.xf2-compare-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.xf2-compare-tools { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.xf2-compare-tool {
  background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 10px; padding: 10px 18px;
  font-weight: 700; font-size: 15px; color: #0A0E1A; flex: 1; text-align: center;
}
.xf2-compare-vs { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #9CA3AF; font-weight: 700; }
.xf2-compare-footer { display: flex; justify-content: space-between; align-items: center; }
.xf2-compare-verdict { font-size: 13px; color: #6B7280; }
.xf2-compare-verdict strong { color: #00B368; font-weight: 600; }
.xf2-compare-read { color: #0066FF; font-size: 13px; font-weight: 600; }

/* ── TRENDING + NEWSLETTER ── */
.xf2-trend-news { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.xf2-trend-box { background: #fff; border: 1px solid #E5E7EB; border-radius: 18px; overflow: hidden; }
.xf2-trend-header { padding: 24px 24px 16px; border-bottom: 1px solid #F3F4F6; }
.xf2-trend-h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: #0A0E1A; }
.xf2-trend-row {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px;
  border-bottom: 1px solid #F3F4F6; transition: background .2s; cursor: pointer;
}
.xf2-trend-row:last-of-type { border-bottom: none; }
.xf2-trend-row:hover { background: #FAFAFA; }
.xf2-trend-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #9CA3AF; font-weight: 700; width: 24px; }
.xf2-trend-info { flex: 1; }
.xf2-trend-name { font-weight: 600; color: #0A0E1A; font-size: 14px; margin-bottom: 2px; }
.xf2-trend-cat { font-size: 12px; color: #9CA3AF; }
.xf2-trend-stars { color: #F59E0B; font-size: 12px; letter-spacing: 1px; }
.xf2-trend-change { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; }
.xf2-trend-up { color: #00B368; }
.xf2-trend-down { color: #E11D48; }
.xf2-trend-footer { padding: 16px; border-top: 1px solid #F3F4F6; }

.xf2-news-box {
  background: linear-gradient(150deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1px solid #BBF7D0; border-radius: 18px; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.xf2-news-glow {
  position: absolute; width: 300px; height: 300px; bottom: -150px; right: -100px;
  background: rgba(0,179,104,.13); border-radius: 50%; filter: blur(120px);
}
.xf2-news-content { position: relative; z-index: 2; }
.xf2-news-icon { font-size: 42px; margin-bottom: 20px; }
.xf2-news-h3 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px;
  color: #0A0E1A; letter-spacing: -.5px; margin-bottom: 12px; line-height: 1.2;
}
.xf2-news-desc { font-size: 14px; color: #374151; line-height: 1.7; margin-bottom: 28px; max-width: 360px; }
.xf2-news-form { display: flex; gap: 10px; }
.xf2-news-input {
  background: #fff; border: 1.5px solid #E5E7EB; border-radius: 12px;
  padding: 14px 20px; color: #0A0E1A; font-size: 15px; flex: 1;
  outline: none; font-family: 'DM Sans', sans-serif; min-width: 0;
  transition: border-color .2s;
}
.xf2-news-input:focus { border-color: #00B368; }
.xf2-news-input::placeholder { color: #9CA3AF; }
.xf2-news-fine { font-size: 11px; color: #6B7280; margin-top: 12px; font-family: 'JetBrains Mono', monospace; }
.xf2-news-msg { font-size: 13px; margin-top: 10px; min-height: 18px; font-weight: 500; }
.xf2-news-msg.ok { color: #00995A; }
.xf2-news-msg.err { color: #E11D48; }

/* ── ASSESSMENTS ── */
.xf2-assess-section { background: #FAFAFA; border-top: 1px solid #F3F4F6; }
.xf2-assess-center { text-align: center; margin-bottom: 48px; }
.xf2-assess-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.xf2-assess-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 18px;
  padding: 32px; transition: all .4s ease;
  position: relative; overflow: hidden;
}
.xf2-assess-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(10,14,26,.08); }
.xf2-assess-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.xf2-assess-h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: #0A0E1A; margin-bottom: 10px; }
.xf2-assess-desc { font-size: 14px; color: #6B7280; line-height: 1.6; margin-bottom: 24px; }
.xf2-assess-footer { display: flex; justify-content: space-between; align-items: center; }
.xf2-assess-btn {
  color: #fff !important; padding: 10px 20px; font-size: 13px;
  border: none; border-radius: 10px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.xf2-assess-btn:hover { transform: translateY(-1px); color: #fff !important; }
.xf2-assess-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #9CA3AF; }

/* ── BOTTOM CTA ── */
.xf2-bottom-cta {
  background: linear-gradient(135deg, #0A0E1A 0%, #1F2937 100%);
  border-radius: 24px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.xf2-bottom-h2 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 40px;
  color: #fff !important; letter-spacing: -1.5px; margin-bottom: 16px; line-height: 1.1;
}
.xf2-bottom-sub { color: #D1D5DB; font-size: 16px; max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }
.xf2-bottom-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .xf2-hero-h1 { font-size: 40px !important; }
  .xf2-cats { grid-template-columns: 1fr 1fr !important; }
  .xf2-compare-grid { grid-template-columns: 1fr !important; }
  .xf2-assess-grid { grid-template-columns: 1fr !important; }
  .xf2-stats { grid-template-columns: 1fr 1fr !important; }
  .xf2-hero-ctas { flex-direction: column !important; align-items: center; }
  .xf2-news-form { flex-direction: column !important; }
  .xf2-trend-news { grid-template-columns: 1fr !important; }
}
