:root {
  --bg: #0f0a19;
  --bg-2: #171024;
  --panel: rgba(23, 16, 36, 0.82);
  --panel-strong: rgba(30, 21, 48, 0.96);
  --line: rgba(255, 255, 255, 0.08);

  --text: #f8f5ff;
  --text-soft: #b9adcc;

  --brand-1: #f4b942;
  --brand-2: #ff7a18;
  --brand-3: #c561ff;
  --brand-4: #7b61ff;

  --tecnico-1: #00d1ff;
  --tecnico-2: #00ffa3;

  --web-1: #4f7cff;
  --web-2: #8f6bff;

  --threed-1: #a855f7;
  --threed-2: #f472b6;

  --gaming-1: #38bdf8;
  --gaming-2: #8b5cf6;

  --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --container: 1220px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(244, 185, 66, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(197, 97, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #0c0814 0%, #140d20 100%);
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -3;
  opacity: 0.22;
}

.orb-1 {
  width: 360px;
  height: 360px;
  background: var(--brand-1);
  top: -120px;
  left: -100px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: var(--brand-3);
  top: 60px;
  right: -120px;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--brand-2);
  bottom: 40px;
  left: 30%;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 36px 36px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 8, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  box-shadow: 0 0 18px rgba(244, 185, 66, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand-copy span {
  margin-top: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-soft);
  font-weight: 600;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: rgba(244, 185, 66, 0.28);
  background: rgba(244, 185, 66, 0.08);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  padding: 84px 0 52px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-1);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-content h1,
.section-head h2 {
  font-family: "Outfit", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-content h1 {
  font-size: clamp(3.1rem, 6vw, 6.3rem);
  margin-bottom: 22px;
  max-width: 760px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p,
.area-card p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1.04rem;
}

.hero-content p {
  max-width: 710px;
  margin-bottom: 30px;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #1a1023;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 16px 28px rgba(255, 122, 24, 0.20);
}

.btn-card {
  display: inline-flex;
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.btn-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.hero-panel {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at center, rgba(244, 185, 66, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(28,19,44,0.95), rgba(17,11,28,0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-panel-grid {
  position: absolute;
  inset: 0;
}

.center-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.center-core span {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.2), transparent 25%),
    linear-gradient(135deg, var(--brand-1), var(--brand-3));
  box-shadow:
    0 0 0 24px rgba(244, 185, 66, 0.04),
    0 0 0 48px rgba(197, 97, 255, 0.04),
    0 0 55px rgba(197, 97, 255, 0.20);
  animation: pulseCore 4s ease-in-out infinite;
}

.floating-box {
  position: absolute;
  max-width: 230px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.floating-box small {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.floating-box strong {
  line-height: 1.45;
  font-size: 1rem;
}

.floating-box-1 {
  top: 44px;
  left: 34px;
  animation: floatBox 5s ease-in-out infinite;
}

.floating-box-1 small {
  color: var(--tecnico-1);
}

.floating-box-2 {
  top: 96px;
  right: 34px;
  animation: floatBox 5.8s ease-in-out infinite;
}

.floating-box-2 small {
  color: var(--web-1);
}

.floating-box-3 {
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  animation: floatBoxCentered 6.2s ease-in-out infinite;
}

.floating-box-3 small {
  color: var(--threed-2);
}

.floating-box-4 {
  right: 42px;
  bottom: 120px;
  animation: floatBox 6.4s ease-in-out infinite;
}

.floating-box-4 small {
  color: var(--gaming-1);
}

.areas {
  padding: 34px 0 100px;
}

.section-head {
  margin-bottom: 34px;
  max-width: 680px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.area-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26,18,40,0.96), rgba(15,10,24,0.98));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.area-card:hover {
  transform: translateY(-7px);
}

.area-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.area-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.05);
}

.area-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.area-icon::before,
.area-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.area-icon::before {
  width: 20px;
  height: 20px;
  top: 11px;
  left: 11px;
}

.area-icon::after {
  width: 14px;
  height: 14px;
  right: 11px;
  bottom: 11px;
}

.area-card h3 {
  font-size: 1.42rem;
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
}

.area-card p {
  margin-bottom: 24px;
}

.area-tecnico:hover {
  border-color: rgba(0, 209, 255, 0.24);
  box-shadow: 0 22px 42px rgba(0, 209, 255, 0.10);
}

.area-web:hover {
  border-color: rgba(79, 124, 255, 0.24);
  box-shadow: 0 22px 42px rgba(79, 124, 255, 0.10);
}

.area-3d:hover {
  border-color: rgba(244, 114, 182, 0.24);
  box-shadow: 0 22px 42px rgba(244, 114, 182, 0.10);
}

.area-gaming:hover {
  border-color: rgba(56, 189, 248, 0.24);
  box-shadow: 0 22px 42px rgba(56, 189, 248, 0.10);
}

.area-tecnico .area-label {
  color: var(--tecnico-1);
}

.area-web .area-label {
  color: var(--web-1);
}

.area-3d .area-label {
  color: var(--threed-2);
}

.area-gaming .area-label {
  color: var(--gaming-1);
}

.area-tecnico .area-icon {
  background: linear-gradient(135deg, var(--tecnico-1), var(--tecnico-2));
}

.area-web .area-icon {
  background: linear-gradient(135deg, var(--web-1), var(--web-2));
}

.area-3d .area-icon {
  background: linear-gradient(135deg, var(--threed-1), var(--threed-2));
}

.area-gaming .area-icon {
  background: linear-gradient(135deg, var(--gaming-1), var(--gaming-2));
}

.footer {
  padding: 26px 0 38px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap strong {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.footer-wrap p,
.footer-wrap a {
  color: var(--text-soft);
}

.footer-wrap a {
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes pulseCore {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes floatBox {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatBoxCentered {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@media (max-width: 1100px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-panel {
    min-height: 500px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 20px;
    background: #171024;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-btn {
    display: flex;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 11vw, 4.8rem);
  }

  .areas {
    padding-bottom: 80px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .hero {
    padding: 38px 0 34px;
  }

  .btn,
  .btn-card {
    width: 100%;
  }

  .hero-panel {
    min-height: 420px;
  }

  .center-core span {
    width: 120px;
    height: 120px;
  }

  .floating-box {
    max-width: 180px;
    padding: 14px;
  }

  .floating-box-1 {
    top: 24px;
    left: 16px;
  }

  .floating-box-2 {
    top: 84px;
    right: 16px;
  }

  .floating-box-3 {
    bottom: 22px;
  }

  .floating-box-4 {
    right: 16px;
    bottom: 86px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}