:root {
  --bg: #0a1930;
  --bg-2: #0f2347;
  --panel: rgba(15, 35, 71, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eaf2ff;
  --text-dim: rgba(234, 242, 255, 0.68);
  --accent: #ffb020;
  --accent-2: #2aa8ff;
  --safe: #2ecc71;
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: radial-gradient(ellipse at top, var(--bg-2), var(--bg) 60%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100%;
}

a { color: var(--accent-2); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(10, 25, 48, 0.75);
  border-bottom: 1px solid var(--border);
}
nav.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--text); }
.brand img { height: 34px; width: auto; display: block; }
nav.site-nav .links { display: flex; gap: 22px; font-weight: 600; font-size: 0.95rem; }
nav.site-nav .links a { color: var(--text-dim); text-decoration: none; }
nav.site-nav .links a:hover { color: var(--text); }

.hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg.jpg") center 30% / cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,25,48,0.25), var(--bg) 92%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  margin: 18px 0 10px;
  letter-spacing: -0.02em;
}
.hero .tagline { color: var(--accent); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; }
.hero p.sub { color: var(--text-dim); font-size: 1.15rem; max-width: 620px; margin: 0 auto 30px; line-height: 1.55; }
.hero-badge { height: 72px; }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, #ffde63, #ffa70f);
  color: #4a2400;
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

section { padding: 64px 0; }
section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  text-align: center;
  margin: 0 0 8px;
}
section .lede { text-align: center; color: var(--text-dim); max-width: 640px; margin: 0 auto 40px; font-size: 1.05rem; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.shots figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { padding: 12px 16px 16px; font-weight: 700; font-size: 0.92rem; color: var(--text-dim); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature .icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
footer .links { display: flex; gap: 18px; }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text); }

.page-header { padding: 56px 0 10px; text-align: center; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin: 0 0 6px; }
.page-header p { color: var(--text-dim); }

.legal {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--text-dim);
}
.legal h2 { color: var(--text); font-size: 1.2rem; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 0.98rem; }
.legal .updated { color: var(--text-dim); font-size: 0.85rem; margin-top: -6px; }

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-2); }
#support-status { margin-top: 14px; font-weight: 700; font-size: 0.92rem; min-height: 1.2em; }
#support-status.ok { color: var(--safe); }
#support-status.err { color: #ff6868; }
.support-alt { text-align: center; color: var(--text-dim); margin-top: 26px; font-size: 0.92rem; }
