/*
  Manila Bay: Pixel Harbor — Official Landing Page Styles
  Palette derived from Manila 16-bit harbor pixel art:
  deep harbor navy, dark oak, antique nautical brass, warm parchment, harbor emerald.
*/

:root {
  --sea-deep: #071420;
  --sea-mid: #0d2133;
  --sea-card: #10263a;
  --sea-card-hover: #143049;
  --oak-dark: #1d140c;
  --oak-mid: #2a1c11;
  --brass: #e5b249;
  --brass-bright: #f8d884;
  --brass-deep: #b88424;
  --brass-line: rgba(229, 178, 73, 0.28);
  --brass-line-strong: rgba(229, 178, 73, 0.56);
  --parchment: #f7efdc;
  --ink-body: #bfd1e3;
  --ink-muted: #8aa4bd;
  --emerald: #2d8f58;
  --emerald-soft: rgba(45, 143, 88, 0.18);
  --emerald-text: #79e5a8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--sea-deep);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--parchment);
  background:
    radial-gradient(920px 520px at 84% -6%, rgba(229, 178, 73, 0.16), transparent 62%),
    radial-gradient(760px 480px at 12% 10%, rgba(34, 96, 142, 0.28), transparent 64%),
    linear-gradient(180deg, #091826 0%, #071420 55%, #06101a 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 20, 32, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brass-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--brass-line-strong);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--parchment);
}

.brand-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--brass);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-body);
}

.nav-links a {
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--brass-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(16, 38, 58, 0.9);
  border: 1px solid var(--brass-line);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--brass);
  color: #1a1106;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--brass-bright) 0%, var(--brass) 100%);
  color: #1a1106;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #fae39f;
  box-shadow: 0 4px 14px rgba(229, 178, 73, 0.22);
  transition: transform 0.14s ease, filter 0.14s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* Hero Section */
.hero {
  padding: 52px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(229, 178, 73, 0.12);
  border: 1px solid var(--brass-line);
  color: var(--brass-bright);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brass);
  box-shadow: 0 0 8px rgba(229, 178, 73, 0.7);
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.1vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--parchment);
}

.hero-accent {
  display: block;
  color: var(--brass-bright);
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--ink-body);
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fae092 0%, #e5b249 52%, #cf9830 100%);
  color: #191005;
  border: 1px solid #ffebb0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 10px 26px rgba(229, 178, 73, 0.25),
    0 3px 0 #7a5212;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 14px 30px rgba(229, 178, 73, 0.34),
    0 4px 0 #7a5212;
}

.btn-appstore:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(229, 178, 73, 0.2), 0 1px 0 #7a5212;
}

.btn-appstore-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.btn-appstore-sub {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

.btn-appstore-main {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(16, 38, 58, 0.85);
  border: 1px solid var(--brass-line);
  color: var(--parchment);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.btn-secondary:hover {
  border-color: var(--brass-line-strong);
  background: var(--sea-card-hover);
}

/* Fact Pills */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 500px;
}

.fact-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(16, 38, 58, 0.72);
  border: 1px solid rgba(154, 189, 222, 0.16);
  font-size: 13px;
  font-weight: 600;
  color: var(--parchment);
}

.fact-pill--gold {
  border-color: var(--brass-line);
  background: rgba(38, 26, 16, 0.72);
  color: var(--brass-bright);
}

.fact-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--brass);
}

/* Hero Device Frame */
.hero-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.device-frame {
  position: relative;
  padding: 12px;
  border-radius: 26px;
  background: linear-gradient(155deg, #2b1d12 0%, #16100a 48%, #21160d 100%);
  border: 1.5px solid var(--brass-line-strong);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(248, 216, 132, 0.35);
}

.device-screen {
  position: relative;
  border-radius: 17px;
  overflow: hidden;
  background: #07131e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 1600 / 736;
  cursor: zoom-in;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transition: opacity 0.2s ease;
}

.device-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.device-caption-text {
  color: var(--parchment);
  font-weight: 500;
}

.device-zoom-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brass);
  white-space: nowrap;
}

.shot-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.shot-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(154, 189, 222, 0.18);
  background: rgba(16, 38, 58, 0.72);
  color: var(--ink-body);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.shot-tab:hover {
  border-color: var(--brass-line-strong);
  color: var(--parchment);
}

