:root {
  --bg: #0a0a0a;
  --card: #121212;
  --text: #ffffff;
  --muted: #9ca3af;
  --accent: #3b82f6;
  --radius: 18px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
}

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid #1f2933;
  z-index: 999;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ABAB5;
}

.logo span {
  color: #8A2BE2;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.btn-nav {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  max-width: 680px;
  margin: 1.5rem auto 2.5rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid white;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
}

/* STATS */
.stats {
  background: #111;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.stat-card h3 {
  color: var(--accent);
  font-size: 2.2rem;
}

/* PORTFOLIO */
.portfolio {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: auto auto 3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

.portfolio-card {
  height: 380px;
  background: linear-gradient(135deg, #1f2933, #111);
  border-radius: var(--radius);
}

/* SERVICES */
.services {
  background: #111;
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
}

/* PROCESS */
.process {
  padding: 6rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
}

.process-step span {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.8rem;
}

/* CONTACT */
.contact {
  padding: 6rem 0;
}

.contact-box {
  max-width: 600px;
  margin: auto;
  text-align: center;
}

form input, form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #121212;
  border: 1px solid #1f2933;
  color: white;
  border-radius: 10px;
}

/* FOOTER */
.footer {
  padding: 3rem 0;
  border-top: 1px solid #1f2933;
  text-align: center;
  color: var(--muted);
}

/* ================= MOBILE & TABLET ================= */
@media (max-width: 900px) {

  .hero-actions {
    flex-direction: column;
  }

  /* Hamburger */
  .hamburger {
    display: flex;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.4rem;
  }
}

/* ================= DESKTOP SAFETY RESET ================= */
@media (min-width: 901px) {
  .nav-links {
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    transform: none;
    background: transparent;
  }

  .hamburger {
    display: none;
  }
}

/* ================= HAMBURGER ================= */
.hamburger {
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
