/* FireAssist Website */
:root {
  --brand: #e11d2e; --brand-2: #ff7a1a;
  --grad: linear-gradient(135deg, #e11d2e 0%, #ff4b1f 55%, #ff7a1a 100%);
  --ink: #0b0c10; --ink-2: #14161b; --text: #161a21; --muted: #5d6573;
  --bg: #ffffff; --alt: #f4f5f8; --border: #e3e6ec; --card: #ffffff;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #eceef2; --muted: #9aa2b0; --bg: #0f1115; --alt: #14161b; --border: #252932; --card: #171a20; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 28px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 16, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) { color: #c8cdd6; padding: 9px 14px; border-radius: 10px; font-weight: 500; }
.nav > a:not(.btn):hover, .nav > a.active { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.nav .btn { margin-left: 6px; padding: 10px 18px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255, 255, 255, .2); color: #fff; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; place-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 13px; font-weight: 700; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: .18s; text-decoration: none !important; }
.btn .ico { width: 20px; height: 20px; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(225, 29, 46, .35); }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.lg { padding: 16px 30px; font-size: 1.05rem; }
.link { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }

/* Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -280px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 80, 25, .45), rgba(225, 29, 46, .12) 45%, transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(#000, transparent 85%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.hero h1 em, .page-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: #b9c0cc; max-width: 56ch; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 26px; }
.trust { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 0; color: #c8cdd6; font-size: .95rem; }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust .ico { color: var(--brand-2); width: 18px; height: 18px; }

.browser { background: #14161b; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .03); }
.browser .dots { display: flex; gap: 7px; padding: 12px 16px; background: #1b1e25; }
.browser .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f4b; }
.browser img { width: 100%; }
.hero-shot .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }

/* Sections */
.section { padding: 92px 0; }
.section.alt { background: var(--alt); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section.dark .section-head p { color: #aab1bd; }
.grid { display: grid; gap: 22px; }
.grid.features, .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(16, 24, 40, .12); border-color: rgba(225, 29, 46, .35); }
.card p { color: var(--muted); margin: 0; }
.ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(225, 29, 46, .1); color: var(--brand); margin-bottom: 18px; }
.ic .ico { width: 26px; height: 26px; }
.dark-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.dark-card p { color: #aab1bd; }
.dark-card .ic { background: rgba(255, 122, 26, .14); color: var(--brand-2); }
.step .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.section .browser { box-shadow: 0 30px 70px rgba(16, 24, 40, .22); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--brand); width: 20px; height: 20px; margin-top: 3px; }

.module .mod-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.module .mod-head .ic { margin: 0; flex: none; }
.module h2 { font-size: 1.4rem; margin: 0; }

.faq { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); padding-bottom: 14px; }

.cta-band { background: var(--ink); color: #fff; padding: 84px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -200px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 80, 25, .35), transparent 65%); }
.cta-band .wrap { position: relative; }
.cta-band p { color: #b9c0cc; font-size: 1.15rem; }

.page-hero { background: var(--ink); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 80, 25, .4), transparent 65%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 12px; }
.page-hero .lead { margin: 0; }

/* Formular */
.form { display: grid; gap: 18px; padding: 32px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(225, 29, 46, .14); }
.field.has-error input, .field.has-error textarea { border-color: #dc2626; }
.field-error { color: #dc2626; font-size: .88rem; margin-top: 6px; }
.consent { display: flex; gap: 12px; font-weight: 400 !important; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; margin-bottom: 22px; }
.notice.ok { background: rgba(18, 161, 80, .12); color: #0d7a3c; }
.notice.bad { background: rgba(220, 38, 38, .1); color: #b91c1c; }
@media (prefers-color-scheme: dark) { .notice.ok { color: #4ade80; } .notice.bad { color: #f87171; } }

.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #aab1bd; padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer a { display: block; color: #aab1bd; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }

@media (max-width: 980px) {
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot .browser { transform: none; }
  .grid.features, .grid.three { grid-template-columns: 1fr 1fr; }
  .grid.modules { grid-template-columns: 1fr; }
  .split.reverse .browser { order: 2; }
}
@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; background: #0b0c10; flex-direction: column; align-items: stretch; padding: 16px 20px 22px; gap: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); display: none; }
  .nav.open { display: flex; }
  .nav .btn { margin: 6px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .grid.features, .grid.three, .row, .foot-grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
