:root {
  --color-primary: #008080;
  --color-primary-dark: #006666;
  --color-primary-light: #e6f5f5;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-background: #ffffff;
  --color-surface: #f9fafb;
  --color-border: #e5e7eb;
  --color-accent: #f59e0b;
  --radius: 1rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.125rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  border-radius: 0.625rem;
}

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

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

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

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.btn-secondary:hover {
  background-color: #d6eeee;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(
    180deg,
    var(--color-primary-light) 0%,
    var(--color-background) 100%
  );
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

.hero-lead strong {
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Sections */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 3rem;
}

.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Download */
.download {
  padding: 5rem 0;
  background-color: var(--color-surface);
}

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

.download-lead {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.store-badge {
  display: inline-block;
  transition: transform 0.15s ease;
}

.store-badge:hover {
  transform: scale(1.03);
}

.store-badge img {
  display: block;
}

/* Legal page */
.legal-page {
  padding: 3rem 0 5rem;
}

.legal-inner {
  max-width: 760px;
}

.legal-inner h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.legal-updated {
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
}

.legal-inner section {
  margin-bottom: 2rem;
}

.legal-inner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-primary-dark);
}

.legal-inner p {
  margin: 0 0 1rem;
}

.legal-inner ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-inner li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
}

.footer-logo {
  border-radius: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

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

.footer-nav a[aria-current="page"],
.footer-nav a:hover {
  color: var(--color-primary);
}

.copyright {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .main-nav {
    gap: 0.875rem;
    font-size: 0.875rem;
  }

  .brand-name {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
