﻿:root {
  --page-bg: #080b12;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-solid: #101827;
  --panel-soft: rgba(30, 41, 59, 0.72);
  --line: rgba(226, 232, 240, 0.12);
  --line-strong: rgba(226, 232, 240, 0.2);
  --muted: #a8b3c7;
  --text-strong: #f8fafc;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

* {
  letter-spacing: 0;
}

html {
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 36%),
    linear-gradient(180deg, #080b12 0%, #0b111d 48%, #070a10 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  color: var(--text-strong);
}

#particles {
  opacity: 0.3;
  mix-blend-mode: screen;
}

nav {
  width: min(1180px, calc(100% - 32px));
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 11, 18, 0.84);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

.logo {
  min-width: 0;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--text-strong);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 28px color-mix(in srgb, var(--accent) 18%, transparent);
}

.nav-links {
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links a:hover {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.06);
}

section {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  padding: 82px 0;
}

.hero {
  min-height: 92vh;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-top: 112px;
  padding-bottom: 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 104px 0 40px auto;
  width: min(42vw, 480px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: rgba(15, 23, 42, 0.48);
  background-image:
    var(--hero-mockup, none),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 19%, transparent), transparent 58%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position: center, 0 0, 0 0, 0 0;
  background-size: clamp(180px, 52%, 280px) auto, auto, auto, auto;
  box-shadow: var(--shadow);
  pointer-events: none;
}

/* Per-app hero mockup: auto-detected from the hero <img> filename, no HTML changes needed */
.hero:has(> img[src="logo_basiq.png"])     { --hero-mockup: url("biq-e5f2a3/logo_basiq.png"); }
.hero:has(> img[src="logo_electraiq.png"]) { --hero-mockup: url("eiq-a7f3b2/logo_electraiq.png"); }
.hero:has(> img[src="logo_horecaiq.png"])  { --hero-mockup: url("hiq-d9e4c1/logo_horecaiq.png"); }
.hero:has(> img[src="logo_hvaciq.png"])    { --hero-mockup: url("hvac-c3d8e1/logo_hvaciq.png"); }

.hero::after {
  content: "IndexOS field app";
  position: absolute;
  right: 22px;
  bottom: 76px;
  width: min(34vw, 390px);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 11, 18, 0.82);
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  pointer-events: none;
}

.hero > img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  filter: drop-shadow(0 16px 34px color-mix(in srgb, var(--accent) 28%, transparent));
}

.hero h1 {
  width: 100%;
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--text-strong);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 4.45rem;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero h1 span,
.section-title span {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero .slogan {
  max-width: 760px;
  color: var(--accent);
  text-shadow: none;
}

.hero p {
  width: 100%;
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.12rem;
  overflow-wrap: break-word;
}

.cta-button {
  min-height: 46px;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 44%, rgba(255, 255, 255, 0.16));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 94%, #ffffff 6%), color-mix(in srgb, var(--accent) 76%, #000000 24%));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 20%, transparent);
  font-size: 0.98rem;
  padding: 12px 20px;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 26%, transparent);
}

.tech-badges {
  justify-content: flex-start;
  gap: 8px;
  max-width: 780px;
  margin-top: 28px;
}

.tech-badge,
.download-badge {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-strong);
}

.section-title {
  margin-bottom: 30px;
  color: var(--text-strong);
  font-size: 2.45rem;
  line-height: 1.08;
  text-align: left;
}

section[style*="text-align: center"] .section-title {
  text-align: center;
}

.problem-grid,
.domains-grid,
.features-grid,
.download-grid {
  gap: 16px;
  margin-top: 0;
}

.glass-card,
.domain-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: none;
}

.glass-card:hover,
.domain-card:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, rgba(255, 255, 255, 0.16));
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.stat-card,
.feature-card,
.download-card {
  padding: 26px;
}

.stat-card {
  text-align: left;
}

.stat-number {
  color: var(--accent);
  text-shadow: none;
  font-size: 3rem;
}

.domain-card {
  min-height: 170px;
  padding: 22px;
}

.domain-icon,
.feature-icon,
.download-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  font-size: 1.35rem;
}

.feature-card h3,
.download-card h3,
.domain-card h4 {
  margin-top: 14px;
  color: var(--text-strong);
}

.feature-card p,
.download-card p,
.domain-card p,
.stat-label,
.price-period,
.faq-answer {
  color: var(--muted);
}

.pricing-card {
  width: min(760px, 100%);
  margin: 0;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, rgba(255, 255, 255, 0.18));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 62%),
    var(--panel);
}

.pricing-card h3 {
  font-size: 1.45rem;
}

