/*
  JajaSoft Base Styles v4
  Shared by all layout templates.
  Import this via <style> copy-paste into each template's <style> block.
  ─────────────────────────────────────────────────────────────────────
  FONT SIZES (v4 — all increased):
    body:           17px  (was 14px)
    nav links:      15px  (was 13px)
    hero subtitle:  19px  (was 17px)
    hero features:  16px  (was 14px)
    h1:             clamp(42px,6vw,64px)  (was clamp(32px,5vw,52px))
    section title:  clamp(28px,4vw,42px)  (was clamp(24px,4vw,36px))
    section sub:    18px  (was 16px)
    step h3:        18px  (was 16px)
    step p:         16px  (was 14px)
    faq question:   17px  (was 15px)
    faq answer:     16px  (was 14px)
    modal:          15-16px (was 13-14px)
    footer:         14px  (was 12px)
    labels/badges:  13px  (was 11-12px)
*/

:root {
  --bg:        #07090f;
  --surface:   #0f1219;
  --surface2:  #161c27;
  --border:    #1e2a3a;
  --accent:    #f43f5e; /* rose - jajavideo */
  --accent2:   #fb7185;
  --green:     #10b981;
  --red:       #ef4444;
  --gold:      #f59e0b;
  --text:      #f1f5f9;
  --text2:     #94a3b8;
  --text3:     #475569;
  --radius:    10px;
  --radius-lg: 16px;
}

/*
  ✏️ ACCENT COLOR MAP (copy the right pair into :root above):
  humanize  → #6366f1 / #818cf8  (indigo)
  digest    → #0ea5e9 / #38bdf8  (sky)
  shorts    → #f43f5e / #fb7185  (rose)
  resume    → #8b5cf6 / #a78bfa  (violet)
  outreach  → #10b981 / #34d399  (emerald)
  agents    → #f59e0b / #fbbf24  (amber)
  eval      → #06b6d4 / #22d3ee  (cyan)
  aso       → #84cc16 / #a3e635  (lime)
  uptime    → #7c3aed / #8b5cf6  (purple)
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  min-height: 100vh;
  line-height: 1.65;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,9,15,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 28px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 17px; font-weight: 700; color: var(--text);
}
.nav-logo .dot { color: var(--accent); font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text2); text-decoration: none;
  font-size: 15px; padding: 6px 14px;
  border-radius: 6px; transition: .15s;
}
.nav-links a:hover { background: var(--surface2); color: var(--text); }
.nav-btn {
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; padding: 8px 18px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: .15s;
}
.nav-btn:hover { filter: brightness(1.1); }

/* ── HERO SHARED ──────────────────────────────────────── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--accent2);
  font-size: 13px; font-weight: 500;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 22px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

h1 {
  font-size: clamp(42px,6vw,64px);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -1.5px; margin-bottom: 22px;
}
h1 .accent { color: var(--accent2); }

.hero-sub {
  font-size: 19px; color: var(--text2);
  max-width: 500px; margin-bottom: 36px; line-height: 1.7;
}
.hero-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.hero-feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--text2);
}
.check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--green); flex-shrink: 0;
}

/* ── TOOL CARD ────────────────────────────────────────── */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.tool-header {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.tool-header h2 { font-size: 16px; font-weight: 600; }
.usage-bar-wrap { padding: 10px 22px 0; }
.usage-bar-track {
  background: var(--surface2); border-radius: 20px;
  height: 5px; width: 100%; margin-bottom: 6px;
}
.usage-bar-fill {
  background: var(--accent); height: 5px;
  border-radius: 20px; transition: width .4s;
}
.usage-label { font-size: 13px; color: var(--text3); text-align: right; }
.tool-body { padding: 22px; }
.tool-placeholder {
  min-height: 200px; display: flex; align-items: center;
  justify-content: center; color: var(--text3); font-size: 16px;
  border: 1px dashed var(--border); border-radius: var(--radius);
}

/* ── GATE OVERLAY ─────────────────────────────────────── */
.gate-overlay {
  display: none; position: absolute; inset: 0;
  background: rgba(7,9,15,0.93); backdrop-filter: blur(8px);
  z-index: 10; border-radius: var(--radius-lg);
  align-items: center; justify-content: center; padding: 28px;
}
.gate-overlay.visible { display: flex; }
.gate-box { text-align: center; max-width: 340px; }
.gate-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.gate-box p { font-size: 16px; color: var(--text2); margin-bottom: 22px; line-height: 1.65; }
.gate-input {
  width: 100%; padding: 12px 16px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-size: 16px; outline: none; margin-bottom: 12px; font-family: inherit;
}
.gate-input:focus { border-color: var(--accent); }
.gate-btn {
  width: 100%; padding: 13px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius); font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: .15s;
}
.gate-btn:hover { filter: brightness(1.1); }
.gate-note { font-size: 13px; color: var(--text3); margin-top: 10px; }
.gate-refusal { font-size: 13px; color: var(--text3); margin-top: 14px; cursor: pointer; text-decoration: underline; }

