:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-muted: #eef4ff;
  --line: rgba(15, 37, 87, 0.1);
  --line-strong: rgba(15, 37, 87, 0.18);
  --text: #102550;
  --text-soft: #5f6d89;
  --primary: #0f66e8;
  --primary-deep: #0a4db5;
  --accent: #75b6ff;
  --shadow: 0 24px 80px rgba(15, 45, 99, 0.08);
  --shadow-soft: 0 14px 40px rgba(15, 45, 99, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --page-width: min(1320px, calc(100vw - 48px));
  --hero-dark: #050e1f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(145, 197, 255, 0.28), transparent 24%),
    linear-gradient(180deg, #fcfdff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI Variable Text", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.section,
.site-header,
.site-footer {
  width: var(--page-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 12px 0 8px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 2px -18px 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 40, 88, 0.06);
  z-index: -1;
}

.brand-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: transform 200ms ease;
  margin-left: 8px;
}

.brand-mark:hover .brand-logo {
  transform: scale(1.03);
}

.site-nav,
.header-actions,
.hero-actions,
.section-heading,
.social-row {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 20px;
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.header-actions {
  gap: 12px;
}

.icon-button,
.language-pill,
.button,
.social-row a {
  border: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.icon-button,
.language-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(15, 102, 232, 0.08);
  color: var(--text);
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 14px 28px rgba(15, 102, 232, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line-strong);
}

.button:hover,
.icon-button:hover,
.language-pill:hover,
.social-row a:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: rgba(15, 102, 232, 0.08);
  padding: 0;
  color: var(--text);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  margin: auto;
}

.section {
  padding: 48px 0;
}

.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-fullscreen.loaded .hero-bg-img {
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 14, 31, 0.55) 0%, rgba(5, 14, 31, 0.3) 40%, rgba(5, 14, 31, 0.5) 70%, rgba(5, 14, 31, 0.92) 100%);
}

#heroWaveCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--page-width);
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-center {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  animation-delay: 200ms;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-center .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.82rem;
}

.hero-title {
  color: #fff;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-line[data-delay="0"] {
  animation-delay: 500ms;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title-line[data-delay="1"] {
  animation-delay: 700ms;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-title-accent {
  background: linear-gradient(135deg, #75b6ff 0%, var(--accent) 40%, #60a5fa 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(117, 182, 255, 0.3));
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-center .hero-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 56ch;
  margin: 32px 0 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 800ms ease forwards;
  animation-delay: 900ms;
}

.hero-center .hero-actions {
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 800ms ease forwards;
  animation-delay: 1100ms;
}

.hero-btn-glow {
  position: relative;
  overflow: visible;
}

.hero-btn-glow::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  filter: blur(16px);
  z-index: -1;
  transition: opacity 300ms ease;
}

.hero-btn-glow:hover::after {
  opacity: 0.5;
}

.hero-center .button-primary {
  gap: 8px;
  padding: 0 32px;
  height: 52px;
  font-size: 1rem;
  font-weight: 700;
}

.hero-center .button-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}

.hero-center .button-primary:hover svg {
  transform: translateX(4px);
}

.hero-center .button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  gap: 8px;
}

.hero-center .button-secondary svg {
  width: 18px;
  height: 18px;
}

.hero-center .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 800ms ease forwards;
  animation-delay: 1300ms;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-trust-item strong {
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-trust-item span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
  opacity: 0;
  animation: heroScrollIn 800ms ease forwards 2s, scrollBounce 2.5s ease-in-out infinite 2.8s;
}

.hero-scroll-hint svg {
  width: 20px;
  height: 20px;
}

