/* Qore LLC — one-page marketing site.
   Palette lifted from QoreForms qore-theme-dark.css design tokens. */

:root {
  --page-start: #071522;
  --page-mid: #081a2a;
  --page-end: #0a2132;
  --glow-blue: rgba(45, 152, 216, 0.15);
  --glow-teal: rgba(27, 207, 180, 0.07);

  --text: #eef4fb;
  --text-strong: #ffffff;
  --text-muted: rgba(222, 239, 248, 0.76);
  --text-soft: rgba(222, 239, 248, 0.58);

  --teal: #1bcfb4;
  --teal-bright: #34e5c4;
  --teal-deep: #0f9f92;
  --teal-link: #84f0dc;
  --blue-400: #59b7e9;
  --blue: #2ba7ff;
  --cta-eyebrow: #40c4f4;

  --card-bg: rgba(255, 255, 255, 0.08);
  --card-bg-strong: rgba(255, 255, 255, 0.14);
  --card-border: rgba(255, 255, 255, 0.16);
  --card-border-strong: rgba(255, 255, 255, 0.28);
  --frame-border: rgba(172, 200, 217, 0.24);
  --frame-bg: rgba(255, 255, 255, 0.085);
  --frame-shadow: 0 32px 72px rgba(1, 10, 18, 0.36);

  --panel-start: #174f80;
  --panel-mid: #247bb8;
  --panel-end: #2c96d2;
  --panel-glow: rgba(102, 209, 255, 0.24);

  --btn-shadow: 0 14px 24px rgba(3, 68, 76, 0.27);
  --btn-shadow-hover: 0 18px 30px rgba(3, 68, 76, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body {
  color: var(--text);
  background-color: var(--page-mid);
  background:
    radial-gradient(circle at 88% -10%, var(--glow-blue), transparent 28%),
    radial-gradient(circle at 8% 96%, var(--glow-teal), transparent 30%),
    linear-gradient(135deg, var(--page-start) 0%, var(--page-mid) 72%, var(--page-end) 100%);
}

.page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Header ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
}

.brand-copy {
  color: #fff;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0.8px;
  line-height: 0.98;
}

.brand-copy b {
  color: var(--teal-link);
  font-weight: 850;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
}

.head-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.15s ease;
}

.head-nav a:hover {
  color: var(--text-strong);
}

