/* Base Variables */
:root {
  --bg-dark: #070707;
  --bg-card: #0f0f11;
  --text-primary: #ffffff;
  --text-muted: #888888;
  --accent: #5200ff;
  --accent-secondary: #00f0ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Animated Gradient */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: var(--bg-dark);
  overflow: hidden;
}
.ambient-bg::before, .ambient-bg::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 20s infinite alternate ease-in-out;
  opacity: 0.15;
}
.ambient-bg::before {
  background: var(--accent);
  top: -10vw;
  left: -10vw;
}
.ambient-bg::after {
  background: var(--accent-secondary);
  bottom: -10vw;
  right: -10vw;
  animation-delay: -10s;
}
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 10vh) scale(1.2); }
  100% { transform: translate(-10vw, 5vh) scale(0.9); }
}

/* Custom Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-primary);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 4vw;
  z-index: 999;
  mix-blend-mode: difference;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.navbar.scrolled {
  mix-blend-mode: normal;
  padding: 1rem 4vw;
  background: rgba(10, 12, 16, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 100px !important;
  transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.navbar.scrolled .logo img {
  height: 45px !important;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.nav-links a:hover {
  opacity: 0.6;
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  color: var(--text-primary);
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-dark) !important;
  opacity: 1 !important;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 4vw;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #ffffff, var(--accent-secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--text-muted);
  max-width: 600px;
}
.hero-ctas .btn-outline {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1.4rem 3rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.hero-ctas .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.8);
  color: #fff !important;
}
.hero-ctas .btn-solid {
  display: inline-block;
}

/* What We Do */
.capabilities {
  padding: 10rem 4vw;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6rem;
}
.capability-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.capability-item {
  display: flex;
  flex-direction: column;
  background: rgba(20, 22, 28, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.capability-item:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
}
.cap-number {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  margin-bottom: 2rem;
  font-weight: 700;
}
.cap-text h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.cap-text p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 500px;
}

/* Showcase (Projects) */
.showcase {
  padding: 5rem 0;
}
.showcase-item {
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 0 4vw;
}
.showcase-item.reverse {
  flex-direction: row-reverse;
  background: var(--bg-card);
}
.showcase-img {
  flex: 1;
  padding: 4vw;
  overflow: hidden;
}
.parallax-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transform: scale(1.1); /* For parallax effect capability */
}
.showcase-content {
  flex: 1;
  padding: 4rem;
  background: rgba(20, 22, 28, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  margin: 0 2rem;
}
.tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}
.showcase-content h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.showcase-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 3rem;
  line-height: 1.6;
}
.case-btn {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 0.5rem;
}
.case-btn:hover .arrow {
  transform: translateX(10px);
}
.arrow {
  transition: transform 0.3s;
}

/* CTA */
.cta-massive {
  padding: 15rem 4vw;
  text-align: center;
}
.cta-massive h2 {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 4rem;
}
.btn-solid {
  background: var(--text-primary);
  color: var(--bg-dark);
  padding: 1.5rem 3rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-solid:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,240,255,0.2);
}

/* Footer */
footer {
  padding: 4rem 4vw;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand img {
  height: 24px;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--text-primary);
}

/* Animations */
.slide-up {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  filter: blur(10px);
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slide-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase-item, .showcase-item.reverse {
    flex-direction: column;
    padding: 10rem 4vw;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}
