:root {
  --bg: #05070c;
  --bg-soft: #0b1220;
  --card: rgba(14, 22, 36, 0.88);
  --card-border: rgba(77, 181, 255, 0.16);
  --text: #f4f8ff;
  --muted: #9db0c9;
  --primary: #23a8ff;
  --primary-strong: #1180d1;
  --accent: #7bd3ff;
  --white-soft: #dceaff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(35, 168, 255, 0.15), transparent 28%),
    radial-gradient(circle at right center, rgba(0, 119, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #03060b 0%, #060b14 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(4, 8, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-subtitle {
  font-size: 0.86rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  background: transparent;
  color: var(--white-soft);
  border: 1px solid transparent;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active-nav {
  background: rgba(35, 168, 255, 0.12);
  border-color: rgba(35, 168, 255, 0.24);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  margin: 6px 0;
  border-radius: 999px;
}

.main-content {
  flex: 1;
}

.page {
  display: none;
  min-height: calc(100vh - 160px);
  padding: 56px 0 72px;
}

.active-page {
  display: block;
  animation: fadePage 0.35s ease;
}

@keyframes fadePage {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  color: var(--accent);
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.usp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.usp-card,
.premium-card,
.service-card,
.team-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.usp-card {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.usp-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.usp-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.primary-btn,
.secondary-btn,
.back-btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.back-btn:hover {
  transform: translateY(-2px);
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 24px rgba(17, 128, 209, 0.28);
}

.secondary-btn,
.back-btn {
  color: white;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.small-btn {
  padding: 12px 16px;
}

.full-btn {
  width: 100%;
}

.btn-link {
  text-decoration: none;
}

.mini-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-services span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white-soft);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-card {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(18, 30, 50, 0.92), rgba(7, 12, 20, 0.96));
  border: 1px solid rgba(123, 211, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-logo-card img {
  width: 72%;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(17, 128, 209, 0.25));
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
}

.glow-one {
  width: 240px;
  height: 240px;
  background: rgba(35, 168, 255, 0.22);
  top: 50px;
  right: 0;
}

.glow-two {
  width: 180px;
  height: 180px;
  background: rgba(123, 211, 255, 0.16);
  bottom: 60px;
  left: 10px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top, rgba(35, 168, 255, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.98), rgba(7, 12, 20, 0.98));
  padding: 22px;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  flex: 1;
}

.service-content h3 {
  margin: 0;
  font-size: 1.18rem;
}

.service-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.price,
.detail-price,
.role {
  color: var(--accent);
  font-weight: 700;
}

.team-layout {
  display: flex;
  justify-content: center;
}

.team-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 30px;
  border-radius: 28px;
}

.team-image-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(123, 211, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.projects-placeholder {
  border-radius: 28px;
  padding: 30px;
}

.projects-placeholder p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-info-card,
.form-card {
  border-radius: 28px;
  padding: 28px;
}

.contact-info-card h3,
.form-card h3 {
  margin-top: 0;
}

.contact-lines p,
.discord-box p {
  color: var(--muted);
  line-height: 1.75;
}

.discord-box {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  color: var(--white-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: white;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(35, 168, 255, 0.45);
  background: rgba(255,255,255,0.06);
}

.service-detail-page .container {
  max-width: 1100px;
}

.back-btn {
  margin-bottom: 20px;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  padding: 26px;
  border-radius: 30px;
}

.service-detail-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  background: #091120;
  min-height: 340px;
}

.service-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-content h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.service-detail-content p {
  color: var(--muted);
  line-height: 1.8;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(4, 8, 15, 0.88);
}

.footer-content {
  padding: 26px 0 34px;
  text-align: center;
}

.footer-content p {
  margin: 6px 0;
  color: var(--muted);
}

.footer-content a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(6, 11, 20, 0.96);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    text-align: left;
    width: 100%;
  }

  .brand-text {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .page {
    padding: 34px 0 56px;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .service-image {
    height: 200px;
    padding: 18px;
  }
}