:root {
  --blue: #4F46E5;
  --blue-dark: #4338CA;
  --blue-light: #EEF2FF;
  --text: #111827;
  --text-muted: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --border: #E5E7EB;
  --green: #059669;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--text); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: #fff !important; }

/* ── Hero ── */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, #F0F4FF 0%, #FFFFFF 60%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto 20px;
}
.hero h1 span { color: var(--blue); }
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-secondary {
  background: #fff;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: var(--bg-alt); border-color: #D1D5DB; }

.hero-price-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── App screenshot ── */
.screenshot-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.screenshot-frame {
  background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.mock-app {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.mock-toolbar {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.mock-btn {
  background: #F0F4FF;
  color: #4F46E5;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
}
.mock-body { display: flex; height: 340px; }
.mock-sidebar {
  width: 160px;
  border-right: 1px solid #E2E8F0;
  padding: 8px;
  background: #FAFBFD;
  overflow: hidden;
}
.mock-group-label {
  font-size: 9px;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 4px 2px;
}
.mock-op {
  padding: 5px 8px;
  border-radius: 5px;
  color: #374151;
  margin-bottom: 1px;
  cursor: default;
}
.mock-op.active { background: #EEF2FF; color: #3730A3; }
.mock-table { flex: 1; overflow: hidden; }
.mock-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.mock-table th {
  background: #F0F4FF;
  font-weight: 600;
  padding: 6px 8px;
  text-align: left;
  border-bottom: 2px solid #C7D2FE;
  white-space: nowrap;
}
.mock-table td {
  padding: 5px 8px;
  border-bottom: 1px solid #F3F4F6;
  color: #374151;
  white-space: nowrap;
}
.mock-table tr:nth-child(even) td { background: #FAFBFD; }
.cell-empty { color: #D1D5DB !important; font-style: italic; }
.mock-stats {
  width: 180px;
  border-left: 1px solid #E2E8F0;
  padding: 8px 10px;
  background: #fff;
  overflow: hidden;
}
.mock-stats .stat-title { font-weight: 700; font-size: 11px; margin-bottom: 6px; }
.mock-stats .stat-row { display: flex; justify-content: space-between; font-size: 10px; margin-bottom: 3px; color: #6B7280; }
.mock-stats .stat-row b { color: #111827; }

/* ── Social proof ── */
.social-proof {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.social-proof strong { color: var(--text); }

/* ── Features ── */
.features { padding: 80px 24px; }
.features h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.features-sub { text-align: center; color: var(--text-muted); margin-bottom: 56px; max-width: 520px; margin-left: auto; margin-right: auto; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Operations list ── */
.ops-section { background: var(--bg-alt); padding: 80px 24px; border-top: 1px solid var(--border); }
.ops-section h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 40px auto 0;
}
.op-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.op-item .op-icon { font-size: 1.1rem; margin-top: 1px; }
.op-item strong { font-size: 0.875rem; display: block; margin-bottom: 2px; }
.op-item span { font-size: 0.8rem; color: var(--text-muted); }

/* ── Use cases ── */
.use-cases { padding: 80px 24px; }
.use-cases h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 48px; letter-spacing: -0.02em; }
.use-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.use-case { border-left: 3px solid var(--blue); padding: 0 0 0 20px; }
.use-case h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.use-case p { font-size: 0.875rem; color: var(--text-muted); }

/* ── Pricing ── */
.pricing { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 80px 24px; text-align: center; }
.pricing h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.pricing .pricing-sub { color: var(--text-muted); margin-bottom: 48px; }
.pricing-card {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 20px;
  padding: 48px 56px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-amount { font-size: 4rem; font-weight: 800; color: var(--blue); letter-spacing: -0.04em; }
.price-amount sup { font-size: 1.5rem; vertical-align: top; margin-top: 12px; display: inline-block; }
.price-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.price-note { font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 32px; }
.price-features { list-style: none; text-align: left; margin-bottom: 36px; }
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li:last-child { border-bottom: none; }
.check { color: var(--green); font-weight: 700; }

/* ── FAQ ── */
.faq { padding: 80px 24px; max-width: 720px; margin: 0 auto; }
.faq h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 48px; letter-spacing: -0.02em; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.faq-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-section p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 36px; }
.btn-white {
  background: #fff;
  color: var(--blue);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.2s;
  display: inline-block;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── Footer ── */
footer {
  background: #111827;
  color: #9CA3AF;
  padding: 32px 24px;
  text-align: center;
  font-size: 0.85rem;
}
footer a { color: #6B7280; text-decoration: none; }
footer a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 64px 16px 48px; }
  .nav-links { display: none; }
  .pricing-card { padding: 36px 24px; }
  .mock-stats { display: none; }
}
