@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&family=Inter:wght@400;500&display=swap');

:root {
  --navy: #0B132B;
  --indigo: #1C2541;
  --royal: #3A506B;
  --teal: #5BC0BE;
  --sand: #ECECEC;
  --accent: #FF6B35;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  color: var(--sand);
  font-family: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.65;
}

h1, h2, h3, .brand {
  font-family: 'Poppins', -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  color: var(--white);
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.page-bg {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--indigo) 55%, var(--royal) 100%);
  display: flex;
  flex-direction: column;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 64px);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark img { width: 36px; height: 36px; }

.brand-mark span {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.2px;
}

nav.site-nav a {
  color: var(--sand);
  margin-left: 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  opacity: 0.85;
}

nav.site-nav a:hover { opacity: 1; color: var(--teal); text-decoration: none; }
nav.site-nav a.active { color: var(--accent); opacity: 1; }

main {
  flex: 1;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 20px clamp(20px, 6vw, 64px) 80px;
}

.hero {
  text-align: center;
  padding: 40px 0 20px;
}

.hero img.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 0 0 8px;
}

.hero .tagline {
  color: var(--sand);
  opacity: 0.75;
  font-size: 18px;
  margin: 0 0 28px;
}

.pill-note {
  display: inline-block;
  background: rgba(91, 192, 190, 0.12);
  border: 1px solid rgba(91, 192, 190, 0.35);
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 36px;
}

.card {
  background: rgba(28, 37, 65, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--teal);
  margin: 0 0 14px;
}

.card p { margin: 0; color: var(--sand); }
.card p + p { margin-top: 14px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
}

.feature .icon {
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

.feature h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--white);
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--sand);
  opacity: 0.8;
}

.screenshots {
  margin-top: 44px;
}

.screenshot-hint {
  text-align: center;
  font-size: 13px;
  color: var(--sand);
  opacity: 0.6;
  margin: -20px 0 24px;
}

.screenshot-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.screenshot {
  margin: 0;
  width: 200px;
  max-width: 42vw;
}

.screenshot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  font: inherit;
}

.screenshot-btn img {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.screenshot-btn:hover img,
.screenshot-btn:focus-visible img {
  transform: translateY(-6px);
}

.screenshot figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--sand);
  opacity: 0.75;
  text-align: center;
}

@media (max-width: 600px) {
  .screenshot { max-width: 70vw; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  z-index: 1000;
  cursor: zoom-out;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(500px, 90vw);
  max-height: 88vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: clamp(20px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: var(--white) !important;
  text-decoration: none !important;
}

.btn-secondary {
  background: var(--teal);
  color: var(--navy) !important;
  text-decoration: none !important;
}

.page-title {
  font-size: clamp(28px, 4vw, 38px);
  margin: 8px 0 6px;
}

.page-sub {
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 28px;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-link-row:last-child { border-bottom: none; }

.contact-link-row .label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--white);
  min-width: 110px;
  font-size: 14px;
}

footer.site-footer {
  text-align: center;
  padding: 28px 20px 40px;
  color: var(--sand);
  opacity: 0.55;
  font-size: 13px;
}

footer.site-footer a { color: var(--sand); opacity: 0.85; }
footer.site-footer .sep { margin: 0 10px; opacity: 0.5; }
