/* FireTag 3D public website. Builds on app.css tokens (charcoal / fire-engine red). */
@font-face { font-family: "FT Display"; src: url("../fonts/oswald-latin-700-normal.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "FT Display"; src: url("../fonts/oswald-latin-500-normal.woff") format("woff"); font-weight: 500; font-display: swap; }

.site { --site-hero-bg: #1a1d20; --site-hero-ink: #f4f5f6; --site-hero-muted: rgba(244, 245, 246, .72); --site-line: rgba(255, 255, 255, .1); }
.site main { flex: 1 0 auto; }
.site-skip { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .35rem; }

/* Nav */
.site-nav { background: rgba(26, 29, 32, .97); border-bottom: 3px solid var(--ft-red); backdrop-filter: saturate(140%) blur(6px); }
.site-brand { font-family: "FT Display", system-ui, sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; text-transform: uppercase; color: #fff; text-decoration: none; display: inline-flex; align-items: center; }
.site-brand:hover { color: #fff; }
.site-brand .brand-mark { display: inline-flex; width: 32px; height: 32px; border-radius: 6px; background: var(--ft-red); color: #fff; align-items: center; justify-content: center; margin-right: .55rem; font-size: 1rem; }
.site-nav .nav-link { color: rgba(255, 255, 255, .78); font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible, .site-nav .nav-link.active { color: #fff; }
@media (min-width: 992px) { .site-nav .navbar-nav .nav-link.active { box-shadow: inset 0 -3px 0 var(--ft-red); } }

/* Typography */
.site-display, .site-h2, .site-h3, .product-card h3, .steps h3, .price-card h2 { font-family: "FT Display", system-ui, sans-serif; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
.site-display { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; margin-bottom: 1rem; text-wrap: balance; }
.site-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; margin-bottom: .75rem; text-wrap: balance; }
.site-h3 { font-size: 1.25rem; }
.site-eyebrow, .site-kicker { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #f0646b; margin-bottom: .75rem; }
.site-kicker { color: var(--ft-red); }
[data-bs-theme="dark"] .site-kicker { color: #f0646b; }

/* Hero */
.site-hero { position: relative; background: var(--site-hero-bg); color: var(--site-hero-ink); padding: 4rem 0 4.5rem; overflow: hidden; isolation: isolate; }
.site-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--site-line) 1px, transparent 1px), linear-gradient(90deg, var(--site-line) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); opacity: .55; }
.site-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: -1;
  background: repeating-linear-gradient(-45deg, var(--ft-red) 0 14px, #ffd100 14px 28px); opacity: .9; }
.site-hero-sm { padding: 2.5rem 0 3rem; }
.site-hero-lead { color: var(--site-hero-muted); max-width: 40rem; }
.site-hero .link-light { color: #fff; }
.site-hero-points li { display: flex; gap: .55rem; color: var(--site-hero-muted); margin-bottom: .35rem; font-size: .95rem; }
.site-hero-points i { color: #4ade80; font-size: 1.1rem; line-height: 1.3; }
.site-crumbs { --bs-breadcrumb-divider-color: var(--site-hero-muted); --bs-breadcrumb-item-active-color: var(--site-hero-muted); font-size: .85rem; margin-bottom: 1.25rem; }
.site-crumbs a { color: #fff; }
.site-price-chip { display: inline-block; border: 1px solid rgba(255, 255, 255, .2); border-radius: .5rem; padding: .5rem .9rem; color: var(--site-hero-muted); }
.site-price-chip strong { color: #fff; font-size: 1.4rem; margin: 0 .2rem; }
.site-price-chip span { font-size: .85rem; }

/* Live demo */
.demo-card { background: #24292d; border: 1px solid rgba(255, 255, 255, .12); border-radius: .85rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden; }
.demo-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; padding: .75rem .9rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.demo-head .btn-outline-light { --bs-btn-border-color: rgba(255, 255, 255, .25); --bs-btn-color: rgba(255, 255, 255, .85); }
.demo-head .btn-check:checked + .btn-outline-light { background: var(--ft-red); border-color: var(--ft-red); color: #fff; }
.demo-live { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: inline-flex; align-items: center; gap: .4rem; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: demo-pulse 2s infinite; }
@keyframes demo-pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@media (prefers-reduced-motion: reduce) { .demo-dot { animation: none; } }
.demo-viewer { position: relative; height: 340px; background: #2b3035; cursor: grab; }
.demo-viewer:active { cursor: grabbing; }
.demo-viewer canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.demo-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .7); font-size: .9rem; pointer-events: none; text-align: center; padding: 1rem; transition: opacity .2s; }
.demo-status.hidden { opacity: 0; }
.demo-dims { position: absolute; left: .8rem; bottom: .6rem; font: 600 .75rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255, 255, 255, .6); pointer-events: none; }
.demo-form { padding: .9rem; background: #1f2326; }
.demo-form .form-label { color: rgba(255, 255, 255, .6); font-size: .75rem; margin-bottom: .2rem; }
.demo-form .form-control { background: #2b3035; border-color: rgba(255, 255, 255, .14); color: #fff; }
.demo-form .form-control:focus { background: #2f3439; color: #fff; }
.demo-swatches { display: flex; flex-wrap: wrap; gap: .35rem; }
.demo-swatch { display: inline-flex; gap: 2px; padding: 3px; border-radius: .4rem; border: 2px solid rgba(255, 255, 255, .15); background: none; }
.demo-swatch span { width: 16px; height: 16px; border-radius: 3px; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.demo-swatch.active, .demo-swatch:focus-visible { border-color: #fff; outline: none; }

/* Sections */
.site-section { padding: 4.5rem 0; }
.site-section-alt { background: var(--ft-surface); border-top: 1px solid var(--ft-border); border-bottom: 1px solid var(--ft-border); }
.site-section-head { max-width: 40rem; margin-bottom: 2rem; }
.site-narrow { max-width: 820px; }
.site-panel { background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: .6rem; padding: 1.4rem; }
.site-section-alt .site-panel { background: var(--ft-bg); }
.site-panel-h { letter-spacing: .1em; color: var(--bs-secondary-color); }
.site-panel .kv dd { text-align: left; }
@media (min-width: 576px) { .site-panel .kv dd { text-align: right; } }

/* Product cards */
.product-card { display: flex; flex-direction: column; height: 100%; padding: 1.6rem; border-radius: .7rem; background: var(--ft-surface); border: 1px solid var(--ft-border);
  color: var(--bs-body-color); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; position: relative; }
.product-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--ft-red); border-radius: .7rem .7rem 0 0; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .12); border-color: transparent; color: var(--bs-body-color); }
.product-card:hover::before, .product-card:focus-visible::before { transform: scaleX(1); }
.product-card h3 { font-size: 1.35rem; margin: 1rem 0 .4rem; }
.product-card p { color: var(--bs-secondary-color); flex: 1 0 auto; }
.product-icon { width: 52px; height: 52px; border-radius: .6rem; background: var(--ft-red-soft); color: var(--ft-red); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
[data-bs-theme="dark"] .product-icon { color: #f0646b; }
.product-price { font-size: .9rem; color: var(--bs-secondary-color); }
.product-price strong { color: var(--bs-body-color); font-size: 1.1rem; }
.product-more { margin-top: .75rem; font-weight: 600; color: var(--bs-link-color); }
.product-more i { transition: transform .15s; display: inline-block; }
.product-card:hover .product-more i { transform: translateX(3px); }
.product-card-row { flex-direction: row; gap: 1rem; align-items: center; }
.product-card-row h3 { margin-top: 0; font-size: 1.15rem; }
.product-card-row .product-icon { flex: 0 0 52px; }
@media (prefers-reduced-motion: reduce) { .product-card, .product-card::before, .product-more i { transition: none; } }

/* Steps */
.steps li { position: relative; }
.step-n { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ft-red); color: var(--ft-red); font-family: "FT Display", sans-serif; font-weight: 700; font-size: 1.25rem; align-items: center; justify-content: center; margin-bottom: .8rem; }
[data-bs-theme="dark"] .step-n { color: #f0646b; border-color: #f0646b; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--bs-secondary-color); margin: 0; }

/* Checks / features */
.site-checks li { display: flex; gap: .85rem; margin-bottom: 1rem; }
.site-checks i, .feature > i { color: var(--ft-red); font-size: 1.35rem; line-height: 1.2; flex: 0 0 auto; }
[data-bs-theme="dark"] .site-checks i, [data-bs-theme="dark"] .feature > i { color: #f0646b; }
.feature { display: flex; gap: .85rem; height: 100%; padding: 1.1rem; background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: .6rem; }
.feature h2 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.feature p { font-size: .92rem; color: var(--bs-secondary-color); margin: 0; }

/* Pricing */
.price-card { position: relative; height: 100%; display: flex; flex-direction: column; padding: 1.75rem; background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: .7rem; }
.price-card h2 { font-size: 1.3rem; }
.price-card-amount { font-size: 2.3rem; font-weight: 800; line-height: 1.1; margin: .4rem 0 1rem; }
.price-card-amount span { font-size: .95rem; font-weight: 400; color: var(--bs-secondary-color); margin-left: .25rem; }
.price-card ul { flex: 1 0 auto; }
.price-card li { display: flex; gap: .5rem; margin-bottom: .45rem; font-size: .95rem; }
.price-card li i { color: var(--ft-red); }
.price-card-featured { border: 2px solid var(--ft-red); box-shadow: 0 14px 34px rgba(179, 18, 27, .14); }
.price-card-badge { position: absolute; top: -.8rem; right: 1.25rem; background: var(--ft-red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 1rem; }

/* FAQ */
.site-faq .accordion-item { background: var(--ft-surface); }
.site-faq .accordion-button { font-weight: 600; background: var(--ft-surface); }
.site-faq .accordion-button:not(.collapsed) { background: var(--ft-red-soft); }

/* CTA band */
.site-cta { background: linear-gradient(135deg, #8f0e15, var(--ft-red) 55%, #d2232d); color: rgba(255, 255, 255, .9); padding: 4rem 0; }
.site-cta .btn-light { color: var(--ft-red); font-weight: 600; }

/* Footer */
.site-footer { background: #15181a; color: rgba(255, 255, 255, .65); padding: 3rem 0 1.5rem; margin-top: auto; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .site-brand:hover { text-decoration: none; }
.site-footer-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: .8rem; }
.site-footer li { margin-bottom: .35rem; }
.site-footer hr { border-color: rgba(255, 255, 255, .15); opacity: 1; }
.site-footer-fine { color: rgba(255, 255, 255, .5); }

@media (max-width: 991.98px) {
  .site-hero { padding: 2.5rem 0 3rem; }
  .site-section { padding: 3rem 0; }
}
@media (max-width: 575.98px) {
  .demo-viewer { height: 260px; }
  .demo-head .btn { font-size: .78rem; }
  .site-hero-lead.lead { font-size: 1.05rem; }
  .site-hero-ctas .btn { flex: 1 1 100%; font-size: 1.05rem; padding: .6rem 1rem; }
  .site-display { font-size: 2rem; }
}
@media (max-width: 991.98px) {
  #themeToggle { min-width: 44px; min-height: 44px; } /* comfortable tap target in the open menu */
}
[id] { scroll-margin-top: 80px; } /* anchors land below the sticky navbar */

/* Helmet shield gallery and pricing */
.shield-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.shield-gallery-item { margin: 0; padding: 1rem; border-radius: .7rem; background: radial-gradient(circle at 50% 35%, #3a4047, #1f2326 75%);
  border: 1px solid var(--ft-border); display: flex; flex-direction: column; align-items: center; }
.shield-gallery-item img { width: 100%; height: auto; max-height: 15rem; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.shield-gallery-item figcaption { margin-top: .6rem; font-size: .8rem; color: rgba(244, 245, 246, .78); text-align: center; }
@media (min-width: 1200px) { .site-section-alt .shield-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price-shield { padding: 1.6rem; border-radius: .7rem; background: var(--ft-surface); border: 1px solid var(--ft-border); position: relative; }
.price-shield::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--ft-red); border-radius: .7rem .7rem 0 0; }
.price-size { height: 100%; padding: .9rem; border-radius: .55rem; border: 1px solid var(--ft-border); background: var(--ft-bg); text-align: center; }
.price-size-name { font-weight: 700; }
.price-size-name span { display: block; font-weight: 400; font-size: .8rem; color: var(--bs-secondary-color); }
.price-size-amount { font-size: 1.6rem; font-weight: 800; margin: .25rem 0; }
.price-size-use { font-size: .75rem; color: var(--bs-secondary-color); }