.head-nav .head-cta {
  color: var(--text-strong);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border-strong);
  background: var(--card-bg);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.head-nav .head-cta:hover {
  background: var(--card-bg-strong);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Shared ---------- */

.eyebrow {
  display: inline-block;
  color: var(--cta-eyebrow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.74);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.4px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

/* ---------- Geometry ---------- */

.hex {
  position: absolute;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-geo {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.hero-geo .hex-a {
  width: clamp(280px, 34vw, 460px);
  top: -60px;
  right: -90px;
  color: rgba(89, 183, 233, 0.14);
  transform: rotate(14deg);
}

.hero-geo .hex-b {
  width: clamp(120px, 14vw, 190px);
  bottom: 6%;
  left: 3%;
  color: rgba(117, 240, 217, 0.16);
  transform: rotate(-18deg);
}

.hero-geo .ring-a {
  width: 220px;
  height: 220px;
  top: 16%;
  left: -110px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle, rgba(45, 152, 216, 0.06), transparent 70%);
}

.hero-geo .ring-b {
  width: 90px;
  height: 90px;
  top: 8%;
  right: 22%;
  border: 1px solid rgba(117, 240, 217, 0.18);
}

.hero-geo .dot-grid {
  position: absolute;
  width: 190px;
  height: 130px;
  bottom: 10%;
  right: 6%;
  background-image: radial-gradient(rgba(174, 215, 233, 0.28) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: clamp(72px, 12vh, 130px) 0 clamp(60px, 9vh, 100px);
}

.hero > .eyebrow,
.hero h1,
.hero-sub,
.hero-actions {
  position: relative;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.08;
  color: var(--text-strong);
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--btn-shadow);
}

.btn-primary b {
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
}

.btn-ghost {
  color: rgba(238, 248, 252, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(174, 215, 233, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* ---------- Proof / stats band ---------- */

.proof {
  padding: 0 0 20px;
}

.proof-band {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--frame-border);
  background: var(--frame-bg);
  backdrop-filter: blur(8px);
  padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.proof-lead {
  text-align: center;
  margin: 0;
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.2px;
}

.proof-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px clamp(28px, 5vw, 64px);
}

.proof-stat {
  text-align: center;
}

.proof-num {
  display: block;
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--teal-bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.6px;
  color: var(--text-soft);
}

/* ---------- Services ---------- */

.services {
  padding: 30px 0 70px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

/* Faint brand hexagon peeking out of each card's top-right corner. */
.service-card::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 120px;
  top: -44px;
  right: -34px;
  clip-path: polygon(50% 0, 92% 16%, 92% 52%, 76% 78%, 50% 100%, 24% 78%, 8% 52%, 8% 16%);
  background: linear-gradient(200deg, rgba(89, 183, 233, 0.13), rgba(35, 229, 190, 0.05) 70%);
  transform: rotate(16deg);
  transition: background 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.service-card:hover::before {
  background: linear-gradient(200deg, rgba(89, 183, 233, 0.2), rgba(35, 229, 190, 0.09) 70%);
  transform: rotate(24deg);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-strong);
  background: var(--card-bg-strong);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #7bf4dc;
  background: rgba(35, 229, 190, 0.13);
  border: 1px solid rgba(123, 244, 220, 0.34);
  margin-bottom: 18px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 750;
  color: var(--text-strong);
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Our apps ---------- */

.apps {
  padding: 10px 0 70px;
}

.apps-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(34px, 5vw, 54px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
  background:
    radial-gradient(circle at 85% 20%, var(--panel-glow), transparent 55%),
    linear-gradient(130deg, var(--panel-start), var(--panel-mid) 60%, var(--panel-end));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--frame-shadow);
}

/* Floating circles + hex, echoing the QoreForms login panel. */
.apps-panel .circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.apps-panel .circle-a {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -80px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.11);
}

.apps-panel .circle-b {
  width: 150px;
  height: 150px;
  bottom: -60px;
  left: 34%;
  background: rgba(255, 255, 255, 0.06);
}

.apps-panel .circle-c {
  width: 64px;
  height: 64px;
  top: 22%;
  left: 46%;
  border-color: rgba(117, 240, 217, 0.32);
}

.apps-panel .hex-panel {
  width: 200px;
  bottom: -70px;
  right: 14%;
  color: rgba(255, 255, 255, 0.14);
  transform: rotate(-12deg);
}

.apps-copy,
.apps-badges {
  position: relative;
}

.apps-copy {
  flex: 1 1 380px;
}

.apps-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
}

.apps-copy p {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.apps-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.apps-copy strong {
  color: #fff;
  font-weight: 750;
}

.apps-badges {
  display: flex;
  gap: 14px;
  flex: none;
}

.app-tile {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 13px 25px rgba(8, 46, 78, 0.22);
}

.app-tile-teal {
  color: #7bf4dc;
}

.app-tile svg {
  width: 30px;
  height: 30px;
}

/* ---------- Contact ---------- */

.contact {
  padding: 10px 0 80px;
}

.contact-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--frame-border);
  background: var(--frame-bg);
  box-shadow: var(--frame-shadow);
  backdrop-filter: blur(8px);
  padding: clamp(36px, 5vw, 60px);
}

.contact-frame .ring-contact-a {
  width: 260px;
  height: 260px;
  top: -130px;
  left: -110px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle, rgba(27, 207, 180, 0.07), transparent 70%);
}

.contact-frame .ring-contact-b {
  width: 110px;
  height: 110px;
  bottom: 14%;
  right: -46px;
  border: 1px solid rgba(89, 183, 233, 0.22);
}

.contact-frame .hex-contact {
  width: 170px;
  top: -58px;
  right: 8%;
  color: rgba(89, 183, 233, 0.13);
  transform: rotate(20deg);
}

.contact-frame .section-head,
.contact-grid {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-item {
  text-align: center;
  padding: 26px 20px;
  border-radius: 16px;
  background: rgba(8, 33, 52, 0.62);
  border: 1px solid rgba(165, 207, 229, 0.22);
}

.contact-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--teal-link);
  background: rgba(27, 207, 180, 0.11);
  border: 1px solid rgba(27, 207, 180, 0.3);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(233, 246, 252, 0.84);
}

