/* AITECH landing page. Same brand tokens as the app (src/Velora.WebApp/src/styles/tokens.css).
   System fonts only: no third-party requests, so the page works under a strict CSP. */
:root {
  --green: #178a58;
  --green-hover: #0f7147;
  --green-dark: #075c3d;
  --mint: #ddf4e8;
  --mint-soft: #eef9f3;
  --amber: #f4a340;
  --ink: #123f30;
  --muted: #516b60;
  --surface: #ffffff;
  --page: #f6faf8;
  --border: #d5e7dd;
  --radius: 14px;
  --font: Inter, "Segoe UI", Aptos, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Nunito, Inter, "Segoe UI", Aptos, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 16px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-dark); font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; text-decoration: none; }
.brand img { border-radius: 10px; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav a:not(.button) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.header-nav a:not(.button):hover { color: var(--green-dark); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 22px; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.button:hover { background: var(--green-hover); border-color: var(--green-hover); }
.button--outline { background: transparent; color: var(--green-dark); }
.button--outline:hover { background: var(--mint); color: var(--green-dark); border-color: var(--green-hover); }
.button--small { min-height: 40px; padding: 0 18px; font-size: .95rem; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--mint-soft) 0%, var(--page) 55%); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
h1 { margin: 0 0 18px; font-family: var(--font-heading); font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; color: var(--green-dark); }
.lead { margin: 0 0 28px; color: var(--muted); font-size: 1.12rem; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hint { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.hero-art { display: flex; justify-content: center; }
.hero-badge {
  width: min(320px, 80%); aspect-ratio: 1; border-radius: 32px; overflow: hidden;
  background: var(--green-dark); box-shadow: 0 24px 60px rgba(7, 92, 61, .25);
  transform: rotate(-3deg);
}
.hero-badge img { width: 100%; height: 100%; }

/* Features */
.features { padding: 72px 0; }
h2 { margin: 0 0 32px; font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--green-dark); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mint); color: var(--green-dark); }
.feature h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Download */
.download { padding: 0 0 80px; }
.download-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--green-dark); color: #fff; border-radius: 20px; padding: 40px;
}
.download-card h2 { color: #fff; margin-bottom: 12px; }
.download-card p { margin: 0; color: #d9efe4; max-width: 38em; }
.download-card .hint { color: #b9dccb; margin-top: 12px; }
.download-card .button { background: #fff; border-color: #fff; color: var(--green-dark); }
.download-card .button:hover { background: var(--mint); border-color: var(--mint); }
.download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex-shrink: 0; }
.text-link { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.footer-row p { margin: 0; color: var(--muted); font-size: .95rem; }
.footer-row nav { display: flex; gap: 18px; }
.footer-row nav a { color: var(--muted); font-weight: 600; text-decoration: none; }

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-badge { width: 180px; }
  .download-card { flex-direction: column; align-items: flex-start; padding: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-nav a:not(.button) { display: none; }
  .hero { padding: 40px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-row .button { width: 100%; }
}
