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

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-light: #ede9fe;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────────────────────────────── */
.navbar { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 60px; background: rgba(248,250,252,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.nav-logo span { color: var(--accent); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero { padding: 110px 20px 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 1000px; height: 600px; background: radial-gradient(ellipse, rgba(79,70,229,0.09) 0%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }

.hero-badge { display: inline-block; background: var(--accent-light); border: 1px solid rgba(79,70,229,0.25); color: var(--accent); font-size: 0.8rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 28px; letter-spacing: 0.04em; text-transform: uppercase; }

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 22px; color: var(--text); }
.gradient-text { background: linear-gradient(135deg, #4f46e5, #7c3aed, #0ea5e9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 52px; }
.hero-note { font-size: 0.8rem; color: var(--muted); }

.hero-stats { display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 40px; box-shadow: var(--shadow); }
.hstat { display: flex; flex-direction: column; align-items: center; padding: 0 32px; }
.hstat strong { font-size: 1.7rem; font-weight: 800; background: linear-gradient(135deg, #4f46e5, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hstat span { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.hstat-div { width: 1px; height: 40px; background: var(--border); }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-inner--narrow { max-width: 720px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; text-align: center; margin-bottom: 14px; letter-spacing: -0.02em; color: var(--text); }
.section-sub { text-align: center; color: var(--muted); font-size: 1rem; margin-bottom: 52px; }

/* ── TOOLS GRID ──────────────────────────────────────────────── */
.tools-section { padding: 90px 20px; border-top: 1px solid var(--border); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

.tool-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.tool-card:hover { border-color: var(--card-accent, var(--accent)); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.tool-icon { font-size: 2rem; flex-shrink: 0; width: 52px; height: 52px; background: color-mix(in srgb, var(--card-accent, var(--accent)) 10%, transparent); border: 1.5px solid color-mix(in srgb, var(--card-accent, var(--accent)) 22%, transparent); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tool-info { flex: 1; min-width: 0; }
.tool-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.tool-brand { font-size: 0.72rem; font-weight: 700; color: var(--card-accent, var(--accent)); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.tool-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.tool-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ttag { font-size: 0.72rem; font-weight: 600; background: color-mix(in srgb, var(--card-accent, var(--accent)) 10%, transparent); border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 22%, transparent); color: var(--card-accent, var(--accent)); padding: 2px 9px; border-radius: 20px; }
.tool-arrow { font-size: 1.1rem; color: var(--card-accent, var(--accent)); opacity: 0; transition: opacity 0.2s, transform 0.2s; flex-shrink: 0; align-self: center; font-weight: 700; }
.tool-card:hover .tool-arrow { opacity: 1; transform: translateX(4px); }

/* ── WHY SECTION ──────────────────────────────────────────────── */
.why-section { padding: 90px 20px; border-top: 1px solid var(--border); background: var(--surface); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.why-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.why-card:hover { border-color: rgba(79,70,229,0.3); transform: translateY(-2px); }
.why-icon { font-size: 2.2rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.why-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 9px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; transition: background 0.15s, transform 0.1s, box-shadow 0.15s; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(79,70,229,0.3); }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-section { padding: 90px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color 0.15s; }
.faq-item:hover { border-color: rgba(79,70,229,0.25); }
.faq-item summary { padding: 18px 20px; font-weight: 600; font-size: 0.95rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; color: var(--text); }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--accent); transition: transform 0.2s; font-weight: 700; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { max-width: 1000px; margin: 0 auto; padding: 70px 20px 40px; display: flex; gap: 60px; flex-wrap: wrap; }
.footer-brand { flex: 2; min-width: 240px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 12px; line-height: 1.75; }
.footer-links { flex: 1; min-width: 140px; }
.footer-links h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 20px; font-size: 0.8rem; color: var(--muted); background: var(--surface-2); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .navbar { padding: 0 20px; }
  .nav-logo { font-size: 0.95rem; }
  .hero { padding: 80px 16px 60px; }
  .hero-stats { padding: 16px 10px; flex-wrap: wrap; gap: 8px; }
  .hstat { padding: 0 10px; }
  .hstat-div { display: none; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-inner { gap: 32px; padding: 40px 20px 32px; }
}
