/* BARKOUR Static Site Styles — https://barkour.alobaidi.net */
:root {
  --sky-top: #0c4fa8;
  --sky-mid: #1a95ef;
  --sky-light: #d9f1ff;
  --surface: #ffffff;
  --surface-soft: #f3f9ff;
  --ink: #11223d;
  --ink-muted: #4a607a;
  --gold: #ffc43d;
  --orange: #f26824;
  --orange-dark: #d44d10;
  --cyan: #24c6f9;
  --border: rgba(17, 34, 61, 0.1);
  --shadow-lg: 0 22px 50px rgba(10, 42, 92, 0.22);
  --shadow-md: 0 10px 28px rgba(10, 42, 92, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'M PLUS Rounded 1c', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-wordmark {
  font-family: 'Lilita One', 'M PLUS Rounded 1c', system-ui, sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0;
}

a {
  color: #0e66d0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
  opacity: 0.94;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.brand-wordmark {
  font-size: 1.55rem;
  color: #ffe993;
  text-shadow: 0 2px 0 #0b2247;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 68%, #63c7ff 100%);
  color: #ffffff;
  padding: 64px 0 80px;
}

.hero-clouds::before,
.hero-clouds::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  pointer-events: none;
  animation: floatCloud 18s ease-in-out infinite alternate;
}

.hero-clouds::before {
  width: 380px;
  height: 140px;
  top: 40px;
  left: -90px;
}

.hero-clouds::after {
  width: 460px;
  height: 170px;
  bottom: 24px;
  right: -120px;
  animation-duration: 24s;
}

@keyframes floatCloud {
  from { transform: translateX(0) translateY(0); }
  to   { transform: translateX(32px) translateY(-10px); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #ffffff;
  text-shadow: 0 5px 0 #0a2552, 0 14px 28px rgba(8, 22, 54, 0.35);
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 54ch;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #ff8d3b 0%, var(--orange) 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 24px rgba(173, 56, 8, 0.42);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ff994f 0%, var(--orange-dark) 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero-meta {
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.feature-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  background: #0d4b9c;
}

.feature-card img {
  display: block;
  width: 100%;
  height: auto;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 34, 71, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.icon-pill img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

/* Sections */
.section {
  padding: 68px 0;
}

.section-alt {
  background: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--ink-muted);
  margin: 0 auto;
  max-width: 58ch;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e6f4ff;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

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

/* Screenshots Gallery */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.shot-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.shot-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.shot-tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 20, 44, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 92vw;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Legal Pages (Privacy & Terms) */
.legal-hero {
  background: linear-gradient(180deg, var(--sky-top) 0%, #157ce0 100%);
  color: #ffffff;
  padding: 46px 0 42px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 8px;
}

.legal-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  margin: -20px auto 64px;
  max-width: 880px;
}

.legal-card h2 {
  font-size: 1.45rem;
  color: var(--sky-top);
  margin: 28px 0 10px;
}

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

.legal-card ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.legal-card li {
  margin-bottom: 6px;
}

.info-box {
  background: var(--surface-soft);
  border-left: 4px solid var(--sky-mid);
  padding: 14px 18px;
  border-radius: 10px;
  margin: 16px 0;
}

/* Footer */
.site-footer {
  background: #0d2246;
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #ffe993;
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }
}