@keyframes heroScrollIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Sora", "Aptos Display", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-text,
.solution-content p,
.featured-desc,
.project-content p,
.oem-card p,
.cert-card p,
.knowledge-card p,
.footer-brand p,
.footer-contact p {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 30px;
  font-size: 1.05rem;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.metrics-power {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  width: var(--page-width);
  margin: -40px auto 0;
  position: relative;
  z-index: 5;
  padding: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow:
    0 24px 80px rgba(15, 37, 87, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.metric-power-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  border-radius: 20px;
  text-align: center;
  transition: all 300ms ease;
  cursor: default;
}

.metric-power-item:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(15, 37, 87, 0.06);
  transform: translateY(-2px);
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 102, 232, 0.08), rgba(117, 182, 255, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.metric-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.metric-power-item strong {
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.65rem;
  color: var(--primary-deep);
  letter-spacing: -0.02em;
}

.metric-power-item span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(15, 102, 232, 0.06);
  margin-top: 8px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-heading {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.text-link {
  color: var(--primary-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.solution-card {
  position: relative;
  min-height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms ease;
  cursor: pointer;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.solution-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
  filter: brightness(0.85) saturate(1.1);
}

.solution-card:hover .solution-bg-img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1.2);
}

.solution-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.solution-stadium .solution-bg {
  background:
    linear-gradient(180deg, rgba(8, 25, 51, 0.1) 0%, rgba(8, 25, 51, 0.4) 40%, rgba(8, 25, 51, 0.88) 100%),
    linear-gradient(135deg, rgba(62, 168, 255, 0.15) 0%, transparent 50%);
}

.solution-concert .solution-bg {
  background:
    linear-gradient(180deg, rgba(30, 10, 5, 0.1) 0%, rgba(30, 10, 5, 0.4) 40%, rgba(30, 10, 5, 0.88) 100%),
    linear-gradient(135deg, rgba(255, 100, 50, 0.18) 0%, transparent 50%);
}

.solution-church .solution-bg {
  background:
    linear-gradient(180deg, rgba(20, 15, 8, 0.1) 0%, rgba(20, 15, 8, 0.35) 40%, rgba(20, 15, 8, 0.88) 100%),
    linear-gradient(135deg, rgba(255, 218, 153, 0.15) 0%, transparent 50%);
}

.solution-conference .solution-bg {
  background:
    linear-gradient(180deg, rgba(15, 20, 30, 0.1) 0%, rgba(15, 20, 30, 0.4) 40%, rgba(15, 20, 30, 0.88) 100%),
    linear-gradient(135deg, rgba(100, 160, 255, 0.12) 0%, transparent 50%);
}

.solution-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 32px;
  color: #fff;
  transition: transform 400ms ease;
}

.solution-card:hover .solution-content {
  transform: translateY(-4px);
}

.solution-icon {
  margin-bottom: 16px;
}

.solution-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--accent);
}

.solution-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.solution-content p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 14px;
}

.solution-products {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.solution-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.solution-content .text-link {
  color: var(--accent);
}

.featured-carousel {
  position: relative;
  overflow: hidden;
}

.featured-slide {
  display: none;
  animation: fadeSlide 500ms ease;
}

.featured-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.featured-category {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(15, 102, 232, 0.08);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.featured-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.featured-visual {
  position: relative;
  height: 100%;
  display: flex;
}

.featured-product-frame {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(125, 190, 255, 0.15), rgba(238, 244, 255, 0.6));
  box-shadow: var(--shadow);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.featured-product-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 20px 40px rgba(13, 27, 54, 0.18));
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b35, #ff4500);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-badge-new {
  background: linear-gradient(135deg, #0f66e8, #0a4db5);
}

.featured-badge-hot {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 0 8px;
}

.carousel-tabs {
  display: flex;
  gap: 8px;
}

.carousel-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 37, 87, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 200ms ease;
}

.carousel-tab svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.carousel-tab:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: rgba(15, 102, 232, 0.04);
}

.carousel-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.carousel-tab.active svg {
  fill: #fff;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 37, 87, 0.12);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  color: var(--text);
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 37, 87, 0.12);
  transition: all 300ms ease;
}

.carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 999px;
}

.featured-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-info h3 {
  font-size: 1.6rem;
  color: var(--text);
}

.featured-desc {
  color: var(--text-soft);
  line-height: 1.75;
}

.featured-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 37, 87, 0.06);
  box-shadow: var(--shadow-soft);
}

.spec-item strong {
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.15rem;
  color: var(--primary-deep);
}

.spec-item span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.featured-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.project-bg-img {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-bg-img {
  transform: scale(1.05);
}

.project-bg {
  position: absolute;
  inset: 0;
}

.project-dubai .project-bg {
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 200, 80, 0.4), transparent 35%),
    linear-gradient(145deg, #1a1205 5%, #8b6914 44%, #0a0804 100%);
}

