@import url(/css/cookie.css);

:root {
  --bg: #05070d;
  --bg-soft: #090d18;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f6f8ff;
  --muted: #9da8c3;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #00ff9d;
  --primary-2: #00d8ff;
  --violet: #7b5cff;
  --danger: #ff4d7d;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(0, 255, 157, 0.18), transparent 28%),
    radial-gradient(
      circle at 85% 10%,
      rgba(0, 216, 255, 0.15),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(123, 92, 255, 0.18),
      transparent 35%
    ),
    linear-gradient(180deg, #05070d 0%, #080b13 45%, #05070d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: 0.35;
  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: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: translateX(-100%);
  animation: scanLight 8s linear infinite;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  z-index: -2;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.42;
  pointer-events: none;
  animation: orbMove 13s ease-in-out infinite alternate;
}

.bg-orb-1 {
  top: 12%;
  left: -150px;
  background: rgba(0, 255, 157, 0.34);
}

.bg-orb-2 {
  right: -180px;
  top: 45%;
  background: rgba(0, 216, 255, 0.28);
  animation-delay: -4s;
}

.bg-orb-3 {
  left: 45%;
  bottom: -180px;
  background: rgba(123, 92, 255, 0.28);
  animation-delay: -7s;
}

/* Loader */

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #05070d;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-box {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.spinner {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary);
  box-shadow: 0 0 40px rgba(0, 255, 157, 0.35);
  animation: spin 0.9s linear infinite;
}

.loader-box p {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(var(--max), calc(100% - 28px));
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 9, 17, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 9, 17, 0.94);
  border-color: rgba(0, 255, 157, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 0 22px rgba(0, 255, 157, 0.3));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav .nav-cta {
  color: #02110b;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

/* Buttons */

.btn {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  overflow: hidden;
  transition: 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(110%);
}

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

.btn-primary {
  color: #02110b;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 45px rgba(0, 255, 157, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 105px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 46px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.015)
    ),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 157, 0.15), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 255, 157, 0.24);
  border-radius: 999px;
  color: #b8ffe3;
  background: rgba(0, 255, 157, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.75);
  animation: pulse 1.6s infinite;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero h1 strong {
  color: transparent;
  background: linear-gradient(135deg, #fff, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(0, 255, 157, 0.18));
}

.hero p {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Hero Visual */

.hero-visual {
  position: relative;
  min-height: 590px;
  perspective: 1200px;
}

.browser-mockup {
  position: absolute;
  inset: 40px 0 auto auto;
  width: min(100%, 520px);
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.035)
    ),
    radial-gradient(
      circle at top right,
      rgba(0, 255, 157, 0.22),
      transparent 34%
    );
  box-shadow:
    var(--shadow),
    0 0 80px rgba(0, 255, 157, 0.11);
  transform: rotateY(-12deg) rotateX(8deg);
  overflow: hidden;
  animation: deviceFloat 7s ease-in-out infinite;
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 7px;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.browser-url {
  flex: 1;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding-inline: 14px;
  border-radius: 999px;
  color: #cde7dc;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.82rem;
}

.browser-body {
  padding: 22px;
}

.mock-hero {
  min-height: 155px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 255, 157, 0.24), rgba(0, 216, 255, 0.12)),
    url("../img/sharkz.png") center/cover;
}

