:root {
  /* Monokai palette */
  --bg:        #272822;
  --bg-light:  #2e2f2a;
  --bg-card:   #3e3d32;
  --fg:        #F8F8F2;
  --fg-dim:    #a8a89a;
  --pink:      #F92672;
  --green:     #A6E22E;
  --yellow:    #E6DB74;
  --cyan:      #66D9EF;
  --purple:    #AE81FF;
  --orange:    #FD971F;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Nav ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: rgba(39, 40, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(248, 248, 242, 0.06);
  transition: padding 0.3s, background 0.3s;
}

nav.nav-scrolled {
  padding: 1rem 4rem;
  background: rgba(39, 40, 34, 0.95);
  border-bottom-color: rgba(248, 248, 242, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--fg);
}

.cursor {
  color: var(--pink);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.nav-links a {
  color: var(--fg-dim);
  text-decoration: none;
  margin-left: 2.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s 0.15s ease-out both;
}

.highlight {
  color: var(--cyan);
}

.highlight-alt {
  color: var(--green);
}

.tagline {
  font-size: 1.2rem;
  color: var(--fg-dim);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeSlideUp 0.8s 0.3s ease-out both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeSlideUp 0.8s 0.45s ease-out both;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--pink);
  color: var(--fg);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 3px;
  transition: background 0.25s, transform 0.15s ease-out, box-shadow 0.25s;
  position: relative;
}

.cta-button:hover {
  background: #ff3c7e;
  box-shadow: 0 0 30px rgba(249, 38, 114, 0.4);
}

.cta-secondary {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}

.cta-secondary:hover {
  color: var(--green);
}

/* Decorative lines */
.hero-decoration {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 18px;
}

.deco-line {
  display: block;
  width: 3px;
  border-radius: 2px;
  opacity: 0;
  transition: transform 0.15s ease-out;
  animation: decoGrow 1s ease-out forwards;
}

.deco-line:nth-child(1) {
  height: 280px;
  background: var(--pink);
  animation-delay: 0.6s;
}

.deco-line:nth-child(2) {
  height: 200px;
  background: var(--cyan);
  margin-top: 60px;
  animation-delay: 0.8s;
}

.deco-line:nth-child(3) {
  height: 320px;
  background: var(--green);
  margin-top: -20px;
  animation-delay: 1s;
}

@keyframes decoGrow {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 0.15;
    transform: scaleY(1);
  }
}

/* ---- Section shared ---- */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* ---- Services ---- */
.services {
  padding: 7rem 4rem;
  border-top: 1px solid rgba(248, 248, 242, 0.06);
}

.section-header {
  margin-bottom: 3.5rem;
}

.services h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  border: 1px solid rgba(248, 248, 242, 0.04);
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: var(--pink);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(249, 38, 114, 0.12);
}

.service-number {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.service-card p {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- About ---- */
.about {
  padding: 7rem 4rem;
  background: var(--bg-light);
  border-top: 1px solid rgba(248, 248, 242, 0.06);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
}

.about h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.about-body {
  color: var(--fg-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--fg-dim);
  border-left: 3px solid var(--purple);
  padding: 1.5rem 0 1.5rem 2rem;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--purple);
}

/* ---- Contact ---- */
.contact {
  padding: 7rem 4rem;
  border-top: 1px solid rgba(248, 248, 242, 0.06);
}

.contact-inner {
  max-width: 600px;
}

.contact h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
  line-height: 1.15;
}

.email-link {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}

.email-link:hover {
  border-color: var(--cyan);
}

.location {
  color: var(--fg-dim);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(248, 248, 242, 0.1);
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.social-links a:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ---- Footer ---- */
footer {
  padding: 2rem 4rem;
  border-top: 1px solid rgba(248, 248, 242, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-dim);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.footer-logo {
  font-size: 1rem;
}

/* ---- Animations ---- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1.2rem 1.5rem;
  }

  .nav-links a {
    margin-left: 1.5rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-decoration {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .services,
  .about,
  .contact {
    padding: 5rem 1.5rem;
  }

  .services h2,
  .about h2,
  .contact h2 {
    font-size: 2rem;
  }

  footer {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}
