:root {
  --bg0: #050812;
  --bg1: #070c18;
  --panel: rgba(10, 18, 35, 0.62);
  --panel-2: rgba(9, 17, 34, 0.78);
  --stroke: rgba(130, 205, 255, 0.18);
  --stroke-2: rgba(130, 205, 255, 0.28);
  --text: rgba(238, 248, 255, 0.96);
  --muted: rgba(170, 196, 222, 0.78);
  --muted-2: rgba(170, 196, 222, 0.62);
  --cyan: #66f0ff;
  --blue: #5d7bff;
  --glow: rgba(102, 240, 255, 0.35);
  --glow2: rgba(93, 123, 255, 0.28);
  --shadow: 0 30px 70px rgba(0, 14, 34, 0.55);
  --shadow-soft: 0 18px 44px rgba(47, 142, 255, 0.22);
  --radius-lg: 26px;
  --radius: 18px;
  --max: 1180px;
  --mx: 50%;
  --my: 30%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(42, 120, 205, 0.22), transparent 60%),
    radial-gradient(900px 600px at 80% 70%, rgba(58, 235, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(700px 420px at var(--mx) var(--my), rgba(102, 240, 255, 0.18), transparent 60%),
    radial-gradient(900px 520px at calc(var(--mx) + 18%) calc(var(--my) + 16%),
      rgba(93, 123, 255, 0.14),
      transparent 60%);
  opacity: 1;
  transition: opacity 0.2s ease;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(125, 188, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 188, 255, 0.06) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.9;
  mask-image: radial-gradient(circle at 50% 15%, black 22%, transparent 70%);
  animation: gridDrift 14s linear infinite;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.9;
  transform: translateZ(0);
}

.glow-1 {
  width: 460px;
  height: 460px;
  left: -170px;
  top: -160px;
  background: rgba(102, 240, 255, 0.22);
}

.glow-2 {
  width: 360px;
  height: 360px;
  right: 6%;
  top: 14%;
  background: rgba(93, 123, 255, 0.22);
}

.glow-3 {
  width: 420px;
  height: 420px;
  right: 18%;
  bottom: -6%;
  background: rgba(102, 240, 255, 0.14);
}

.particles span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(118, 241, 255, 0.5);
  box-shadow: 0 0 30px rgba(111, 238, 255, 0.75);
  animation: particleFloat 10s ease-in-out infinite;
}

.particles span:nth-child(1) {
  left: 18%;
  top: 26%;
}
.particles span:nth-child(2) {
  left: 60%;
  top: 22%;
  width: 5px;
  height: 5px;
  animation-delay: -2s;
}
.particles span:nth-child(3) {
  left: 84%;
  top: 46%;
  width: 4px;
  height: 4px;
  animation-delay: -4s;
}
.particles span:nth-child(4) {
  left: 44%;
  top: 70%;
  animation-delay: -1.4s;
}
.particles span:nth-child(5) {
  left: 10%;
  top: 62%;
  width: 4px;
  height: 4px;
  animation-delay: -5.2s;
}
.particles span:nth-child(6) {
  left: 72%;
  top: 78%;
  width: 6px;
  height: 6px;
  animation-delay: -6.1s;
}

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4.4rem, 6vw, 6.4rem) 0;
}

.eyebrow {
  margin: 0 0 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.76rem;
  color: rgba(140, 227, 255, 0.82);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
  line-height: 1.06;
  max-width: 16ch;
  background: linear-gradient(120deg, rgba(236, 252, 255, 1), rgba(142, 241, 255, 1) 38%, rgba(154, 175, 255, 0.98) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  max-width: 24ch;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 1.05rem;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(10, 18, 35, 0.9), rgba(8, 14, 28, 0.7));
  box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  box-shadow: 0 0 22px rgba(102, 240, 255, 0.75);
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links-inner {
  position: relative;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 189, 245, 0.14);
  background: rgba(8, 14, 28, 0.28);
}

.nav-active-pill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 88px;
  height: calc(100% - 0.5rem);
  margin: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(102, 240, 255, 0.16), rgba(93, 123, 255, 0.14));
  border: 1px solid rgba(102, 240, 255, 0.22);
  box-shadow: 0 14px 28px rgba(83, 194, 255, 0.18);
  transform: translateX(var(--pill-x, 0px)) translateZ(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), width 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.25s ease;
  opacity: var(--pill-o, 1);
  pointer-events: none;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.1rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.72rem;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
  z-index: 1;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: rgba(235, 248, 255, 0.98);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

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

