/* ===== Variables ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --blue: #00b4ff;
  --blue-dark: #0088cc;
  --purple: #8b5cf6;
  --orange: #ff6b35;
  --cyan: #00e5ff;
  --text-primary: #f0f0f5;
  --text-secondary: #9494a8;
  --text-muted: #5c5c70;
  --border: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--orange) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(0, 180, 255, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  --shadow-glow: 0 0 40px rgba(0, 180, 255, 0.15);
  --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.12);
  --card-bg: rgba(22, 22, 31, 0.65);
  --card-bg-hover: rgba(28, 28, 40, 0.85);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 118px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 118.75%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  overflow: visible;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 4vw, 52px);
  height: 100%;
}

.nav--left {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  isolation: isolate;
}

.nav--right {
  flex-shrink: 0;
}

.nav--mobile {
  display: none;
}

.menu-mobile {
  display: none;
}

.logo img {
  height: 125px;
  width: auto;
  max-height: 125px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.nav--left,
.nav--right {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 50px;
  transition: var(--transition);
  isolation: isolate;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav__link:hover::after {
  width: 50%;
}

.nav__link--active {
  color: var(--text-primary);
  background: rgba(0, 180, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.08);
}

.nav__link--active::after {
  width: 55%;
  box-shadow: 0 0 8px rgba(0, 180, 255, 0.5);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 12px;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(0, 180, 255, 0.35);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
}

.menu-toggle:hover {
  border-color: rgba(0, 229, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  box-shadow: 0 0 24px rgba(0, 180, 255, 0.2);
}

.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 18px;
}

.menu-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.menu-toggle--active {
  border-color: rgba(0, 180, 255, 0.6);
  box-shadow: 0 0 28px rgba(0, 180, 255, 0.25);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.22) 0%, rgba(139, 92, 246, 0.22) 100%);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.menu-overlay--visible {
  opacity: 1;
  pointer-events: all;
}

body.menu-open {
  overflow: hidden;
}

/* ===== Intro Splash ===== */
body.intro-active {
  overflow: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050508;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro__grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(0, 180, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: introGridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
}

.intro__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: introOrbFloat 8s ease-in-out infinite;
}

.intro__orb--1 {
  width: 420px;
  height: 420px;
  top: 10%;
  left: 15%;
  background: rgba(0, 180, 255, 0.35);
}

.intro__orb--2 {
  width: 360px;
  height: 360px;
  bottom: 5%;
  right: 10%;
  background: rgba(139, 92, 246, 0.35);
  animation-delay: -3s;
}

.intro__scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 229, 255, 0.04) 48%,
    rgba(0, 229, 255, 0.12) 50%,
    rgba(0, 229, 255, 0.04) 52%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: introScan 3s linear infinite;
  pointer-events: none;
}

.intro__particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  opacity: 0;
  animation: introParticle 4s ease-in-out infinite;
}

.intro__particles span:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.intro__particles span:nth-child(2) { top: 25%; left: 75%; animation-delay: 0.4s; }
.intro__particles span:nth-child(3) { top: 60%; left: 10%; animation-delay: 0.8s; }
.intro__particles span:nth-child(4) { top: 70%; left: 85%; animation-delay: 1.2s; }
.intro__particles span:nth-child(5) { top: 40%; left: 50%; animation-delay: 1.6s; }
.intro__particles span:nth-child(6) { top: 80%; left: 35%; animation-delay: 2s; }
.intro__particles span:nth-child(7) { top: 10%; left: 55%; animation-delay: 2.4s; }
.intro__particles span:nth-child(8) { top: 50%; left: 90%; animation-delay: 0.6s; }
.intro__particles span:nth-child(9) { top: 85%; left: 60%; animation-delay: 1.8s; }
.intro__particles span:nth-child(10) { top: 30%; left: 8%; animation-delay: 2.2s; }

.intro__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.intro__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 78vw);
  height: min(420px, 78vw);
  margin-bottom: 28px;
}

.intro__logo {
  position: relative;
  z-index: 3;
  width: min(320px, 62vw);
  height: auto;
  animation: introLogoIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
             introLogoPulse 3s ease-in-out 1.2s infinite;
  filter: drop-shadow(0 0 30px rgba(0, 180, 255, 0.45))
          drop-shadow(0 0 60px rgba(139, 92, 246, 0.25));
}

.intro__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

.intro__ring--1 {
  inset: 0;
  border-color: rgba(0, 180, 255, 0.35);
  animation: introRingSpin 12s linear infinite;
}

.intro__ring--2 {
  inset: 12%;
  border-color: rgba(139, 92, 246, 0.4);
  border-style: dashed;
  animation: introRingSpin 8s linear infinite reverse;
}

