:root {
  --bg: #0f1115;
  --bg-2: #171a21;
  --card: #1d212b;
  --line: #2c3240;
  --text: #f3f1ec;
  --muted: #b3aea4;
  --accent: #e94560;
  --accent-2: #d7a15a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15,17,21,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.lang-switch { position: relative; }
.lang-switch button { background: transparent; border: 1px solid var(--line); color: var(--text); padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.lang-menu { display: none; position: absolute; right: 0; top: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 8px; min-width: 140px; margin-top: 4px; z-index: 30; }
.lang-menu a { display: block; padding: 8px 14px; color: var(--text); text-decoration: none; }
.lang-menu a:hover { background: var(--bg-2); }
.lang-switch.open .lang-menu { display: block; }
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(rgba(15,17,21,0.65), rgba(15,17,21,0.75)), url('assets/images/hero-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1, .hero .lead, .hero p { text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.kicker { font-family: system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-size: 0.8rem; margin-bottom: 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 20px; font-weight: 700; }
.lead { font-size: 1.15rem; max-width: 720px; margin: 0 auto 24px; color: var(--muted); }
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 20px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.tool-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .2s, border-color .2s; }
.tool-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.tool-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.tool-card .body { padding: 20px; }
.tool-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.tool-card p { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }
.btn { display: inline-block; font-family: system-ui, sans-serif; border-radius: 999px; padding: 10px 20px; border: 0; cursor: pointer; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 12px 0 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: var(--muted); }
.age-gate { position: fixed; inset: 0; background: rgba(6,7,10,.96); display: grid; place-items: center; z-index: 100; padding: 24px; }
.age-gate.hidden { display: none; }
.age-box { background: var(--card); padding: 40px; border-radius: 16px; text-align: center; max-width: 420px; border: 1px solid var(--line); }
.age-box h2 { margin-top: 0; }
.age-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.hamburger { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hamburger { display: block; }
  .tools-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 32px; }
}
.warning { background: #2a1a1a; border-left: 4px solid var(--accent); padding: 16px; border-radius: 8px; margin: 24px 0; }
.list-check { list-style: none; padding: 0; }
.list-check li { padding: 6px 0 6px 24px; position: relative; }
.list-check li:before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

/* Fixes for layout and local preview */
body { overflow-x: hidden; }
.wrap { padding: 0 20px; }
.hero h1, .hero p, .section h2, .section p { word-wrap: break-word; overflow-wrap: break-word; }
.tool-card a { text-decoration: none; color: inherit; display: block; }
.tool-card .body p { color: var(--muted); }
.age-gate { font-family: system-ui, sans-serif; }
.nav a { white-space: nowrap; }

/* Extra responsive safety */
@media (max-width: 640px) {
  .hero { padding: 60px 0 40px; min-height: auto; }
  h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .tools-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 12px; }
}
.wrap { max-width: 1080px; }
img { max-width: 100%; height: auto; }

/* Sticky header CTA for CRO */
.header-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 8px 16px !important;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(233,69,96,0.4);
  animation: pulse 2s infinite;
  white-space: nowrap;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.header-cta:hover { filter: brightness(1.1); }
@media (max-width: 860px) {
  .header-cta { font-size: 0.85rem; padding: 6px 12px !important; }
}
