/* Meshteq.ai minimal styles - responsive, app-like, analytic */

/* Colour tokens */
:root {
  --bg: #020617;          /* very dark slate */
  --bg-alt: #0f172a;      /* dark slate */
  --surface: #ffffff;     /* main card / page bg */
  --surface-alt: #f8fafc; /* light alt section */
  --text: #020617;        /* primary text */
  --muted: #64748b;       /* slate-500/600 */
  --border: #e5e7eb;      /* grey-200 */
  --brand: #2563eb;       /* blue-600 */
  --accent: #06b6d4;      /* cyan/turquoise-500 */
  --accent-soft: #e0f7fb; /* light cyan bg */
  --chip-bg: #0f172a;
  --good: #22c55e;        /* green-500 */
  --warn: #f97316;        /* orange-500 */
}

/* Reset / base */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-chip {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, var(--accent), var(--brand));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 16px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-weight: 700;
  font-size: 18px;
}
.brand-dot {
  color: var(--accent);
}
.brand-tagline {
  font-size: 12px;
  color: var(--muted);
}
.nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover {
  color: var(--text);
}
.nav-login {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #0b1120, #020617 55%);
  color: #e5e7eb;
  padding: 80px 0;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.hero .lead {
  max-width: 720px;
  color: #cbd5e1;
  margin: 0 0 16px;
}
.hero-bullets {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 14px;
}
.hero-bullets li::before {
  content: "• ";
  color: var(--accent);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(15,23,42,0.4);
}
.btn.primary:hover {
  filter: brightness(1.05);
}
.btn.ghost {
  background: transparent;
  border-color: #334155;
  color: #e2e8f0;
}
.btn.ghost:hover {
  border-color: #cbd5e1;
}

/* Sections */
.section {
  padding: 64px 0;
}
.section.alt {
  background: var(--surface-alt);
}
.section h2 {
  font-size: 24px;
  margin: 0 0 10px;
}
.section-intro {
  max-width: 720px;
  color: var(--muted);
  margin: 0 0 22px;
}

/* Grid & cards */
.grid.two {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
.cards.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 18px;
}
.card p {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--muted);
}
.card.highlighted {
  border-color: var(--brand);
  box-shadow: 0 10px 25px rgba(37,99,235,0.14);
}

/* Lists */
.checklist,
.facts,
.bullets,
.contact {
  padding-left: 18px;
}
.checklist li,
.bullets li {
  margin: 6px 0;
}

/* Note / info box */
.note {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  padding: 18px;
}
.note h3 {
  margin-top: 0;
}

/* Metrics panel to give "app" feel */
.metrics-panel {
  background: rgba(15,23,42,0.9);
  border-radius: 18px;
  border: 1px solid #1e293b;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.8);
}
.metrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: #94a3b8;
}
.metrics-title {
  font-weight: 600;
  color: #e2e8f0;
}
.metrics-env {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid #1e293b;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.metric {
  background: rgba(15,23,42,0.85);
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #1e293b;
}
.metric-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}
.metric-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
  color: #e5e7eb;
}
.metric-value.good {
  color: var(--good);
}
.metric-value.warn {
  color: var(--warn);
}
.metric-value.accent {
  color: var(--accent);
}
.metric-sub {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}
.metrics-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid #1e293b;
  color: #e5e7eb;
}

/* Packages */
.package-duration {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

/* Contact */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 10px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea {
  padding: 9px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
}
.contact {
  list-style: none;
}
.contact li {
  margin-bottom: 4px;
}
.contact a {
  color: var(--brand);
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}
.parent-note {
  font-size: 13px;
  color: var(--muted);
}

/* How grid */
.how-grid {
  align-items: flex-start;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
}
.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.footer-meta {
  display: flex;
  gap: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
  .cards.three {
    grid-template-columns: 1fr 1fr;
  }
  .metrics-panel {
    margin-top: 10px;
  }
}
@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .cards.three {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0;
  }
  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }
}