.mock-lines {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.mock-lines span {
  height: 14px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.mock-cards div {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.floating-card {
  position: absolute;
  z-index: 4;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(6, 9, 17, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #00140d;
  background: var(--primary);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-card-1 {
  left: 0;
  top: 76px;
}

.floating-card-2 {
  right: 4px;
  bottom: 62px;
  animation-delay: -3s;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.scroll-hint span {
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  position: relative;
}

.scroll-hint span::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateX(-50%);
  animation: wheel 1.4s ease-in-out infinite;
}

/* Sections */

.section {
  position: relative;
  padding: 110px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-head span,
.about-content > span,
.cta-box span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-head h2,
.about-content h2,
.cta-box h2 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-head p,
.about-content p,
.cta-box p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.08rem;
}

/* Marquee */

.marquee-section {
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

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

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  color: #dfe7ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--primary);
}

/* Benefits */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card,
.project-card,
.process-card,
.about-content,
.about-visual,
.faq-item,
.cta-box {
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.035)
  );
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.benefit-card {
  position: relative;
  min-height: 245px;
  padding: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.28s ease;
}

.benefit-card:hover {
  transform: translateY(-9px);
  border-color: rgba(0, 255, 157, 0.34);
}

.benefit-card i,
.process-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  color: #03100b;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 45px rgba(0, 255, 157, 0.18);
  font-size: 1.25rem;
}

.benefit-card h3,
.process-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.benefit-card p,
.process-card p,
.project-content p {
  color: var(--muted);
  line-height: 1.72;
}

/* Projects */

.project-list {
  display: grid;
  gap: 28px;
}

.project-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 36px;
  overflow: hidden;
}

.project-card:nth-child(even) {
  grid-template-columns: 1.05fr 0.95fr;
}

.project-card:nth-child(even) .project-image {
  order: -1;
}

.project-content h3 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.project-image {
  position: relative;
  width: 100%;
  height: 330px;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  transform: scale(1);
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.06);
  opacity: 1;
}

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

.tags span,
.tags a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.88rem;
  font-weight: 800;
}

.tags a {
  color: #00120c;
  border-color: transparent;
  background: var(--primary);
}

/* Logos */

.logo-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logoMove 28s linear infinite;
}

.logo-track div {
  width: 220px;
  height: 116px;
  display: grid;
  place-items: center;
  opacity: 0.78;
}

.logo-track img {
  max-width: 150px;
  max-height: 70px;
  object-fit: contain;
}

/* Process */

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

.process-card {
  position: relative;
  min-height: 275px;
  padding: 30px;
  border-radius: var(--radius);
  overflow: hidden;
}

.process-card strong {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.09);
  font-size: 5rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.about-content,
.about-visual {
  border-radius: 36px;
}

.about-content {
  padding: 36px;
}

.about-content ul {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  list-style: none;
}

.about-content li {
  display: flex;
  gap: 12px;
  color: #d9e3f7;
  line-height: 1.55;
}

.about-content li i {
  color: var(--primary);
  margin-top: 4px;
}

.about-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 255, 157, 0.13), rgba(0, 216, 255, 0.04)),
    radial-gradient(
      circle at 30% 30%,
      rgba(123, 92, 255, 0.3),
      transparent 30%
    ),
    rgba(255, 255, 255, 0.04);
}

.about-visual dotlottie-wc {
  position: absolute;
  top: 50px;
  left: 50%;
  width: min(520px, 110%);
  height: 430px;
  transform: translateX(-50%);
}

.about-stats {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(5, 7, 13, 0.58);
  backdrop-filter: blur(18px);
}

.about-stats strong {
  color: var(--primary);
  display: block;
}

.about-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 22px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.faq-question i {
  color: var(--primary);
  transition: 0.25s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.75;
}

/* Final CTA */

.final-cta {
  padding-top: 60px;
}

.cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 48px;
  border-radius: 44px;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(0, 255, 157, 0.22),
      transparent 30%
    ),
    radial-gradient(circle at 80% 70%, rgba(0, 216, 255, 0.2), transparent 32%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-points {
  display: grid;
  gap: 14px;
}

.cta-points div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(5, 7, 13, 0.56);
  backdrop-filter: blur(18px);
}

.cta-points i {
  color: var(--primary);
}

/* Footer */

.footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 26px;
}