.intro__ring--3 {
  inset: 24%;
  border-color: rgba(0, 229, 255, 0.25);
  animation: introRingSpin 6s linear infinite;
}

.intro__hex {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(0, 180, 255, 0.15);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: introHexPulse 2.5s ease-in-out infinite;
}

.intro__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  animation: introTextBlink 1.5s step-end infinite;
}

.intro__progress {
  width: min(320px, 70vw);
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.intro__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: inherit;
  box-shadow: 0 0 16px rgba(0, 180, 255, 0.6);
  animation: introProgress 4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.intro__status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@keyframes introGridMove {
  from { transform: translate(0, 0); }
  to { transform: translate(48px, 48px); }
}

@keyframes introOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.08); }
}

@keyframes introScan {
  from { background-position: 0 -100%; }
  to { background-position: 0 100%; }
}

@keyframes introParticle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes introLogoIn {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(30px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes introLogoPulse {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(0, 180, 255, 0.45))
            drop-shadow(0 0 60px rgba(139, 92, 246, 0.25));
  }
  50% {
    filter: drop-shadow(0 0 45px rgba(0, 180, 255, 0.75))
            drop-shadow(0 0 90px rgba(139, 92, 246, 0.45))
            drop-shadow(0 0 30px rgba(255, 107, 53, 0.2));
  }
}

@keyframes introRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes introHexPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes introTextBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes introProgress {
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .intro__grid,
  .intro__orb,
  .intro__scanline,
  .intro__particles span,
  .intro__ring,
  .intro__hex,
  .intro__logo,
  .intro__tag {
    animation: none !important;
  }

  .intro__progress-bar {
    width: 100%;
    animation: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    linear-gradient(180deg, #0a0a0f 0%, #0c1018 50%, #0a0a0f 100%);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.hero::before {
  top: -15%;
  right: -8%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  background: radial-gradient(circle, rgba(0, 180, 255, 0.18) 0%, transparent 70%);
  animation: sectionOrbFloat 14s ease-in-out infinite;
}

.hero::after {
  bottom: -20%;
  left: -12%;
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 70%);
  animation: sectionOrbFloat 14s ease-in-out infinite reverse;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 24px;
}

.hero__content {
  max-width: 560px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual img {
  width: 100%;
  max-width: 480px;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.hero__badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--blue);
  background: rgba(0, 180, 255, 0.08);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Sections ===== */
.section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section::before,
.section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

@keyframes sectionOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.06); }
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ===== Section Dividers ===== */
.section-divider {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(0, 180, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-divider__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: scaleX(0.92);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-divider--visible .section-divider__inner {
  opacity: 1;
  transform: scaleX(1);
}

.section-divider__line {
  flex: 1;
  height: 1px;
  position: relative;
  overflow: hidden;
}

.section-divider__line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 12%,
    rgba(0, 180, 255, 0.35) 35%,
    rgba(139, 92, 246, 0.55) 50%,
    rgba(255, 107, 53, 0.35) 65%,
    rgba(255, 255, 255, 0.06) 88%,
    transparent 100%
  );
}

.section-divider__line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -60%;
  width: 35%;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.45), transparent);
  filter: blur(2px);
  animation: dividerShimmer 5s ease-in-out infinite;
}

.section-divider__line:last-child::after {
  animation-delay: 2.5s;
}

.section-divider__center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.section-divider__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 180, 255, 0.25);
  border-radius: 50%;
  animation: dividerRing 3s ease-in-out infinite;
}

.section-divider__diamond {
  width: 10px;
  height: 10px;
  background: var(--gradient);
  transform: rotate(45deg);
  box-shadow:
    0 0 12px rgba(0, 180, 255, 0.6),
    0 0 28px rgba(139, 92, 246, 0.35);
  animation: dividerPulse 3s ease-in-out infinite;
}

.section-divider--footer {
  padding-bottom: 24px;
}

.section-divider--footer::before {
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

@keyframes dividerShimmer {
  0%, 100% { left: -60%; opacity: 0; }
  10% { opacity: 1; }
  50% { left: 120%; opacity: 1; }
  60%, 100% { opacity: 0; }
}

@keyframes dividerPulse {
  0%, 100% {
    transform: rotate(45deg) scale(1);
    box-shadow:
      0 0 12px rgba(0, 180, 255, 0.6),
      0 0 28px rgba(139, 92, 246, 0.35);
  }
  50% {
    transform: rotate(45deg) scale(1.25);
    box-shadow:
      0 0 18px rgba(0, 180, 255, 0.85),
      0 0 40px rgba(139, 92, 246, 0.5),
      0 0 24px rgba(255, 107, 53, 0.2);
  }
}

@keyframes dividerRing {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
    border-color: rgba(0, 180, 255, 0.25);
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    border-color: rgba(139, 92, 246, 0.45);
  }
}