.price {
  margin: 12px 0 4px;
  color: var(--text-strong);
  font-size: 4rem;
}

.pricing-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  margin: 24px 0;
}

.pricing-features li {
  border: 0;
  padding: 6px 0;
  color: var(--muted);
}

.pricing-features li::before {
  content: "+";
  color: var(--accent);
}

.faq-container {
  max-width: 860px;
  margin: 0;
}

.faq-question {
  border-radius: var(--radius);
  color: var(--text-strong);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070a10;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: var(--radius);
}

.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  nav {
    width: calc(100% - 20px);
  }

  .nav-links {
    display: none;
  }

  section {
    width: auto;
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: 2.35rem;
    width: calc(100dvw - 28px);
    max-width: calc(100dvw - 28px);
  }

  .hero p {
    font-size: 1rem;
    width: calc(100dvw - 28px);
    max-width: calc(100dvw - 28px);
  }

  .tech-badges {
    width: calc(100dvw - 28px);
    max-width: calc(100dvw - 28px);
  }

  .tech-badge {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 1.92rem;
    width: min(340px, 100%);
    max-width: 340px;
  }

  .hero .slogan,
  .hero p {
    width: min(300px, 100%);
    max-width: 300px;
  }

  .hero > img {
    width: 104px;
    height: 104px;
  }

  .pricing-card,
  .stat-card,
  .feature-card,
  .download-card,
  .domain-card {
    padding: 20px;
  }

  .price {
    font-size: 3.2rem;
  }
}

/* 2026 app landing reset */
:root {
  --page-bg: oklch(12% 0.022 258);
  --panel: oklch(17% 0.024 258 / 0.84);
  --panel-solid: oklch(16% 0.024 258);
  --panel-soft: oklch(23% 0.03 258 / 0.72);
  --line: oklch(70% 0.035 250 / 0.18);
  --line-strong: oklch(72% 0.12 var(--hue, 52) / 0.48);
  --muted: oklch(74% 0.028 248);
  --text-strong: oklch(94% 0.012 78);
  --shadow: 0 30px 90px oklch(0% 0 0 / 0.34);
  --radius: 8px;
}

body {
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  background:
    linear-gradient(90deg, oklch(100% 0.01 78 / 0.028) 1px, transparent 1px),
    linear-gradient(180deg, oklch(100% 0.01 78 / 0.026) 1px, transparent 1px),
    radial-gradient(circle at 86% 18%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 30rem),
    linear-gradient(180deg, oklch(12% 0.022 258), oklch(9% 0.018 258) 52%, oklch(14% 0.022 258));
  background-size: 36px 36px, 36px 36px, auto, auto;
}

#particles {
  display: none;
}

nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(11% 0.02 258 / 0.9);
  box-shadow: 0 16px 44px oklch(0% 0 0 / 0.28);
}

.logo {
  min-width: 0;
  gap: 10px;
  color: var(--text-strong);
  background: none !important;
  -webkit-text-fill-color: currentColor;
  font-size: 1.06rem;
  letter-spacing: 0;
}

.logo img {
  width: 38px;
  height: 38px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(100% 0.01 78 / 0.045);
  box-shadow: none;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  min-height: 38px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links a:hover {
  color: var(--text-strong);
  background: oklch(100% 0.01 78 / 0.06);
}

section {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  padding: clamp(58px, 8vw, 96px) 0;
}

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  justify-content: initial;
  text-align: left;
  padding-top: 124px;
  padding-bottom: 42px;
}

