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

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 8px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo span { color: var(--primary); }

nav { display: flex; gap: 28px; }

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}

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

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 14px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background .15s, transform .1s;
}

.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--ink);
  margin-left: 12px;
}

.btn-outline:hover { background: var(--surface); }

/* ── Apps ── */
.apps {
  padding: 80px 0;
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 52px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.app-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(37,99,235,.08);
  transform: translateY(-2px);
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.app-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.app-card p {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 20px;
}

.app-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-link:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color .15s;
}

.footer-inner a:hover { color: var(--ink); }

@media (max-width: 640px) {
  nav { display: none; }
  .btn-outline { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
