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

:root {
  --bg: #060816;
  --bg-2: #0b1022;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.11);
  --text: #ffffff;
  --muted: rgba(232, 239, 255, 0.72);
  --muted-2: rgba(232, 239, 255, 0.48);
  --accent: #7c8cff;
  --accent-2: #32d8ff;
  --accent-3: #ff68c8;
  --accent-soft: rgba(124, 140, 255, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 140, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(50, 216, 255, 0.12), transparent 22%),
    radial-gradient(circle at 78% 82%, rgba(255, 104, 200, 0.10), transparent 24%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

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

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

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 20%, white 0.7px, transparent 0.7px),
    radial-gradient(circle at 80% 60%, white 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  z-index: 0;
}

.page-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.glow-one {
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, #4c6fff, #32d8ff);
  top: 70px;
  left: -50px;
}

.glow-two {
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, #7f5cff, #ff68c8);
  right: -90px;
  bottom: 50px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}

.top-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 24px 0;
}


.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 70;
  pointer-events: none;
}

.scroll-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, rgba(50,216,255,0.95), rgba(124,140,255,0.95), rgba(255,104,200,0.9));
  box-shadow: 0 0 18px rgba(50,216,255,0.28);
}

.navbar {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 74px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(12, 16, 34, 0.88), rgba(8, 10, 20, 0.82));
  backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), transparent 22%, rgba(50,216,255,0.06) 55%, transparent 78%, rgba(255,104,200,0.08));
  opacity: 0.9;
  z-index: -1;
}

.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255,255,255,0.18), rgba(50,216,255,0.3), rgba(124,140,255,0.28), rgba(255,104,200,0.24));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

.navbar:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 140, 255, 0.22);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.nav-ambient-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  left: var(--glow-x, 50%);
  top: var(--glow-y, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(50,216,255,0.18) 0%, rgba(124,140,255,0.13) 34%, rgba(255,104,200,0.09) 60%, transparent 72%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.navbar:hover .nav-ambient-glow {
  opacity: 1;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #32d8ff 35%, #7b8fff 65%, #ff68c8 100%);
  box-shadow: 0 0 24px rgba(124, 140, 255, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.04);
}

.nav-link {
  position: relative;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.28s ease, transform 0.28s ease;
  z-index: 2;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  z-index: 2;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  transform: translateY(-1px);
}

.nav-link:hover::before,
.nav-link.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 0;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 20px rgba(0,0,0,0.14);
  transition: transform 0.3s cubic-bezier(.22,.8,.24,1), width 0.3s cubic-bezier(.22,.8,.24,1), opacity 0.2s ease;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.footer-links a,
.mobile-menu a {
  color: var(--muted);
  transition: 0.25s ease;
}

.footer-links a:hover,
.mobile-menu a:hover {
  color: #fff;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-cta {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(124, 140, 255, 0.28);
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.3), rgba(50, 216, 255, 0.2), rgba(255, 104, 200, 0.18));
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 12px 24px rgba(73, 92, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: -120% auto -120% -30%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  opacity: 0;
}

.navbar:hover .nav-cta::before {
  animation: ctaShine 2.2s ease infinite;
  opacity: 1;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.menu-toggle:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.08);
  border-color: rgba(124,140,255,0.3);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 0 auto;
  transition: transform 0.28s ease, opacity 0.24s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  max-width: 1240px;
  margin: 10px auto 0;
  padding: 16px 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(10, 13, 28, 0.9);
  backdrop-filter: blur(14px);
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.mobile-menu.active {
  display: flex;
}

.hero,
.dashboard-section,
.contact-section,
.footer {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  padding-top: 92px;
  padding-bottom: 60px;
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-2);
  letter-spacing: 2px;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  max-width: 760px;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #85f0ff 28%, #95a7ff 62%, #ff8ddd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  margin-top: 22px;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.3), rgba(50, 216, 255, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 12px 30px rgba(74, 105, 255, 0.18);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.hero-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.stat-card,
.panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.022));
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.stat-card {
  border-radius: 22px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.stat-card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124,140,255,0.08), rgba(50,216,255,0.04) 45%, rgba(255,104,200,0.04));
  pointer-events: none;
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.panel {
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

.big-panel {
  min-height: 520px;
}

.preview-panel {
  padding: 16px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 2px 4px 16px;
}

.panel-dots {
  display: flex;
  gap: 8px;
}

.panel-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.34);
  display: block;
}

.preview-image-wrap {
  height: calc(100% - 32px);
  min-height: 455px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #07101b;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-section {
  padding-bottom: 36px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

.info-panel,
.side-metrics,
.mini-panel,
.contact-info,
.form-panel {
  padding: 28px;
}

.info-panel h2,
.side-metrics h2,
.mini-panel h2,
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.info-panel p,
.side-metrics p,
.mini-panel p,
.contact-info p {
  color: var(--muted);
  line-height: 1.8;
}

.metric-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.metric-item,
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, rgba(124,140,255,0.08), rgba(255,255,255,0.03));
  border-radius: 18px;
  padding: 16px;
}

.metric-item span,
.info-row span {
  color: var(--muted);
}

.metric-item strong,
.info-row strong {
  color: #fff;
  text-align: right;
}

.contact-section {
  padding-top: 24px;
  padding-bottom: 70px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
}

.contact-info-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-form {
  width: 100%;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.9);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  color: #fff;
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  transition: 0.25s ease;
}

.field select option {
  color: #000;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(50, 216, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(50, 216, 255, 0.08);
}

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

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-actions p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  padding-top: 0;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

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

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

.delay {
  transition-delay: 0.16s;
}

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

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-wrap {
    padding: 14px 14px 0;
  }

  .hero,
  .dashboard-section,
  .contact-section,
  .footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .navbar {
    padding: 0 16px;
  }

  .big-panel {
    min-height: auto;
  }

  .preview-image-wrap {
    min-height: 280px;
  }
}

.preview-mockup {
  position: relative;
  min-height: 455px;
  display: grid;
  grid-template-columns: 90px 1fr;
  background:
    radial-gradient(circle at top right, rgba(95, 87, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(50, 216, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-radius: 22px;
  overflow: hidden;
}

.mockup-topbar {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.mockup-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.mockup-sidebar {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,0.02);
}

.mockup-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(50,216,255,0.55), rgba(124,140,255,0.55), rgba(255,104,200,0.45));
  box-shadow: 0 0 18px rgba(140, 160, 255, 0.18);
  margin-bottom: 8px;
}

.mockup-nav-item {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.mockup-nav-item.active {
  background: linear-gradient(90deg, rgba(50,216,255,0.8), rgba(124,140,255,0.9));
  box-shadow: 0 0 14px rgba(180,197,255,0.2);
}

.mockup-main {
  padding: 58px 20px 20px;
  display: grid;
  gap: 18px;
}

.mockup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mockup-chip {
  width: 96px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,140,255,0.14), rgba(50,216,255,0.09));
  border: 1px solid rgba(255,255,255,0.08);
}

.mockup-chip.short {
  width: 66px;
}

.mockup-editor {
  min-height: 240px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.mockup-code-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(50,216,255,0.35), rgba(124,140,255,0.25), rgba(255,255,255,0.05));
}

.mockup-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-card {
  min-height: 95px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(124,140,255,0.05));
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.mockup-card-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}

.w-95 { width: 95%; }
.w-92 { width: 92%; }
.w-88 { width: 88%; }
.w-84 { width: 84%; }
.w-80 { width: 80%; }
.w-75 { width: 75%; }
.w-74 { width: 74%; }
.w-70 { width: 70%; }
.w-66 { width: 66%; }
.w-60 { width: 60%; }
.w-55 { width: 55%; }
.w-45 { width: 45%; }

@media (max-width: 900px) {
  .preview-mockup {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-main {
    padding: 54px 14px 14px;
  }

  .mockup-bottom {
    grid-template-columns: 1fr;
  }
}

.mobile-menu-cta {
  margin-top: 4px;
  border: 1px solid rgba(124,140,255,0.22);
  border-radius: 999px;
  padding: 12px 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124,140,255,0.2), rgba(50,216,255,0.12));
  color: #fff !important;
}