.hero::before {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: oklch(15% 0.024 258 / 0.88);
  background-image:
    var(--hero-mockup, none),
    linear-gradient(135deg, color-mix(in oklch, var(--accent) 26%, transparent), transparent 58%),
    repeating-linear-gradient(0deg, oklch(100% 0.01 78 / 0.055) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, oklch(100% 0.01 78 / 0.045) 0 1px, transparent 1px 20px);
  background-position: center 38%, 0 0, 0 0, 0 0;
  background-size: clamp(170px, 48%, 270px) auto, auto, auto, auto;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "offline field handbook";
  right: 22px;
  bottom: 54px;
  width: min(34vw, 360px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(10% 0.018 258 / 0.86);
  color: var(--muted);
  letter-spacing: 0;
}

.hero > img {
  width: 84px !important;
  height: 84px !important;
  margin: 0 0 22px !important;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(100% 0.01 78 / 0.045);
  filter: none !important;
}

.hero h1 {
  width: 100%;
  max-width: 780px;
  margin-bottom: 16px;
  color: var(--text-strong);
  background: none !important;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(3.1rem, 7.4vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero h1 span,
.section-title span {
  color: var(--accent);
  background: none !important;
  -webkit-text-fill-color: currentColor;
}

.hero .slogan {
  max-width: 740px;
  margin-bottom: 16px;
  color: var(--accent);
  text-shadow: none;
}

.hero p {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}

.cta-button {
  min-height: 48px;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklch, var(--accent) 54%, oklch(100% 0.01 78 / 0.14));
  background: linear-gradient(180deg, color-mix(in oklch, var(--accent) 92%, oklch(94% 0.012 78) 8%), color-mix(in oklch, var(--accent) 72%, oklch(0% 0 0) 28%));
  color: oklch(11% 0.02 258);
  box-shadow: 0 14px 30px color-mix(in oklch, var(--accent) 22%, transparent);
  font-size: 0.98rem;
  padding: 12px 20px;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px color-mix(in oklch, var(--accent) 27%, transparent);
}

.tech-badges {
  justify-content: flex-start;
  gap: 8px;
  max-width: 760px;
  margin-top: 28px;
}

.tech-badge,
.download-badge {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(100% 0.01 78 / 0.052);
  color: var(--text-strong);
  letter-spacing: 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--text-strong);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 0.98;
  text-align: left;
  letter-spacing: 0;
}

section[style*="text-align: center"] {
  text-align: left !important;
}

section[style*="text-align: center"] .section-title {
  text-align: left;
}

.problem-grid,
.domains-grid,
.features-grid,
.download-grid {
  gap: 14px;
  margin-top: 0;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-grid,
.domains-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card,
.domain-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: none;
  backdrop-filter: none;
}

.glass-card:hover,
.domain-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px oklch(0% 0 0 / 0.26);
}

.stat-card,
.feature-card,
.download-card {
  padding: clamp(20px, 2.5vw, 30px);
  text-align: left;
}

.stat-number {
  color: var(--accent);
  text-shadow: none;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.domain-card {
  min-height: 176px;
  padding: 22px;
  text-align: left;
}

.domain-icon,
.feature-icon,
.download-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(100% 0.01 78 / 0.055);
  font-size: 1.24rem !important;
}

.domain-card h4,
.feature-card h3,
.download-card h3 {
  margin-top: 14px;
  color: var(--text-strong);
}

.feature-card p,
.download-card p,
.domain-card p,
.stat-label,
.price-period,
.faq-answer {
  color: var(--muted);
}

.pricing-card {
  width: min(760px, 100%);
  max-width: none;
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  text-align: left;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--accent) 13%, transparent), transparent 62%),
    var(--panel);
  box-shadow: none;
}

.pricing-card h3 {
  font-size: 1.45rem;
}

.price {
  justify-content: flex-start !important;
  margin: 12px 0 4px;
  color: var(--text-strong);
  font-size: 4rem;
}

.pricing-card [style*="text-align:center"],
.pricing-card p[style*="text-align: center"] {
  text-align: left !important;
}

.pricing-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  margin: 24px 0;
}

.pricing-features li {
  border: 0;
  padding: 6px 0;
  color: var(--muted);
}

.pricing-features li::before {
  content: "+";
  color: var(--accent);
}

.faq-container {
  max-width: 860px;
  margin: 0;
}

.faq-question {
  border-radius: var(--radius);
  color: var(--text-strong);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: oklch(9% 0.018 258);
}

.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .problem-grid,
  .features-grid,
  .domains-grid,
  .pricing-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  nav {
    width: calc(100% - 20px);
    top: 10px;
  }

  section {
    width: auto;
    margin-left: 14px;
    margin-right: 14px;
    padding: 58px 0;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.9rem);
    width: 100%;
    max-width: 100%;
  }

  .hero .slogan,
  .hero p,
  .tech-badges {
    width: 100%;
    max-width: 100%;
  }

  .hero > img {
    width: 78px !important;
    height: 78px !important;
  }

  .pricing-card,
  .stat-card,
  .feature-card,
  .download-card,
  .domain-card {
    padding: 20px;
  }

  .price {
    font-size: 3.1rem;
  }
}

/* Store and iOS install panels */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  text-decoration: none;
}

.store-badge img {
  display: block;
  width: 176px;
  max-width: 100%;
  height: auto;
}

.store-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.ios-panel {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--accent) 14%, transparent), transparent 58%),
    var(--panel);
}

.ios-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.ios-panel p {
  max-width: 760px;
  color: var(--muted);
}

.ios-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.ios-steps span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(100% 0.01 78 / 0.045);
  color: var(--text-strong);
  font-size: 0.92rem;
}

.ios-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 760px) {
  .ios-steps {
    grid-template-columns: 1fr;
  }
}