.project-sydney .project-bg {
  background:
    radial-gradient(circle at 40% 40%, rgba(100, 180, 255, 0.4), transparent 30%),
    linear-gradient(145deg, #05101f 5%, #1a3a5c 44%, #020810 100%);
}

.project-thailand .project-bg {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 100, 50, 0.4), transparent 30%),
    linear-gradient(145deg, #1a0a05 5%, #6c2403 44%, #0a0403 100%);
}

.project-singapore .project-bg {
  background:
    radial-gradient(circle at 50% 40%, rgba(200, 220, 255, 0.35), transparent 30%),
    linear-gradient(145deg, #0d1520 5%, #2d4a6f 44%, #0a0f18 100%);
}

.project-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.75) 100%);
}

.project-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 32px;
  color: #fff;
  transition: transform 400ms ease;
}

.project-card:hover .project-content {
  transform: translateY(-4px);
}

.project-location {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.project-content p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.projects-stat {
  text-align: center;
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 102, 232, 0.06), rgba(117, 182, 255, 0.04));
  border: 1px solid rgba(15, 102, 232, 0.08);
}

.projects-stat strong {
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 2.5rem;
  color: var(--primary-deep);
  margin-right: 12px;
}

.projects-stat span {
  color: var(--text-soft);
  font-size: 1.1rem;
  font-weight: 600;
}

.factory-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.factory-video-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.factory-video-frame img {
  width: 100%;
  border-radius: var(--radius-xl);
}

.factory-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(15, 102, 232, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 300ms ease;
  box-shadow: 0 8px 32px rgba(15, 102, 232, 0.4);
  z-index: 2;
}

.factory-play-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(15, 102, 232, 0.3);
  animation: playPulse 2s ease-in-out infinite;
}

.factory-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 48px rgba(15, 102, 232, 0.5);
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0; }
}

.factory-play-btn svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  margin-left: 4px;
}

.factory-data {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.factory-data h3 {
  font-size: 1.8rem;
  color: var(--text);
}

.factory-data p {
  color: var(--text-soft);
  line-height: 1.75;
}

.factory-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.factory-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 37, 87, 0.06);
  box-shadow: var(--shadow-soft);
}

.factory-stat-item strong {
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.5rem;
  color: var(--primary-deep);
}

.factory-stat-item span {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.factory-waterfall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.waterfall-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 37, 87, 0.06);
  box-shadow: var(--shadow-soft);
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.waterfall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15, 37, 87, 0.1);
  border-color: rgba(15, 102, 232, 0.15);
}

.waterfall-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 4px;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.waterfall-item:hover img {
  transform: scale(1.08);
}

.waterfall-item svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-deep);
}

.waterfall-item span {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.oem-process {
  position: relative;
}

.oem-process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.oem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 37, 87, 0.06);
  box-shadow: var(--shadow-soft);
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.oem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 300ms ease;
}

.oem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 37, 87, 0.1);
  border-color: rgba(15, 102, 232, 0.12);
}

.oem-card:hover::before {
  opacity: 1;
}

.oem-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oem-card-num {
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(15, 102, 232, 0.08);
  transition: color 300ms ease;
}

.oem-card:hover .oem-card-num {
  color: rgba(15, 102, 232, 0.15);
}

.oem-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(15, 102, 232, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.oem-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  transition: all 300ms ease;
}

.oem-card:hover .oem-card-icon {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(15, 102, 232, 0.25);
}

.oem-card:hover .oem-card-icon svg {
  fill: #fff;
  transform: scale(1.1);
}

.oem-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  transition: color 200ms ease;
}

.oem-card:hover h3 {
  color: var(--primary-deep);
}

.oem-card p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.oem-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 102, 232, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: all 300ms ease;
}

.oem-card-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.oem-card:hover .oem-card-arrow {
  opacity: 1;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 102, 232, 0.3);
}

.oem-card:hover .oem-card-arrow svg {
  color: #fff;
}

.oem-card:last-child .oem-card-arrow {
  display: none;
}

.oem-card-check {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 300ms ease;
}

.oem-card-check svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.oem-card:last-child:hover .oem-card-check {
  opacity: 1;
  transform: scale(1);
}

