* {
  box-sizing: border-box;
}
:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb; /* blue */
  --secondary: #7c3aed; /* purple */
  --success: #16a34a; /* green */
  --warning: #f59e0b; /* amber */
  --danger: #dc2626; /* red */
  --slate: #334155;
  --surface: #f8fafc; /* slate-50 */
  --card: #ffffff;
  --border: #e5e7eb;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 36px;
  height: 32px;
  border-radius: 6px;
}
.brand-name {
  font-weight: 800;
  color: var(--slate);
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.nav .btn.small {
  padding: 8px 12px;
  font-size: 13px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  margin: 4px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.05s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.btn-secondary {
  background: #eef2ff;
  color: var(--secondary);
}
.btn.outline {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eff6ff, #ffffff);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 60px 0;
}
.hero-copy h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hero-copy p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--secondary);
  font-weight: 700;
}
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  width: 240px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}
.gradient-mask {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none;
}

/* Sections */
.section {
  padding: 56px 0;
}
.section.alt {
  background: var(--surface);
}
.section-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 24px;
}
.section-inner {
  display: grid;
  gap: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.04);
}
.card h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.card-icon.blue {
  background: #dbeafe;
  color: var(--primary);
}
.card-icon.green {
  background: #dcfce7;
  color: var(--success);
}
.card-icon.purple {
  background: #f3e8ff;
  color: var(--secondary);
}
.card-icon.amber {
  background: #fef3c7;
  color: var(--warning);
}
.card-icon.orange {
  background: #ffedd5;
  color: #ea580c;
}
.card-icon.slate {
  background: #e2e8f0;
  color: var(--slate);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.split-copy h2 {
  font-size: 28px;
  margin: 0 0 12px;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.list li {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
}
.device-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
  display: grid;
  place-items: center;
}
.device-card img {
  width: 160px;
}

/* Download */
.download {
  text-align: center;
}
.store-buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.store-btn img {
  width: 18px;
  height: 18px;
}
.store-btn.outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-inner {
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 14px;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-art {
    order: -1;
  }
  .hero-art img {
    width: 180px;
    margin: 0 auto;
  }
}
@media (max-width: 840px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.08);
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle {
    display: inline-block;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
