/* Base reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f1b2d;
  background: linear-gradient(180deg, #f6f9ff 0%, #eef5ff 40%, #e4efff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 2px solid #1b6bff;
  outline-offset: 2px;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 70, 150, 0.1);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #0c234b;
}

.brand small {
  display: block;
  font-weight: 500;
  color: #3a5a90;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(27, 107, 255, 0.08);
  color: #0f3d9e;
}

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-toggle-label:hover {
  background: rgba(27, 107, 255, 0.1);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f1b2d;
  position: relative;
  border-radius: 4px;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

main {
  padding-top: 2rem;
}

.hero {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0 3rem;
  min-height: 85vh;
}

.hero-logo {
  width: 88px;
  height: auto;
  margin: 0 auto 1.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(27, 107, 255, 0.08);
  color: #0f3d9e;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw + 1rem, 3.4rem);
  margin: 1rem 0 0.5rem;
  color: #0c234b;
}

.hero p.lead {
  font-size: 1.1rem;
  max-width: 760px;
  margin: 0 auto 0.75rem;
  color: #1d3051;
}

.hero p.subtle {
  color: #2f456b;
  margin: 0 auto 1.5rem;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2cb3ff 0%, #1b6bff 50%, #0b2f8c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(27, 107, 255, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(27, 107, 255, 0.35);
  filter: brightness(1.02);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(27, 107, 255, 0.28);
}

.link-secondary {
  font-weight: 600;
  color: #0f3d9e;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

section {
  padding: 4rem 0;
}

section h2 {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.4rem);
  margin-bottom: 0.75rem;
  color: #0c234b;
}

section p {
  color: #1d3051;
  margin: 0.4rem 0;
}

.section-intro {
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.5rem 0 2rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(27, 107, 255, 0.08);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(12, 35, 75, 0.05);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #0f1b2d;
}

.card .emoji {
  font-size: 1.3rem;
}

.device-placeholder {
  margin-top: 1rem;
  padding: 3rem 1.5rem;
  border-radius: 24px;
  border: 1px dashed rgba(27, 107, 255, 0.3);
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
  color: #3a5a90;
  font-weight: 600;
}

.flow-steps {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  position: relative;
  gap: 1.5rem;
  margin-top: 1.4rem;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(27, 107, 255, 0.15), rgba(12, 35, 75, 0.08));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem;
  border: 1px solid rgba(27, 107, 255, 0.08);
  box-shadow: 0 12px 30px rgba(12, 35, 75, 0.05);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2cb3ff, #1b6bff);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 18px rgba(27, 107, 255, 0.28);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.list-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(27, 107, 255, 0.08);
}

.list-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #0f1b2d;
}

.list-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #1d3051;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline-card {
  border: 1px solid rgba(27, 107, 255, 0.15);
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  position: relative;
  box-shadow: 0 10px 24px rgba(12, 35, 75, 0.04);
}

.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(44, 179, 255, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.timeline-card:hover::before {
  opacity: 1;
}

.timeline-card h3 {
  margin: 0 0 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.timeline-card .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2cb3ff, #1b6bff);
}

.privacy {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(27, 107, 255, 0.1);
  border-bottom: 1px solid rgba(27, 107, 255, 0.1);
}

footer {
  padding: 2.5rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  color: #2f456b;
  font-size: 0.95rem;
}

.footer-meta a {
  font-weight: 600;
}

.footer-note {
  color: #4a5d80;
  font-size: 0.92rem;
}

/* Privacy Policy Section */
.privacy-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(27, 107, 255, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.privacy-section h2 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem);
  margin-bottom: 0.5rem;
  color: #0c234b;
}

.privacy-section h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #0f1b2d;
}

.privacy-section h4 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1d3051;
  font-weight: 600;
}

.privacy-section p,
.privacy-section ul {
  margin-bottom: 1rem;
  max-width: 800px;
  color: #1d3051;
  line-height: 1.7;
}

.privacy-section ul {
  padding-left: 1.5rem;
}

.privacy-section ul li {
  margin-bottom: 0.4rem;
}

.privacy-section a {
  color: #1b6bff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.privacy-section a:hover {
  color: #0f3d9e;
}

.privacy-updated {
  margin-bottom: 2rem;
  opacity: 0.8;
  font-size: 0.9rem;
  color: #2f456b;
}

.privacy-disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 107, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.8;
  font-style: italic;
  color: #3a5a90;
}

.nowrap {
  white-space: nowrap;
}

#privacy {
  scroll-margin-top: 80px;
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    border-bottom: 1px solid rgba(27, 107, 255, 0.1);
    display: none;
  }

  #nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-bar {
    align-items: center;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .flow-steps::before {
    display: none;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 5rem 0 4rem;
    min-height: 95vh;
  }

  .hero p.lead {
    font-size: 1.2rem;
  }
}