.oem-card-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 37, 87, 0.06);
  box-shadow: var(--shadow-soft);
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15, 37, 87, 0.1);
  border-color: rgba(15, 102, 232, 0.15);
}

.cert-card:hover .cert-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(15, 102, 232, 0.2);
}

.cert-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.cert-icon svg {
  width: 44px;
  height: 44px;
}

.cert-ce { background: linear-gradient(135deg, #0f66e8, #0a4db5); }
.cert-fcc { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.cert-rohs { background: linear-gradient(135deg, #16a34a, #15803d); }
.cert-iso { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.cert-bsci { background: linear-gradient(135deg, #9333ea, #7e22ce); }

.cert-card h3 {
  font-size: 0.95rem;
  color: var(--text);
}

.cert-card p {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.knowledge-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 37, 87, 0.06);
  box-shadow: var(--shadow-soft);
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}

.knowledge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(15, 37, 87, 0.1);
}

.knowledge-art-img {
  width: 100%;
  min-height: 180px;
  max-height: 200px;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.knowledge-card:hover .knowledge-art-img {
  transform: scale(1.06);
}

.knowledge-img-wrap {
  overflow: hidden;
}

.knowledge-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.knowledge-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 102, 232, 0.08);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}

.knowledge-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text);
}

.knowledge-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cta-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(15, 102, 232, 0.2), transparent 60%),
    linear-gradient(180deg, #050e1f, #0a1e3d, #050e1f);
}

#ctaParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
  width: var(--page-width);
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  color: #fff;
  max-width: none;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.cta-form select {
  appearance: none;
  cursor: pointer;
}

.cta-form select option {
  background: #0a1e3d;
  color: #fff;
}

.cta-form textarea {
  resize: vertical;
  min-height: 80px;
}

.cta-form .button-primary {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
}

.cta-form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
  transition: opacity 200ms ease;
}

.cta-form-status.success {
  color: #4ade80;
}

.cta-form-status.error {
  color: #f87171;
}

.cta-form-status.loading {
  color: rgba(255, 255, 255, 0.6);
}

.cta-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.floating-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 37, 87, 0.08);
  box-shadow: 0 8px 24px rgba(15, 45, 99, 0.12);
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateX(-4px);
  box-shadow: 0 12px 32px rgba(15, 45, 99, 0.18);
}

.floating-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.floating-btn span {
  display: none;
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-color: transparent;
}

.floating-catalog {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-color: transparent;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr) 1fr;
  gap: 22px;
  padding: 36px 0 54px;
  margin-top: 24px;
  border-top: 1px solid rgba(15, 37, 87, 0.08);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-soft);
}

