/* ==========================================================================
   FalconIQ Projects – design rendszer (nyilvános oldalak + közös elemek)
   ========================================================================== */
:root {
  --navy-950: #010737;
  --navy-900: #050d45;
  --navy-800: #0b1560;
  --navy-700: #16217a;
  --gold: #c9a24d;
  --gold-300: #e3c77f;
  --gold-600: #a8843a;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --paper-2: #f6f7fb;
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(1, 7, 55, .35);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
h2 { overflow-wrap: anywhere; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-3); }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .eyebrow::before { display: none; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s;
  white-space: nowrap; font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(201,162,77,.8); }
.btn-primary:hover { background: var(--gold-300); }
.btn-dark { background: var(--navy-950); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-outline { border-color: var(--navy-950); color: var(--navy-950); background: transparent; }
.btn-outline:hover { background: var(--navy-950); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { color: var(--navy-950); padding-inline: 8px; }
.btn-ghost:hover { color: var(--gold-600); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.arrow::after { content: "→"; transition: transform .15s; }
.arrow:hover::after { transform: translateX(3px); }

/* ---------- Fejléc ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(1,7,55,.92); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.header .container { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand em { font-style: normal; color: var(--gold); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 11px; border-radius: 8px; font-weight: 500; font-size: .92rem; color: rgba(255,255,255,.85); transition: .15s; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: var(--gold-300); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-login { color: #fff; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; }
.header-actions .btn-login:hover { border-color: var(--gold); color: var(--gold-300); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; border-radius: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: .2s; }
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .burger { display: block; }
  .header.open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 74px; background: var(--navy-950);
    padding: 12px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .header.open .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.open .burger span:nth-child(2) { opacity: 0; }
  .header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 520px) {
  h1 { font-size: 1.85rem; }
  .brand { font-size: .95rem; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .header-actions .btn-login span { display: none; }
  .header-actions .btn-login { padding: 9px 10px; }
  .header .container { gap: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy-950); color: #fff; overflow: hidden;
  padding: clamp(70px, 10vw, 130px) 0 clamp(70px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(201,162,77,.22), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(22,33,122,.9), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-300); }
.hero .lead { color: rgba(255,255,255,.78); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-sub { padding: clamp(60px, 8vw, 96px) 0; }
.hero-sub h1 { max-width: 20ch; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.hero-card + .hero-card { margin-top: 14px; }
.hero-card .kpi { font-size: 2.2rem; font-weight: 800; color: var(--gold-300); letter-spacing: -.02em; }
.hero-card .label { color: rgba(255,255,255,.7); font-size: .9rem; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero-card li::before { content: "✓"; color: var(--gold); font-weight: 800; flex: none; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-stats .hero-card { margin: 0; padding: 18px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Kártyák / rácsok ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-top: 14px; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--gold-300); font-size: 1.3rem;
}
.icon svg { width: 24px; height: 24px; }
.card-dark { background: var(--navy-950); color: #fff; border-color: transparent; }
.card-dark .muted { color: rgba(255,255,255,.7); }
.card-dark .icon { background: rgba(255,255,255,.08); }
.step { position: relative; padding-left: 64px; }
.step .num {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-950);
  color: var(--gold-300); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.visual {
  border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); aspect-ratio: 4/3;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 300px at 80% 20%, rgba(201,162,77,.35), transparent 60%); }
.visual .chart { position: absolute; inset: 18% 12%; display: flex; align-items: flex-end; gap: 6%; }
.visual .chart i { flex: 1; background: linear-gradient(180deg, var(--gold-300), var(--gold)); border-radius: 6px 6px 2px 2px; opacity: .9; }
.visual .chart i:nth-child(odd) { background: rgba(255,255,255,.25); }
.visual .ring {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -18%; bottom: -25%;
  border: 24px solid rgba(255,255,255,.06);
}

/* ---------- Szalag / CTA ---------- */
.band { background: var(--paper-2); }
.cta {
  background: var(--navy-950); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(201,162,77,.3), transparent 60%); }
.cta > * { position: relative; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta p { color: rgba(255,255,255,.75); max-width: 56ch; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }
.trust { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: center; align-items: center; color: var(--ink-3); font-weight: 600; font-size: .9rem; }
.trust span { display: inline-flex; gap: 8px; align-items: center; }
.trust span::before { content: "◆"; color: var(--gold); font-size: .6rem; }

/* ---------- Árazás ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.highlight { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.price-card .badge {
  position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--navy-950); font-weight: 800;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.price-card .price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 2px; }
.price-card .price small { font-size: .95rem; font-weight: 600; color: var(--ink-3); }
.price-card .per { color: var(--ink-3); font-size: .9rem; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.price-card li::before { content: "✓"; color: var(--gold-600); font-weight: 800; flex: none; }
.price-card .btn { width: 100%; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--paper-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); }

/* ---------- Űrlapok ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,77,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--ink-3); margin-top: 4px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: .92rem; cursor: pointer; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .93rem; display: none; }
.alert.show { display: block; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-600); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--ink-2); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); position: relative; }
.post-card .thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 200px at 90% 10%, rgba(201,162,77,.4), transparent 60%); }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .meta { font-size: .8rem; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }
.post-card h3 { margin: 0; font-size: 1.1rem; }
.post-card .body p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.team .avatar {
  width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-300); display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; margin-bottom: 14px;
}
.socials { display: flex; gap: 10px; }
.socials a { font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.socials a:hover { color: var(--gold-600); }

/* ---------- Lábléc ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.8); padding: 64px 0 28px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--gold-300); }
.footer .brand { color: #fff; margin-bottom: 14px; font-size: 1rem; flex-wrap: wrap; }
.footer .contact-line { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; min-width: 0; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom .socials a { color: rgba(255,255,255,.65); }

/* ---------- Segédek ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; display: none; gap: 14px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); font-size: .9rem; max-width: 720px; margin-inline: auto;
}
.cookie.show { display: flex; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }
