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

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: #020204;
  font-family: 'Inter', sans-serif;
  color: white;
  overflow-x: hidden;
  transition: opacity 0.18s ease;
}

body.lang-switching {
  opacity: 0;
}

/* ── NOISE OVERLAY ── */
.noise {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.015),
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 999;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.scrolled {
  background: rgba(2, 2, 4, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.05);
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ff008c;
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: 0 0 20px rgba(255,0,140,0.5);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: #8d8d95;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.nav-links .nav-cta {
  color: #ff3ca6;
}

.nav-links .nav-cta:hover {
  color: #ff73c5;
}

/* ── LANG TOGGLE ── */
.lang-toggle {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  transition: border-color 0.2s, background 0.2s;
}

.lang-toggle:hover {
  border-color: rgba(255,0,140,0.3);
  background: rgba(255,0,140,0.04);
}

.lang-opt {
  color: #44444c;
  transition: color 0.2s;
  cursor: pointer;
}

.lang-opt.active {
  color: #ff3ca6;
}

.lang-sep {
  color: #2a2a32;
  font-size: 0.7rem;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #8d8d95;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}

.hamburger:hover span { background: white; }

nav.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SECTION BASE ── */
section {
  position: relative;
  padding: 130px 8%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-inner.center {
  text-align: center;
}

/* ── TYPOGRAPHY ── */
.mini-title {
  display: inline-block;
  color: #ff3ca6;
  letter-spacing: 4px;
  font-size: 0.68rem;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 18px;
}

h1 {
  margin-top: 10px;
  font-size: 5rem;
  line-height: 0.93;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: -2px;
}

h1 span {
  color: #ff008c;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 52px;
}

h2 span {
  color: #ff008c;
}

p {
  color: #8d8d95;
  line-height: 1.72;
  font-size: 1rem;
}

/* ── BUTTONS ── */
.buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.btn {
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-block;
}

.pink {
  background: #ff008c;
  color: white;
  box-shadow: 0 0 20px rgba(255,0,140,0.5);
}

.pink:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(255,0,140,0.8);
}

.dark {
  background: #111117;
  color: #d9d9d9;
  border: 1px solid rgba(255,255,255,0.08);
}

.dark:hover {
  background: #18181f;
  border-color: rgba(255,255,255,0.14);
}

/* ── HERO ── */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 80px;
  padding-left: 8%;
  padding-right: 8%;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,140,0.06) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  pointer-events: none;
}

.particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(#ff4db8 1px, transparent 1px),
    radial-gradient(#4de9ff 1px, transparent 1px),
    radial-gradient(#ff8ad8 1px, transparent 1px);
  background-size: 140px 140px, 170px 170px, 190px 190px;
  background-position: 0 0, 40px 80px, 120px 20px;
  opacity: 0.45;
  z-index: 0;
}

.left {
  width: 52%;
  position: relative;
  z-index: 2;
}

.left p {
  margin-top: 28px;
  max-width: 480px;
}

.left p strong {
  color: #d9d9d9;
  font-weight: 600;
}

/* ── PORTAL ── */
.right {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.portal {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ring {
  width: 270px;
  height: 68px;
  border-radius: 50%;
  border: 18px solid #ff7ed7;
  box-shadow:
    0 0 20px #ff4fc3,
    0 0 60px #ff4fc3,
    0 0 120px rgba(255,79,195,0.7);
  filter: blur(2px);
  animation: pulse 4s infinite ease-in-out;
}

.core {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #000;
  z-index: 3;
}

.portal::before,
.portal::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.12);
  animation: rotate 20s linear infinite;
}

.portal::after {
  width: 310px;
  height: 310px;
  animation-direction: reverse;
  opacity: 0.35;
  animation-duration: 28s;
}

/* ── ABOUT ── */
.about-section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text strong {
  color: #ff3ca6;
  font-weight: 600;
}

.about-badges {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.about-badges span {
  background: rgba(255,0,140,0.07);
  border: 1px solid rgba(255,0,140,0.2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: #ff73c5;
  letter-spacing: 0.5px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ff008c;
  text-shadow: 0 0 24px rgba(255,0,140,0.45);
  line-height: 1;
}

.stat-label {
  color: #55555e;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── STACK ── */
.stack-section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.stack-card {
  background: #0c0c11;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 30px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.stack-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,0,140,0.3);
  box-shadow: 0 8px 40px rgba(255,0,140,0.07);
}

.stack-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,0,140,0.08);
  border: 1px solid rgba(255,0,140,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff3ca6;
  letter-spacing: 0.5px;
}

.stack-card span {
  font-size: 0.82rem;
  font-weight: 500;
  color: #a0a0aa;
  letter-spacing: 0.3px;
}

/* ── WORK ── */
.work-section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.work-card {
  background: #090910;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,0,140,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,0,140,0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

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

.work-card.featured {
  border-color: rgba(255,0,140,0.14);
}

.work-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: #ff3ca6;
  text-transform: uppercase;
}

.work-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.work-dot.active {
  background: #00e676;
  box-shadow: 0 0 8px rgba(0,230,118,0.6);
}

.work-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
}

.work-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.work-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-tech span {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  padding: 4px 12px;
  font-size: 0.74rem;
  color: #66666e;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.work-link {
  color: #ff3ca6;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s, gap 0.2s;
  display: inline-block;
  margin-top: 4px;
}

.work-link:hover {
  color: #ff73c5;
}

.work-link-soon {
  color: #44444c;
  font-size: 0.82rem;
  font-weight: 600;
  font-style: italic;
  cursor: default;
  display: inline-block;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.nexoscale-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.work-role {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #ff3ca6;
  text-transform: uppercase;
  margin-top: -4px;
}

/* ── SERVICES ── */
.services-section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.srv-intro {
  max-width: 620px;
  margin-bottom: 56px;
  font-size: 1rem;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
  align-items: start;
}

.srv-card {
  background: #090910;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.srv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,0,140,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.srv-card.srv-featured {
  border-color: rgba(255,0,140,0.22);
  background: #0d0d15;
}

.srv-plan-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  width: fit-content;
}

.srv-plan-tag.free    { background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.25); color: #00e676; }
.srv-plan-tag.custom  { background: rgba(255,0,140,0.08); border: 1px solid rgba(255,0,140,0.3);  color: #ff3ca6; }
.srv-plan-tag.hosting { background: rgba(77,233,255,0.08); border: 1px solid rgba(77,233,255,0.25); color: #4de9ff; }

.srv-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
}

.srv-sub {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #6d6d75;
  margin: 0;
}

.srv-price-label {
  font-size: 0.9rem;
  color: #8d8d95;
  line-height: 1.6;
  margin: 0;
}

.srv-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.srv-features li {
  font-size: 0.85rem;
  color: #8d8d95;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.srv-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff3ca6;
  font-weight: 700;
  font-size: 0.75rem;
}

.srv-note {
  font-size: 0.78rem;
  color: #3a3a42;
  line-height: 1.6;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 14px;
  margin-top: 4px;
}

.srv-bonus {
  background: rgba(255,0,140,0.06);
  border: 1px solid rgba(255,0,140,0.14);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #ff73c5;
  line-height: 1.6;
}

.srv-tiers {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.srv-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.srv-tier span:nth-child(2) { color: #8d8d95; flex: 1; }

.tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tier-dot.green  { background: #00e676; box-shadow: 0 0 6px rgba(0,230,118,0.6); }
.tier-dot.yellow { background: #ffd740; box-shadow: 0 0 6px rgba(255,215,64,0.6); }
.tier-dot.red    { background: #ff5252; box-shadow: 0 0 6px rgba(255,82,82,0.6); }

.tier-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #d9d9d9;
  letter-spacing: 0.5px;
}

.srv-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
  text-align: center;
}

.srv-payment-title {
  font-size: 0.68rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 3px;
  color: #44444c;
  text-transform: uppercase;
}

.srv-methods {
  display: flex;
  gap: 12px;
}

.srv-methods span {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 8px 22px;
  font-size: 0.82rem;
  color: #5a5a62;
  font-weight: 600;
}

.srv-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.srv-cta p {
  max-width: 500px;
  font-size: 1rem;
}

/* ── CONTACT ── */
.contact-section {
  border-top: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,140,0.07) 0%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-section .section-inner p {
  max-width: 460px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  padding: 28px 8%;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #44444c;
  font-size: 0.82rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
}

.footer-right-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-right {
  color: #44444c;
}

.footer-love {
  color: #3a2030;
  font-size: 0.74rem;
}

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  h1    { font-size: 4rem; }
  h2    { font-size: 2.8rem; }
  .stack-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 64px;
    padding-top: 110px;
    min-height: 100svh;
  }

  .left, .right { width: 100%; }

  .left p { margin: 28px auto 0; }

  .buttons { justify-content: center; }

  h1 { font-size: 3.4rem; }

  .portal { transform: scale(0.82); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stack-grid { grid-template-columns: repeat(3, 1fr); }

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

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

@media (max-width: 600px) {
  nav { padding: 18px 5%; }

  .hamburger { display: flex; }

  .nav-right { gap: 14px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(2,2,4,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 5%;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav.nav-open .nav-links {
    max-height: 300px;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 15px 0;
    font-size: 0.95rem;
  }

  section { padding: 100px 5%; }

  .hero { padding-left: 5%; padding-right: 5%; }

  h1 { font-size: 2.8rem; letter-spacing: -1px; }
  h2 { font-size: 2.2rem; letter-spacing: -0.5px; }

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

  .about-stats { flex-direction: column; gap: 28px; }

  footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-right-wrap { align-items: center; }
}
