:root {
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --card: #ffffff;
  --card-dark: #1e293b;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --border: #e2e8f0;
  --shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
  --radius-lg: 28px;
  --radius-md: 16px;
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 12px;
}

nav img {
  height: 48px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 60px 0 80px;
  align-items: center;
}

.hero-card {
  background: linear-gradient(135deg, #0f172a, #172554 50%, #1d4ed8);
  color: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card h1 {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  margin-top: 0;
  margin-bottom: 18px;
}

.hero-card p {
  font-size: 1.2rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: white;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

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

.device-frame {
  background: var(--card);
  border-radius: 40px;
  padding: 24px;
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
  max-width: 420px;
  justify-self: center;
}

.device-frame img {
  width: 100%;
  border-radius: 24px;
}

.section {
  margin-bottom: 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin: 0;
}

.section-header p {
  max-width: 540px;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
}

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

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.screenshots img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.callout {
  background: #e0ecff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.support-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.support-cta img {
  width: 100%;
  max-width: 380px;
  justify-self: center;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--text-muted);
}

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

.legal {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px dashed var(--border);
}

.legal h3 {
  margin-top: 0;
}

@media (max-width: 720px) {
  nav {
    flex-direction: column;
    gap: 12px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-card {
    padding: 32px;
  }
  .hero {
    padding-top: 32px;
  }
}
