:root {
  --blue-start: #0084ff;
  --blue-end: #0057d8;
  --primary: #2563ff;
  --primary-soft: #4f8aff;
  --accent: #00d4ff;
  --text-main: #ffffff;
  --text-dark: #0f172a;
  --muted: #e5edff;
  --card-bg: rgba(5, 31, 80, 0.9);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --shadow-soft: 0 25px 70px rgba(8, 47, 107, 0.5);
  --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  background: radial-gradient(circle at top left, #00b4ff 0, #0066ff 40%, #003c9b 100%);
  color: var(--text-main);
}

/* Layout wrappers */

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 40px 20px;
}

main {
  padding-bottom: 40px;
}

/* HEADER / NAV */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 16px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: opacity 0.15s ease-out;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-login-btn {
  background: var(--primary);
  color: var(--text-main);
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 14px 40px rgba(15, 118, 255, 0.45);
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0 28px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  max-width: 620px;
}

.hero-highlight {
  color: var(--accent);
}

.hero-subtitle {
  margin-top: 16px;
  max-width: 540px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.15s ease-out;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-main);
  box-shadow: 0 18px 45px rgba(15, 118, 255, 0.55);
}

.btn-primary:hover {
  background: var(--primary-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Simple wave block hint */
.hero-wave {
  width: 100%;
  height: 220px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 255, 255, 0.12));
  box-shadow: var(--shadow-soft);
}

/* SECTION TITLES */

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin: 40px 0 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 24px;
}

/* FEATURES */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
  margin-top: 0;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* METRICS ("Made for India") */

.metrics-strip {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  text-align: center;
}

.metric-number {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* TESTIMONIALS */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.testimonial-name {
  margin-top: 14px;
  font-weight: 500;
}

.testimonial-role {
  font-size: 0.86rem;
  color: var(--muted);
}

/* LOGIN CARD */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.login-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-card h2 {
  margin-top: 0;
}

.role-row {
  display: flex;
  gap: 16px;
  margin: 14px 0 16px;
}

.role-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.9rem;
}

/* FORM COMPONENTS */

.input-field,
select {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 12px 16px;
  font-size: 0.96rem;
  outline: none;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  margin-top: 4px;
}

textarea {
  width: 100%;
  border-radius: 16px;
  border: none;
  padding: 12px 14px;
  font-size: 0.95rem;
  outline: none;
  resize: vertical;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-dark);
}

/* DASHBOARD */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 20px;
}

.topbar-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.dashboard-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-card p {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.tag-pill {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.35);
}

/* RESULT BOXES */

.result-box,
pre#bulkResult {
  background: rgba(3, 7, 18, 0.88);
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 255, 0.35);
  min-height: 200px;
  color: #e5e7eb;
  font-size: 0.9rem;
  overflow-y: auto;
}

/* CONSENT */

.consent-row {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.consent-row input {
  margin-right: 6px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-grid,
  .testimonials-grid,
  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-shell {
    padding: 16px;
  }
}
