/* TestTartásŐr - Funkciók aloldal kiegészítő stílusai */

.feat-hero{ padding:150px 0 80px; text-align:center; }
.feat-hero .section-head{ margin:0 auto; }

.feat-row{
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
  padding:76px 0; border-top:1px solid var(--border-soft);
}
.feat-row:first-of-type{ border-top:none; }
.feat-row.reverse .feat-visual{ order:2; }
.feat-row.reverse .feat-text{ order:1; }

.feat-tag{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-size:11.5px; font-weight:600; letter-spacing:0.05em;
  color:var(--accent); background:var(--accent-soft); border:1px solid rgba(251,146,60,0.25);
  padding:5px 12px; border-radius:999px; margin-bottom:18px;
}
.feat-text h2{ font-size:clamp(24px,2.6vw,32px); margin-bottom:14px; }
.feat-text p{ color:var(--text-muted); font-size:15px; margin-bottom:18px; }
.feat-list{ display:flex; flex-direction:column; gap:12px; }
.feat-list li{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--text-muted); }
.feat-list li > span{ flex:1; min-width:0; }
.feat-list li svg{ flex-shrink:0; margin-top:3px; width:16px; height:16px; color:var(--success); }
.feat-list li strong{ color:var(--text-main); white-space:nowrap; }

.style-badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.style-badge{
  display:inline-flex; align-items:center; font-family:var(--font-mono); font-size:11.5px; font-weight:600;
  color:var(--accent); background:var(--accent-soft); border:1px solid rgba(251,146,60,0.35);
  padding:5px 12px; border-radius:999px; white-space:nowrap;
}

.feat-visual{
  background:var(--card-bg); border:1px solid var(--border); border-radius:20px;
  padding:32px; min-height:280px; display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}

/* --- kalibracio grafikon --- */
.calib-chart{ width:100%; }
.calib-label{ font-family:var(--font-mono); font-size:11px; color:var(--text-dim); display:flex; justify-content:space-between; margin-bottom:6px; }
.calib-legend{ display:flex; gap:18px; margin-top:14px; justify-content:center; }
.calib-legend span{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-muted); }
.calib-legend i{ width:14px; height:3px; border-radius:2px; display:inline-block; }

/* --- riasztas mockup --- */
.alert-mocks{ display:flex; flex-direction:column; gap:16px; width:100%; }
.alert-mock{
  background:var(--app-bg); border:1px solid var(--border-soft); border-radius:12px; height:70px;
  position:relative;
}
.alert-mock .lbl{ position:absolute; bottom:6px; left:10px; font-size:10.5px; color:var(--text-dim); font-family:var(--font-mono); }
.mock-corner{ position:absolute; top:8px; right:8px; width:46px; height:26px; border-radius:6px; background:var(--accent); opacity:0.85; }
.mock-banner{ position:absolute; top:0; left:0; right:0; height:14px; background:var(--accent); border-radius:12px 12px 0 0; opacity:0.85; }
.mock-full{ position:absolute; inset:8px; border-radius:8px; background:var(--accent); opacity:0.18; border:1.5px solid var(--accent); }

/* --- buddies --- */
.buddy-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:22px; }
.buddy-dot{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:22px; border:2px solid var(--border);
}
.xp-track{ width:100%; height:10px; border-radius:999px; background:var(--card-bg-alt); border:1px solid var(--border); overflow:hidden; }
.xp-fill{ height:100%; width:64%; background:linear-gradient(90deg, var(--accent), var(--accent-hover)); border-radius:999px; }
.xp-caption{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:11px; color:var(--text-dim); margin-top:8px; }

/* --- statisztika mini bar chart --- */
.mini-chart{ display:flex; align-items:flex-end; gap:10px; height:160px; width:100%; padding:0 10px; }
.mini-chart .bar{ flex:1; border-radius:6px 6px 0 0; position:relative; }
.mini-chart .bar span{ position:absolute; top:-20px; left:50%; transform:translateX(-50%); font-family:var(--font-mono); font-size:10px; color:var(--text-dim); }

