
:root{

  --bg:        #f5f6f5;
  --surface:   #ffffff;
  --ink:       #14181f;
  --ink-soft:  #4a5563;
  --steel:     #2c3846;
  --steel-2:   #5b6b7c;
  --plasma:    #832b71; 
  --plasma-ink:#631f55;
  --plasma-tint: #f7e9f1;
  --line:      #e1e4e8;
  --line-2:    #cbd0d6;
  --ok:        #3a6b4f;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 1180px;
  --radius: 3px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body{
  max-width: 100%; 
  overflow-x: clip;
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; letter-spacing:-0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline: 2px solid var(--plasma); outline-offset: 2px; }


.page-wrapper {
  overflow-x: clip;
  width: 100%;
  position: relative;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plasma-ink);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:16px; height:1px;
  background: var(--plasma);
  display:inline-block;
}

section{ padding: 56px 0; }
@media (max-width: 720px){ section{ padding: 36px 0; } }

.section-head{
  max-width: 820px;
  margin: 0 auto 36px auto;
  text-align: center;
}
.section-head .eyebrow {
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* Sleek, symmetric branding lines on both sides of the subtitle */
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--plasma);
  display: inline-block;
}

/* We override the left-aligned arrow on centered subheadings */
.section-head .eyebrow::before {
  content: ""; 
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.section-head p { 
  color: var(--ink-soft); 
  font-size: 1.02rem; 
  line-height: 1.6;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 13px 24px;
  font-size: 0.94rem;
  font-weight:600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--plasma);
  color: #fff;
}
.btn-primary:hover{ background: var(--plasma-ink); }
.btn-outline{
  background:transparent;
  border-color: var(--line-2);
  color: var(--steel);
}
.btn-outline:hover{ border-color: var(--steel); }
.btn-ghost{
  background:transparent;
  color: var(--steel);
  padding: 13px 8px;
}
.btn-ghost span{ border-bottom: 1px solid var(--line-2); padding-bottom:2px; }
.btn-ghost:hover span{ border-color: var(--steel); }

/* ---------- nav ---------- */
.nav{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(245,246,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-display);
  font-weight:600;
  font-size:1.02rem;
  color: var(--steel);
}
.brand-mark{
  width:30px;height:30px;flex:none;
}
.brand-logo {
  height: 44px; /* Adjust this value to make it larger or smaller */
  width: auto;
  flex: none;
}
.brand small{
  display:block;
  font-family: var(--font-mono);
  font-weight:400;
  font-size:10px;
  letter-spacing:.08em;
  color: var(--steel-2);
  text-transform:uppercase;
}
.nav-links{
  display:flex;
  gap:32px;
  align-items:center;
}
.nav-links a{
  font-size:.92rem;
  color: var(--steel-2);
  font-weight:500;
}
.nav-links a:hover{ color: var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none;
  background:none;border:none;
  width:36px;height:36px;
  align-items:center;justify-content:center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{
  content:"";
  display:block;
  width:20px;height:1.5px;
  background: var(--steel);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span{ margin:5px 0; }

@media (max-width: 880px){
  .nav-links {
    position: fixed;
    top: 72px; /* Starts exactly below the header */
    left: 0;
    width: 100%;
    height: calc(100vh - 72px); /* Explicitly fills the remaining screen height */
    background: #ffffff; /* Forces a solid, opaque white background */
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px; /* Generous, premium padding */
    gap: 28px; /* Clean spacing between links */
    transform: translateX(100%);
    visibility: hidden; /* 1. NEW: Fully hides the menu from browser scroll metrics when closed */
    transition: transform 0.25s ease, visibility 0.25s ease;
    border-top: 1px solid var(--line);
    z-index: 999; /* 2. NEW: Sits on top of the hero content and stats */
  }
  
  .nav-links.open {
    transform: translateX(0);
    visibility: visible; /* Makes the menu visible when toggled */
  }
  
  .nav-links a {
    font-size: 1.15rem; /* Larger, easier to tap targets on mobile */
    color: var(--ink);
    font-weight: 600;
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.03); /* Elegant divider lines between menu links */
  }
  
  .nav-toggle {
    display: flex;
    flex-direction: column;
  }
  
  .nav .btn-outline {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 85vh; /* Makes the hero section take up most of the screen */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #08030b; /* Deep dark space-like background */
  padding: 80px 0;
}
.plasma-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none; /* Ensures the glow doesn't block clicks */
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px); /* Slightly reduced blur to see the edges move better */
  opacity: 0.7;
  mix-blend-mode: screen;
  will-change: transform; /* Forces hardware acceleration for smooth movement */
}

