:root {
  --bg: #050507;
  --card-bg: #0b0c10;
  --accent: #6cbcff;
  --accent-alt: #2ed3ff;
  --accent-hot: #7f8dff;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --border: rgba(255, 255, 255, 0.12);
  --glow: inset 0 0 44px rgba(255, 255, 255, 0.02);
  --grid-gap: 16px;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
}

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

html {
  background-color: var(--bg);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  cursor: auto;
}

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

/* --- Scroll Progress --- */
#scroll-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 9999;
}

#scroll-progress {
  height: 100%;
  background: var(--accent);
  width: 0%;
  box-shadow: 0 0 16px rgba(108, 188, 255, 0.7);
  will-change: width;
}

#scroll-truck {
  position: fixed;
  top: 4px;
  left: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  z-index: 9999;
  will-change: left;
  filter: drop-shadow(0 0 10px rgba(108, 188, 255, 0.55));
}

/* --- Micro SVG --- */
.micro-svg {
  position: fixed;
  width: 22px;
  height: 22px;
  color: rgba(108, 188, 255, 0.88);
  opacity: 0.45;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(108, 188, 255, 0.24));
}

.svg-tl {
  top: 40px;
  left: 40px;
}
.svg-tr {
  top: 40px;
  right: 40px;
}
.svg-bl {
  bottom: 40px;
  left: 40px;
}
.svg-br {
  bottom: 40px;
  right: 40px;
}

/* --- Wrapper --- */
#scroll-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
  padding-top: 64px;
  will-change: transform;
  transform-origin: center center;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* --- Top Nav --- */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 6px 18px;
  position: sticky;
  top: 10px;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.88), rgba(5, 5, 7, 0.32));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  border-color: rgba(108, 188, 255, 0.9);
  transform: translateY(-1px);
}

/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  width: 100%;
  margin-top: 14px;
}

@media (min-width: 768px) {
  #scroll-wrapper {
    padding: 48px;
    padding-top: 74px;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .span-2 {
    grid-column: span 2;
  }
  .span-3 {
    grid-column: span 3;
  }
  .span-4 {
    grid-column: span 4;
  }
  .row-2 {
    grid-row: span 2;
  }
}

/* --- Cards --- */
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bento-card {
  background: radial-gradient(900px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 188, 255, 0.08), transparent 45%),
    var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow);
  will-change: transform;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: 100%;
  opacity: 0;
}

.bento-card.revealed {
  animation: cardReveal 0.8s var(--ease) forwards;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: linear-gradient(120deg, rgba(108, 188, 255, 0.28), rgba(46, 211, 255, 0.12), rgba(127, 141, 255, 0.16));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  border-radius: 20px;
}

.bento-card:hover::after {
  opacity: 1;
}

.feature-panel {
  position: relative;
  overflow: hidden;
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.feature-panel .card-content {
  position: relative;
  z-index: 2;
}

.process-panel::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500'%3E%3Cg fill='none' stroke='%232ed3ff' stroke-width='1.4' stroke-opacity='0.55'%3E%3Cpath d='M40 120C220 120 220 60 400 60s180 110 360 110 180-85 360-85'/%3E%3Cpath d='M40 220C200 220 220 310 380 310s200-140 360-140 200 120 420 120'/%3E%3Cpath d='M40 380C240 380 260 260 460 260s160 130 360 130 180-80 340-80'/%3E%3C/g%3E%3Cg fill='%236cbcff' fill-opacity='0.45'%3E%3Ccircle cx='220' cy='120' r='4'/%3E%3Ccircle cx='400' cy='60' r='4'/%3E%3Ccircle cx='740' cy='170' r='4'/%3E%3Ccircle cx='380' cy='310' r='4'/%3E%3Ccircle cx='840' cy='290' r='4'/%3E%3Ccircle cx='460' cy='260' r='4'/%3E%3Ccircle cx='820' cy='390' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

.faq-panel::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500'%3E%3Cg fill='none' stroke='%237f8dff' stroke-width='1.2' stroke-opacity='0.55'%3E%3Cpath d='M80 90h1040M80 170h1040M80 250h1040M80 330h1040M80 410h1040'/%3E%3Cpath d='M150 60v380M350 60v380M560 60v380M760 60v380M980 60v380' stroke-opacity='0.22'/%3E%3C/g%3E%3Cg fill='none' stroke='%232ed3ff' stroke-width='1.6' stroke-opacity='0.58'%3E%3Cpath d='M120 410C260 320 350 140 500 170s170 210 320 160 220-260 260-280'/%3E%3C/g%3E%3Cg fill='%236cbcff' fill-opacity='0.42'%3E%3Ccircle cx='120' cy='410' r='4'/%3E%3Ccircle cx='500' cy='170' r='4'/%3E%3Ccircle cx='820' cy='330' r='4'/%3E%3Ccircle cx='1080' cy='50' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

.card-content {
  position: relative;
  z-index: 2;
  transform: translateZ(30px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.display-font {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(108, 188, 255, 0.8);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.tag.alt {
  color: var(--accent-alt);
  border-color: rgba(46, 211, 255, 0.72);
}

.tag.alt2 {
  color: var(--accent-hot);
  border-color: rgba(127, 141, 255, 0.72);
}

.small-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.4vw, 4.7rem);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.hero-lead {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.02rem;
  margin: 0 0 14px;
  max-width: 64ch;
}

.hero-sub {
  margin: 10px 0 0;
  color: rgba(245, 247, 255, 0.8);
  font-weight: 600;
}

.mt-4 {
  margin-top: 16px;
}

.mb-2 {
  margin-bottom: 8px;
}

/* --- Buttons --- */
.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(108, 188, 255, 0.95), rgba(46, 211, 255, 0.68));
  color: #05060a;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 10px 24px rgba(108, 188, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.1);
  box-shadow: 0 16px 34px rgba(108, 188, 255, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(245, 247, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 188, 255, 0.72);
}

/* --- Images --- */
.image-card {
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.12) saturate(1.06);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: transform, filter;
}

.image-card:hover img {
  filter: grayscale(0%) sepia(10%) hue-rotate(-30deg) saturate(170%);
  transform: scale(1.05);
}

.image-strip {
  padding: 16px;
}

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

.strip-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.03);
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: contrast(1.08) saturate(1.08);
}

