/* Ship Secure — landing page styles. No frameworks, no external deps. */

:root {
  --bg: #0b123f;
  --bg-alt: #101a5e;
  --navy-deep: #080d2e;
  --gold: #eab543;
  --gold-bright: #f6d98c;
  --ink: #f2f4ff;
  --muted: #a9b0da;
  --card: rgba(255, 255, 255, 0.035);
  --border: rgba(234, 181, 67, 0.22);
  --radius: 14px;
  --max-w: 1080px;
  --narrow-w: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-bright); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.15em 0.4em;
  border-radius: 5px;
  color: var(--gold-bright);
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: var(--narrow-w); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy-deep);
  padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 6px 24px rgba(234, 181, 67, 0.28);
}
.btn-primary:hover { background: var(--gold-bright); }

.btn-gold {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(234, 181, 67, 0.15);
}
.btn-gold:hover { background: rgba(234, 181, 67, 0.12); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-block { display: block; text-align: center; margin-top: 1.25rem; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 63, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234, 181, 67, 0.14);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0.7rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--gold-bright); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 0 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(234, 181, 67, 0.14), transparent 70%),
    linear-gradient(var(--bg-alt), var(--bg));
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; padding-bottom: 3.5rem; }
.hero-logo {
  margin: 0 auto 1.5rem;
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
}
.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-sub { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--ink); max-width: 640px; margin: 0 auto 1rem; }
.hero-cred { color: var(--muted); max-width: 680px; margin: 0 auto 2rem; font-size: 0.98rem; }
.cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.tagline {
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin: 0;
}

/* Wave dividers */
.wave-divider { line-height: 0; margin-top: -1px; }
.wave-divider svg { width: 100%; height: 60px; display: block; fill: var(--bg-alt); }
.wave-flip { transform: scaleY(-1); }
.wave-flip svg { fill: var(--bg-alt); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section h2 { text-align: center; }

.problem { background: var(--bg-alt); }
.problem h2 { text-align: left; max-width: var(--narrow-w); margin-left: auto; margin-right: auto; }
.problem .container.narrow p { color: #d6dbf7; }
.lede { font-size: 1.12rem; border-left: 3px solid var(--gold); padding-left: 1.1rem; margin-top: 1.8rem; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--border); transform: translateY(-3px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(234, 181, 67, 0.12);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; color: var(--gold); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-alt); }
.tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
  align-items: stretch;
}
.tier {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.2rem;
  position: relative;
  display: flex; flex-direction: column;
}
.tier-featured { border: 2px solid var(--gold); box-shadow: 0 12px 44px rgba(234, 181, 67, 0.16); }
.tier-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-deep);
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.25rem 0.9rem; border-radius: 20px; margin: 0; white-space: nowrap;
}
.price { margin: 0.4rem 0 1.2rem; }
.price .amount { font-size: 2.6rem; font-weight: 800; color: var(--gold-bright); }
.price .per { color: var(--muted); font-size: 0.95rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 0.5rem; flex: 1; }
.tier li { padding: 0.45rem 0 0.45rem 1.7rem; position: relative; color: #d6dbf7; }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem;
  width: 0.55rem; height: 0.32rem;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg) translateY(-2px);
}

/* ---------- Teaser ---------- */
.teaser { text-align: center; }
.teaser-inner p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.8rem; }
.teaser h2::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: var(--gold); border-radius: 2px; margin: 0.8rem auto 0;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-list details {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--border); }
.faq-list summary {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; color: var(--gold); font-size: 1.5rem; font-weight: 400; flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--bg-alt); text-align: center; padding: 0 0 5rem; }
.final-cta .wave-divider { margin-bottom: 3.5rem; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3rem); }
.final-cta p { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(234, 181, 67, 0.14);
  padding: 2.8rem 0 2rem;
}
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand img { border-radius: 8px; }
.footer-brand p { margin: 0; text-align: left; }
.footer-contact { color: var(--muted); }
.footer-disclaimer, .footer-copy { color: #7c84b8; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.4rem; gap: 0.4rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 0.6rem 0; }
  .nav-links .btn { text-align: center; margin-top: 0.5rem; }
  .nav-inner { position: relative; }

  .cards, .tiers { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 0; }
  .hero { padding-top: 3rem; }
  .cta-row .btn { width: 100%; text-align: center; }
  .cta-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
