/* ==========================================================================
   Kiwrious — 2026 Refresh
   Color palette preserved from original site
   Zero frameworks — native CSS only
   ========================================================================== */

:root {
  --teal-dark: #005766;
  --navy: #12333d;
  --teal-accent: #00aba1;
  --orange: #f85708;
  --orange-hover: #e04e06;
  --white: #ffffff;
  --off-white: #f7f9fa;
  --light-gray: #e8edef;
  --mid-gray: #6b7c85;
  --text: #2a3a40;

  /* Sensor colors */
  --sensor-temp: #D90033;
  --sensor-cond: #FEB826;
  --sensor-heart: #FF006E;
  --sensor-air: #00D36A;
  --sensor-humid: #3BA4FF;
  --sensor-uv: #7B61FF;

  /* Typography */
  --font-display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 10vw, 120px);
  --content-max: 1200px;
}

/* ---- Reset & Base ---- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---- Preloader ---- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader svg {
  width: 180px;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.96); }
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.nav.scrolled {
  background: rgba(0, 87, 102, 0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
  padding: 10px 0;
  backdrop-filter: blur(12px);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 32px;
  transition: height 0.3s;
}
.nav.scrolled .nav-logo img {
  height: 26px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn-demo {
  background: var(--orange);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.nav-links .btn-demo:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(180deg, var(--teal-dark), var(--navy));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.35s;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu a {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--navy) 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(0,171,161,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { max-width: 560px; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--teal-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,171,161,0.25);
}
.hero h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 .typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--orange);
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: baseline;
  position: relative;
  top: 0.08em;
}
@keyframes blink {
  50% { opacity: 0; }
}
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-sensors-img {
  max-width: 520px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- Platform Section ---- */

.platforms {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.section-label {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.section-subtitle {
  color: var(--mid-gray);
  font-size: 18px;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 48px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  transition: opacity 0.25s;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,87,102,0.1);
  border-color: var(--light-gray);
}
.platform-card:nth-child(1)::before { background: var(--sensor-humid); }
.platform-card:nth-child(2)::before { background: var(--sensor-air); }
.platform-card:nth-child(3)::before { background: var(--sensor-uv); }

.platform-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--white);
}
.platform-card:nth-child(1) .card-icon { background: var(--sensor-humid); }
.platform-card:nth-child(2) .card-icon { background: var(--sensor-air); }
.platform-card:nth-child(3) .card-icon { background: var(--sensor-uv); }

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.platform-card p {
  color: var(--mid-gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.platform-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s;
}
.platform-card:hover .card-link { gap: 10px; }
.card-link .arrow-icon {
  transition: transform 0.2s;
  font-size: 16px;
}

/* ---- Scientific Process Section ---- */

.process {
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.6);
  background: var(--white);
  border-top: 1px solid var(--light-gray);
}
.process .container {
  text-align: center;
}
.process .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.process-img-wrap {
  max-width: 900px;
  margin: 0 auto 32px;
}
.process-img-wrap img {
  width: 100%;
  height: auto;
}
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.process-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s, border-color 0.2s;
}
.process-step:hover {
  background: var(--white);
  border-color: var(--teal-accent);
}
.process-step i {
  font-size: 14px;
  color: var(--teal-dark);
}
.process-arrow {
  color: var(--teal-accent);
  font-size: 14px;
  opacity: 0.6;
}

/* ---- Sensors Section ---- */

.sensors {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}
.sensors .container {
  text-align: center;
}
.sensors .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.sensor-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.sensor-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 16px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--light-gray);
  position: relative;
  cursor: default;
}
.sensor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,87,102,0.08);
}
.sensor-card .sensor-img-wrap {
  width: 100%;
  height: 120px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sensor-card .sensor-img-wrap img {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.sensor-card:hover .sensor-img-wrap img {
  transform: scale(1.08);
}
.sensor-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sensor-card .sensor-desc {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.5;
  margin-bottom: 10px;
}
.sensor-card .sensor-unit-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mid-gray);
  opacity: 0.6;
}

.demo-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.demo-banner h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.demo-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  max-width: 480px;
}

/* ---- Origin / Story Section ---- */

.story {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-visual {
  position: relative;
}
.location-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--light-gray);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.location-badge.active {
  border: 2px solid var(--teal-accent);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,171,161,0.1);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: var(--teal-accent);
  margin-top: 6px;
  position: relative;
}
.timeline-item:not(:last-child) .timeline-dot::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 36px;
  background: var(--light-gray);
}
.timeline-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.55;
}