.image-strip:hover .strip-item img {
  transform: scale(1.04);
}

/* --- Lists --- */
.list-items {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.list-items li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list-items li::before {
  content: "+";
  color: var(--accent);
  margin-top: 1px;
  font-weight: 800;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.num-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.num-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.num-list li::before {
  content: counter(step, decimal-leading-zero);
  color: rgba(46, 211, 255, 0.84);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.num-list strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 2px;
}

.num-list span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Section title card --- */
.section-title {
  padding: 24px 0 12px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.section-title .card-content {
  transform: none;
}

.big-title {
  font-size: 2.5rem;
}

.big-sub {
  margin-top: 12px;
  max-width: 86ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* --- Pricing --- */
.pricing-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pricing-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 14px 14px;
  display: grid;
  gap: 6px;
}

.pricing-item strong {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pricing-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- FAQ --- */
.faq {
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  cursor: pointer;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  color: var(--text-main);
  transition: color 0.25s ease;
}

.faq-item:hover .faq-question {
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), margin-top 0.5s var(--ease), opacity 0.5s var(--ease);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 240px;
  margin-top: 12px;
  opacity: 1;
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: currentColor;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.faq-icon::before {
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 3px;
  left: 10px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg) scale(0);
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

/* --- Swiper --- */
.services-swiper {
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
  min-height: min-content;
}

.swiper-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.swiper-btn:hover:not(:disabled) {
  background: rgba(108, 188, 255, 0.9);
  color: var(--bg);
  border-color: rgba(108, 188, 255, 1);
}

.swiper-btn:disabled {
  opacity: 0.18;
  cursor: not-allowed;
}

.swiper-viewport {
  overflow: hidden;
  border-radius: 20px;
  margin: 0 -10px;
  padding: 10px;
}

.swiper-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.swiper-track::-webkit-scrollbar {
  display: none;
}

[data-swiper-track] {
  cursor: grab;
  user-select: none;
}

[data-swiper-track].grabbing {
  cursor: grabbing !important;
  scroll-snap-type: none;
}

.swiper-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 768px) {
  .swiper-slide {
    flex: 0 0 360px;
  }
}

/* --- Contact email --- */
.contact-links-row {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-email-wrap {
  margin-top: 0;
}

.contact-email-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(108, 188, 255, 0.42);
  background: linear-gradient(135deg, rgba(108, 188, 255, 0.14), rgba(255, 255, 255, 0.03));
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-email:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 188, 255, 0.92);
  box-shadow: 0 10px 24px rgba(108, 188, 255, 0.22);
}

/* --- Footer card --- */
.footer-card {
  display: flex;
  justify-content: center;
}

.footer-title {
  margin: 0 0 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(245, 247, 255, 0.92);
}

.footer-sub {
  margin: 6px 0 0;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .image-strip-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .contact-links-row {
    flex-direction: column;
    align-items: stretch;
  }

  body {
    cursor: auto;
  }
}

