:root {
  --ink: #101828;
  --muted: #667085;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --brand: #d71920;
  --brand-dark: #111827;
  --accent: #d71920;
  --neon: #19a974;
  --violet: #8b1e24;
  --charcoal: #101614;
  --copper: #b45309;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
}

a {
  color: var(--brand);
  text-decoration: none;
}

h1,
h2 {
  font-weight: 300;
  letter-spacing: 0;
}

h3,
h4,
h5,
h6 {
  font-weight: 500;
  letter-spacing: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: min(190px, 52vw);
  padding: 0;
  transition: width .22s ease;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-link {
  position: relative;
  color: #263246;
  font-weight: 500;
  transition: color .2s ease;
}

.nav-link::after {
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .2rem;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.btn {
  border-radius: 6px;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.hero-section,
.page-hero {
  background: linear-gradient(135deg, #eef7f5 0%, #ffffff 48%, #fff4ee 100%);
  border-bottom: 1px solid var(--line);
}

.futuristic-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(52, 211, 153, .22), transparent 28%),
    radial-gradient(circle at 76% 30%, rgba(217, 119, 6, .24), transparent 28%),
    linear-gradient(135deg, #08110f 0%, #101614 52%, #1f241b 100%);
}

.futuristic-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent);
}

.hero-stack {
  position: relative;
  z-index: 1;
}

.futuristic-hero .lead {
  color: #cbd5e1;
}

.futuristic-hero .eyebrow {
  color: var(--neon);
}

.code-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
}

.code-rain span {
  position: absolute;
  color: #a7f3d0;
  font-family: Consolas, monospace;
  font-size: .86rem;
  animation: drift-code 12s linear infinite;
}

.code-rain span:nth-child(1) { left: 8%; top: 14%; }
.code-rain span:nth-child(2) { left: 72%; top: 18%; animation-delay: -3s; }
.code-rain span:nth-child(3) { left: 52%; top: 72%; animation-delay: -6s; }
.code-rain span:nth-child(4) { left: 18%; top: 82%; animation-delay: -8s; }
.code-rain span:nth-child(5) { left: 82%; top: 64%; animation-delay: -4s; }

@keyframes drift-code {
  0% { transform: translateY(18px); opacity: .2; }
  50% { opacity: .8; }
  100% { transform: translateY(-36px); opacity: .2; }
}

.hero-section {
  padding: 92px 0 78px;
}

.page-hero {
  padding: 68px 0;
}

.hero-section h1,
.page-hero h1 {
  max-width: 980px;
  margin: 12px 0 18px;
  font-size: clamp(2.25rem, 4vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 300;
}

.hero-brand-mark {
  display: block;
  width: min(430px, 88vw);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, .28));
}

.page-hero p,
.lead {
  max-width: 760px;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

.search-panel {
  display: flex;
  max-width: 720px;
  gap: 10px;
  padding: 8px;
  margin: 28px 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 32, 51, .08);
}

.glass-search {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  backdrop-filter: blur(16px);
}

.glass-search input {
  color: #fff;
  background: transparent;
}

.glass-search input::placeholder {
  color: #cbd5e1;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.floating-device {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(15, 23, 42, .72);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
  animation: float-card 7s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.laptop-showcase {
  inset: 44px 28px auto 10px;
  min-height: 300px;
  padding-bottom: 18px;
}

.mobile-showcase {
  right: 0;
  bottom: 36px;
  width: 150px;
  height: 258px;
  border-radius: 28px;
  animation-delay: -2s;
}

.erp-card {
  left: 28px;
  bottom: 52px;
  width: 210px;
  padding: 22px;
  animation-delay: -4s;
}

.erp-card strong,
.erp-card span {
  display: block;
}

.erp-card span {
  color: #cbd5e1;
}

.cloud-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  z-index: 2;
  border: 1px solid rgba(52, 211, 153, .6);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 118, 110, .24);
  box-shadow: 0 0 36px rgba(52, 211, 153, .32);
  font-weight: 500;
}

.node-a { right: 28%; top: 10px; }
.node-b { right: 8%; top: 178px; }

.live-dashboard-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px;
}

.live-dashboard-mini div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}

.live-dashboard-mini strong,
.live-dashboard-mini span {
  display: block;
}

.live-dashboard-mini span {
  color: #cbd5e1;
}

.mini-chart {
  grid-column: span 2;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 16px;
  min-height: 118px !important;
  background: rgba(255, 255, 255, .07) !important;
}