/* ── REFERRAL ─────────────────────────────────────────── */
.referral-bar {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius); padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; font-size: 15px;
}
.referral-bar span { color: var(--text2); }
.referral-bar button {
  background: none; border: 1px solid var(--border);
  color: var(--accent2); border-radius: 6px;
  padding: 5px 14px; font-size: 13px; cursor: pointer; font-family: inherit;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section { max-width: 1100px; margin: 0 auto; padding: 70px 28px; }
.section-center { text-align: center; }
.section-label {
  font-size: 13px; font-weight: 500; letter-spacing: 1.2px;
  color: var(--accent2); text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px,4vw,42px);
  font-weight: 700; margin-bottom: 18px;
}
.section-sub {
  font-size: 18px; color: var(--text2);
  max-width: 540px; margin: 0 auto 44px; line-height: 1.7;
}

/* ── DEMO ─────────────────────────────────────────────── */
.demo-wrapper {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 70px rgba(99,102,241,0.08);
}
.demo-bar {
  background: var(--surface2); border-bottom: 1px solid var(--border);
  padding: 12px 18px; display: flex; align-items: center; gap: 8px;
}
.demo-dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-url {
  flex: 1; text-align: center; font-size: 13px;
  color: var(--text3); font-family: 'JetBrains Mono', monospace;
}
.demo-content {
  min-height: 300px; display: flex; align-items: center;
  justify-content: center; padding: 44px;
  color: var(--text3); font-size: 16px;
}

/* ── STEPS ────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 22px; margin-top: 44px;
}
@media(max-width:700px){ .steps-grid{ grid-template-columns:1fr; } }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.step-num {
  font-size: 14px; font-weight: 700; color: var(--accent);
  font-family: 'JetBrains Mono', monospace; margin-bottom: 14px;
}
.step-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 16px; color: var(--text2); line-height: 1.65; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-q {
  font-size: 17px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-icon { color: var(--text3); font-size: 22px; transition: .2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  font-size: 16px; color: var(--text2); line-height: 1.75;
  max-height: 0; overflow: hidden; transition: .3s;
}
.faq-item.open .faq-a { max-height: 320px; padding-top: 14px; }

/* ── RATING ───────────────────────────────────────────── */
.rating-bar { max-width: 420px; margin: 44px auto 0; text-align: center; }
.rating-bar p { font-size: 16px; color: var(--text2); margin-bottom: 14px; }
.rating-btns { display: flex; gap: 14px; justify-content: center; }
.rate-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 28px;
  font-size: 22px; cursor: pointer; transition: .15s;
}
.rate-btn:hover { border-color: var(--accent); background: var(--surface2); }
.rate-btn.selected { border-color: var(--green); background: rgba(16,185,129,0.1); }

/* ── CTA ──────────────────────────────────────────────── */
.cta-section { max-width: 640px; margin: 0 auto; padding: 70px 28px 90px; text-align: center; }
.cta-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 14px; }
.cta-section p { font-size: 18px; color: var(--text2); margin-bottom: 36px; }
.cta-btn {
  display: inline-block; background: var(--accent); color: #fff;
  border: none; border-radius: 50px; padding: 16px 42px;
  font-size: 17px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: .15s;
}
.cta-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--text3); }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 28px;
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
}
.powered-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text3); text-decoration: none;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--border); transition: .15s;
}
.powered-badge:hover { border-color: var(--accent); color: var(--text2); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px; color: var(--text3);
  text-decoration: none; transition: .15s;
}
.footer-links a:hover { color: var(--text2); }

/* ── FIXED BUTTONS ────────────────────────────────────── */
.all-tools-btn {
  position: fixed; bottom: 26px; left: 26px; z-index: 99;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text2); text-decoration: none;
  font-size: 13px; font-weight: 500; padding: 9px 16px;
  border-radius: 50px; display: flex; align-items: center; gap: 7px;
  transition: .15s; box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.all-tools-btn:hover { border-color: var(--accent); color: var(--text); }
.feedback-btn {
  position: fixed; bottom: 26px; right: 26px; z-index: 99;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text2); font-size: 13px; font-weight: 500;
  padding: 9px 16px; border-radius: 50px; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: .15s; box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.feedback-btn:hover { border-color: var(--accent); color: var(--text); }

/* ── MODALS ───────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  width: 100%; max-width: 460px; margin: 20px;
}
.modal h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.modal p { font-size: 15px; color: var(--text2); margin-bottom: 22px; }
.modal-close {
  float: right; background: none; border: none;
  color: var(--text3); font-size: 22px; cursor: pointer; margin-top: -4px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; color: var(--text2);
  font-weight: 500; margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 16px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-size: 15px; outline: none; transition: .15s; font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 90px; }
.submit-btn {
  width: 100%; padding: 13px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: .15s; font-family: inherit;
}
.submit-btn:hover { filter: brightness(1.1); }

/* ── A/B VARIANTS ─────────────────────────────────────── */
[data-variant="B"] .hero-sub { font-size: 17px; }
[data-variant="B"] .cta-btn  { border-radius: 8px; }