.footer p {
  max-width: 460px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.footer h3 {
  margin-bottom: 16px;
}

.footer a:not(.brand) {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  transition: 0.2s ease;
}

.footer a:hover {
  color: var(--primary);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid !important;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* Scroll Reveal */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.project-preview {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.35);
}

.project-preview iframe {
  width: 1440px;
  height: 900px;
  border: 0;
  transform: scale(0.42);
  transform-origin: top left;
  pointer-events: none;
}

/* dunkler Verlauf für hochwertigere Vorschau */
.project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 255, 157, 0.12), transparent 45%),
    linear-gradient(to bottom, transparent 65%, rgba(0, 0, 0, 0.45));
}
/* Animations */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes orbMove {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(60px, -35px, 0) scale(1.12);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.65);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(0, 255, 157, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0);
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: rotateY(-12deg) rotateX(8deg) translateY(0);
  }
  50% {
    transform: rotateY(-9deg) rotateX(5deg) translateY(-18px);
  }
}

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

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

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

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

/* Responsive */

@media (max-width: 1050px) {
  .hero-grid,
  .about-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-image {
    order: 0;
  }

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

@media (max-width: 860px) {
  .site-header {
    border-radius: 28px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(6, 9, 17, 0.96);
    backdrop-filter: blur(18px);
  }

  .main-nav.open {
    display: grid;
    gap: 8px;
  }

  .main-nav a {
    justify-content: center;
  }

  .hero {
    padding-top: 130px;
  }

  .hero::before {
    inset: 94px 12px 12px;
    border-radius: 34px;
  }

  .hero-stats,
  .footer-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .browser-mockup {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 78px 0;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.3rem);
  }

  .hero-actions {
    display: grid;
  }

  .about-visual {
    display: none;
  }

  .btn {
    width: 100%;
  }

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

  .project-card,
  .about-content,
  .cta-box {
    padding: 22px;
    border-radius: 28px;
  }

  .project-image img {
    min-height: 230px;
  }

  .project-image {
    height: 240px;
    min-height: 240px;
    border-radius: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===============================
   CUSTOM CURSOR
   Weiß / Schwarz je nach Hintergrund
   =============================== */

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  a,
  button,
  input,
  textarea,
  select,
  label,
  .clickable {
    cursor: none;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.2s ease;

    /* Wichtig:
           Weiß auf dunklem Hintergrund,
           Schwarz auf weißem Hintergrund */
    mix-blend-mode: difference;
  }

  /* Innerer Punkt */
  .cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transition:
      width 0.18s ease,
      height 0.18s ease,
      opacity 0.18s ease;
  }

  /* Allgemeine äußere Kreisbögen */
  .cursor-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
    opacity: 1;
    transition:
      width 0.22s ease,
      height 0.22s ease,
      border-width 0.22s ease,
      border-color 0.22s ease,
      opacity 0.22s ease;
  }

  /* Erster angeschnittener Kreis */
  .cursor-ring-one {
    width: 38px;
    height: 38px;
    border-top-color: #ffffff;
    border-left-color: #ffffff;
    animation: cursorOrbitOne 1.4s linear infinite;
  }

  /* Zweiter angeschnittener Kreis */
  .cursor-ring-two {
    width: 26px;
    height: 26px;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
    animation: cursorOrbitTwo 1.1s linear infinite reverse;
  }

  /* Bei Bewegung wird alles größer */
  .custom-cursor.is-moving .cursor-dot {
    width: 12px;
    height: 12px;
  }

  .custom-cursor.is-moving .cursor-ring-one {
    width: 52px;
    height: 52px;
    border-width: 2px;
  }

  .custom-cursor.is-moving .cursor-ring-two {
    width: 38px;
    height: 38px;
    border-width: 2px;
  }

  /* 
       Bei Hover:
       - Punkt wird kleiner
       - angeschnittene Kreise werden volle Kreise
       - Rotation bleibt stehen
    */
  .custom-cursor.is-hovering .cursor-dot {
    width: 4px;
    height: 4px;
  }

  .custom-cursor.is-hovering .cursor-ring-one {
    width: 42px;
    height: 42px;
    border: 2px solid #ffffff;
    animation-play-state: paused;
  }

  .custom-cursor.is-hovering .cursor-ring-two {
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    animation-play-state: paused;
  }

  @keyframes cursorOrbitOne {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  @keyframes cursorOrbitTwo {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }
}

/* Auf Handy und Tablet deaktivieren */
@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}
