:root {
  --bg: #07111f;
  --bg-soft: #0b1830;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --text: #c7d5e4;
  --muted: #8ea4bc;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #1ed3b3;
  --primary-2: #4eb5ff;
  --heading: #f4f8fc;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --transition: all 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    linear-gradient(rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.94)),
    url("assets/products/neuro-sphere.jpg") fixed center / 520px auto,
    radial-gradient(circle at top left, rgba(30, 211, 179, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(78, 181, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #081628 35%, #06101d 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(30, 211, 179, 0.12), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: transform 0.08s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  z-index: 1001;
}

.logo-mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 2px solid rgba(30, 211, 179, 0.55);
  padding: 4px;
  flex: 0 0 auto;
  box-shadow: 0 12px 34px rgba(30, 211, 179, 0.22);
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo strong {
  display: block;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.2px;
}

.logo small {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-logo .logo-mark {
  width: 74px;
  height: 74px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: #dfe8f2;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero {
  padding: 100px 0 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.72) 48%, rgba(7, 17, 31, 0.9) 100%),
    radial-gradient(circle at 18% 18%, rgba(30, 211, 179, 0.2), transparent 28%),
    radial-gradient(circle at 78% 26%, rgba(78, 181, 255, 0.18), transparent 28%),
    url("assets/products/tendospher.jpg") right 8% center / min(42vw, 520px) auto no-repeat,
    url("assets/products/specovit.jpg") right 28% bottom 8% / min(24vw, 300px) auto no-repeat;
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 76vh;
}

.eyebrow,
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 700;
}

.section-tag.light {
  color: #8fdcff;
}

.hero h1,
.inner-hero h1,
.section-copy h2,
.section-head h2,
.cta-box h2,
.catalog-panel h2 {
  font-family: "Manrope", sans-serif;
  color: var(--heading);
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  max-width: 12ch;
  margin-bottom: 22px;
}

.hero p,
.inner-hero p,
.section-copy p,
.section-head p,
.cta-box p,
.catalog-panel p,
.feature-card p,
.focus-card p,
.product-card p,
.contact-info p,
.contact-card p,
.timeline-item p {
  color: var(--text);
  font-size: 1.02rem;
}

.hero-copy p {
  max-width: 58ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #05111d;
  box-shadow: 0 16px 40px rgba(78, 181, 255, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

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

.glass-panel,
.feature-card,
.focus-card,
.product-card,
.contact-card,
.form-wrap,
.cta-box,
.catalog-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-panel {
  padding: 30px;
}

.floating-card {
  animation: floatY 6s ease-in-out infinite;
}

.mini-badge,
.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(30, 211, 179, 0.12);
  color: #89f0df;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
  margin-bottom: 14px;
}

.product-enquiry {
  min-height: 42px;
  padding: 0 16px;
  margin-top: 12px;
  font-size: 0.9rem;
}

.glass-panel h3,
.feature-card h3,
.focus-card h3,
.product-card h3,
.contact-card h3,
.timeline-item h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-card {
  padding: 22px;
}

.testimonial-card .icon-wrap {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-size: 0.96rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.metric {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.trusted-strip {
  padding: 8px 0 20px;
  position: relative;
  z-index: 1;
}

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

.strip-grid div {
  padding: 18px 20px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.strip-grid span {
  color: #d7e5f3;
  font-weight: 600;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.section-copy h2,
.section-head h2,
.cta-box h2,
.catalog-panel h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  margin-bottom: 18px;
}

.text-link {
  display: inline-block;
  color: #95e8da;
  margin-top: 18px;
  font-weight: 700;
}

.feature-stack {
  display: grid;
  gap: 20px;
}

.feature-card,
.focus-card,
.contact-card {
  padding: 26px;
}

.product-card {
  padding: 18px;
}

.product-card h3 {
  font-size: 1.08rem;
}

.product-card p {
  font-size: 0.95rem;
}

.dark-section {
  background:
    linear-gradient(90deg, rgba(8, 20, 36, 0.96), rgba(8, 20, 36, 0.84)),
    url("assets/products/nervspec-nt.jpg") left 5% center / 340px auto no-repeat,
    url("assets/products/sphere-xt.jpg") right 4% bottom 10% / 300px auto no-repeat,
    #081424;
}

.dark-section::before,
.section:nth-of-type(2)::before,
.section:nth-of-type(4)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(30, 211, 179, 0.14), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(78, 181, 255, 0.12), transparent 24%);
  pointer-events: none;
  z-index: -1;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.card-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(30, 211, 179, 0.2), rgba(78, 181, 255, 0.2));
  color: #aaf6e9;
  font-weight: 800;
}

.cta-box,
.catalog-panel {
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.inner-hero {
  padding: 120px 0 70px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.74), rgba(7, 17, 31, 0.94)),
    url("assets/products/specal-k2.jpg") right 8% center / min(34vw, 380px) auto no-repeat,
    radial-gradient(circle at top left, rgba(30, 211, 179, 0.16), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  overflow: hidden;
}

.inner-hero h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin-bottom: 18px;
}

.inner-hero p {
  max-width: 70ch;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary), rgba(255, 255, 255, 0.2));
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  display: flex;
  gap: 18px;
}

