/* Greezmate marketing site — follows Brand Style Guide v1.01.
   Mobile-first: base rules are the phone layout; min-width queries add tablet, desktop and wide screens.
   Centre-aligned by design: every section heading, intro and card is centred. Only UI mock-ups
   (dashboard, lists, form fields) keep left-aligned text, because real product screens read that way.
   Black + orange gradient carries the "bold, industrial, precise" personality; Geologica weights map to
   the guide (Black=display, Bold=heading, Semibold=title/CTA, Regular=body); PrimeIcons match the portal. */

@font-face { font-family: "Geologica"; font-weight: 400; src: url("assets/fonts/Geologica-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Geologica"; font-weight: 600; src: url("assets/fonts/Geologica-SemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Geologica"; font-weight: 700; src: url("assets/fonts/Geologica-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Geologica"; font-weight: 900; src: url("assets/fonts/Geologica-Black.ttf") format("truetype"); font-display: swap; }

:root {
  --orange-top: #FF4427;
  --orange: #FF7300;
  --gradient: linear-gradient(180deg, #FF4427 0%, #FF7300 100%);
  --black: #000;
  --white: #fff;
  --smart: #1F1F1F;
  --positive: #FFB37B;
  --friendly: #FFE2C9;
  --tint: #FFF7F0;
  --warning: #FFBB47;
  --success: #3BBE6B;
  --error: #EF4444;
  --muted: #5B5B5B;
  --line: #E9E2DB;
  --radius: 14px;
  --gutter: 20px;
  --max: 1160px;          /* content width; grows on wide screens */
  --section: 64px;        /* vertical rhythm; grows on wide screens */
  --base: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--base); }
body {
  margin: 0; font-family: "Geologica", Helvetica, Arial, sans-serif; font-weight: 400;
  color: var(--smart); background: var(--white); line-height: 1.6; font-size: 1rem;
  text-align: center; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }

.eyebrow { font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 12px; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1 { font-weight: 900; font-size: clamp(2.5rem, 11vw, 4.5rem); letter-spacing: -.02em; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 7vw, 2.9rem); letter-spacing: -.015em; }
h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 42rem; margin: 18px auto 0; }
.on-dark .lead, .on-dark p { color: #C9C9C9; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: 0 8px 24px rgba(255,68,39,.35); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--orange); }
.btn-dark { background: var(--black); color: var(--white); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid #1F1F1F; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav img { height: 36px; width: auto; }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 28px; }
.nav ul a { color: #DADADA; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav ul a:hover { color: var(--orange); }
.nav .btn { padding: 9px 16px; font-size: .9rem; }

/* ---- sections ---- */
section { padding: var(--section) 0; }
.head { max-width: 44rem; margin: 0 auto 40px; }
.head p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }
.on-dark { background: var(--black); color: var(--white); }
.on-dark .head p { color: #BDBDBD; }
.tinted { background: var(--tint); }

/* ---- hero ---- */
.hero { padding: 48px 0 0; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -420px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,68,39,.30), transparent 65%); pointer-events: none; }
.hero .copy { max-width: 52rem; margin: 0 auto; position: relative; }
.hero p.lead { margin: 22px auto 30px; font-size: 1.15rem; }
.hero .cta { display: flex; gap: 12px; flex-direction: column; align-items: stretch; max-width: 22rem; margin: 0 auto; }
.hero .proof { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; color: #BDBDBD; font-size: .95rem; }
.hero .proof i { color: var(--success); margin-right: 8px; }

/* ---- product tour carousel ----
   Native scroll-snap does the sliding, so touch swipe feels natural on phones and tablets.
   carousel.js only adds buttons, dots and autoplay on top. */
.carousel { margin: 48px auto 0; max-width: 1000px; text-align: left; background: #111; border: 1px solid #2A2A2A; border-radius: 16px 16px 0 0; border-bottom: 0;
  box-shadow: 0 -20px 80px rgba(255,68,39,.18); overflow: hidden; }
.mock-bar { display: flex; gap: 8px; padding: 12px 16px; background: #181818; border-bottom: 1px solid #2A2A2A; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3A3A3A; }
.carousel-stage { position: relative; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.slide img { width: 100%; height: auto; aspect-ratio: 1652 / 804; background: #0B0B0B; }
.slide figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 6px; text-align: center; color: #C9C9C9; font-size: .9rem; line-height: 1.45; }
.slide figcaption b { color: var(--white); font-weight: 600; font-size: 1rem; }
.nav-btn { position: absolute; top: calc(50% - 40px); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.65); color: var(--white); display: none; place-items: center; cursor: pointer; transition: background .15s, transform .15s; }
.nav-btn:hover { background: var(--gradient); transform: scale(1.06); }
.nav-btn.prev { left: 12px; }
.nav-btn.next { right: 12px; }
.dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 6px 12px 16px; }
/* 24px tap area around a 8px dot keeps it easy to hit on touch screens */
.dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #4A4A4A; transition: width .25s, background .25s; }
.dot[aria-selected="true"]::before { width: 24px; background: var(--gradient); }

/* ---- problem cards ---- */
.pains { display: grid; gap: 16px; grid-template-columns: 1fr; }
.pain { background: var(--smart); border-radius: var(--radius); padding: 26px; border: 1px solid #2E2E2E; }
.pain i { color: var(--orange); font-size: 1.6rem; margin-bottom: 14px; display: block; }
.pain p { margin: 10px 0 0; }

/* ---- lifecycle flow (vertical on phone, horizontal from tablet) ---- */
.flow { display: grid; gap: 28px; grid-template-columns: 1fr; }
.step { display: flex; flex-direction: column; align-items: center; position: relative; }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: 1.25rem; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 8px 0 0; max-width: 20rem; }

/* ---- feature cards ---- */
.grid3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31,31,31,.08); border-color: var(--positive); }
.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--friendly); color: var(--orange-top); display: grid; place-items: center; font-size: 1.4rem; margin: 0 auto 16px; }
.feature p { color: var(--muted); margin: 8px 0 0; }

/* ---- split sections: text on top, product panel below, all centred ---- */
.split { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
.split > .panel { order: 2; width: 100%; max-width: 34rem; margin: 0 auto; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tinted .ticks li { background: var(--white); }
.ticks i { color: var(--success); font-size: 1.3rem; }
.panel { background: var(--smart); color: var(--white); border-radius: 18px; padding: 24px; border: 1px solid #333; text-align: left; }
.panel h4 { margin: 0 0 12px; font-size: .85rem; color: var(--positive); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #333; font-size: .95rem; gap: 12px; }
.row:last-child { border-bottom: 0; }
.row small { color: #A9A9A9; display: block; }
.pill { font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.pill.warn { background: rgba(255,187,71,.18); color: var(--warning); }
.pill.err { background: rgba(239,68,68,.18); color: #FF8A8A; }
.pill.ok { background: rgba(59,190,107,.18); color: var(--success); }

/* ---- NZ strip ---- */
.nz { display: grid; gap: 22px; grid-template-columns: 1fr; }
.nz div { border-top: 3px solid var(--orange); padding-top: 16px; }
.nz p { color: #BDBDBD; margin: 8px 0 0; }

/* ---- pricing + faq ---- */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; background: var(--white); }
.plan.hot { background: var(--black); color: var(--white); border: 0; box-shadow: 0 20px 50px rgba(255,68,39,.25); }
.plan .price { font-weight: 900; font-size: 2.1rem; margin: 12px 0; }
.plan ul { padding: 0; margin: 0 0 24px; list-style: none; }
.plan li { padding: 6px 0; }
.plan li i { color: var(--success); margin-right: 8px; }
.note { font-size: .875rem; color: var(--muted); margin-top: 22px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: center; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px auto 0; max-width: 40rem; }

/* ---- final CTA ---- */
.final { background: var(--gradient); color: var(--white); }
.final h2 { font-weight: 900; }
.final p { font-size: 1.15rem; margin: 16px auto 30px; max-width: 36rem; }
form.demo { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 40rem; margin: 0 auto; text-align: left; }
form.demo input, form.demo select { font: inherit; padding: 14px 16px; border-radius: 10px; border: 0; width: 100%; }
form.demo .full, form.demo button { grid-column: 1 / -1; }

footer { background: var(--black); color: #A9A9A9; padding: 40px 0; font-size: .9rem; }
footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
footer img { height: 44px; width: auto; }

/* ============ tablet ≥ 640px ============ */
@media (min-width: 640px) {
  :root { --gutter: 32px; --section: 80px; }
  .hero { padding-top: 72px; }
  .hero .cta { flex-direction: row; max-width: none; justify-content: center; }
  .hero .proof { flex-direction: row; justify-content: center; gap: 26px; flex-wrap: wrap; }
  .nav-btn { display: grid; }
  .slide figcaption { font-size: 1rem; padding: 18px 24px 8px; }
  .pains, .grid3, .plans { grid-template-columns: repeat(2, 1fr); }
  .nz { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .ticks { grid-template-columns: repeat(3, 1fr); }
  form.demo { grid-template-columns: 1fr 1fr; }
}

/* ============ desktop ≥ 1024px ============ */
@media (min-width: 1024px) {
  :root { --section: 104px; }
  .nav .wrap { height: 76px; }
  .nav img { height: 46px; }
  .nav ul { display: flex; }
  .nav .btn { padding: 11px 22px; font-size: 1rem; }
  .hero { padding-top: 96px; }
  .pains, .grid3, .plans { grid-template-columns: repeat(3, 1fr); }
  .nz { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .step { padding: 0 14px; }
  .step::after { content: ""; position: absolute; top: 26px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 2px; background: var(--positive); }
  .step:last-child::after { display: none; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split > .panel { order: 0; margin: 0; max-width: none; }
  .split.flip > .panel { order: -1; }
  .split .ticks { grid-template-columns: 1fr; }
}

/* ============ wide ≥ 1440px ============ */
@media (min-width: 1440px) {
  :root { --max: 1360px; --base: 17px; --gutter: 48px; --section: 120px; }
  .carousel { max-width: 1180px; }
}

/* ============ extra wide ≥ 1920px (large monitors, TVs) ============ */
@media (min-width: 1920px) {
  :root { --max: 1640px; --base: 19px; --section: 140px; }
  .carousel { max-width: 1400px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