@keyframes ctaShine {
  0% { transform: translateX(-180%) rotate(18deg); }
  100% { transform: translateX(420%) rotate(18deg); }
}

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

.top-wrap {
  animation: navFloat 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .top-wrap,
  .navbar:hover,
  .nav-link,
  .nav-cta,
  .menu-toggle,
  .nav-indicator {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}


/* enhanced motion */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(50,216,255,0.06), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(255,104,200,0.05), transparent 18%),
    radial-gradient(circle at 50% 80%, rgba(124,140,255,0.07), transparent 20%);
  animation: auroraDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.brand-icon,
.gradient-text,
.panel-dots i,
.mockup-logo {
  animation: pulseGlow 4.5s ease-in-out infinite;
}

.hero-left h1,
.hero-text,
.hero-buttons,
.hero-stats,
.panel,
.stat-card,
.metric-item,
.info-row,
.field,
.footer-links a {
  will-change: transform, opacity;
}

.hero-left h1 {
  animation: textRise 1s ease both;
}

.hero-text {
  animation: textRise 1s ease 0.12s both;
}

.hero-buttons {
  animation: textRise 1s ease 0.22s both;
}

.hero-stats .stat-card:nth-child(1) { animation: textRise 0.8s ease 0.18s both, floatCard 6s ease-in-out 1s infinite; }
.hero-stats .stat-card:nth-child(2) { animation: textRise 0.8s ease 0.28s both, floatCard 6s ease-in-out 1.8s infinite; }
.hero-stats .stat-card:nth-child(3) { animation: textRise 0.8s ease 0.38s both, floatCard 6s ease-in-out 2.6s infinite; }

.panel,
.stat-card,
.metric-item,
.info-row,
.field input,
.field select,
.field textarea,
.btn,
.mobile-menu,
.menu-toggle {
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, background .35s ease, opacity .35s ease;
}

.panel:hover,
.stat-card:hover,
.metric-item:hover,
.info-row:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(124,140,255,0.24);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 30px rgba(124,140,255,0.08);
}

.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
}

.btn::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.18), transparent 34%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.btn:hover::after,
.nav-cta:hover::after {
  opacity: 1;
}

.preview-panel,
.preview-mockup,
.mockup-editor,
.mockup-card,
.mockup-chip,
.mockup-nav-item,
.mockup-code-line,
.mockup-card-line {
  animation: floatCard 7s ease-in-out infinite;
}

.mockup-chip:nth-child(2),
.mockup-code-line:nth-child(2),
.mockup-card:nth-child(2) { animation-delay: .6s; }
.mockup-chip:nth-child(3),
.mockup-code-line:nth-child(3) { animation-delay: 1.1s; }
.mockup-chip:nth-child(4),
.mockup-code-line:nth-child(4) { animation-delay: 1.4s; }
.mockup-code-line:nth-child(5) { animation-delay: 1.8s; }
.mockup-code-line:nth-child(6) { animation-delay: 2.1s; }
.mockup-code-line:nth-child(7) { animation-delay: 2.4s; }
.mockup-code-line:nth-child(8) { animation-delay: 2.7s; }

.preview-mockup::after {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.08) 48%, transparent 62%);
  transform: translateX(-90%) rotate(8deg);
  animation: mockupSweep 6.5s linear infinite;
  pointer-events: none;
}

.panel-head,
.contact-info-list,
.metric-list,
.footer-brand,
.footer-links {
  animation: textRise .8s ease both;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(124,140,255,0.24);
  transform: translateY(-2px);
}

.mobile-menu.active {
  animation: menuDrop .4s cubic-bezier(.2,.8,.2,1) both;
}

.nav-link span {
  display: inline-block;
  transition: transform .28s ease;
}

.nav-link:hover span,
.nav-link.is-active span {
  transform: translateY(-1px);
}

.footer-links a:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(124,140,255,0.45);
}

@keyframes auroraDrift {
  0% { transform: translate3d(-1%, 0, 0) scale(1); }
  50% { transform: translate3d(1.5%, -1.5%, 0) scale(1.04); }
  100% { transform: translate3d(-0.5%, 1.5%, 0) scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(124,140,255,0)); }
  50% { filter: drop-shadow(0 0 14px rgba(124,140,255,0.45)); }
}

