:root {
  --bg: #0f1419;
  --surface: #1a222c;
  --text: #e8eef4;
  --muted: #8b9aab;
  --accent: #3dd6c3;
  --accent-dim: #2a9d8f;
  --border: #2a3544;
  --font: "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-main a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-main a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.lang-switch button {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--text);
  border-color: var(--muted);
}

.lang-switch button.is-active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Layout ── */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 4rem 0 5rem;
  border-top: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: default;
  text-decoration: none !important;
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg) !important;
  text-decoration: none !important;
}

/* ── Motivation ── */

.motivation-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.motivation-text {
  max-width: 40rem;
}

.motivation-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
}

.motivation-text p {
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.7;
}

.motivation-values {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .motivation-values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.value-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.value-item h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--accent);
}

.value-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Product showcase (Apple-style alternating) ── */

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.showcase-item--reverse {
  flex-direction: row-reverse;
}

.showcase-text {
  flex: 1;
}

.showcase-text h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.showcase-text p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.showcase-visual {
  flex: 0 0 220px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 200px;
  height: 400px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 28px;
  padding: 12px;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.placeholder-screen {
  background: linear-gradient(135deg, var(--border), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 639px) {
  .showcase-item,
  .showcase-item--reverse {
    flex-direction: column;
    text-align: center;
  }

  .showcase-visual {
    flex: none;
  }

  .phone-frame {
    width: 160px;
    height: 320px;
  }
}

/* ── Hardware section ── */

.hardware-showcase {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.hardware-visual {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.ring-placeholder {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface), var(--border));
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.hardware-specs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spec-item {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.spec-item h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  color: var(--accent);
}

.spec-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hardware-cta {
  text-align: center;
}

.hardware-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

@media (max-width: 639px) {
  .hardware-showcase {
    flex-direction: column;
    text-align: center;
  }

  .hardware-visual {
    flex: none;
  }

  .ring-placeholder {
    width: 180px;
    height: 180px;
  }
}

/* ── Download with QR ── */

.download-section h2 {
  text-align: center;
}

.download-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.download-qr {
  text-align: center;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0 auto;
}

.qr-hint {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.download-links {
  text-align: center;
}

.download-links p {
  color: var(--muted);
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

@media (max-width: 639px) {
  .download-block {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ── Footer ── */

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted);
}

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

.footer-sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.site-footer p {
  margin: 0;
}

/* ── Subpages (privacy, terms, support) ── */

.page-privacy main {
  padding-top: 1rem;
}

.page-privacy .prose {
  max-width: 40rem;
}

.page-privacy .prose p {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 500;
}