.mini-chart span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--neon), var(--copper));
}

.mini-chart span:nth-child(1) { height: 42%; }
.mini-chart span:nth-child(2) { height: 68%; }
.mini-chart span:nth-child(3) { height: 54%; }
.mini-chart span:nth-child(4) { height: 88%; }
.mini-chart span:nth-child(5) { height: 76%; }
}

.phone-notch {
  width: 54px;
  height: 7px;
  margin: 15px auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
}

.mobile-lines {
  display: grid;
  gap: 13px;
  padding: 0 18px;
}

.mobile-lines span {
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
}

.search-panel input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 14px;
  outline: 0;
}

.search-panel button,
.contact-panel button,
.auth-card button {
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  color: #fff;
  background: var(--brand);
  font-weight: 600;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.metric-panel,
.contact-panel,
.auth-card,
.detail-panel,
.faq-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 32, 51, .08);
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
}

.metric-panel div,
.stat-grid div {
  padding: 26px;
  background: #fff;
}

.metric-panel strong,
.stat-grid strong {
  display: block;
  font-size: 2rem;
  color: var(--brand-dark);
}

.metric-panel span,
.stat-grid span {
  color: var(--muted);
}

.section {
  padding: 72px 0;
}

.tech-section {
  background: #fff;
}

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

.tech-card,
.glow-item {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfaf7);
  box-shadow: 0 18px 44px rgba(16, 22, 20, .07);
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tech-card:hover,
.glow-item:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, .7);
  box-shadow: 0 24px 58px rgba(15, 118, 110, .14), 0 0 30px rgba(52, 211, 153, .16);
}

.dark-band {
  color: #fff;
  background: #101614;
}

.dark-band .section-heading h2,
.dark-band .eyebrow {
  color: #fff;
}

.product-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 390px);
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
}

.showcase-card {
  scroll-snap-align: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .25);
}

.showcase-card p {
  color: #cbd5e1;
}

.showcase-card strong {
  display: block;
  margin: 14px 0;
}

.product-shot {
  height: 210px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #101614, #334139);
}

.shot-top {
  height: 42px;
  background: rgba(255,255,255,.12);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.shot-grid span {
  display: grid;
  align-content: center;
  height: 58px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.16);
}

.shot-grid b,
.shot-grid em {
  display: block;
  font-style: normal;
}

.shot-grid b {
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 500;
}

.shot-grid em {
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}