.shot-tab[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(229, 178, 73, 0.22), rgba(184, 132, 36, 0.16));
  border-color: var(--brass);
  color: var(--brass-bright);
}

.shot-tab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.78;
}

/* Sections */
.section {
  padding: 56px 0;
  border-top: 1px solid rgba(229, 178, 73, 0.14);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 6px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  color: var(--parchment);
}

.section-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
  max-width: 460px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.shot-card {
  background: var(--sea-card);
  border: 1px solid var(--brass-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.shot-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass-line-strong);
}

.shot-card-media {
  position: relative;
  border: 0;
  padding: 0;
  background: #07131e;
  width: 100%;
  aspect-ratio: 1600 / 736;
  overflow: hidden;
  cursor: zoom-in;
}

.shot-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-card-body {
  padding: 16px 18px 18px;
}

.shot-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brass);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.shot-card-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--parchment);
}

.shot-card-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(16, 38, 58, 0.92), rgba(11, 27, 42, 0.92));
  border: 1px solid rgba(154, 189, 222, 0.18);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(229, 178, 73, 0.13);
  border: 1px solid var(--brass-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass-bright);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--parchment);
}

.feature-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.62;
}

/* Languages Strip */
.lang-panel {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(16, 38, 58, 0.68);
  border: 1px solid var(--brass-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lang-panel-copy h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--brass-bright);
}

.lang-panel-copy p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-chip {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(7, 20, 32, 0.78);
  border: 1px solid rgba(229, 178, 73, 0.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--parchment);
}

/* Pricing & Final CTA */
.pricing-banner {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 320px at 90% 10%, rgba(229, 178, 73, 0.16), transparent 65%),
    linear-gradient(145deg, #24180e 0%, #122130 58%, #0c1a28 100%);
  border: 1.5px solid var(--brass-line-strong);
  padding: 34px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tier-box {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(7, 20, 32, 0.62);
  border: 1px solid rgba(154, 189, 222, 0.18);
}

.tier-box--unlock {
  border-color: var(--brass-line-strong);
  background: rgba(31, 21, 11, 0.74);
}

.tier-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-text);
  margin-bottom: 8px;
}

.tier-box--unlock .tier-label {
  background: rgba(229, 178, 73, 0.2);
  color: var(--brass-bright);
}

.tier-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--parchment);
  margin: 0 0 6px;
}

.tier-desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-body);
  line-height: 1.55;
}

.pricing-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid var(--brass-line);
}

.pricing-cta-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(229, 178, 73, 0.16);
  padding: 30px 0 44px;
  color: var(--ink-muted);
  font-size: 13px;
}

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

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

.footer-links a {
  color: var(--ink-body);
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--brass-bright);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 11, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-caption {
  font-size: 14px;
  color: var(--parchment);
  font-weight: 600;
}

.lightbox-close {
  border: 1px solid var(--brass-line);
  background: var(--sea-card);
  color: var(--parchment);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.lightbox-close:hover {
  border-color: var(--brass);
  color: var(--brass-bright);
}

.lightbox-img {
  width: 100%;
  border-radius: 16px;
  border: 1.5px solid var(--brass-line-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

/* Responsive */
.hero-grid > *,
.gallery-grid > *,
.features-grid > *,
.pricing-banner > *,
.pricing-tiers > *,
.shot-tabs > *,
.fact-grid > * {
  min-width: 0;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-lead {
    max-width: none;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-banner {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 22px;
  }

  .pricing-cta-box {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--brass-line);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero {
    padding: 24px 0 34px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
  }

  .fact-pill {
    padding: 8px 9px;
    font-size: 12px;
    gap: 6px;
  }

  .features-grid,
  .pricing-tiers {
    grid-template-columns: minmax(0, 1fr);
  }

  .shot-tab {
    font-size: 11.5px;
    padding: 8px 4px;
    gap: 4px;
  }

  .device-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .btn-appstore {
    width: 100%;
    justify-content: center;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .device-frame {
    padding: 8px;
    border-radius: 18px;
  }

  .device-screen {
    border-radius: 11px;
  }
}
