:root {
  --bg: #f8faf9;
  --bg-soft: #f0f4f2;
  --surface: #ffffff;
  --text: #064e3b;
  --text-soft: #374151;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --primary: #065f46;
  --primary-light: #10b981;
  --primary-dark: #044e3a;
  --accent: #34d399;
  --shadow-sm: 0 1px 3px rgba(6, 94, 70, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(6, 94, 70, 0.08), 0 8px 10px -6px rgba(6, 94, 70, 0.05);
  --shadow-lg: 0 20px 50px -12px rgba(6, 94, 70, 0.15);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1140px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand img { border-radius: 10px; }
.brand-name strong { color: var(--primary); font-weight: 800; }

.site-nav { display: flex; gap: 32px; }
.site-nav a {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--primary); }

/* ===== Hero ===== */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  background: radial-gradient(circle at top, #ecfdf5 0%, var(--bg) 100%);
}

.hero-inner { max-width: 800px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: #d1fae5;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 40px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(6, 94, 70, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(6, 94, 70, 0.4);
}

.btn-ghost {
  background: white;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-soft);
}

/* ===== Apps Grid ===== */
.apps { padding: 100px 0; }

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--text-soft);
  font-size: 1.1rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.app-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.app-card--active {
  cursor: pointer;
}
.app-card--active:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.app-card--soon {
  background: var(--bg-soft);
  border-style: dashed;
  opacity: 0.8;
}

.app-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.app-card--active:hover .app-icon {
  background: var(--primary);
  color: white;
}

.app-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.app-body p {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 32px;
}

.app-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.app-link svg { transition: transform 0.2s ease; }
.app-link:hover svg { transform: translateX(4px); }

.badge {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #e2e8f0;
  color: #64748b;
  padding: 6px 12px;
  border-radius: 99px;
  display: inline-block;
  width: fit-content;
}

/* ===== Footer ===== */
.site-footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 60px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-nav a {
  font-weight: 500;
  color: var(--text-soft);
}
.footer-nav a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .apps-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