.orb-1 {
  width: 50vw; height: 50vw;
  background: var(--plasma);
  top: -20%; left: -10%;
  animation: plasmaMove1 12s infinite alternate ease-in-out;
}

.orb-2 {
  width: 60vw; height: 60vw;
  background: #4a154b;
  bottom: -30%; right: -10%;
  animation: plasmaMove2 15s infinite alternate ease-in-out;
}

.orb-3 {
  width: 40vw; height: 40vw;
  background: #c22784;
  top: 30%; left: 30%;
  animation: plasmaMove3 10s infinite alternate ease-in-out;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 2;
  pointer-events: none;
}
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 8%) scale(1.05); }
  100% { transform: translate(-5%, -5%) scale(0.95); }
}
@keyframes plasmaMove1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(15vw, 15vh, 0) scale(1.1); }
}
@keyframes plasmaMove2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-15vw, -15vh, 0) scale(0.9); }
}
@keyframes plasmaMove3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(15vw, -20vh, 0) scale(1.2); }
}

/* ---------- Hero Content Styling ---------- */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center; /* Grounded, left-aligned layout */
  color: #ffffff;
  width: 100%;
}

.hero-top {
  margin-bottom: 32px;
}

.hero-logo-wrapper {
  display: inline-block;
  background: #ffffff; 
  padding: 3px 6px;
  border-radius: 20px; /* Clean, industrial borders */
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.hero-logo {
  height: 120px;
  width: auto;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-content .tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-actions {
  margin-bottom: 56px; /* Spacing between button and stats panel */
}

/* ---------- Unified Stats Panel ---------- */
.hero-stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(20, 24, 31, 0.7); /* Solid, dark industrial panel */
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.stat-segment {
  padding: 28px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.2s ease;
}

.stat-segment:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stat-segment:last-child {
  border-right: none;
}

/* Uniform Typography */
.stat-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-stats-panel { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .stat-segment:nth-child(2) {
    border-right: none;
  }
  .stat-segment:nth-child(1),
  .stat-segment:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 550px) {
  .hero-stats-panel { 
    grid-template-columns: 1fr; 
  }
  .stat-segment {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
  }
  .stat-segment:last-child {
    border-bottom: none;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Light outline button for dark backgrounds */
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: var(--radius);
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}



.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items:center;
}
.hero-copy .badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:22px;
}
.badge{
  font-family: var(--font-mono);
  font-size:11.5px;
  letter-spacing:.04em;
  padding: 5px 10px;
  border:1px solid var(--line-2);
  border-radius: 999px;
  color: var(--steel-2);
}
.hero-copy h1{
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight:600;
  line-height:1.08;
  color: var(--ink);
  margin-bottom:22px;
}
.hero-copy h1 em{
  font-style:normal;
  color: var(--plasma);
}
.hero-copy .lede{
  font-size:1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom:32px;
}
.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom: 40px;
}
.hero-meta{
  display:flex;
  gap:32px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:22px;
}
.hero-meta div strong{
  display:block;
  font-family: var(--font-mono);
  font-size:1.35rem;
  color: var(--steel);
}
.hero-meta div span{
  font-size:.82rem;
  color: var(--steel-2);
}

