@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0d9488;
  --brand-strong: #0f766e;
  --brand-soft: #ccfbf1;
  --accent: #2563eb;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --z-topbar: 50;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: #1e293b;
    --ink: #f8fafc;
    --muted: #94a3b8;
    --line: #334155;
    --brand: #14b8a6;
    --brand-strong: #2dd4bf;
    --brand-soft: rgba(20, 184, 166, 0.1);
    --accent: #3b82f6;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 0% 0%, var(--brand-soft) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
  font-family: "Instrument Sans", "PingFang SC", "Noto Sans SC", -apple-system, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: var(--z-topbar);
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(var(--panel-rgb, 255, 255, 255), 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

@media (prefers-color-scheme: dark) {
  .topbar {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  background: var(--bg-soft);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 3px;
}

.lang-switch button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

main {
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 48px 0 88px;
}

.section {
  margin: 64px 0;
  padding: 0;
  /* border & shadow removed from generic section */
}

.section-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.section-muted {
  position: relative;
  background: transparent;
}

.section-hero {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 80px;
}

.section-hero .kicker {
  margin-bottom: 16px;
}

.section-hero h1 {
  margin: 0 auto;
}

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

.section-hero .hero-cta {
  justify-content: center;
  margin-top: 32px;
}

.kicker {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.kicker.secondary {
  background: #eaf0fb;
  color: #29406f;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  max-width: 22ch;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.lead,
.sublead {
  margin: 16px 0 0;
  font-size: 1.15rem;
  max-width: 66ch;
  color: var(--muted);
}

.sublead {
  font-size: 1.1rem;
  margin-top: 10px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--brand-strong);
  box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

.section-card {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card.highlight {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.shot-card {
  margin: 32px 0 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
}

.shot-card img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.shot-card figcaption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* What's New Section Styles */
.whats-new-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.whats-new-item {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.whats-new-item::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

/* FAQ Styles */
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--brand);
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.trust-strip {
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 16px;
  margin-bottom: 80px;
}

.trust-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.trust-strip li {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-strip li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 900;
}

.steps li {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  transition: all 0.3s ease;
}

.steps li:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}

.lang-switch button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switch button.active {
  background: var(--brand);
  color: #fff;
}

.node small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.shot-card {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  text-align: center;
}

.shot-card img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.shot-card figcaption {
  margin-top: 16px;
  font-size: 0.9rem;
  font-style: italic;
}

.shot-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legacy-anchor {
  position: relative;
  top: -100px;
  height: 0;
}

.arrow {
  font-weight: 700;
  color: var(--brand);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fbfdff;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 45;
  display: none;
}

.mobile-cta a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}

.lang-switch button:hover:not(.active) {
  background: var(--bg-soft);
}

@media (max-width: 768px) {
  main {
    padding: 24px 0 64px;
  }
  .section-card {
    padding: 32px 20px;
  }
  .lang-switch {
    grid-area: lang;
    justify-self: end;
  }

  .menu-toggle {
    grid-area: menu;
    display: inline-flex;
    justify-content: center;
  }

  .nav {
    grid-area: nav;
    display: none;
    justify-content: flex-start;
  }

  body.nav-open .nav {
    display: flex;
  }

  .trust-strip ul,
  .steps,
  .card-grid.one,
  .card-grid.two,
  .card-grid.three,
  .shot-grid {
    grid-template-columns: 1fr;
  }
}