/* --- kornyezet ikonok --- */
.env-icons{ display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
.env-icon-card{
  background:var(--app-bg); border:1px solid var(--border-soft); border-radius:14px;
  padding:20px 22px; text-align:center; width:120px;
}
.env-icon-card svg{ width:26px; height:26px; color:var(--accent); margin:0 auto 10px; }
.env-icon-card .lbl{ font-size:11.5px; color:var(--text-muted); }
.env-icon-card .ok{ margin-top:8px; display:inline-flex; align-items:center; gap:4px; font-size:10px; color:var(--success); font-family:var(--font-mono); }

/* --- privacy shield --- */
.privacy-visual{ text-align:center; }
.privacy-visual svg{ width:70px; height:70px; color:var(--success); margin:0 auto 16px; }
.privacy-stat{ font-family:var(--font-mono); font-size:13px; color:var(--text-dim); }
.privacy-stat strong{ color:var(--success); font-size:15px; }

@media (max-width:860px){
  .feat-row{ grid-template-columns:1fr; gap:32px; padding:56px 0; }
  .feat-row.reverse .feat-visual{ order:1; }
  .feat-row.reverse .feat-text{ order:2; }
}


/* ===== V2: modern, app-szerű felületek ===== */
.feat-hero{ padding:150px 0 40px; }
.feat-hero h2{ font-size:clamp(32px,4.4vw,58px); letter-spacing:-.045em; line-height:1.04; }
.feat-row{ gap:72px; padding:92px 0; border-top:1px solid var(--border-soft); }
.feat-tag{ font-family:var(--font-body); letter-spacing:.04em; border-radius:999px; }
.feat-text h2{ font-size:clamp(28px,3vw,40px); letter-spacing:-.04em; line-height:1.08; }
.feat-text p{ font-size:16px; line-height:1.65; }
.feat-list li{ font-size:14.5px; line-height:1.55; }
.feat-visual{ border-radius:32px; background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.02)); border:1px solid var(--border); padding:34px; min-height:340px; box-shadow:0 40px 80px -50px rgba(0,0,0,.9), 0 0 100px -50px rgba(255,150,64,.35); }
.feat-visual::before{ content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(400px 220px at 50% -10%,rgba(255,150,64,.12),transparent 70%); }
.fv{ flex-direction:column; gap:18px; align-items:stretch; justify-content:center; }
.fv-col{ gap:12px; }
.fv > *{ position:relative; }
.fv-mons{ display:flex; gap:10px; justify-content:center; align-items:flex-end; }
.fv-mon{ position:relative; width:110px; height:66px; border-radius:10px; border:1.5px solid var(--border); background:rgba(255,255,255,.04); display:grid; place-items:center; font-weight:650; color:var(--text-muted); }
.fv-mon.small{ width:82px; height:50px; }
.fv-mon.ok{ border-color:var(--accent); color:var(--accent); background:rgba(255,150,64,.1); }
.fv-mon.ok i{ position:absolute; right:6px; top:6px; width:14px; height:14px; border-radius:50%; background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%232a1505' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.fv-chip{ align-self:center; display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; padding:7px 14px; border-radius:999px; background:rgba(52,217,139,.1); border:1px solid rgba(52,217,139,.3); color:var(--success); }
.fv-chip i{ width:7px; height:7px; border-radius:50%; background:var(--success); }
.pop{ display:flex; gap:12px; align-items:center; padding:14px 16px; border-radius:20px; background:rgba(28,28,32,.92); border:1px solid var(--border); box-shadow:0 20px 40px -20px rgba(0,0,0,.8); position:relative; }
.pop .ti{ width:40px; height:40px; border-radius:13px; background:linear-gradient(145deg,var(--accent-2),var(--accent)); display:grid; place-items:center; flex:none; }
.pop .ti svg{ width:20px; height:20px; fill:#2a1505; } .pop b{ display:block; font-size:14.5px; } .pop span{ font-size:12.5px; color:var(--text-muted); }
.pop em,.fv-banner em{ position:absolute; right:14px; top:10px; font-style:normal; font-size:10.5px; color:var(--text-dim); }
.fv-banner{ position:relative; border-radius:16px; padding:13px 16px; background:linear-gradient(90deg,var(--accent),var(--accent-2)); color:#2a1505; font-weight:650; font-size:14px; }
.fv-banner em{ color:rgba(42,21,5,.6); top:50%; transform:translateY(-50%); }
.fv-stop{ border-radius:20px; padding:28px 18px; text-align:center; background:#0c0c0e; border:1px solid var(--border); } .fv-stop b{ display:block; font-size:26px; letter-spacing:-.03em; } .fv-stop span{ font-size:12px; color:var(--text-muted); }
.fv-lv{ display:flex; align-items:center; gap:16px; }
.fv-ring{ position:relative; width:64px; height:64px; } .fv-ring svg{ width:100%; transform:rotate(-90deg); } .fv-ring circle{ fill:none; stroke-width:6; stroke-linecap:round; } .fv-ring b{ position:absolute; inset:0; display:grid; place-items:center; font-size:20px; font-weight:650; }
.fv-lv strong{ display:block; font-size:17px; } .fv-lv span{ font-size:12.5px; color:var(--text-muted); }
.buddy-row{ margin:6px 0 4px; justify-content:flex-start; } .buddy-dot{ background:rgba(255,255,255,.05); border:1px solid var(--border); width:54px; height:54px; border-radius:18px; } .buddy-dot.lock{ opacity:.35; }
.fv-quest{ display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:16px; background:rgba(255,255,255,.04); border:1px solid var(--border-soft); font-size:13.5px; }
.fv-quest i{ width:20px; height:20px; border-radius:50%; border:1.5px solid var(--border); flex:none; } .fv-quest span{ margin-left:auto; font-size:12px; color:var(--text-muted); }
.fv-quest.done i{ border-color:var(--success); background:var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%23062b1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; } .fv-quest.done span{ color:var(--success); }
.fv-top{ display:flex; justify-content:space-between; align-items:flex-end; }
.fv-top small{ display:block; font-size:12px; color:var(--text-muted); } .fv-top strong{ font-size:44px; font-weight:300; letter-spacing:-.05em; line-height:1; } .fv-top span{ font-size:13px; color:var(--text-muted); margin-left:6px; }
.fv-delta{ font-size:12px; font-weight:600; color:var(--success); padding:6px 12px; border-radius:999px; background:rgba(52,217,139,.1); }
.mini-chart{ height:170px; align-items:flex-end; padding:22px 0 0; gap:10px; }
.mini-chart .bar{ border-radius:10px; } .mini-chart .bar span{ top:auto; bottom:-22px; font-size:11px; }
.fv-col .mini-chart{ margin-bottom:22px; }
.fv-env{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.04); border:1px solid var(--border-soft); }
.fv-env b{ display:block; font-size:14px; } .fv-env span{ font-size:12.5px; color:var(--text-muted); }
.lvl{ width:96px; height:7px; border-radius:99px; background:rgba(255,255,255,.07); overflow:hidden; flex:none; } .lvl i{ display:block; height:100%; border-radius:99px; background:var(--warning); } .lvl.g i{ background:var(--success); }
.fv-note{ text-align:center; font-size:11.5px; color:var(--text-dim); }
.fv-flow{ display:flex; align-items:center; justify-content:center; gap:0; }
.fv-flow .nd{ display:flex; flex-direction:column; align-items:center; gap:8px; width:96px; padding:16px 8px; border-radius:20px; background:rgba(255,255,255,.04); border:1px solid var(--border); font-size:12px; color:var(--text-muted); }
.fv-flow .nd svg{ width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.fv-flow .nd.on{ color:var(--success); border-color:rgba(52,217,139,.4); background:rgba(52,217,139,.08); box-shadow:0 0 40px -12px rgba(52,217,139,.5); }
.fv-flow .nd.off{ opacity:.45; text-decoration:line-through; }
.fv-flow .ln{ width:34px; height:2px; background:linear-gradient(90deg,var(--border),var(--success)); position:relative; overflow:hidden; }
.fv-flow .ln::after{ content:""; position:absolute; top:0; left:-40%; width:40%; height:100%; background:var(--success); animation:flow 1.8s linear infinite; }
.fv-flow .ln.cut{ background:repeating-linear-gradient(90deg,var(--border) 0 4px,transparent 4px 8px); } .fv-flow .ln.cut::after{ display:none; }
@keyframes flow{ to{ left:100%; } }
.privacy-stat{ text-align:center; font-size:14px; color:var(--text-muted); } .privacy-stat strong{ font-size:30px; color:var(--success); letter-spacing:-.04em; margin-right:4px; }
@media (max-width:860px){ .feat-row{ gap:34px; padding:60px 0; } .feat-visual{ border-radius:26px; padding:24px; min-height:0; } .fv-flow .nd{ width:76px; } .fv-flow .ln{ width:20px; } }

/* csomag-jelölés a funkciókártyák címe mellett */
.feat-plan{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em;vertical-align:middle;color:#fb923c;background:rgba(251,146,60,.12);border:1px solid rgba(251,146,60,.28)}