/* data-plate panel — signature element */
.plate{
  background: var(--steel);
  color: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--plasma);
  padding: 26px 26px 20px;
  box-shadow: 0 24px 48px -24px rgba(20,24,31,0.35);
}
.plate-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  border-bottom:1px solid rgba(255,255,255,0.14);
  padding-bottom:14px;
  margin-bottom:16px;
}
.plate-head h3{
  font-size:.78rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  color: rgba(255,255,255,0.65);
  font-weight:500;
}
.plate-head .dot{
  width:7px;height:7px;border-radius:50%;
  background: #4fd17a;
  display:inline-block;
  margin-right:6px;
  box-shadow: 0 0 0 3px rgba(79,209,122,0.18);
}
.plate-status{
  font-family: var(--font-mono);
  font-size:.72rem;
  color: rgba(255,255,255,0.65);
}
.plate-rows{ display:grid; gap:14px; margin-bottom: 20px; }
.plate-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap: 12px;
}
.plate-row .k{ font-size:.85rem; color: rgba(255,255,255,0.6); }
.plate-row .v{
  font-family: var(--font-mono);
  font-size:1.02rem;
  color:#fff;
  text-align:right;
}
.plate-figure{
  border-radius: 2px;
  overflow:hidden;
  margin-top:4px;
  position:relative;
}
.plate-figure img{ width:100%; height:150px; object-fit:cover; display:block; filter: saturate(1.05); }
.plate-figure figcaption{
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  padding-top:8px;
  letter-spacing:.02em;
}

/* ---------- trust strip ---------- */
.trust{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background: var(--surface);
}
.trust .container{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  padding: 30px 24px;
}
.trust-item{ text-align:left; }
.trust-item strong{
  display:block;
  font-family:var(--font-mono);
  font-size:1.5rem;
  color:var(--steel);
}
.trust-item span{ font-size:.82rem; color:var(--steel-2); }
@media (max-width:720px){
  .trust .container{ grid-template-columns: repeat(2,1fr); }
}

/* ---------- process section ---------- */
.process-container {
  display: flex;
  flex-direction: column;
}

.process-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr; /* Gives the text just slightly more room */
  gap: 64px; /* Wide, breathable gap between text and diagram */
  align-items: center; /* Perfectly centers the diagram vertically with the text */
  margin-bottom: 64px;
}

.process-copy .process-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.15;
  color: var(--ink);
}

.process-copy .process-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line); /* A classy separator line */
}

.how-it-works p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.how-it-works p:last-child {
  margin-bottom: 0;
}

/* ---------- Process Diagram SVG Animations ---------- */

/* 1. Dropping, diffusing plasma ions */
.ion-dot {
  animation: dropIon 2.5s infinite ease-in;
  transform-box: fill-box;
  transform-origin: center;
}

/* 2. Subtle compound layer formation glow */
.compound-layer {
  animation: glowLayer 3s infinite alternate ease-in-out;
}

/* Keyframes for the falling ions */
@keyframes dropIon {
  0% { 
    transform: translateY(0) scale(0.5); 
    opacity: 0; 
    fill: #631f55; 
  }
  15% { 
    transform: translateY(0) scale(1.4); 
    opacity: 1; 
    fill: #c22784; /* Lights up bright magenta */
    filter: drop-shadow(0 0 6px rgba(194,39,132,0.8)); 
  }
  70% { 
    transform: translateY(var(--drop-dist)) scale(1); 
    opacity: 1; 
    fill: #c22784; 
  }
  85% { 
    transform: translateY(var(--drop-dist)) scale(0); 
    opacity: 0; /* Shrinks and disappears into the surface */
  }
  100% { 
    transform: translateY(0) scale(0); 
    opacity: 0; /* Hidden reset */
  }
}

@keyframes glowLayer {
  0% { fill: #832b71; }
  100% { fill: #9b2168; } /* Pulses slightly lighter purple to show absorption */
}

.process-diagram figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel-2);
  text-align: center;
  margin-top: 14px;
  letter-spacing: .03em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.benefit {
  background: var(--surface);
  padding: 28px 24px;
  transition: background 0.3s ease;
}

.benefit:hover {
  background: var(--plasma-tint); /* Adds a subtle hover effect to benefits too */
}

.benefit .num {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--plasma);
  margin-bottom: 10px;
  display: block;
}