@keyframes textRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes mockupSweep {
  0% { transform: translateX(-110%) rotate(8deg); opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { transform: translateX(110%) rotate(8deg); opacity: 0; }
}

@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .brand-icon,
  .gradient-text,
  .panel-dots i,
  .mockup-logo,
  .hero-left h1,
  .hero-text,
  .hero-buttons,
  .hero-stats .stat-card,
  .preview-panel,
  .preview-mockup,
  .mockup-editor,
  .mockup-card,
  .mockup-chip,
  .mockup-nav-item,
  .mockup-code-line,
  .mockup-card-line,
  .mobile-menu.active {
    animation: none !important;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.9,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.panel,
.stat-card,
.team-compact-card,
.price-card {
  transform: var(--card-transform, none);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  will-change: transform;
}

.panel:hover,
.stat-card:hover,
.price-card:hover {
  border-color: rgba(124, 140, 255, 0.22);
  box-shadow: 0 18px 44px rgba(6, 10, 24, 0.24);
}

.hero-left > * {
  animation: heroFadeUp 0.85s cubic-bezier(.2,.9,.2,1) both;
}
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.12s; }
.hero-left > *:nth-child(3) { animation-delay: 0.19s; }
.hero-left > *:nth-child(4) { animation-delay: 0.26s; }
.hero-left > *:nth-child(5) { animation-delay: 0.33s; }

.hero-stats .stat-card:nth-child(1),
.metric-list .metric-item:nth-child(1),
.pricing-grid .price-card:nth-child(1) { animation-delay: 0.06s; }
.hero-stats .stat-card:nth-child(2),
.metric-list .metric-item:nth-child(2),
.pricing-grid .price-card:nth-child(2) { animation-delay: 0.12s; }
.hero-stats .stat-card:nth-child(3),
.metric-list .metric-item:nth-child(3),
.pricing-grid .price-card:nth-child(3) { animation-delay: 0.18s; }

.stat-card,
.metric-item,
.info-row,
.price-card {
  animation: softFloat 6.5s ease-in-out infinite;
}

.metric-item:nth-child(even),
.info-row:nth-child(even),
.price-card:nth-child(even) {
  animation-duration: 7.8s;
  animation-delay: -1.1s;
}

.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: auto;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 0;
  height: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0) 70%);
  transform: translate(-50%, -50%);
  transition: width 0.32s ease, height 0.32s ease, opacity 0.32s ease;
  opacity: 0;
  z-index: -1;
}

.btn:hover::after,
.nav-cta:hover::after {
  width: 180px;
  height: 180px;
  opacity: 1;
}

.preview-mockup {
  position: relative;
  animation: mockupFloat 5.8s ease-in-out infinite;
}

.preview-mockup::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px 18px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(50,216,255,0.22), transparent 68%);
  filter: blur(18px);
  opacity: 0.8;
}

.pricing-section {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.pricing-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
}

.pricing-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.pricing-head p {
  color: var(--muted);
  line-height: 1.75;
}

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

.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(50,216,255,0.12), transparent 34%), radial-gradient(circle at bottom left, rgba(255,104,200,0.08), transparent 36%);
  pointer-events: none;
}

.price-card.featured {
  border-color: rgba(50,216,255,0.26);
  box-shadow: 0 18px 50px rgba(15, 27, 73, 0.24);
}

.price-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: #fff;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.price-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-card p {
  color: var(--muted);
  line-height: 1.7;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.price-list li {
  color: rgba(255,255,255,0.86);
  padding-left: 18px;
  position: relative;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  box-shadow: 0 0 16px rgba(50,216,255,0.35);
}