.social-row {
  gap: 10px;
  margin-top: 16px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 102, 232, 0.08);
  color: var(--primary-deep);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1200px) {
  .hero-content {
    max-width: 100%;
    padding: 0 24px;
  }

  .hero-title-line[data-delay="0"] {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  .hero-title-line[data-delay="1"] {
    font-size: clamp(2.2rem, 6.5vw, 4rem);
  }

  .hero-center .hero-text {
    max-width: 100%;
  }

  .metrics-power {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .featured-section {
    display: flex;
    flex-direction: column;
  }

  .featured-section .section-heading {
    order: 0;
  }

  .featured-section .carousel-controls {
    order: 1;
    flex-direction: column;
    gap: 16px;
  }

  .featured-section .featured-carousel {
    order: 2;
  }

  .featured-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .featured-product-frame {
    padding: 20px;
    height: 380px;
  }

  .featured-desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
  }

  .featured-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .spec-item {
    padding: 10px;
  }

  .carousel-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .carousel-nav {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .factory-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .factory-waterfall {
    grid-template-columns: repeat(3, 1fr);
  }

  .oem-process-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --page-width: min(100vw - 32px, 1320px);
  }

  /* Header - Full width on mobile */
  .site-header {
    padding: 8px 0;
  }

  .site-header::before {
    inset: 0 -16px 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1px 0 rgba(15, 37, 87, 0.06), 0 8px 24px rgba(15, 37, 87, 0.06);
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    gap: 8px;
  }

  /* Mobile Nav - Slide down with animation */
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: -16px;
    right: -16px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 48px rgba(15, 37, 87, 0.12);
  }

  .site-nav.is-open {
    display: flex;
    animation: navSlideDown 300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 1rem;
    transition: background 200ms ease;
  }

  .site-nav a:active {
    background: rgba(15, 102, 232, 0.06);
  }

  .site-nav a.active::after,
  .site-nav a:hover::after {
    display: none;
  }

  .site-nav a.active {
    background: rgba(15, 102, 232, 0.06);
    color: var(--primary-deep);
  }

  h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  h2 {
    max-width: none;
  }

  .metrics-power {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .metric-power-item {
    padding: 16px 12px;
  }

  .metric-power-item strong {
    font-size: 1.3rem;
  }

  .factory-waterfall {
    grid-template-columns: repeat(3, 1fr);
  }

  /* OEM Cards - Tablet */
  .oem-process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .oem-card-arrow {
    display: none;
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-sidebar {
    right: 12px;
  }

  /* Touch feedback */
  .solution-card:active,
  .project-card:active,
  .knowledge-card:active,
  .waterfall-item:active {
    transform: scale(0.98);
    transition-duration: 100ms;
  }
}

@media (max-width: 640px) {
  :root {
    --page-width: min(100vw - 24px, 1320px);
  }

  .header-actions .button {
    display: none;
  }

  .language-pill {
    width: 38px;
    height: 38px;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .section {
    padding-top: 24px;
  }

  .hero-fullscreen {
    padding: 90px 0 48px;
    min-height: auto;
  }

  .hero-eyebrow-row {
    padding: 6px 14px 6px 6px;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-title-line[data-delay="0"] {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }

  .hero-title-line[data-delay="1"] {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-center .hero-text {
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 20px 0 28px;
  }

  .hero-trust-row {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
  }

  .hero-trust-item strong {
    font-size: 1.15rem;
  }

  .hero-trust-item span {
    font-size: 0.68rem;
  }

  .hero-trust-divider {
    height: 28px;
  }

  .hero-center .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-center .button-primary,
  .hero-center .button-secondary {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 0.95rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  #heroWaveCanvas {
    opacity: 0.15;
  }

  /* Metrics - Stack on small screens */
  .metrics-power {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -16px;
    padding: 4px;
    border-radius: 20px;
  }

  .metric-power-item {
    padding: 14px 10px;
  }

  .metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .metric-icon svg {
    width: 16px;
    height: 16px;
  }

  .metric-power-item strong {
    font-size: 1.2rem;
  }

  .metric-power-item span {
    font-size: 0.68rem;
  }

  /* Solution cards - shorter on mobile */
  .solution-card {
    min-height: 0;
  }

  .solution-content {
    padding: 24px;
  }

  .solution-content h3 {
    font-size: 1.2rem;
  }

  .solution-content p {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
  }

  .featured-product-frame {
    padding: 16px;
    height: 300px;
  }

  .featured-info h3 {
    font-size: 1.2rem;
  }

  .featured-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .featured-actions {
    flex-direction: column;
    gap: 8px;
  }

  .featured-actions .button {
    width: 100%;
    justify-content: center;
  }

  .spec-item {
    padding: 8px;
  }

  .spec-item strong {
    font-size: 0.92rem;
  }

  .spec-item span {
    font-size: 0.68rem;
  }

  .carousel-tabs {
    gap: 4px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .carousel-tab {
    padding: 8px 6px;
    font-size: 0.7rem;
    border-radius: 999px;
    flex: 1;
    justify-content: center;
  }

  .carousel-tab svg {
    display: none;
  }

  .carousel-nav {
    display: none;
  }

  .carousel-controls {
    gap: 12px;
  }

  /* Project cards */
  .project-card {
    min-height: 220px;
  }

  .project-content {
    padding: 24px;
  }

  .project-content h3 {
    font-size: 1.15rem;
  }

  /* Factory */
  .factory-waterfall {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .waterfall-item {
    padding: 16px 12px;
  }

  .waterfall-item img {
    height: 90px;
  }

  .factory-stat-item {
    padding: 16px;
  }

  .factory-stat-item strong {
    font-size: 1.2rem;
  }

  /* OEM Cards - Mobile */
  .oem-process-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .oem-card {
    padding: 20px;
    gap: 10px;
  }

  .oem-card-num {
    font-size: 1.6rem;
  }

  .oem-card-icon {
    width: 40px;
    height: 40px;
  }

  .oem-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .oem-card h3 {
    font-size: 1rem;
  }

  .oem-card p {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
  }

  .oem-card-arrow {
    display: none;
  }

  .oem-card-check {
    display: none;
  }

  /* Certs */
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cert-card {
    padding: 20px 14px;
  }

  .cert-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  /* Knowledge */
  .knowledge-art-img {
    min-height: 140px;
    max-height: 160px;
  }

  .knowledge-card-body {
    padding: 16px;
  }

  .knowledge-card h3 {
    font-size: 0.95rem;
  }

  /* CTA Form */
  .cta-section {
    padding: 48px 0;
  }

  .cta-form input,
  .cta-form select,
  .cta-form textarea {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  /* Footer */
  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 48px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  /* Floating bottom bar */
  .floating-sidebar {
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(15, 37, 87, 0.06);
    padding: 10px 8px;
    border-radius: 12px;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .floating-btn:active {
    background: rgba(15, 102, 232, 0.06);
  }

  .floating-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
  }

  .floating-catalog {
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  }

  .floating-btn span {
    display: block;
    font-size: 0.62rem;
    margin-top: 2px;
  }

  .floating-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Prevent body scroll when nav open */
  .page-shell {
    padding-bottom: 64px;
  }

  /* Better touch targets */
  .text-link,
  .solution-tag,
  .project-location {
    -webkit-tap-highlight-color: transparent;
  }

  /* Reduce animations on mobile for performance */
  .reveal {
    transition-duration: 400ms;
  }

  .solution-card::before {
    display: none;
  }

  .factory-play-btn::before {
    display: none;
  }
}

/* ============================================
   Global Search Overlay (nav search button)
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 24px;
  background: rgba(15, 37, 87, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  background: var(--surface, #fff);
  border-radius: var(--radius-lg, 24px);
  box-shadow: 0 30px 90px rgba(5, 14, 31, 0.35);
  border: 1px solid var(--line, rgba(15, 37, 87, 0.1));
  overflow: hidden;
  transform: translateY(-14px) scale(0.98);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active .search-panel {
  transform: translateY(0) scale(1);
}

.search-title {
  padding: 22px 24px 4px;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text, #102550);
  letter-spacing: -0.01em;
}

.search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 37, 87, 0.06);
  color: var(--text, #102550);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
  z-index: 2;
}

.search-close:hover {
  background: rgba(15, 37, 87, 0.12);
  transform: rotate(90deg);
}

.search-close svg {
  width: 18px;
  height: 18px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 24px 8px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(15, 102, 232, 0.05);
  border: 1px solid rgba(15, 102, 232, 0.12);
}

.search-field svg {
  width: 20px;
  height: 20px;
  fill: var(--primary, #0f66e8);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 16px 0;
  font-size: 1.02rem;
  color: var(--text, #102550);
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-soft, #5f6d89);
}

.search-results {
  overflow-y: auto;
  padding: 4px 12px;
  flex: 1 1 auto;
  min-height: 0;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease;
}

.search-result-item:hover {
  background: rgba(15, 102, 232, 0.06);
}

.search-result-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #f6f7fb;
  flex-shrink: 0;
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-result-model {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text, #102550);
}

.search-result-name {
  font-size: 0.85rem;
  color: var(--text-soft, #5f6d89);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-cat {
  font-size: 0.74rem;
  color: var(--primary, #0f66e8);
  font-weight: 600;
}

.search-hint,
.search-empty {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-soft, #5f6d89);
  font-size: 0.92rem;
}

.search-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 24px;
  margin: 8px 12px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary, #0f66e8), var(--primary-deep, #0a4db5));
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 102, 232, 0.25);
  transition: transform 180ms ease;
}

.search-footer:hover {
  transform: translateY(-2px);
}

.search-footer::after {
  content: "→";
  font-weight: 700;
}

@media (max-width: 640px) {
  .search-overlay {
    padding: 60px 12px 12px;
  }

  .search-panel {
    max-height: calc(100vh - 80px);
  }

  .search-title {
    padding: 18px 18px 2px;
    font-size: 1rem;
  }

  .search-field {
    margin: 10px 18px 6px;
  }

  .search-input {
    font-size: 0.95rem;
  }
}