/* ===== Cards (shared) ===== */
.card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  background: var(--card-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
}

.card__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  opacity: 0.85;
}

.card__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(0, 180, 255, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: var(--transition);
}

.card:hover .card__icon {
  border-color: rgba(0, 180, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 180, 255, 0.15);
  color: var(--cyan);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.service-card__icon--duo {
  gap: 4px;
}

.service-card__icon--duo img {
  width: 22px;
  height: 22px;
}

/* ===== Sobre ===== */
.sobre {
  background: linear-gradient(180deg, #111118 0%, #12121c 50%, #111118 100%);
}

.sobre::before {
  top: -10%;
  right: -5%;
  width: min(45vw, 440px);
  height: min(45vw, 440px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
}

.sobre::after {
  bottom: -15%;
  left: -8%;
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  background: radial-gradient(circle, rgba(0, 180, 255, 0.1) 0%, transparent 70%);
}

.sobre__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sobre__card {
  padding: 36px 28px;
  text-align: left;
}

.sobre__card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.sobre__card p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.sobre__card .card__icon {
  margin-left: 0;
  margin-right: auto;
}

.sobre__card .card__tag {
  position: relative;
  z-index: 1;
}

/* ===== Serviços ===== */
.servicos {
  background: linear-gradient(180deg, #0a0a0f 0%, #0b0e14 50%, #0a0a0f 100%);
}

.servicos::before {
  top: 20%;
  left: -10%;
  width: min(42vw, 400px);
  height: min(42vw, 400px);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.13) 0%, transparent 70%);
  animation: sectionOrbFloat 16s ease-in-out infinite;
}

.servicos::after {
  bottom: -10%;
  right: -5%;
  width: min(38vw, 360px);
  height: min(38vw, 360px);
  background: radial-gradient(circle, rgba(0, 180, 255, 0.11) 0%, transparent 70%);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
}

.service-card:hover {
  box-shadow: var(--shadow-glow-purple);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Soluções Nexus ===== */
.solucoes-nexus {
  background: linear-gradient(180deg, #111118 0%, #131322 50%, #111118 100%);
}

.solucoes-nexus::before {
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(60vw, 560px);
  height: min(35vw, 320px);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.14) 0%, rgba(0, 180, 255, 0.08) 45%, transparent 70%);
  filter: blur(80px);
}

.solucoes-nexus::after {
  bottom: -12%;
  right: -6%;
  width: min(36vw, 340px);
  height: min(36vw, 340px);
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.solucoes-nexus__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.solucao-card {
  padding: 32px;
}

.solucao-card:hover {
  box-shadow: var(--shadow-glow);
}

.solucao-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.solucao-card p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.solucao-card .card__tag {
  position: relative;
  z-index: 1;
}

/* ===== Tecnologias ===== */
.tecnologias {
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0f16 50%, #0a0a0f 100%);
}

.tecnologias::before {
  top: 10%;
  right: -8%;
  width: min(44vw, 420px);
  height: min(44vw, 420px);
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
  animation: sectionOrbFloat 18s ease-in-out infinite reverse;
}

.tecnologias::after {
  bottom: -8%;
  left: -6%;
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.11) 0%, transparent 70%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
  justify-items: center;
}

.tech-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 210px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 10px 18px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
  overflow: hidden;
  text-align: center;
}

.tech-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.tech-item:hover img {
  transform: scale(1.08);
  transition: transform var(--transition);
}

.tech-item:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

/* ===== Contato ===== */
.contato {
  background: linear-gradient(180deg, #111118 0%, #10121a 50%, #0a0a0f 100%);
}

.contato::before {
  top: -15%;
  left: -5%;
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  background: radial-gradient(circle, rgba(0, 180, 255, 0.14) 0%, transparent 70%);
}

.contato::after {
  bottom: -10%;
  right: -8%;
  width: min(46vw, 440px);
  height: min(46vw, 440px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.13) 0%, transparent 70%);
  animation: sectionOrbFloat 15s ease-in-out infinite;
}

.contato__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contato__info .section__tag,
.contato__info .section__title,
.contato__info .section__desc {
  text-align: left;
}

.contato__details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contato__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contato__item a {
  color: var(--blue);
  font-weight: 500;
  transition: var(--transition);
}

.contato__item a:hover {
  color: var(--cyan);
}

.contato__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contato__whatsapp img {
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(58%) sepia(93%) saturate(2476%) hue-rotate(166deg) brightness(101%) contrast(101%);
  transition: var(--transition);
}

.contato__whatsapp:hover img {
  filter: brightness(0) saturate(100%) invert(78%) sepia(61%) saturate(1000%) hue-rotate(152deg) brightness(103%) contrast(101%);
}

.service-card:hover::after {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 65%);
}

