/* SITE 6 — Navy Multi-Device App */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Sora:wght@400;500;600;700&display=swap");

:root {
  --navy: #0b1426;
  --panel: #152238;
  --panel-2: #1a2a42;
  --line: rgba(94, 179, 246, 0.18);
  --accent: #5eb3f6;
  --accent-soft: rgba(94, 179, 246, 0.12);
  --text: #e8eef7;
  --muted: #9aadc4;
  --white: #ffffff;
  --radius: 14px;
  --max: 1120px;
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(94, 179, 246, 0.14), transparent 55%),
    radial-gradient(700px 360px at 90% 8%, rgba(94, 179, 246, 0.08), transparent 50%),
    linear-gradient(180deg, #0d182c 0%, var(--navy) 38%, #09111f 100%);
  min-height: 100vh;
  line-height: 1.7;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header + segmented nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(11, 20, 38, 0.86);
  border-bottom: 1px solid rgba(94, 179, 246, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.seg-nav {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  gap: 2px;
}

.seg-nav a {
  min-width: 96px;
  text-align: center;
  padding: 0.55rem 0.9rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.seg-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.seg-nav a.active {
  background: var(--accent);
  color: #062033;
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 3.4rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 14px;
  height: 14px;
}

h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #062033;
}

.btn-primary:hover {
  background: #79c2f8;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* Device stage */
.device-stage {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.device-stage::before {
  content: "";
  position: absolute;
  inset: 18% 10% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 179, 246, 0.16), transparent 68%);
  z-index: 0;
}

.device-pc,
.device-phone {
  position: relative;
  z-index: 1;
}

.device-pc {
  width: min(100%, 380px);
}

.device-phone {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 118px;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.device-pc svg,
.device-phone svg {
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Feature row */
.feature-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.feature-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 0.95rem;
  text-align: center;
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.75rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-family: var(--font-display);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Download panel */
.download-panel {
  background: linear-gradient(160deg, var(--panel) 0%, #122033 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.platform-card {
  background: rgba(11, 20, 38, 0.55);
  border: 1px solid rgba(94, 179, 246, 0.14);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

.platform-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line);
}

.platform-icon svg {
  width: 20px;
  height: 20px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-display);
}

/* Sync story */
.sync-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.story-card,
.story-steps {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}

.story-card h2,
.story-steps h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.story-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.story-card p:last-child {
  margin-bottom: 0;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.step-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  border: 1px solid var(--line);
}

.step-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.step-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  margin: 0.5rem 0 2.5rem;
  background: linear-gradient(110deg, #163152 0%, #1a3a5c 45%, #152238 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

/* Page intro (inner pages) */
.page-intro {
  padding: 2.6rem 0 1.2rem;
}

.page-intro .lead {
  margin-bottom: 0;
}

/* Article */
.article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
}

.article h2 {
  margin: 1.6rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.article h2:first-child {
  margin-top: 0;
}

.article p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.article strong {
  color: var(--text);
  font-weight: 600;
}

.inline-cta {
  margin: 1.4rem 0;
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.inline-cta p {
  margin: 0;
  color: var(--text);
  max-width: 34rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.tip-card {
  background: rgba(11, 20, 38, 0.5);
  border: 1px solid rgba(94, 179, 246, 0.14);
  border-radius: 12px;
  padding: 1.1rem;
}

.tip-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.install-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.flow-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.flow-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.safe-note {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(94, 179, 246, 0.12);
  background: #09111f;
  padding: 1.6rem 0 2rem;
  margin-top: 1rem;
}

.footer-safe {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .sync-story {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .device-stage {
    min-height: 300px;
    margin-top: 0.5rem;
  }

  .device-phone {
    right: 8%;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 0;
    min-height: auto;
  }

  .seg-nav {
    width: 100%;
  }

  .seg-nav a {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.4rem;
    font-size: 0.85rem;
  }

  .feature-row,
  .platform-grid,
  .tips-grid,
  .install-flow {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
  }

  .device-phone {
    width: 96px;
  }
}
