:root {
  --bg: #050b11;
  --panel: rgba(8, 17, 28, 0.76);
  --soft: rgba(168, 219, 255, 0.1);
  --line: rgba(128, 199, 255, 0.22);
  --text: #ebf5ff;
  --muted: #98afc5;
  --accent: #ff732e;
  --accent-2: #20d4a1;
  --accent-3: #56bfff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #14334e 0%, #08121b 35%, var(--bg) 70%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

#fxCanvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.4;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(88, 157, 207, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 157, 207, 0.09) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 40%, #000 18%, transparent 82%);
  z-index: -2;
  pointer-events: none;
}

.icon-sprite {
  position: absolute;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 16px auto 0;
  width: min(1240px, 95vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 15, 25, 0.75);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(170px, 20vw, 240px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  text-decoration: none;
  color: #d8ebff;
  font-size: 14px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  text-decoration: none;
  color: #06131f;
  background: linear-gradient(120deg, #ff955f, var(--accent));
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
}

main {
  width: min(1180px, 93vw);
  margin: 24px auto 72px;
  display: grid;
  gap: 22px;
}

section {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16, 30, 45, 0.72), rgba(8, 18, 30, 0.8));
  padding: clamp(18px, 3.4vw, 34px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.slider {
  min-height: 300px;
  position: relative;
}

.slide {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: 0.5s ease;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.tag,
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(86, 191, 255, 0.12);
  color: #dcf2ff;
  border: 1px solid rgba(126, 210, 255, 0.4);
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 12px 0;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(30px, 4.8vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.6px;
}

h2,
h3 {
  font-size: clamp(24px, 3.2vw, 38px);
}

p,
li,
small,
span {
  color: var(--muted);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

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

.btn-primary {
  color: #07141f;
  background: linear-gradient(120deg, var(--accent), #ffa25d);
}

.btn-ghost {
  color: #d8ecff;
  background: rgba(129, 197, 255, 0.11);
}

.slider-foot {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.slider-nav {
  display: flex;
  gap: 8px;
}

.dot {
  border: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(209, 233, 255, 0.28);
  cursor: pointer;
}

.dot.active {
  background: #66c5ff;
  box-shadow: 0 0 14px rgba(86, 191, 255, 0.8);
}

.slide-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(181, 225, 255, 0.16);
  overflow: hidden;
}

.slide-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #65c2ff, #27d6a5);
  transition: width 0.2s linear;
}

.hero-visual {
  min-height: 300px;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 16px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 10%, rgba(83, 196, 255, 0.25), transparent 55%),
    linear-gradient(155deg, rgba(14, 28, 43, 0.92), rgba(11, 23, 34, 0.9));
}

.pulse {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 212, 161, 0.4), rgba(32, 212, 161, 0));
  position: absolute;
  top: -35px;
  right: -35px;
  animation: pulse 4s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.visual-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(7, 20, 33, 0.78);
  position: relative;
  z-index: 2;
}

.card-main h3 {
  margin: 6px 0;
  font-size: 21px;
}

.card-main p {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  color: #8ad5ff;
}

.card-float {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.visual-photo {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  height: 150px;
  background: linear-gradient(rgba(7, 18, 29, 0.45), rgba(7, 18, 29, 0.8)),
    url("https://images.unsplash.com/photo-1613214150383-6be8fdd5f0fd?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.marquee {
  overflow: hidden;
  padding: 14px 0;
}

.track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.track span {
  color: #dff2ff;
  border: 1px solid var(--line);
  background: rgba(123, 191, 246, 0.11);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-cloud {
  display: grid;
  gap: 12px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.logo-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 78px;
  padding: 14px;
  background: rgba(10, 23, 36, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-grid img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.06);
  transition: 0.25s ease;
}

.logo-grid article:hover img {
  transform: scale(1.08);
}

.stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi-grid article,
.feature-grid article,
.brand-grid article,
.contact-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(11, 24, 37, 0.8);
  padding: 14px;
  transition: 0.25s ease;
}

.kpi-grid article:hover,
.feature-grid article:hover,
.brand-grid article:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(145, 219, 255, 0.5);
}

.kpi-grid strong {
  display: block;
  color: #ffffff;
  font-size: 34px;
}

.feature-grid,
.brand-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article {
  position: relative;
  overflow: hidden;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: auto -60% -60% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 191, 255, 0.2), transparent 70%);
}

.showcase {
  display: grid;
  gap: 14px;
}

.showcase-head h3 {
  margin-top: 10px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 10px;
}

.shot {
  margin: 0;
  border-radius: 15px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 210px;
}

.shot-lg {
  min-height: 290px;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.shot:hover img {
  transform: scale(1.08);
}

.ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bfe7ff;
  border: 1px solid rgba(122, 208, 255, 0.48);
  background: rgba(89, 172, 229, 0.17);
}

.ico svg {
  width: 18px;
  height: 18px;
}

.chart-panel {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
  align-items: center;
}

canvas#demandChart {
  width: 100%;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 34, 49, 0.6), rgba(10, 21, 32, 0.9));
}

.contact {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 12px;
}

.icon-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-line a {
  color: #bde8ff;
  text-decoration: none;
}

.map-wrap {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 260px;
  background: rgba(7, 20, 33, 0.7);
}

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

footer {
  color: #8fa9bf;
  text-align: center;
  padding: 24px;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

.tilt {
  transform-style: preserve-3d;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero-grid,
  .stats,
  .chart-panel,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .brand-grid,
  .kpi-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .card-float {
    width: 100%;
  }
}