.contato__form {
  padding: 36px;
}

.contato__form:hover {
  transform: none;
  box-shadow: var(--shadow-glow-purple);
}

.contato__form::after {
  top: auto;
  bottom: -40%;
  right: -20%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 65%);
}

.contato__form:hover::after {
  opacity: 1;
}

.contato__form .form-group {
  position: relative;
  z-index: 1;
}

.contato__form .btn {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(70vw, 600px);
  height: 120px;
  background: radial-gradient(ellipse, rgba(0, 180, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer__logo {
  height: 96px;
  width: auto;
  margin: 0;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 16px rgba(0, 180, 255, 0.25));
}

.footer__brand p {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 45%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(0, 180, 255, 0.35));
}

.footer__links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 50px;
}

.footer__links a {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--cyan);
  background: rgba(0, 180, 255, 0.08);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.12);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.15);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  :root {
    --header-height: 88px;
  }

  .header .container {
    overflow: visible;
  }

  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0;
    width: 100%;
    position: relative;
    overflow: visible;
  }

  .nav--left,
  .nav--right {
    display: none;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .logo img {
    height: 72px;
    max-height: 72px;
  }

  .menu-mobile {
    display: block;
    position: relative;
    grid-column: 2;
    justify-self: end;
    z-index: 1002;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-overlay {
    display: block;
  }

  .nav--mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 48px));
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow-y: auto;
    padding: 10px;
    gap: 4px;
    background: rgba(12, 12, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 180, 255, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 180, 255, 0.12);
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1003;
  }

  .nav--mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .nav--mobile.nav--open {
    display: flex;
    transform: translateY(0) scale(1);
    pointer-events: all;
  }

  .nav--mobile .nav__link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: var(--radius);
    z-index: 1;
  }

  .nav--mobile .nav__link:hover,
  .nav--mobile .nav__link--active {
    background: rgba(0, 180, 255, 0.1);
    color: var(--text-primary);
  }

  .nav--mobile .nav__link::after {
    display: none;
  }

  .menu-toggle--active .menu-toggle__label {
    color: var(--cyan);
  }

  .menu-toggle--active .menu-toggle__bars span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .menu-toggle--active .menu-toggle__bars span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle--active .menu-toggle__bars span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 56px;
    text-align: center;
  }

  .hero__content {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__subtitle {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__visual img {
    max-width: min(100%, 300px);
    max-height: 280px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 180, 255, 0.2);
  }

  .hero__actions {
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
  }

  .hero__stats {
    justify-content: center;
    gap: 24px 40px;
    width: 100%;
  }

  .stat {
    align-items: center;
    min-width: 80px;
  }

  .section {
    padding: 64px 0;
  }

  .section__header {
    margin-bottom: 40px;
    padding: 0 4px;
  }

  .section__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .section__desc {
    font-size: 1rem;
  }

  .sobre__grid,
  .solucoes-nexus__grid {
    grid-template-columns: 1fr;
  }

  .servicos__grid {
    grid-template-columns: 1fr;
  }

  .contato__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contato__info .section__tag,
  .contato__info .section__title,
  .contato__info .section__desc {
    text-align: center;
  }

  .contato__details {
    align-items: center;
    text-align: center;
  }

  .contato__form {
    padding: 24px;
  }

  .footer__inner {
    gap: 16px;
    padding: 0 8px;
  }

  .footer__logo {
    height: 80px;
  }

  .section-divider {
    padding: 24px 0;
  }

  .section-divider__inner {
    gap: 12px;
  }

  .section-divider__center {
    width: 28px;
    height: 28px;
  }

  .section-divider__diamond {
    width: 7px;
    height: 7px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 10px;
  }

  .tech-item {
    font-size: 0.75rem;
    padding: 8px 12px;
    max-width: none;
  }

  .tech-item img {
    width: 16px;
    height: 16px;
  }

  .intro__logo {
    width: min(260px, 70vw);
  }

  .intro__logo-wrap {
    width: min(340px, 85vw);
    height: min(340px, 85vw);
  }
}

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navItemSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }

  .menu-toggle {
    padding: 0;
    width: 44px;
    justify-content: center;
  }

  .menu-toggle__label {
    display: none;
  }

  .menu-mobile .nav--mobile {
    width: min(260px, calc(100vw - 32px));
    right: 0;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float img {
    width: 26px;
    height: 26px;
  }
}