.timeline-item span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 0 6px rgba(30, 211, 179, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.map-section {
  padding-top: 0;
}

.map-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

.form-wrap {
  padding: 28px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 9px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 14px;
  padding: 15px 16px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8ea4bc;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(30, 211, 179, 0.55);
  box-shadow: 0 0 0 4px rgba(30, 211, 179, 0.08);
}

.full-btn {
  grid-column: 1 / -1;
}

.form-message {
  grid-column: 1 / -1;
  color: #8ef1dd;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050d19;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 28px;
  padding: 60px 0 34px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-text,
.site-footer li,
.site-footer a {
  color: var(--muted);
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-family: "Manrope", sans-serif;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.delay-3 {
  transition-delay: 0.32s;
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 991px) {
  body {
    background:
      linear-gradient(rgba(7, 17, 31, 0.93), rgba(7, 17, 31, 0.96)),
      url("assets/products/neuro-sphere.jpg") fixed center top / 420px auto,
      linear-gradient(180deg, #07111f 0%, #081628 35%, #06101d 100%);
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.78), rgba(7, 17, 31, 0.96)),
      radial-gradient(circle at 18% 18%, rgba(30, 211, 179, 0.18), transparent 28%),
      url("assets/products/tendospher.jpg") right -80px top 20px / 340px auto no-repeat;
  }

  .inner-hero {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.88)),
      url("assets/products/specal-k2.jpg") right -90px center / 320px auto no-repeat,
      radial-gradient(circle at top left, rgba(30, 211, 179, 0.16), transparent 25%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  }

  .hero-grid,
  .two-col,
  .timeline-grid,
  .contact-grid,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-box,
  .catalog-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 92px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-radius: 20px;
    background: rgba(8, 20, 36, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    background:
      linear-gradient(rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.97)),
      url("assets/products/neuro-sphere.jpg") fixed center 90px / 300px auto,
      linear-gradient(180deg, #07111f 0%, #081628 35%, #06101d 100%);
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.86), rgba(7, 17, 31, 0.97)),
      url("assets/products/tendospher.jpg") right -120px top 40px / 280px auto no-repeat,
      radial-gradient(circle at 18% 18%, rgba(30, 211, 179, 0.18), transparent 28%);
  }

  .dark-section {
    background:
      linear-gradient(180deg, rgba(8, 20, 36, 0.97), rgba(8, 20, 36, 0.9)),
      url("assets/products/nervspec-nt.jpg") right -120px top 30px / 260px auto no-repeat,
      #081424;
  }

  .nav-wrap {
    min-height: 78px;
    gap: 12px;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .logo strong {
    font-size: 0.98rem;
  }

  .logo small {
    font-size: 0.76rem;
  }

  .nav {
    top: 78px;
    left: 12px;
    right: 12px;
  }

  .hero {
    padding-top: 70px;
  }

  .section,
  .inner-hero {
    padding: 72px 0;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .strip-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .glass-panel,
  .feature-card,
  .focus-card,
  .product-card,
  .contact-card,
  .map-card,
  .form-wrap,
  .cta-box,
  .catalog-panel {
    border-radius: 18px;
  }

  .map-card iframe {
    min-height: 340px;
  }

  .hero h1 {
    max-width: 100%;
  }
}
