/* Fantaztix overrides, loaded after theme.css (the adapted Aigocy theme). */

:root {
  --brand: #bc3c3b;
  --brand-rgb: 188, 60, 59;
  --accent: #0a4977;
  --cream: #fff7f1;
  --cream-dark: #ffede1;
}

/* ---------- Header navigation (WebHaste renders {{NAV:header}} as a plain <ul>) ---------- */
.tf-header.header2 .header-inner { max-width: 980px; }
.tf-header .logo-site img { height: 36px; width: auto; display: block; }

.box-navigation .cs-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.box-navigation .cs-menu a {
  display: flex;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.box-navigation .cs-menu a:hover { color: var(--brand); }

/* ---------- Mobile menu ---------- */
.offcanvas-menu .canvas_head .logo-site img { height: 36px; width: auto; }
.offcanvas-menu .canvas_center .cs-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.offcanvas-menu .canvas_center .cs-menu a {
  display: block;
  padding: 8px 0;
  font-size: 40px;
  line-height: 53px;
  font-weight: 550;
  color: #fff;
  text-decoration: none;
}
.offcanvas-menu .canvas_center .cs-menu a:hover { color: var(--brand); }
.offcanvas-menu .canvas_foot .left { display: flex; flex-direction: column; gap: 4px; }

/* ---------- Footer ---------- */
footer { padding-top: 60px; }
footer .footer-content .footer-logo img { height: 48px; width: auto; }
footer .footer-content .text { margin-bottom: 16px; }
footer .footer-content .text a { color: inherit; }
footer .footer-content .footer-made { max-width: 560px; margin: 0 auto; color: var(--secondary); }
footer .footer-content .footer-made .icon { color: var(--brand); }
footer .footer-bottom .cs-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
footer .footer-bottom .cs-menu a { font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
footer .footer-bottom .cs-menu a:hover { color: var(--brand); }
@media (max-width: 767px) {
  footer .footer-bottom .cs-menu { justify-content: center; }
}

/* ---------- Hero ---------- */
.section-hero .content-wrap .title h1,
.section-hero .content-wrap h1.title { margin: 0; }
.section-hero.v1 .content-wrap { padding-bottom: 60px; }
.hero-amp { color: var(--brand); }

/* ---------- Shared page sections ---------- */
.fx-banner {
  margin: 0 16px;
  padding: 36px 24px;
  border-radius: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #fff;
  background: var(--accent);
}
.fx-banner.dark { background: var(--neutral-800); }
.fx-banner a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fx-banner .icon { margin-right: 8px; }

.fx-photo { width: 100%; height: auto; border-radius: 32px; display: block; }
.fx-section-text p { color: var(--neutral-600); font-size: 18px; line-height: 1.6; }

/* Feature callouts (home page) */
.fx-callouts { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding: 24px 0; }
.fx-callout {
  width: 140px;
  padding: 20px 10px;
  text-align: center;
  border-radius: 24px;
  background: var(--neutral-100);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--neutral-800);
  box-shadow: 0px 7.77px 16px 0px rgba(0, 0, 0, 0.0588235294), 0px 3px 3px 0px rgba(0, 0, 0, 0.1), 0px -6px 0px 0px rgba(0, 0, 0, 0.05) inset;
}
.fx-callout .icon { display: block; font-size: 40px; margin-bottom: 10px; color: var(--brand); }

/* Hero image carousel */
.fx-carousel { border-radius: 32px; overflow: hidden; }
.fx-carousel img { width: 100%; height: auto; display: block; }

/* ---------- Features page ---------- */
.fx-feature-list { list-style: none; margin: 0; padding: 0; }
.fx-feature-list li { position: relative; padding: 6px 0 6px 30px; color: var(--neutral-700); }
.fx-feature-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Pricing ---------- */
.fx-price-card { display: flex; flex-direction: column; height: 100%; border-radius: 32px; overflow: hidden; background: var(--cream-dark); }
.fx-price-head { padding: 28px; background: var(--brand); color: #fff; }
.fx-price-head h2 { color: #fff; font-size: 32px; margin: 0 0 8px; }
.fx-price-head p { margin: 0; }
.fx-price-body { flex: 1; padding: 28px; }
.fx-price-body h5 { font-weight: 700; letter-spacing: 0.04em; }
.fx-price-amount { padding: 16px; text-align: center; font-size: 30px; font-weight: 700; background: #fff; color: var(--brand); }

/* ---------- Hardware ---------- */
.fx-hw-item { padding: 24px 0; border-bottom: 1px solid var(--neutral-200); }
.fx-hw-item:last-child { border-bottom: 0; }
.fx-hw-item h3 { font-size: 22px; line-height: 1.3; }
.fx-hw-cost { font-weight: 700; color: var(--brand); }
.fx-hw-item ul { padding-left: 20px; }
.fx-hw-item a { color: var(--accent); text-decoration: underline; }

/* ---------- Contact ---------- */
.fx-contact-card { padding: 40px; border-radius: 32px; background: var(--neutral-100); }
.fx-contact-card .contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.fx-contact-card .contact-item:last-child { margin-bottom: 0; }
.fx-contact-card .contact-item .icon { font-size: 28px; color: var(--brand); }
.fx-contact-card a { color: inherit; }

/* ---------- Legal pages (Privacy, Software Services Agreement) ---------- */
.fx-legal { max-width: 860px; margin: 0 auto; }
.fx-legal h2 { font-size: 28px; line-height: 1.25; margin: 40px 0 12px; }
.fx-legal h3 { font-size: 22px; margin: 28px 0 8px; }
.fx-legal p, .fx-legal li { color: var(--neutral-700); line-height: 1.65; }
.fx-legal a { color: var(--accent); text-decoration: underline; }

/* Page intro headings (inner pages) */
.fx-page-top { padding-top: 200px; }
@media (max-width: 767px) {
  .fx-page-top { padding-top: 150px; }
  .fx-banner { font-size: 20px; border-radius: 28px; }
}

/* Smaller section headings than the template default (72px) */
.heading-section .heading-title { font-size: 56px; line-height: 1.1; }
.fx-legal .heading-section .heading-title { font-size: 44px; }
@media (max-width: 767px) {
  .heading-section .heading-title { font-size: 38px; line-height: 1.15; }
  .fx-legal .heading-section .heading-title { font-size: 32px; }
}

/* Spacing fixes: gradient-clipped headings need room for descenders */
.heading-section { margin-bottom: 32px; }
.heading-section .heading-title { line-height: 1.2; padding-bottom: 0.1em; }
.section-hero .content-wrap .title { line-height: 1.15; padding-bottom: 0.1em; margin-bottom: 28px; }
.section-hero .content-wrap .text { margin-bottom: 28px; }
.fx-carousel img { height: 520px; object-fit: cover; }
@media (max-width: 767px) { .fx-carousel img { height: 260px; } }
.fx-callout { width: 124px; }
.heading-section .heading-title { margin-bottom: 20px; }
.text-gradient-3 { margin-bottom: 20px; }
.fx-section-text p { margin-bottom: 18px; }
.fx-section-text a { color: var(--accent); text-decoration: underline; }
.fx-section-text .tf-btn { text-decoration: none; color: #fff; }
.fx-legal p, .fx-legal ul, .fx-legal ol { margin-bottom: 16px; }
.fx-legal ul, .fx-legal ol { padding-left: 24px; }
.fx-legal ul { list-style: disc; }
.fx-legal ol { list-style: decimal; }
.fx-hw-item p { margin-bottom: 8px; }
.fx-hw-item ul { list-style: disc; }
.fx-feature-list li { margin: 0; }
.fx-hw-item li { display: list-item; }