.field input,
.field textarea,
.field select {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  box-shadow: 0 0 0 4px rgba(50,216,255,0.09);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

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

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

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

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

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Apple style refinement ===== */
:root {
  --bg: #050814;
  --bg-2: #0a1020;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #7ea2ff;
  --accent-2: #87e5ff;
  --accent-3: #b89cff;
  --accent-soft: rgba(126, 162, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(circle at 12% 10%, rgba(126, 162, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 16%, rgba(135, 229, 255, 0.10), transparent 20%),
    radial-gradient(circle at 84% 80%, rgba(184, 156, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #040712, #09101f 45%, #060b18 100%);
}

.page-noise { opacity: 0.025; }
.grid-overlay { opacity: 0.45; }
.glow-one, .glow-two { opacity: 0.22; filter: blur(135px); }

.top-wrap { padding-top: 16px; }

.navbar {
  min-height: 70px;
  padding: 0 18px 0 20px;
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.78), rgba(8, 12, 24, 0.7));
  backdrop-filter: blur(22px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.04), transparent 24%, rgba(135,229,255,0.05) 52%, transparent 76%, rgba(184,156,255,0.06));
}

.navbar::after { opacity: 0.36; }
.navbar:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.17);
  box-shadow: 0 20px 46px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}
.navbar.is-scrolled {
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.92), rgba(8, 12, 24, 0.86));
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 18px 48px rgba(0,0,0,0.34);
}

.brand { gap: 12px; }
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 22px rgba(104, 137, 255, 0.18);
}
.nav {
  padding: 6px;
  gap: 4px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.nav-link {
  position: relative;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(240,245,255,0.74);
  letter-spacing: -0.01em;
}
.nav-link:hover,
.nav-link.is-active { color: #fff; }
.nav-link span { position: relative; z-index: 2; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.52), transparent);
  transform: scaleX(0.3);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); opacity: 1; }
.nav-indicator {
  height: calc(100% - 12px);
  top: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(0,0,0,0.15);
}
.nav-cta {
  min-height: 46px;
  padding: 0 18px;
  border-color: rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 12px 28px rgba(0, 0, 0, 0.2);
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255,255,255,0.16);
}
.mobile-menu {
  backdrop-filter: blur(18px) saturate(130%);
}

.hero,
.dashboard-section,
.pricing-section,
.contact-section,
.team-section,
.footer {
  position: relative;
  z-index: 2;
}

.panel,
.stat-card,
.price-card,
.team-compact-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 22px 54px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
.panel::before,
.stat-card::before,
.price-card::before,
.team-compact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.04) 22%, transparent 42%);
  transform: translateX(-110%);
  transition: transform .8s cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
}
.panel:hover::before,
.stat-card:hover::before,
.price-card:hover::before,
.team-compact-card:hover::before {
  transform: translateX(115%);
}
.panel:hover,
.stat-card:hover,
.price-card:hover,
.team-compact-card:hover {
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 28px 64px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}

.eyebrow {
  color: rgba(214, 227, 255, 0.72);
  letter-spacing: 0.18em;
}
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #dbe6ff 34%, #9edcff 64%, #c7b5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-left h1 { letter-spacing: -0.04em; }
.hero-text { max-width: 640px; }
.hero-stats { gap: 14px; }
.stat-card strong { font-size: 1rem; }