.benefit h4 { 
  font-size: 1.05rem; 
  font-weight: 600; 
  margin-bottom: 8px; 
}

.benefit p { 
  font-size: .88rem; 
  color: var(--ink-soft); 
}

@media (max-width: 900px) {
  .process-top { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .benefit-grid { grid-template-columns: 1fr; }
}


/* ---------- materials grid (Replaced Table) ---------- */
.materials-grid {
  display: grid;
  /* This automatically sizes the columns based on screen width! */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.mat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mat-card:hover {
  background: var(--plasma-tint);
  border-color: var(--plasma);
  transform: translateY(-2px); /* Slight lift on hover */
  box-shadow: 0 8px 16px rgba(131, 43, 113, 0.08);
}

.mat-card h4 {
  font-size: 1.05rem;
  color: var(--steel);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mat-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.spec-row span:first-child {
  color: var(--ink-soft);
}

.spec-row span:last-child {
  font-family: var(--font-mono);
  color: var(--plasma-ink);
  font-weight: 500;
}

.materials-note-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

/* ============================================================
   APPLICATIONS SECTION & CAROUSEL
   ============================================================ */

.apps-section { 
  background: var(--surface); 
  border-top: 1px solid var(--line); 
  border-bottom: 1px solid var(--line); 
}

/* 1. The Grid Layout - This forces 3 cards per row! */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 columns */
  gap: 20px; /* Spacing between cards */
  margin-top: 32px;
}

/* 2. The Application Cards */
.app-card {
  display: block;
  background: var(--bg);
  position: relative;
  aspect-ratio: 4/3; /* Keeps the images nicely proportioned */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  text-decoration: none;
}

/* 3. Carousel Images */
.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-images img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: scale-down;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.carousel-images img.active {
  opacity: 1;
  z-index: 2;
}

.app-card:hover .carousel-images img.active { 
  transform: scale(1.08); /* Smooth zoom effect on hover */
}

/* 4. The Purple Tag / Label */
.app-card .tag {
  position: absolute; 
  left: 0; right: 0; bottom: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(180deg, rgba(131, 43, 113, 0) 0%, var(--plasma) 100%);
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  transform: translateY(10px);
  transition: transform 0.4s ease, padding 0.4s ease;
  z-index: 3; /* Ensures text stays above the images */
}

.app-card:hover .tag {
  transform: translateY(0);
  padding-bottom: 24px; /* Slides the text up slightly on hover */
}

/* 5. Mobile Responsiveness */
@media (max-width: 900px) { 
  .apps-grid { grid-template-columns: repeat(2, 1fr); } /* 2 per row on tablets */
}

@media (max-width: 550px) { 
  .apps-grid { grid-template-columns: 1fr; } /* 1 per row on phones */
  .app-card { aspect-ratio: 16/9; }
}

/* ============================================================
   CLASSIC DATA TABLE (For Application Sub-pages)
   ============================================================ */

.classic-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table.classic-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

table.classic-table th, table.classic-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

table.classic-table thead th {
  background: var(--steel);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: none;
}

table.classic-table tbody tr:last-child td {
  border-bottom: none;
}

table.classic-table tbody tr:hover {
  background: var(--plasma-tint);
}

table.classic-table td {
  color: var(--ink);
}

table.classic-table td:first-child {
  font-weight: 500;
  color: var(--steel);
}


/* ---------- infrastructure ---------- */
.infra-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.infra-card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
}
.infra-card img { 
  width: 100%; 
  height: auto; /* 1. NEW: Removes the fixed height constraint */
  aspect-ratio: 4 / 3; /* 2. NEW: Forces the height to scale proportionally with the width */
  object-fit: cover; 
}
.infra-body{ padding:22px 24px; }
.infra-body h4{ font-size:1.05rem; font-weight:600; margin-bottom:14px; }
.spec-list { 
  display: grid; 
  gap: 9px; 
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px; /* 1. NEW: Prevents the left and right text from colliding */
  font-size: .88rem;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line-2);
}

.spec-list div span:first-child { 
  color: var(--ink-soft); 
  flex-shrink: 0; /* 2. NEW: Strictly prevents the label (e.g. Purpose) from being squished */
}

