/* ===============================
   DESIGN SYSTEM (STABLE CORE)
================================ */

:root {
  --bg-main: #0f1117;
  --bg-card: #141827;
  --bg-border: #1f2230;

  --text-main: #ffffff;
  --text-muted: #cbd5e1;

  --brand: #6366f1;

  --radius-sm: 6px;
  --radius-md: 10px;

  --container-width: 1100px;
}

/* ===============================
   RESET
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================
   BASE
================================ */
html,
body {
  width: 100%;
  overflow-x: hidden;
}


body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: min(var(--container-width), 92%);
  margin: auto;
}

p {
  max-width: 60ch;
  color: var(--text-muted);
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

/* ===============================
   HEADER
================================ */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85); 
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 6%;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #22c55e;
}

.nav-cta {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22 !important;
  font-weight: 600;
}


/* =========================
   NAV — FINAL, STABLE
========================= */

.nav {
  width: 100%;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 15, 26, 0.94);
  backdrop-filter: blur(14px);

  transition: 
    background 0.3s ease,
    box-shadow 0.3s ease;
}


/* Buttons */
.menu-toggle,
.menu-close {
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hide buttons by default */
.menu-toggle,
.menu-close {
  display: none;
}

/* =========================
   MOBILE NAV
========================= */

@media (max-width: 900px) {

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Dropdown menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;              /* ← half-ish screen */
    max-width: 320px;   

    background: #05070f; /* deeper than page */
    border-top: 1px solid rgba(255,255,255,0.06);

    direction: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;

    padding: 2rem 1.8rem;

    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
    z-index: 200;
  }

.nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  /* Close button */
.menu-close {
    display: block;
    align-self: flex-end;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    opacity: 0.85;
  }

  .menu-close:hover {
    opacity: 1;
  }

  /* Mobile links */
  .nav-links a {
    font-size: 1rem;
  }
}


/* ===============================
   BUTTONS
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  transform: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* PRIMARY */
.btn.primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  box-shadow:
    0 10px 30px rgba(79, 70, 229, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* SECONDARY */
.btn.secondary {
  background: transparent;
  color: #c7d2fe;
  border: 1px solid rgba(199, 210, 254, 0.35);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}


/* Hover (subtle, stable) */
.btn.primary:hover {
  background: #4f52e0;
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.45);
}

.btn.secondary:hover {
  background: rgba(199, 210, 254, 0.08);
  border-color: rgba(199, 210, 254, 0.6);
  transform: translateY(-1px);
}


/* ===============================
   HERO
================================ */

.hero {
  padding: 7rem 6% 6rem;
  background: radial-gradient(
      circle at top right,
      rgba(34, 197, 94, 0.12),
      transparent 60%
    );
}

.hero-container {
  max-width: 900px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: #22c55e;
}

.hero-text {
  max-width: 680px;
  font-size: 1.1rem;
  color: #cbd5f5;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 0.8rem 2rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  padding: 0.8rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

.btn-secondary:hover {
  background: rgba(34, 197, 94, 0.1);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
}

.proof-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 6%;
}

.proof-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-size: 1.4rem;
  color: #22c55e;
  margin-bottom: 0.3rem;
}

.proof-item span {
  font-size: 0.95rem;
  color: #94a3b8;
}

/* WORK */

section {
  padding: 6rem 6%;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.section-head p {
  color: #94a3b8;
  font-size: 1rem;
}


.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.work-card {
  background: rgba(2, 6, 23, 0.85);
  border-radius: 18px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.6);
}

.work-type {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 0.6rem;
}

.work-meta h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.work-meta p {
  font-size: 0.95rem;
  color: #cbd5f5;
  margin-bottom: 2rem;
}

.work-link {
  align-self: flex-start;
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
}

.work-link:hover {
  text-decoration: underline;
}

.project-lite {
  opacity: 0.88;
}

.project-status {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.project-lite h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.project-lite p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

.project-lite:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}


/* Services */

.services-section {
  padding: 6rem 6%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.5);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #cbd5f5;
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 6%;
  }

  .section-head h2 {
    font-size: 2rem;
  }
}


/* ABOUT */

.about-section {
  padding: 6rem 6%;
}

.about-container {
  max-width: 820px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.about-text p {
  font-size: 1rem;
  color: #cbd5f5;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* ==CONTACT== */

.cta-section {
  padding: 6rem 6%;
  background: linear-gradient(
    to right,
    rgba(34, 197, 94, 0.12),
    rgba(15, 23, 42, 0.9)
  );
  border-radius: 32px 32px 0 0;
}

.cta-container {
  max-width: 720px;
}

.cta-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem;
  color: #cbd5f5;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* FOOTER */

.site-footer {
  padding: 2.5rem 6%;
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer p {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #22c55e;
}



/* ===ELITECUTS=== */

.case-hero {
  padding: 7rem 6% 4rem;
  background: radial-gradient(
    circle at top right,
    rgba(34, 197, 94, 0.15),
    transparent 60%
  );
}

.case-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 1rem;
}

.case-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.case-intro {
  max-width: 640px;
  color: #cbd5f5;
  font-size: 1.05rem;
}

.case-content {
  padding: 4rem 0 6rem;
  display: grid;
  gap: 2.5rem;
}

.case-study h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.case-study p {
  color: #cbd5f5;
  font-size: 0.95rem;
}

.case-list {
  padding-left: 1.2rem;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.case-list li {
  margin-bottom: 0.5rem;
}

.case-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.8rem;
  background: #22c55e;
  color: #022c22;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}