.pharmacy-erp { background: linear-gradient(135deg, #064e3b, #0f766e); }
.microfinance-erp { background: linear-gradient(135deg, #292524, #a16207); }
.school-erp { background: linear-gradient(135deg, #12312d, #0f766e); }
.online-exam-platform { background: linear-gradient(135deg, #431407, #ea580c); }
.gst-billing { background: linear-gradient(135deg, #134e4a, #14b8a6); }
.hyperlocal-delivery-app { background: linear-gradient(135deg, #1c1917, #65a30d); }
.e-commerce-solutions { background: linear-gradient(135deg, #1f2937, #b45309); }
.clinic-management { background: linear-gradient(135deg, #14532d, #15803d); }

.dashboard-preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #fff;
  background: #101614;
  box-shadow: 0 28px 72px rgba(16, 22, 20, .20);
}

.dashboard-preview.light-preview {
  color: var(--ink);
  background: #ffffff;
}

.dashboard-preview.light-preview .kpi-strip div,
.dashboard-preview.light-preview .chart-card,
.dashboard-preview.light-preview .activity-feed {
  border-color: var(--line);
  background: #fbfaf7;
}

.dashboard-preview.light-preview .kpi-strip span,
.dashboard-preview.light-preview .activity-feed p {
  color: var(--muted);
}

.dashboard-preview.light-preview .activity-feed p {
  background: #fff;
}

.dashboard-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
}

.mode-toggle {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  color: #cbd5e1;
  background: rgba(255,255,255,.08);
  padding: 8px 12px;
}

.mode-toggle.active {
  color: #fff;
  background: var(--brand);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.kpi-strip div {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.07);
}

.kpi-strip span,
.activity-feed p {
  color: #cbd5e1;
}

.kpi-strip strong {
  display: block;
  font-size: 1.7rem;
}

.kpi-strip small {
  display: block;
  margin-top: 8px;
  color: #86efac;
  font-size: .8rem;
}

.chart-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr .9fr;
  gap: 14px;
}

.chart-card,
.activity-feed {
  min-height: 240px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}

.chart-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.chart-title strong {
  font-weight: 500;
}

.chart-title span {
  color: #cbd5e1;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  min-height: 176px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.bar-chart span {
  position: relative;
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #f59e0b, var(--brand));
  box-shadow: 0 -12px 28px rgba(52, 211, 153, .12);
}

.bar-chart em {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  color: #cbd5e1;
  font-size: .75rem;
  font-style: normal;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.line-chart polyline {
  fill: none;
  stroke: var(--neon);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-chart circle {
  fill: #f59e0b;
  stroke: #fff;
  stroke-width: 3;
}

.activity-feed p {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.ai-section {
  background: linear-gradient(180deg, #fbfaf7, #fff);
}

.trust-section {
  background: #101614;
}

.trust-counters > div {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}

.trust-counters strong {
  color: #fff;
}

.trust-counters p {
  color: #cbd5e1;
}

.contact-cta {
  color: #fff;
  background: linear-gradient(135deg, #12312d, #101614);
}

.contact-cta p {
  color: #cbd5e1;
}

.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 300;
  line-height: 1.12;
}

.compact h2 {
  font-size: 2rem;
}

.card-grid,
.pricing-grid,
.trust-grid,
.feature-grid,
.quote-grid,
.stat-grid,
.admin-modules {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid,
.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid,
.feature-grid,
.stat-grid,
.admin-modules {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.price-card,
.trust-grid > div,
.feature-item,
.quote-grid blockquote,
.admin-modules > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card h3,
.price-card h3,
.news-row h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.product-card p,
.price-card p,
.trust-grid p,
.news-row p,
.site-footer p,
.auth-card p {
  color: var(--muted);
}

.badge-soft,
.category-row a,
.chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #e8f4f2;
  color: var(--brand-dark);
  font-size: .86rem;
  font-weight: 500;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 500;
}

.price-card strong {
  display: block;
  margin: 12px 0;
  font-size: 2rem;
}

.price-card.highlight {
  border: 2px solid var(--brand);
  box-shadow: 0 18px 44px rgba(15, 118, 110, .12);
}

.chip-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.testimonials {
  background: #10202d;
  color: #fff;
}

.testimonials .eyebrow,
.testimonials h2 {
  color: #fff;
}

.quote-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-grid blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.quote-grid span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: .95rem;
}

.news-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-row span {
  color: var(--accent);
  font-weight: 500;
}

.contact-panel {
  padding: 30px;
}

.contact-panel form,
.auth-card form {
  display: grid;
  gap: 12px;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea,
.auth-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
}

.contact-panel textarea {
  min-height: 130px;
}

.wide {
  max-width: 780px;
}

.category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.category-row a.active {
  background: var(--brand);
  color: #fff;
}

.screenshot-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 32, 51, .08);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccd5df;
}

.mock-dashboard {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 360px;
}

.mock-sidebar {
  background: var(--brand-dark);
}

.mock-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 24px;
  background: var(--soft);
}

.mock-content div {
  min-height: 126px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.detail-panel,
.faq-panel {
  padding: 28px;
}

.platform-table {
  border: 1px solid var(--line);
  background: #fff;
}

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: 72vh;
  padding: 50px 16px;
  background: var(--soft);
}

.auth-card {
  width: min(100%, 440px);
  padding: 32px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 78vh;
  background: var(--soft);
}

.dashboard-layout aside {
  padding: 28px;
  background: #10202d;
  color: #fff;
}

.dashboard-layout aside a {
  display: block;
  margin: 12px 0;
  color: #d1fae5;
}

.dashboard-layout > div {
  padding: 34px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-modules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.site-footer {
  padding: 48px 0 26px;
  color: #cbd5e1;
  background: #101828;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #e2e8f0;
}

.site-footer h5,
.site-footer h6 {
  color: #fff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #94a3b8;
}

.legal {
  max-width: 900px;
}

@media (max-width: 991px) {
  .card-grid,
  .pricing-grid,
  .trust-grid,
  .feature-grid,
  .stat-grid,
  .admin-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .tech-grid,
  .kpi-strip,
  .chart-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .page-hero,
  .section {
    padding: 44px 0;
  }

  .search-panel {
    flex-direction: column;
  }

  .search-panel button {
    width: 100%;
  }

  .card-grid,
  .pricing-grid,
  .trust-grid,
  .feature-grid,
  .quote-grid,
  .stat-grid,
  .admin-modules,
  .metric-panel,
  .tech-grid,
  .kpi-strip,
  .chart-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .laptop-showcase {
    left: 0;
    right: 0;
  }

  .mobile-showcase {
    right: 10px;
  }

  .dashboard-layout > div,
  .dashboard-layout aside {
    padding: 22px;
  }

  .mock-dashboard {
    grid-template-columns: 82px 1fr;
  }
}

/* Corporate software-company homepage for Nongin Technologies */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(90deg, rgba(49, 0, 57, .84), rgba(145, 18, 133, .66)),
    url("../images/banners/header-pink-ai.jpeg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 22px rgba(80, 0, 90, .22);
  backdrop-filter: blur(18px);
  transition: background .22s ease, box-shadow .22s ease;
}

.site-header .navbar {
  min-height: 62px;
  padding-block: 6px;
  transition: min-height .22s ease, padding .22s ease;
}

.site-header .nav-link {
  color: #fff;
  padding-block: .42rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: #fff8ed;
}

.site-header .nav-link::after {
  background: #fff;
}

.site-header .btn-primary {
  color: #8a0f86;
  background: #fff;
  border-color: #fff;
}

.site-header.is-compact {
  background:
    linear-gradient(90deg, rgba(49, 0, 57, .92), rgba(145, 18, 133, .76)),
    url("../images/banners/header-pink-ai.jpeg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(80, 0, 90, .28);
}

.site-header.is-compact .navbar {
  min-height: 48px;
  padding-block: 2px;
}

.site-header.is-compact .brand-logo {
  width: min(148px, 48vw);
}

.site-header.is-compact .nav-link {
  font-size: .92rem;
}

.tatva-hero {
  position: relative;
  padding: 82px 0 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .94), rgba(17, 24, 39, .70)),
    var(--banner-image),
    linear-gradient(135deg, #111827, #2a2f38);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.tatva-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .38;
}

.tatva-hero .container {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-block;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tatva-hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
  font-weight: 300;
}

.tatva-hero p {
  max-width: 720px;
  color: #e5e7eb;
  font-size: 1.14rem;
  line-height: 1.75;
}

.corporate-visual {
  position: relative;
  min-height: 380px;
}

.visual-window {
  position: absolute;
  inset: 28px 0 42px 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  box-shadow: 0 26px 70px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(18px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.corporate-visual:hover .visual-window {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 34px 86px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.34);
}

.visual-header {
  height: 54px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.visual-body {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 24px;
}

.visual-dashboard-lines {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: min(250px, 72%);
}

.visual-dashboard-lines span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  background: rgba(17, 24, 39, .42);
  backdrop-filter: blur(12px);
  font-size: .82rem;
}

.visual-badge {
  position: absolute;
  right: 10px;
  bottom: 0;
  padding: 18px 22px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 18px 38px rgba(215, 25, 32, .35);
  font-weight: 700;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 -12px 32px rgba(0,0,0,.16);
}

.proof-strip div {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.proof-strip strong {
  display: block;
  color: var(--brand);
  font-size: 2.25rem;
  font-weight: 400;
}

.proof-strip span {
  color: var(--muted);
}

.corp-section {
  position: relative;
  padding: 82px 0;
  background: #fff;
}

.corp-section > .container {
  position: relative;
  z-index: 1;
}

.banner-bg {
  --banner-image: none;
  background-image: var(--banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-01 { --banner-image: url("../images/banners/01-erp-cloud.jpeg"); }
.banner-02 { --banner-image: url("../images/banners/02-business-analytics.jpeg"); }
.banner-03 { --banner-image: url("../images/banners/03-technology-pattern.jpeg"); }
.banner-04 { --banner-image: url("../images/banners/04-cloud-automation.jpeg"); }
.banner-05 { --banner-image: url("../images/banners/05-desktop-cloud.jpeg"); }
.banner-06 { --banner-image: url("../images/banners/06-erp-planning.jpeg"); }
.banner-07 { --banner-image: url("../images/banners/07-team-work.jpeg"); }

.light-banner,
.dark-image-band,
.service-banner {
  overflow: hidden;
}

.light-banner::before,
.service-banner::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, .86);
}

.service-banner::before {
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
}

.dark-image-band {
  color: #fff;
  background-color: #111827;
}

.dark-image-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17,24,39,.93), rgba(17,24,39,.74));
}

.dark-image-band .corp-heading h2,
.dark-image-band .corp-heading p,
.dark-image-band .section-kicker,
.dark-image-band h2,
.dark-image-band p {
  color: #fff;
}

.dark-image-band .case-card,
.dark-image-band .corp-card {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  color: #fff;
  backdrop-filter: blur(10px);
}

.dark-image-band .case-card h3,
.dark-image-band .corp-card h3 {
  color: #fff;
}

.dark-image-band .case-card p,
.dark-image-band .corp-card p {
  color: #e5e7eb;
}

.light-banner .corp-card,
.light-banner .industry-list span,
.light-banner .testimonial-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
}

.muted-section {
  background: #f7f7f7;
}

.corp-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.corp-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.corp-heading h2,
.split-section h2,
.technology-band h2,
.global-section h2,
.proposal-cta h2 {
  margin: 10px 0 14px;
  color: #111827;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  font-weight: 300;
}

.corp-heading p,
.split-section p,
.technology-band p,
.global-section p,
.proposal-cta p {
  color: var(--muted);
  line-height: 1.75;
}

.service-grid,
.case-grid,
.approach-grid,
.why-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid,
.approach-grid,
.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.corp-card,
.case-card,
.why-grid > div {
  min-height: 100%;
  padding: 28px;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.corp-card:hover,
.case-card:hover,
.why-grid > div:hover {
  transform: translateY(-7px);
  border-color: rgba(215,25,32,.32);
  background: rgba(255,255,255,.92);
  box-shadow: 0 26px 64px rgba(17, 24, 39, .12);
}

.feature-elaboration-section {
  background: #fff;
}

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

.feature-elaboration-card {
  border-top: 4px solid var(--brand);
}

.feature-elaboration-card h3 {
  color: #111827;
  font-size: 1.18rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
}

.corp-card h3,
.case-card h3 {
  margin-bottom: 12px;
  color: #111827;
  font-size: 1.16rem;
  font-weight: 500;
}

.corp-card p,
.case-card p,
.why-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.case-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.industry-list,
.technology-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-list span,
.technology-tags span,
.map-panel span {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 500;
}

.technology-band {
  background: #111827;
  color: #fff;
}

.technology-band h2 {
  color: #fff;
}

.technology-band p {
  color: #d1d5db;
}

.technology-tags span {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.tech-illustration {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tech-illustration div {
  display: grid;
  place-items: center;
  min-height: 140px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  font-size: 1.4rem;
  font-weight: 600;
}

.testimonial-card {
  margin: 0;
  padding: 34px;
  border-left: 5px solid var(--brand);
  background: #fff;
  box-shadow: 0 22px 54px rgba(17, 24, 39, .08);
  color: #374151;
  font-size: 1.15rem;
  line-height: 1.8;
}

.testimonial-card span {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: .95rem;
}

.why-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 1.28rem;
  font-weight: 500;
}

.global-section {
  background: #fff;
}

.map-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 280px;
  padding: 34px;
  background:
    radial-gradient(circle at 30% 30%, rgba(215,25,32,.12), transparent 28%),
    radial-gradient(circle at 74% 62%, rgba(17,24,39,.12), transparent 28%),
    #f7f7f7;
}

.map-panel span {
  align-self: center;
  text-align: center;
  background: #fff;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.faq-list details:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 4px;
  color: #111827;
  font-weight: 500;
}

.faq-list p {
  padding: 0 4px 22px;
  color: var(--muted);
}

.proposal-cta {
  padding: 72px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #111827, #2a1113);
}

.proposal-cta h2,
.proposal-cta p {
  color: #fff;
}

.proposal-cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #e5e7eb;
}

.proposal-form-panel {
  max-width: 560px;
  margin-left: auto;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.proposal-form-panel textarea {
  min-height: 112px;
}

@media (max-width: 991px) {
  .service-grid,
  .case-grid,
  .approach-grid,
  .why-grid,
  .proof-strip,
  .feature-elaboration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corporate-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .tatva-hero,
  .corp-section,
  .proposal-cta {
    padding: 48px 0;
  }

  .service-grid,
  .case-grid,
  .approach-grid,
  .why-grid,
  .proof-strip,
  .map-panel,
  .feature-elaboration-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 40px;
  }

  .visual-window {
    left: 0;
  }
}

.corp-section.banner-bg {
  background-image: var(--banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.corp-section.dark-image-band,
.corp-section.light-banner,
.corp-section.service-banner {
  background-image: var(--banner-image);
}

