/* ============ PranaMithra Technologies — Landing page ============ */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-tint: #EFF4FE;
  --ink: #0F172A;
  --body: #475569;
  --muted: #94A3B8;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }

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

.accent { color: var(--blue); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, .30); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.btn-nav { padding: 10px 20px; font-size: 14.5px; }

/* ============ Navigation ============ */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; }
.logo-text { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.logo-sub { display: block; font-weight: 500; font-size: 10.5px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--body); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ============ Hero ============ */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, var(--blue-tint) 0%, #fff 70%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--blue);
  background: #fff;
  border: 1px solid #D7E3FC;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin-bottom: 20px; }
.lead { font-size: 19px; max-width: 34em; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.hero-art svg { width: 100%; height: auto; }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-slim { padding: 48px 0; border-top: 1px solid var(--line); }
.section-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-title.left { text-align: left; }
.section-lead { text-align: center; max-width: 40em; margin: 0 auto 48px; font-size: 17.5px; }

/* ============ Cards ============ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,23,42,.05), 0 14px 34px rgba(15,23,42,.10); }
.card-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-tint); color: var(--blue);
  border-radius: 12px;
  font-size: 21px;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; }

/* ============ Solutions pills ============ */
.pill-grid {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  list-style: none; max-width: 760px; margin: 0 auto;
}
.pill-grid li {
  padding: 12px 22px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  transition: all .18s ease;
}
.pill-grid li:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }

/* ============ Outcomes table ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.outcomes-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.outcomes-table th {
  text-align: left; padding: 16px 24px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 14px; letter-spacing: .03em;
}
.outcomes-table td { padding: 14px 24px; border-top: 1px solid var(--line); }
.outcomes-table td:last-child { color: var(--blue); font-weight: 600; }
.outcomes-table tbody tr:hover { background: var(--bg-alt); }

/* ============ Process ============ */
.process {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  list-style: none; counter-reset: step;
}
.process li { text-align: center; padding: 0 6px; }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0 auto 14px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  font-weight: 700; font-size: 17px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}
.process h3 { font-size: 16.5px; margin-bottom: 6px; }
.process p { font-size: 14px; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.about-grid p { margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li {
  padding: 13px 18px 13px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 17px;
  color: var(--blue); font-weight: 800;
}

/* ============ Tech stack ============ */
.stack-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.stack-list { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; list-style: none; }
.stack-list li { font-weight: 600; font-size: 14.5px; color: var(--muted); }

/* ============ CTA band ============ */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); padding: 80px 0; }
.cta-inner { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 36em; margin: 0 auto 32px; font-size: 17.5px; }

/* ============ Footer ============ */
.footer { background: var(--ink); color: #94A3B8; padding: 56px 0 28px; }
.footer .logo-text { color: #fff; }
.footer .logo-sub { color: #64748B; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 12px; font-size: 14.5px; max-width: 26em; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #CBD5E1; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid #1E293B; font-size: 13.5px; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; }
  .nav-links .btn-nav { text-align: center; margin-top: 8px; }
}
