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

:root {
  --blue: #3B82F6;
  --indigo: #6366F1;
  --bg: #F8FAFC;
  --text: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --white: #ffffff;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 14px !important;
}

/* HERO */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  gap: 64px;
}
.hero-inner { flex: 1; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #EFF6FF, #EEF2FF);
  color: var(--indigo);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid #C7D2FE;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--white);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-android { background: #1a1a2e; }

/* PHONE MOCKUP */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.phone-mockup {
  width: 300px;
  background: var(--text);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.08);
}
.phone-screen {
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  min-height: 520px;
}
.mock-header {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  padding: 24px 20px 20px;
  color: white;
}
.mock-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.mock-sub { font-size: 13px; opacity: .75; }
.mock-tasks { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 12px;
  padding: 10px 10px 10px 0;
  border-left: 3px solid var(--c);
  padding-left: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.task-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.task-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.task-label { font-size: 12px; font-weight: 600; color: #1E293B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-type { font-size: 10px; color: #94A3B8; margin-top: 1px; }
.task-more { font-size: 14px; color: #CBD5E1; flex-shrink: 0; }
.mock-fab {
  margin: 12px;
  background: #3B82F6;
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
}

/* FEATURES */
.features { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.features h2, .why h2, .download h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 56px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.task-card {
  background: var(--bg);
  background-color: var(--bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.task-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.task-icon { font-size: 28px; margin-bottom: 12px; }
.task-name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.task-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* WHY */
.why { background: var(--white); padding: 100px 24px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 0;
}
.why-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* DOWNLOAD */
.download {
  padding: 120px 24px;
  text-align: center;
  background: linear-gradient(135deg, #EFF6FF, #EEF2FF);
}
.download .hero-cta { justify-content: center; }

/* FOOTER */
.footer {
  background: var(--text);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo { -webkit-text-fill-color: white; background: none; color: white; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-copy { color: #64748B; font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 48px 24px; gap: 48px; text-align: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 260px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