.btn-primary,
.btn-nav {
  color: rgba(3, 16, 26, 0.98);
  background: linear-gradient(115deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 40px rgba(62, 165, 255, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  color: rgba(236, 248, 255, 0.96);
  background: rgba(67, 130, 198, 0.1);
  border-color: rgba(129, 210, 255, 0.26);
}

.btn-secondary:hover {
  background: rgba(67, 130, 198, 0.16);
  box-shadow: 0 18px 40px rgba(62, 165, 255, 0.14);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(12, 22, 40, 0.42);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: rgba(230, 248, 255, 0.92);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-links-wrap {
  transform-origin: top right;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-height: calc(92vh - 84px);
  padding-top: 1.6rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -120px -60px auto -60px;
  height: 420px;
  background: radial-gradient(closest-side at 40% 25%, rgba(102, 240, 255, 0.18), transparent 70%),
    radial-gradient(closest-side at 70% 40%, rgba(93, 123, 255, 0.12), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

.hero-sub {
  margin-top: 1.15rem;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.55rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.section-heading {
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  margin-top: 0.35rem;
}

.section-heading p:not(.eyebrow) {
  margin-top: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}

.dashboard-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(130, 205, 255, 0.26);
  background: linear-gradient(160deg, rgba(10, 18, 35, 0.86), rgba(7, 12, 22, 0.72));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  animation: floatY 6.5s ease-in-out infinite;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(500px 220px at 20% 20%, rgba(102, 240, 255, 0.14), transparent 55%),
    radial-gradient(500px 220px at 80% 60%, rgba(93, 123, 255, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.dot-group {
  display: flex;
  gap: 0.42rem;
}

.dot-group span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(120, 240, 255, 0.9);
  opacity: 0.65;
}

.dash-head p {
  color: rgba(168, 197, 225, 0.86);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.1rem 0 0.7rem;
  position: relative;
  z-index: 1;
}

.dash-metrics article {
  border: 1px solid rgba(130, 205, 255, 0.16);
  background: rgba(92, 144, 206, 0.1);
  border-radius: 14px;
  padding: 0.9rem 0.9rem 0.85rem;
}

.dash-metrics h3 {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(170, 201, 232, 0.82);
  letter-spacing: 0.02em;
}

.dash-metrics p {
  margin: 0;
  font-weight: 700;
}

.wave-line {
  height: 64px;
  border-radius: 14px;
  margin: 0.9rem 0 0.75rem;
  border: 1px solid rgba(130, 205, 255, 0.12);
  background: linear-gradient(180deg, rgba(121, 192, 255, 0.12), rgba(90, 204, 255, 0.03));
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.wave-line::before {
  content: "";
  position: absolute;
  inset: auto -35% 26%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(102, 240, 255, 0.95), rgba(93, 123, 255, 0.85), transparent);
  animation: waveMove 3.8s linear infinite;
  filter: drop-shadow(0 0 10px rgba(102, 240, 255, 0.6));
}

.sensor-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  color: rgba(172, 196, 222, 0.86);
  font-size: 0.86rem;
  margin-top: 0.55rem;
  position: relative;
  z-index: 1;
}

.status {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  border: 1px solid transparent;
}

.status.ok {
  background: rgba(91, 255, 211, 0.14);
  color: rgba(132, 255, 223, 0.95);
  border-color: rgba(91, 255, 211, 0.22);
}

.status.warn {
  background: rgba(255, 165, 92, 0.16);
  color: rgba(255, 214, 175, 0.95);
  border-color: rgba(255, 165, 92, 0.24);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(130, 205, 255, 0.2);
  background: linear-gradient(160deg, rgba(10, 18, 35, 0.66), rgba(7, 12, 22, 0.5));
  backdrop-filter: blur(14px);
  padding: 1.25rem 1.2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(102, 240, 255, 0.12);
  filter: blur(16px);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(93, 123, 255, 0.1);
  filter: blur(22px);
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(102, 240, 255, 0.46);
  box-shadow: 0 22px 54px rgba(61, 160, 255, 0.18);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(102, 240, 255, 0.08);
  border: 1px solid rgba(130, 205, 255, 0.22);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  transition: transform 0.28s ease;
}

.feature-card:hover .icon {
  transform: translateY(-2px) scale(1.03);
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* Live dashboard */
.live-dash .dash-shell {
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(130, 205, 255, 0.22);
  background: linear-gradient(160deg, rgba(10, 18, 35, 0.78), rgba(7, 12, 22, 0.62));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.live-dash .dash-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 18% 10%, rgba(102, 240, 255, 0.14), transparent 60%),
    radial-gradient(700px 260px at 84% 60%, rgba(93, 123, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.dash-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.1rem 0.85rem;
  border-bottom: 1px solid rgba(130, 205, 255, 0.12);
}

.dash-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-dots {
  display: flex;
  gap: 0.45rem;
}

.dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(102, 240, 255, 0.72);
  opacity: 0.8;
}

.dash-title p {
  color: rgba(190, 219, 242, 0.86);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.dash-badges {
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 240, 255, 0.2);
  background: rgba(102, 240, 255, 0.08);
  color: rgba(203, 245, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-soft {
  border-color: rgba(93, 123, 255, 0.2);
  background: rgba(93, 123, 255, 0.08);
}

.dash-grid {
  position: relative;
  z-index: 1;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.dash-card {
  grid-column: span 4;
  border-radius: 18px;
  border: 1px solid rgba(130, 205, 255, 0.16);
  background: rgba(7, 12, 22, 0.46);
  padding: 1rem 1rem 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dash-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 240, 255, 0.34);
  box-shadow: 0 18px 40px rgba(62, 165, 255, 0.16);
}

.dash-card-wide {
  grid-column: span 8;
}

.dash-label {
  color: rgba(170, 196, 222, 0.82);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dash-value {
  margin-top: 0.45rem;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dash-dim {
  color: rgba(170, 196, 222, 0.7);
  font-weight: 600;
  font-size: 1.2rem;
}

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dash-chip {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 205, 255, 0.16);
  background: rgba(130, 205, 255, 0.06);
  color: rgba(205, 240, 255, 0.86);
  font-size: 0.78rem;
}

.dash-progress {
  margin-top: 0.75rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(130, 205, 255, 0.08);
  border: 1px solid rgba(130, 205, 255, 0.14);
  overflow: hidden;
}

.dash-progress span {
  display: block;
  height: 100%;
  width: var(--p);
  background: linear-gradient(90deg, rgba(102, 240, 255, 0.92), rgba(93, 123, 255, 0.88));
  box-shadow: 0 0 22px rgba(102, 240, 255, 0.35);
  border-radius: 999px;
}

.dash-indicators {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.4rem;
}

.ind {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid rgba(130, 205, 255, 0.18);
  background: rgba(130, 205, 255, 0.06);
}

.ind.on {
  background: rgba(102, 240, 255, 0.18);
  border-color: rgba(102, 240, 255, 0.32);
  box-shadow: 0 0 20px rgba(102, 240, 255, 0.22);
}

.chart-bars {
  height: 160px;
  margin-top: 0.95rem;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}

.chart-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(102, 240, 255, 1), rgba(93, 123, 255, 0.95));
  box-shadow: 0 0 20px rgba(102, 240, 255, 0.26);
  transform-origin: bottom;
}

.chart-animate span {
  animation: barIn 1.1s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.chart-animate span:nth-child(2) {
  animation-delay: 0.05s;
}
.chart-animate span:nth-child(3) {
  animation-delay: 0.1s;
}
.chart-animate span:nth-child(4) {
  animation-delay: 0.15s;
}
.chart-animate span:nth-child(5) {
  animation-delay: 0.2s;
}
.chart-animate span:nth-child(6) {
  animation-delay: 0.25s;
}
.chart-animate span:nth-child(7) {
  animation-delay: 0.3s;
}
.chart-animate span:nth-child(8) {
  animation-delay: 0.35s;
}

.sensor-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.sensor-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
  color: rgba(170, 196, 222, 0.9);
  font-size: 0.9rem;
}

.sensor-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sensor-status {
  font-size: 0.74rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.sensor-status.ok {
  background: rgba(91, 255, 211, 0.12);
  border-color: rgba(91, 255, 211, 0.22);
  color: rgba(132, 255, 223, 0.95);
}

.sensor-status.warn {
  background: rgba(255, 165, 92, 0.14);
  border-color: rgba(255, 165, 92, 0.24);
  color: rgba(255, 214, 175, 0.95);
}

.sensor-delta {
  color: rgba(170, 196, 222, 0.7);
}

.alert-feed {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: rgba(176, 205, 232, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.55rem;
  background: rgba(126, 242, 255, 1);
  box-shadow: 0 0 0 0 rgba(126, 242, 255, 0.7);
  animation: pulse 2.4s infinite;
}

/* Tech pills */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pills span {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 205, 255, 0.22);
  background: rgba(130, 205, 255, 0.08);
  color: rgba(220, 246, 255, 0.92);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tech-pills span:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 240, 255, 0.42);
  box-shadow: 0 20px 48px rgba(62, 165, 255, 0.16);
}

/* Testimonials carousel */
.t-carousel {
  position: relative;
}

.t-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.t-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(130, 205, 255, 0.2);
  background: rgba(10, 18, 35, 0.52);
  color: rgba(236, 248, 255, 0.92);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.t-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 240, 255, 0.42);
  box-shadow: 0 18px 44px rgba(62, 165, 255, 0.16);
}

.t-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(130, 205, 255, 0.16);
  background: rgba(10, 18, 35, 0.36);
  backdrop-filter: blur(14px);
}

.t-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 100%);
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.testimonial-card {
  padding: 1.25rem 1.25rem 1.2rem;
  border-right: 1px solid rgba(130, 205, 255, 0.1);
  background: linear-gradient(160deg, rgba(10, 18, 35, 0.72), rgba(7, 12, 22, 0.58));
}

.testimonial-card:last-child {
  border-right: none;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(4, 20, 34, 0.98);
  background: linear-gradient(120deg, rgba(142, 248, 255, 1), rgba(126, 154, 255, 1));
  box-shadow: 0 18px 44px rgba(62, 165, 255, 0.2);
  margin-bottom: 0.8rem;
}

.testimonial-card p {
  color: rgba(190, 216, 240, 0.9);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-top: 0.2rem;
}

.testimonial-card h4 {
  margin-top: 0.95rem;
  font-size: 0.95rem;
  color: rgba(236, 248, 255, 0.94);
}

.t-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.t-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(130, 205, 255, 0.22);
  background: rgba(130, 205, 255, 0.12);
  padding: 0;
  cursor: pointer;
}

.t-dots button[aria-current="true"] {
  width: 18px;
  background: linear-gradient(90deg, rgba(102, 240, 255, 0.95), rgba(93, 123, 255, 0.92));
  border-color: rgba(102, 240, 255, 0.42);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
  align-items: start;
}

.contact-copy p {
  margin-top: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
}

.contact-cta {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.mini-links {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.mini-links a {
  text-decoration: none;
  color: rgba(170, 216, 246, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

.mini-links a:hover {
  color: rgba(236, 248, 255, 0.95);
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(130, 205, 255, 0.2);
  background: linear-gradient(160deg, rgba(10, 18, 35, 0.78), rgba(7, 12, 22, 0.62));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

label {
  font-size: 0.85rem;
  color: rgba(170, 196, 222, 0.9);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(130, 205, 255, 0.18);
  background: rgba(5, 10, 18, 0.52);
  color: rgba(236, 248, 255, 0.96);
  padding: 0.85rem 0.9rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(170, 196, 222, 0.55);
}

input:focus,
textarea:focus {
  border-color: rgba(102, 240, 255, 0.46);
  box-shadow: 0 0 0 6px rgba(102, 240, 255, 0.12);
  background: rgba(6, 12, 22, 0.66);
}

.submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  margin-top: 0.75rem;
  color: rgba(170, 196, 222, 0.62);
  font-size: 0.85rem;
  text-align: center;
}

/* Footer */
.footer {
  margin-top: 2.2rem;
  padding: 2.8rem 0 1.9rem;
  border-top: 1px solid rgba(130, 205, 255, 0.14);
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.2), rgba(6, 10, 18, 0.55));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(130, 205, 255, 0.12);
}

.footer-brand p {
  margin-top: 0.8rem;
  color: rgba(170, 196, 222, 0.72);
  line-height: 1.7;
  max-width: 46ch;
}

.footer-links,
.footer-social {
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-social a,
.footer-legal a {
  text-decoration: none;
  color: rgba(170, 216, 246, 0.86);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-social a:hover,
.footer-legal a:hover {
  color: rgba(236, 248, 255, 0.95);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  padding-top: 1.1rem;
  color: rgba(170, 196, 222, 0.72);
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  gap: 0.85rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

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

@keyframes waveMove {
  0% {
    transform: translateX(-40%);
  }
  100% {
    transform: translateX(40%);
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 242, 255, 0.56);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(126, 242, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(126, 242, 255, 0);
  }
}

@keyframes barIn {
  from {
    transform: scaleY(0.2);
    opacity: 0.3;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-26px);
    opacity: 1;
  }
}

@keyframes gridDrift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(40px);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .dash-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .dash-card {
    grid-column: span 3;
  }

  .dash-card-wide {
    grid-column: span 6;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links-wrap {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0.6rem;
    width: min(340px, calc(100vw - 2rem));
    padding: 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(130, 205, 255, 0.18);
    background: rgba(6, 10, 18, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

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

  .nav-links-inner {
    border-radius: 18px;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 0.7rem 0.85rem;
  }

  .nav-active-pill {
    opacity: 0;
  }

  .btn-nav {
    width: 100%;
  }

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

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

  .dash-card {
    grid-column: span 1;
  }

  .dash-card-wide {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
