:root {
  --bg: #090816;
  --bg-soft: #111129;
  --text: #f8f6ff;
  --muted: #c8c2e2;
  --purple: #8f45ff;
  --turquoise: #23d5d5;
  --coral: #ff6f7d;
  --gold: #ffc45a;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(143, 69, 255, 0.2), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(35, 213, 213, 0.22), transparent 35%),
    radial-gradient(circle at 65% 80%, rgba(255, 111, 125, 0.2), transparent 35%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo-text,
.footer-logo {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.01em;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #110918;
  background: linear-gradient(90deg, var(--gold), #ffd985);
  box-shadow: 0 8px 25px rgba(255, 196, 90, 0.4);
}

.section-lead {
  max-width: 830px;
  color: var(--muted);
  line-height: 1.75;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.55;
  animation: float 14s infinite ease-in-out alternate;
}

.orb-a {
  width: 260px;
  height: 260px;
  background: var(--purple);
  top: -80px;
  left: -60px;
}

.orb-b {
  width: 300px;
  height: 300px;
  background: var(--turquoise);
  top: 35%;
  right: -120px;
  animation-delay: 1.5s;
}

.orb-c {
  width: 220px;
  height: 220px;
  background: var(--coral);
  bottom: -90px;
  left: 18%;
  animation-delay: 2.4s;
}

.orb-d {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 62%;
  left: 68%;
  animation-delay: 3s;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(16px, -24px, 0) scale(1.08);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(9, 8, 22, 0.68);
  backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.15);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border-radius: 11px;
  color: #120816;
  background: linear-gradient(135deg, var(--turquoise), var(--gold));
}

.logo-text {
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a,
.footer-nav a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.87;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--glass);
  color: var(--text);
  font-size: 1.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 10px;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 7rem;
}

.hero-parallax {
  position: absolute;
  inset: -12% -12% auto -12%;
  height: 72vh;
  background:
    linear-gradient(110deg, rgba(143, 69, 255, 0.55), rgba(35, 213, 213, 0.35), rgba(255, 111, 125, 0.45)),
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 10px);
  filter: saturate(1.2) blur(1px);
  transform: translateY(0);
  border-bottom-left-radius: 40% 15%;
  border-bottom-right-radius: 40% 15%;
  animation: shiftGradient 9s ease-in-out infinite alternate;
}

@keyframes shiftGradient {
  0% {
    background-position: 0% 50%, 0 0;
  }
  100% {
    background-position: 100% 50%, 60px 40px;
  }
}

.hero-content {
  position: relative;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  line-height: 1.16;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 760px;
  margin: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.23rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--purple));
  color: #fff;
  box-shadow: 0 10px 26px rgba(143, 69, 255, 0.42);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(9px);
  box-shadow: var(--shadow);
}

.features-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.1rem;
}

.feature-card svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: #8df7ef;
  stroke-width: 2.4;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0.3rem 0 0.45rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.portfolio-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  padding: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: scale(1.02);
  border-color: rgba(255, 196, 90, 0.55);
  box-shadow: 0 12px 30px rgba(35, 213, 213, 0.2), 0 0 24px rgba(143, 69, 255, 0.35);
}

.project-card h3 {
  margin-top: 0;
}

.chip {
  display: inline-block;
  margin: 0.1rem 0 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.16);
}

.result {
  color: #ffe090;
  font-weight: 600;
}

.reviews-wrap {
  margin-top: 1.6rem;
  padding: 1rem;
}

.reviews-track {
  position: relative;
  min-height: 212px;
}

.review-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  padding: 1rem;
}

.review-card.is-active {
  opacity: 1;
  transform: translateY(0);
}

.review-card p {
  margin: 0.5rem 0;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.14em;
}

.review-meta {
  color: var(--muted);
  font-weight: 600;
}

.review-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding-bottom: 0.55rem;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.review-dot.is-active {
  background: var(--turquoise);
}

.team-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  padding: 1rem;
}

.avatar-frame {
  width: 112px;
  height: 112px;
  padding: 3px;
  border-radius: 28px;
  background: linear-gradient(140deg, var(--gold), var(--turquoise), var(--purple));
  margin-bottom: 0.7rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.12);
}

.team-card h3 {
  margin: 0.2rem 0 0;
}

.role {
  margin: 0.2rem 0 0.6rem;
  color: #ffdd9f;
  font-weight: 600;
}

.team-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.team-card li + li {
  margin-top: 0.4rem;
}

.team-card details {
  margin-top: 0.65rem;
  color: #ffdca7;
}

.team-card summary {
  cursor: pointer;
  font-weight: 600;
}

.contact-panel {
  margin-top: 1.6rem;
  padding: 1.4rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-label {
  display: inline-block;
  margin-bottom: 0.15rem;
  color: #ffdca7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--text);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #9fe7ff, #7ac7ff 38%, #9a8cff);
  color: #0b1224;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 28px rgba(122, 199, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-email:hover {
  color: #0b1224;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(122, 199, 255, 0.33);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 18, 0.75);
  backdrop-filter: blur(6px);
}

.footer-grid {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.footer-logo {
  margin: 0 0 0.4rem;
  font-size: 1.16rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold), var(--coral));
  color: #130b1c;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .features-grid,
  .portfolio-grid,
  .team-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 1rem;
    left: 1rem;
    padding: 0.8rem;
    border-radius: 14px;
    background: rgba(8, 8, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.6rem 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-actions,
  .form-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