/* Story photo */
.story-photo {
  border-radius: 16px;
  overflow: hidden;
}
.story-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

/* ---- Validation Section ---- */

.validation {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}
.validation .container { text-align: center; }
.validation .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.testimonial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  text-align: left;
}
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--light-gray);
  position: relative;
}
.testimonial-card .quote-mark {
  font-size: 48px;
  line-height: 1;
  color: var(--teal-accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.testimonial-card blockquote {
  font-size: 16px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 16px;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 600;
}

.logos-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 24px;
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
  margin-bottom: 16px;
  opacity: 0.55;
  filter: grayscale(0.6);
}
.logo-row img {
  height: 40px;
  object-fit: contain;
}

/* ---- What we offer ---- */

.offer {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.25s;
}
.offer-card:hover {
  border-color: var(--light-gray);
}
.offer-card .offer-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--white);
}
.offer-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.offer-card p {
  font-size: 15px;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* ---- Contact Section ---- */

.contact {
  padding: var(--section-pad) 0;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--navy) 100%);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--white), transparent);
  pointer-events: none;
}
.contact .container {
  position: relative;
  z-index: 2;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.contact-info > p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail .detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
}
.contact-detail .detail-text h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-detail .detail-text p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.contact-form-wrap h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group.full { grid-column: 1 / -1; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal-accent);
  background: rgba(255,255,255,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
.form-group select {
  cursor: pointer;
  color: rgba(255,255,255,0.45);
}
.form-group select.selected {
  color: var(--white);
}
.form-group select option {
  background: var(--navy);
  color: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* ---- Footer ---- */

.footer {
  background: var(--navy);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 28px;
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ---- Animations (scroll reveal) ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Collaborators Section ---- */

.collaborators {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}
.collaborators .container { text-align: center; }
.collaborators .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.collab-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.collab-person {
  text-align: center;
  padding: 20px 12px 16px;
  border-radius: 12px;
  transition: background 0.2s;
}
.collab-person:hover {
  background: var(--white);
}
.collab-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  background: var(--light-gray);
  display: block;
}
.collab-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
}
.collab-person h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.3;
}
.collab-person p {
  font-size: 11px;
  color: var(--mid-gray);
  line-height: 1.4;
}
.collab-person .collab-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,87,102,0.08);
  color: var(--teal-dark);
  font-size: 11px;
  margin-top: 6px;
  transition: background 0.2s;
}
.collab-person .collab-linkedin:hover {
  background: rgba(0,87,102,0.16);
}

/* ---- Research & Awards Section ---- */

.research {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.research .container { text-align: center; }
.research .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.research-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 36px;
  background: var(--off-white);
  border-radius: 12px;
  padding: 4px;
  display: inline-flex;
}
.research-tab {
  padding: 10px 28px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--mid-gray);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.research-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.research-panel { display: none; text-align: left; }
.research-panel.active { display: block; }

/* Publication cards */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pub-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid var(--light-gray);
  transition: border-color 0.2s;
  text-align: left;
}
.pub-card:hover { border-color: var(--teal-accent); }
.pub-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.pub-card .pub-venue {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 4px;
}
.pub-card .pub-authors {
  font-size: 12px;
  color: var(--mid-gray);
  line-height: 1.5;
  margin-bottom: 10px;
}
.pub-card .pub-links {
  display: flex;
  gap: 12px;
}
.pub-card .pub-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(0,87,102,0.06);
  transition: background 0.2s;
}
.pub-card .pub-links a:hover { background: rgba(0,87,102,0.12); }
.pub-card .pub-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(248,87,8,0.08);
  padding: 2px 10px;
  border-radius: 100px;
  margin-left: 8px;
}

/* Award cards */
.award-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.award-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--light-gray);
  text-align: left;
  transition: border-color 0.2s;
}
.award-card:hover { border-color: var(--teal-accent); }
.award-card .award-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-accent);
  margin-bottom: 8px;
}
.award-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.35;
}
.award-card .award-org {
  font-size: 12px;
  color: var(--mid-gray);
  margin-bottom: 10px;
}
.award-card .award-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .hero-sensors-img { max-width: 400px; }

  .platform-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .sensor-showcase { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-row { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .collab-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .sensor-showcase { grid-template-columns: repeat(2, 1fr); }
  .demo-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .award-grid { grid-template-columns: 1fr; }
  .collab-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .sensor-showcase { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sensor-card { padding: 20px 12px 18px; }
  .contact-form-wrap { padding: 28px 20px; }
}