.spec-list div span:last-child { 
  font-family: var(--font-mono); 
  color: var(--steel); 
  text-align: right; /* 3. NEW: Aligns wrapped text beautifully to the right */
}
@media (max-width:900px){ .infra-grid{ grid-template-columns:1fr; } }

.testing-row{
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:24px;
  margin-top:24px;
}
@media (max-width:900px){ .testing-row{ grid-template-columns:1fr; } }

/* ---------- quality ---------- */
.quality-section{ background: var(--steel-2); color:#fff; }
.quality-section .section-head p{ color: rgba(255,255,255,0.65); }
.quality-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.quality-card{
  border-top: 2px solid var(--plasma);
  padding-top:18px;
}
.quality-card h4{ font-size:1.05rem; margin-bottom:10px; font-weight:600; }
.quality-card p{ color: rgba(255,255,255,0.65); font-size:.92rem; }
@media (max-width:820px){ .quality-grid{ grid-template-columns:1fr; gap:32px; } }

/* ---------- Contact Section (Restored & Symmetrical) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.detail-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .k {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--plasma-ink);
  width: 100px;
  flex-shrink: 0;
  padding-top: 2px;
}

.detail-row .v {
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.4;
}

.detail-row .v a {
  color: var(--ink);
}
.detail-row .v a:hover {
  color: var(--plasma);
}

/* Map - placed in left column, height optimized to perfectly match form height */
.contact-map {
  margin-top: 28px;
  height: 220px; /* Aligns the bottom of the map perfectly with the bottom of the form */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.contact-map iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Form Grid - Tightened for a uniform, premium look */
.form-grid { 
  display: grid; 
  gap: 14px; /* Tighter vertical spacing */
}

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 14px; /* Tighter horizontal spacing */
}

.field label {
  display: block;
  font-size: .78rem;
  color: var(--steel-2);
  margin-bottom: 4px;
  font-family: var(--font-mono);
  letter-spacing: .03em;
}

.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  padding: 10px 12px; /* Tighter padding so inputs don't look bloated */
  font-family: inherit;
  font-size: .94rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.field textarea { 
  resize: vertical; 
  min-height: 100px; /* Reduced to balance with map height */
}

.field input:focus, .field textarea:focus { 
  border-color: var(--plasma); 
}

/* Responsive */
@media (max-width: 820px) {
  .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 40px;
  }
  .form-row { 
    grid-template-columns: 1fr; 
  }
  .contact-map {
    height: 250px; /* Normal height on mobile */
  }
}

.form-grid{ display:grid; gap:16px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field label{
  display:block;
  font-size:.78rem;
  color: var(--steel-2);
  margin-bottom:6px;
  font-family: var(--font-mono);
  letter-spacing:.03em;
}
.field input, .field textarea{
  width:100%;
  border:1px solid var(--line-2);
  background: var(--surface);
  padding: 12px 14px;
  font-family: inherit;
  font-size:.94rem;
  border-radius: var(--radius);
  color: var(--ink);
}
.field textarea{ resize: vertical; min-height:110px; }
.field input:focus, .field textarea:focus{ border-color: var(--plasma); }
.form-note{ font-size:.8rem; color: var(--steel-2); margin-top:4px; }
@media (max-width:820px){
  .contact-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}

/* ---------- footer ---------- */
footer{
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 40px 0;
  font-size:.84rem;
}
footer .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}
footer a:hover{ color:#fff; }
.footer-links{ display:flex; gap:22px; }

/* ---------- utility ---------- */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .app-card img{ transition:none; }
}

















/* ============================================================
   COMPARISON TABLE (Problem vs Solution)
   ============================================================ */
table.comparison-table td:first-child {
  background-color: rgba(44, 56, 70, 0.04); /* Light grey/steel tint */
  font-weight: 600;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

table.comparison-table td:last-child {
  color: var(--ink-soft);
  line-height: 1.6;
}

table.comparison-table tbody tr:hover td:first-child {
  background-color: transparent; /* Blends with the row hover effect */
}