.contact-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */

.site-foot {
  margin-top: auto;
  padding: 26px 0 12px;
  border-top: 1px solid rgba(204, 231, 242, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: var(--text-strong);
}

.foot-brand .brand-mark {
  width: 24px;
  height: 24px;
}

.foot-legal {
  color: rgba(206, 228, 239, 0.48);
  font-size: 14px;
}

/* ---------- Quiet inline note under a section ---------- */

.section-note {
  margin: 30px auto 0;
  max-width: 660px;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.section-note a {
  color: var(--teal-link);
  text-decoration: none;
  border-bottom: 1px solid rgba(132, 240, 220, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.section-note a:hover {
  color: var(--teal-bright);
  border-bottom-color: var(--teal-bright);
}

/* ---------- Modules page ---------- */

.modules {
  padding: 0 0 70px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.module-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-strong);
  background: var(--card-bg-strong);
}

.module-icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #7bf4dc;
  background: rgba(35, 229, 190, 0.13);
  border: 1px solid rgba(123, 244, 220, 0.34);
}

.module-icon svg {
  width: 19px;
  height: 19px;
}

.module-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 750;
  color: var(--text-strong);
}

.module-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* ---------- Product page (Qore Safety) ---------- */

.product-lede {
  padding: 0 0 44px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.product-lede p {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  color: var(--text-muted);
}

/* Marquee-style capability strip. */
.caps {
  padding: 0 0 46px;
}

.cap-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cap {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(174, 215, 233, 0.18);
}

.cap-strong {
  color: var(--teal-link);
  background: rgba(27, 207, 180, 0.1);
  border-color: rgba(27, 207, 180, 0.3);
}

/* Capture → Sync → Ask → Act. */
.flow {
  padding: 0 0 70px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.flow-step {
  position: relative;
  padding: 26px 22px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.flow-num {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--teal-link);
}

.flow-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
  color: var(--text-strong);
}

.flow-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Arrow between steps on wide screens. */
.flow-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 800;
  color: rgba(132, 240, 220, 0.5);
  pointer-events: none;
}

.flow-step:last-child::after {
  content: none;
}

@media (max-width: 900px) {
  .flow-step::after {
    content: none;
  }
}

/* Industries served. */
.industries {
  padding: 0 0 70px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.industry-card {
  padding: 22px 20px;
  border-radius: 14px;
  background: rgba(8, 33, 52, 0.5);
  border: 1px solid rgba(165, 207, 229, 0.2);
}

.industry-card h3 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 750;
  color: var(--text-strong);
}

.industry-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* ---------- Project brief page ---------- */

.brief-intro {
  padding: 0 0 46px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.brief-intro p {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  color: var(--text-muted);
}

.brief {
  padding: 0 0 60px;
}

/* Prompting question list inside a service card. */
.think-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.think-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.think-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--teal-bright), var(--blue));
}

.brief-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-link);
  background: rgba(27, 207, 180, 0.11);
  border: 1px solid rgba(27, 207, 180, 0.3);
}

/* Contact panel styled like the "our apps" gradient panel. */
.brief-cta {
  padding: 30px 0 80px;
}

.brief-cta .apps-panel {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.brief-cta .apps-copy {
  flex: none;
}

.brief-cta .apps-copy p {
  margin: 0 auto;
}

.brief-cta .hero-actions {
  margin-top: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .apps-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .head-nav a:not(.head-cta) {
    display: none;
  }
}
