/* NexChip premium showcase redesign */

:root {
  --bg: #07111f;
  --bg-soft: #0d1a2c;
  --panel: rgba(10, 20, 34, 0.82);
  --panel-strong: #0f1d31;
  --line: rgba(138, 170, 210, 0.18);
  --line-strong: rgba(98, 201, 255, 0.28);
  --text: #f4f8ff;
  --muted: #9bb0ca;
  --accent: #66e3ff;
  --accent-2: #5b8cff;
  --accent-3: #89ffcf;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91, 140, 255, 0.2), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(102, 227, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #081321 52%, #060d18 100%);
}

a,
button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(118, 154, 196, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 154, 196, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(102, 227, 255, 0.45);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
}

.language-switcher select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.language-switcher option {
  color: #07111f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #04101f;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  box-shadow: 0 14px 40px rgba(102, 227, 255, 0.22);
}

.btn-secondary,
.btn-outline,
.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-ghost:hover {
  background: rgba(102, 227, 255, 0.08);
}

.nav-cta {
  min-height: 42px;
  padding-inline: 18px;
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(102, 227, 255, 0.06);
  color: #d6f7ff;
  font-size: 0.84rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-3);
  box-shadow: 0 0 16px rgba(137, 255, 207, 0.8);
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  color: var(--accent);
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.metric-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-3);
}

.metric-label {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
}

.chip-stage {
  position: relative;
  min-height: 560px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 20, 34, 0.75);
  box-shadow: var(--shadow);
}

.chip-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
}

.orb-one {
  top: 80px;
  right: 70px;
  width: 140px;
  height: 140px;
  background: rgba(91, 140, 255, 0.2);
}

.orb-two {
  left: 40px;
  bottom: 60px;
  width: 180px;
  height: 180px;
  background: rgba(102, 227, 255, 0.14);
}

.chip-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 500px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(102, 227, 255, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(8, 19, 33, 0.95), rgba(6, 12, 22, 0.95));
}

.chip-card-top,
.chip-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.chip-series,
.chip-status {
  font-family: var(--font-mono);
}

.chip-core {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 34px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(102, 227, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 227, 255, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, rgba(91, 140, 255, 0.15), rgba(102, 227, 255, 0.05));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow:
    inset 0 0 0 12px rgba(255, 255, 255, 0.02),
    0 0 50px rgba(102, 227, 255, 0.08);
}

.chip-core::before,
.chip-core::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 42px;
  border: 1px dashed rgba(102, 227, 255, 0.18);
}

.chip-core-center {
  position: absolute;
  inset: 26%;
  border-radius: 24px;
  border: 1px solid rgba(137, 255, 207, 0.35);
  background: linear-gradient(135deg, rgba(102, 227, 255, 0.18), rgba(91, 140, 255, 0.08));
  box-shadow: inset 0 0 28px rgba(102, 227, 255, 0.12);
}

.trustbar {
  padding: 8px 0 24px;
}

.trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.trustbar-inner p {
  margin: 0;
  color: var(--muted);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-items span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #d9ecff;
  font-size: 0.82rem;
}

.section {
  padding: 92px 0;
}

.section-panel {
  position: relative;
}

.section-panel::before {
  content: "";
  position: absolute;
  inset: 22px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head.compact {
  grid-template-columns: 1fr;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2,
.technology-copy h2,
.contact-copy h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.product-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
}

.product-card:hover {
  border-color: rgba(102, 227, 255, 0.28);
}

.featured-card {
  transform: translateY(-10px);
  border-color: rgba(102, 227, 255, 0.35);
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(102, 227, 255, 0.12);
  border: 1px solid rgba(102, 227, 255, 0.25);
  color: #dffaff;
  font-size: 0.76rem;
}

.product-chip {
  height: 180px;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--panel-strong);
  background-image:
    linear-gradient(rgba(102, 227, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 227, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  position: relative;
  overflow: hidden;
}

.product-chip::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 20px;
  border: 1px solid rgba(102, 227, 255, 0.22);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.02);
}

.product-chip::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 16px;
}

.chip-a::after {
  background: linear-gradient(135deg, rgba(102, 227, 255, 0.18), rgba(91, 140, 255, 0.06));
}

.chip-b::after {
  background: linear-gradient(135deg, rgba(137, 255, 207, 0.18), rgba(102, 227, 255, 0.08));
}

.chip-c::after {
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.16), rgba(102, 227, 255, 0.06));
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pill,
.sku {
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8e8ff;
}

.sku {
  color: var(--accent);
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.spec-list {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.spec-list li {
  position: relative;
  padding-left: 18px;
  color: #d8e6f8;
  font-size: 0.92rem;
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-3);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-footer strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f4fbff;
}

.product-footer span {
  color: var(--muted);
  font-size: 0.8rem;
}

.soft-btn {
  box-shadow: none;
}

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

.solution-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.solution-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.technology-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  align-items: center;
}

.feature-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-row {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.feature-row strong {
  font-size: 1rem;
}

.feature-row span {
  color: var(--muted);
  line-height: 1.7;
}

.tech-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(102, 227, 255, 0.11), transparent 30%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.tech-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tech-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.tech-lines div {
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(102, 227, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(102, 227, 255, 0.08), transparent 40%),
    rgba(10, 22, 38, 0.7);
}

.tech-stats {
  display: grid;
  gap: 12px;
}

.tech-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
}

.tech-stats strong {
  font-family: var(--font-mono);
  color: var(--accent-3);
}

.tech-stats span {
  color: var(--muted);
  font-size: 0.84rem;
}

.cta-section {
  padding-top: 18px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(102, 227, 255, 0.08), rgba(91, 140, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.contact-section {
  padding-top: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 28px;
  align-items: start;
}

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

.contact-cards article {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.contact-cards span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-cards strong {
  font-size: 1rem;
}

.contact-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.form-row.double {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row label {
  color: #d9e7f9;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 13, 24, 0.88);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #6f84a0;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(102, 227, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(102, 227, 255, 0.08);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  padding: 26px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .technology-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .header-controls {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-metrics,
  .product-grid,
  .solution-grid,
  .form-row.double {
    grid-template-columns: 1fr;
  }

  .chip-stage {
    min-height: 440px;
  }

  .chip-card {
    min-height: 380px;
  }

  .trustbar-inner,
  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions .btn,
  .header-controls .btn,
  .nav-cta,
  .product-footer .btn,
  .cta-box .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-actions,
  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }
}