.preview-panel,
.preview-mockup,
.mockup-editor,
.mockup-card {
  border-radius: 28px;
}
.preview-mockup::after {
  background: radial-gradient(circle, rgba(135,229,255,0.18), transparent 70%);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.07));
  border: 1px solid rgba(255,255,255,0.11);
}
.btn-secondary {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn:hover,
.btn:focus-visible {
  border-color: rgba(255,255,255,0.16);
}

.price-card.featured {
  border-color: rgba(135,229,255,0.18);
  transform: translateY(-4px);
}
.price-badge {
  background: rgba(255,255,255,0.065);
}

.team-section { padding-top: 4px; }
.team-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 22px;
}
.team-section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}
.team-section-head p { margin: 0 auto; }
.team-compact-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.team-compact-card {
  position: relative;
  border-radius: 30px;
  padding: 18px;
}
.team-card-glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(44px);
  opacity: .22;
  pointer-events: none;
}
.michael-card .team-card-glow { background: rgba(127, 193, 255, 0.55); }
.simon-card .team-card-glow { background: rgba(188, 156, 255, 0.55); }
.team-compact-image-wrap {
  position: relative;
  height: 260px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  margin-bottom: 16px;
}
.team-compact-color {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 8%, rgba(255,255,255,0.12), transparent 36%);
}
.team-compact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .7s cubic-bezier(.2,.9,.2,1), filter .45s ease;
  filter: saturate(0.94) contrast(1.04);
}
.team-compact-card:hover .team-compact-image {
  transform: scale(1.05);
  filter: saturate(1.02) contrast(1.06);
}
.team-compact-hover {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.team-compact-card:hover .team-compact-hover {
  opacity: 1;
  transform: translateY(0);
}
.team-compact-hover span,
.team-compact-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 12, 24, 0.52);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.9);
}
.team-compact-content {
  padding: 4px 2px 2px;
}
.team-compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.team-small-label {
  color: rgba(214, 227, 255, 0.66);
  margin-bottom: 4px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
}
.team-compact-top h3 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.team-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9efff, #94a9ff);
  box-shadow: 0 0 18px rgba(148,169,255,.55);
}
.team-compact-text {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.team-compact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-layout .panel,
.form-panel,
.contact-form,
.field,
.field input,
.field textarea,
.field select {
  transform: none !important;
}
.contact-layout .panel::before,
.form-panel::before,
.contact-form::before,
.field::before { display: none !important; }

@keyframes navPulseGlow {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.08); }
}
@keyframes floatGentle {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-7px,0); }
}
@keyframes fadeUpSoft {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.nav-ambient-glow {
  animation: navPulseGlow 7s ease-in-out infinite;
}
.hero-right .preview-panel,
.hero-stats .stat-card:nth-child(2),
.dashboard-grid .panel:nth-child(2),
.team-compact-card:nth-child(2) {
  animation-duration: 8.4s;
}
.hero-right .preview-panel,
.hero-stats .stat-card,
.team-compact-card {
  animation: floatGentle 7.2s ease-in-out infinite;
}
.reveal.active { animation: fadeUpSoft .8s cubic-bezier(.2,.9,.2,1) both; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .team-compact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .navbar {
    min-height: 64px;
    padding: 0 12px 0 14px;
  }
  .brand span { font-size: .98rem; }
  .team-compact-card { padding: 14px; border-radius: 24px; }
  .team-compact-image-wrap { height: 220px; }
  .team-section-head { margin-bottom: 18px; }
}


/* navbar cleanup fix */
.nav {
  gap: 6px;
  padding: 6px;
}

.nav-link {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link:hover,
.nav-link.is-active {
  transform: none;
}

/* keep the floating pill as the main active state, so it doesn't look doubled */
.nav-link.is-active::before {
  opacity: 0;
  transform: scale(0.98);
}

.nav-link.is-active::after {
  opacity: 0.82;
  transform: scaleX(0.62);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.82), transparent);
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  opacity: 0.72;
  transform: scale(1);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link::after {
  left: 18px;
  right: 18px;
  bottom: 9px;
}

.nav-indicator {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), inset 0 -18px 24px rgba(124,140,255,0.06), 0 12px 30px rgba(0,0,0,0.16);
}

.nav-indicator::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 9px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  opacity: 0.9;
}

.brand {
  transition: transform 0.28s ease, opacity 0.28s ease;
}

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

@media (max-width: 1180px) {
  .nav-link {
    padding: 0 14px;
    font-size: 0.98rem;
  }
}


/* final navbar fix */
.navbar:hover {
  transform: none;
}

.nav-link {
  transform: none !important;
}

.nav-link::before {
  opacity: 0;
  transform: scale(0.96);
}

.nav-link::after {
  opacity: 0;
  transform: scaleX(0.35);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

.nav-link.is-active::before,
.nav-link.is-active::after {
  opacity: 0 !important;
  transform: scaleX(0.35) !important;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  opacity: 0.65 !important;
  transform: scale(1) !important;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

.nav-indicator {
  top: 7px !important;
  left: 7px !important;
  height: calc(100% - 14px) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05)) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -10px 18px rgba(124,140,255,0.06),
    0 8px 18px rgba(0,0,0,0.14) !important;
}

.nav-indicator::after {
  content: none !important;
}

.nav {
  gap: 6px !important;
  padding: 7px !important;
}

.nav-link span {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .nav-indicator {
    display: none !important;
  }
}
