:root {
  --brand: #003241;
  --brand-light: #0a4a5c;
  --accent: #856730;
  --accent-light: #a88b4a;
  --glow: #49d7e6;
  --bg: #f4f7f8;
  --card: #ffffff;
  --border: #d8e2e6;
  --text: #1a2b32;
  --muted: #5f737c;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0, 50, 65, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 50, 65, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--brand);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand span {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem !important;
}

.nav-cta:hover {
  background: var(--brand-light);
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--brand) 0%, #024a5e 55%, #0a6278 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(73, 215, 230, 0.22), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(133, 103, 48, 0.18), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.12rem;
  max-width: 34ch;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-publisher {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-screenshots {
  position: relative;
  width: min(420px, 100%);
  height: min(520px, 72vw);
  margin-inline: auto;
}

.hero-shot {
  position: absolute;
  margin: 0;
  bottom: 0;
  width: 46%;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  background: #0a2630;
  transition: transform 0.25s ease;
}

.hero-shot img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hero-shot--left {
  left: 0;
  transform: rotate(-7deg) translateY(12px);
  z-index: 1;
}

.hero-shot--center {
  left: 50%;
  width: 52%;
  transform: translateX(-50%);
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(73, 215, 230, 0.25),
    0 24px 56px rgba(0, 0, 0, 0.35);
}

.hero-shot--right {
  right: 0;
  transform: rotate(7deg) translateY(12px);
  z-index: 2;
}

.hero-screenshots:hover .hero-shot--left {
  transform: rotate(-9deg) translate(-4px, 8px);
}

.hero-screenshots:hover .hero-shot--center {
  transform: translateX(-50%) translateY(-6px);
}

.hero-screenshots:hover .hero-shot--right {
  transform: rotate(9deg) translate(4px, 8px);
}

.hero-caption {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28ch;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 50, 65, 0.08);
  color: var(--brand);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--brand);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Tabs showcase */
.tabs-showcase {
  background: #fff;
  border-block: 1px solid var(--border);
}

.tab-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.tab-pill {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.tab-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(73, 215, 230, 0.25);
}

.showcase-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.showcase-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--brand);
}

.showcase-panel p {
  margin: 0;
  color: var(--muted);
}

.showcase-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.showcase-list li {
  margin-bottom: 0.35rem;
}

.showcase-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: rgba(133, 103, 48, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.about-card h3,
.contact-card h3 {
  margin: 0 0 0.75rem;
  color: var(--brand);
}

.about-card p,
.contact-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  font-weight: 600;
}

.disclaimer {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: #fff8eb;
  border: 1px solid #f0d9a8;
  color: #6b5428;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-grid p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Privacy page */
.page-hero {
  background: var(--brand);
  color: #fff;
  padding: 2.5rem 0;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  opacity: 0.88;
}

.legal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 2rem auto 3rem;
  max-width: 800px;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  color: var(--brand);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .showcase-panel,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-screenshots {
    width: min(340px, 100%);
    height: min(440px, 78vw);
  }

  .hero-shot {
    border-radius: 18px;
    border-width: 2px;
  }

  .hero-shot--left {
    transform: rotate(-5deg) translateY(8px);
  }

  .hero-shot--right {
    transform: rotate(5deg) translateY(8px);
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }
}
