/* Profitex — pillér + iparági aloldalak közös style
   Illeszkedik a profitex.pro főoldal sötét + cyan/purple/green design nyelvéhez. */

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

:root {
  --bg: #020408;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --cyan: #00d4ff;
  --green: #00ff88;
  --purple: #8b5cf6;
  --text: #e8edf5;
  --text-muted: #7a8a9a;
  --text-dim: #4a5a6a;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 760px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== NAV (egyszerűsített, főoldal stílusban) ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(2,4,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.25s; }
.nav-links a:hover { color: var(--cyan); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--purple)) !important;
  color: #000 !important;
  padding: 9px 20px; border-radius: 50px; font-weight: 700; font-size: 0.85rem !important;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.3); text-decoration: none; }

@media (max-width: 768px) {
  .nav { padding: 14px 18px; }
  .nav-links { gap: 14px; }
  .nav-links li:not(.nav-cta-li):not(.nav-home) { display: none; }
}

/* ===== BG ORBS (visszafogottabb a tartalomoldalon) ===== */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.08; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--cyan), transparent); top: -180px; left: -180px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--purple), transparent); top: 40%; right: -120px; }

/* ===== ARTICLE ===== */
.article {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.crumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 24px; }
.crumb a { color: var(--text-muted); }

.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.article .lead-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 32px; }

/* Direkt-válasz blokk (AI-idézhető) */
.direct-answer {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(139,92,246,0.08));
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 48px;
  font-size: 1.05rem;
  color: var(--text);
}
.direct-answer strong { color: var(--cyan); }

/* Body typography */
.article h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  margin: 56px 0 18px;
  letter-spacing: -0.5px;
  color: #fff;
}
.article h2 .grad {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #fff;
}
.article p { margin-bottom: 18px; color: var(--text); }
.article ul, .article ol { margin: 8px 0 22px 22px; }
.article li { margin-bottom: 8px; color: var(--text); }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.callout strong { color: var(--text); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
th { color: var(--cyan); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== FAQ ===== */
.faq-section { margin-top: 64px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq-item summary {
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--cyan);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--text-muted); }

/* ===== CTA blokk ===== */
.cta-block {
  margin-top: 72px;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(139,92,246,0.12));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.cta-block h2 { margin-top: 0; }
.cta-block p { color: var(--text-muted); margin-bottom: 24px; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000 !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,212,255,0.35);
  text-decoration: none;
}

/* ===== Belső link háló ===== */
.cluster {
  margin-top: 56px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cluster h3 { font-size: 1rem; color: var(--cyan); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 1px; }
.cluster ul { list-style: none; margin: 0; padding: 0; }
.cluster li { margin-bottom: 8px; padding-left: 16px; position: relative; }
.cluster li::before { content: '→'; position: absolute; left: 0; color: var(--cyan); }
.cluster a { color: var(--text); }
.cluster a:hover { color: var(--cyan); }

/* ===== Footer (egyszerűsített) ===== */
.foot {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.foot a { color: var(--text-muted); margin: 0 10px; }
.foot a:hover { color: var(--cyan); }
