/* DexIntLabs Stylesheet */

/* VARIABLES */
:root {
  --bg-1: #05060b;
  --bg-2: #08112a;
  --accent-1: #0ea5ff;
  --accent-2: #7c3aed;
  --muted: #98a0b3;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.06);
  --shadow: 0 8px 30px rgba(2, 6, 23, 0.65);
  --radius: 12px;
  --transition: all 0.25s ease;
  --max-width: 1200px;
}

/* BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(1200px 800px at 10% 80%, rgba(9, 56, 115, 0.85) 0%, transparent 20%), linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 60%);
  color: var(--white);
  padding: 48px 24px;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  width: 100%;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.logo-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-1) var(--accent-2));
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3), inset 0 -6px 20px rgba(0, 0, 0, 0.2);
}

.desktop-nav {
  display: flex;
  gap: 20px;
}

.desktop-nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 30px;
  padding: 48px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.2));
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hueShift 6s linear infinite;
}

@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

.hero .lead {
  color: var(--muted);
  margin: 14px 0 24px 0;
  font-weight: 500;
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: var(--white);
  box-shadow: 0 6px 25px rgba(14, 165, 255, 0.15);
}

.btn-primary:hover {
  transform: translate(-3px);
  box-shadow: 0 8px 28px rgba(14, 165, 255, 0.25);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--glass);
}

.trust {
  margin-top: 8px;
  font-size: 0.92rem;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.mock-laptop {
  width: 380px;
  height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-screen {
  width: 92%;
  height: 80%;
  border-radius: 8px;
  background: rgba(5, 8, 20, 0.9);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-tag {
  font-size: 12px;
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
}

/* SECTION */
.section {
  margin-top: 30px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.1));
  box-shadow: var(--shadow);
}

/* WORK GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.work-card {
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10, 20, 50, 0.6), rgba(20, 10, 40, 0.55));
  box-shadow: inset 0 -6px 30px rgba(0, 0, 0, 0.3);
}

/* Services */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.services-pill {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

/* FOOTER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #021027, #05081a);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  padding: 28px;
  transition: right 0.3s cubic-bezier(.2, .9, .3, 1);
  z-index: 60;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drawer-header button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}

.drawer-cta {
  margin-top: 30px;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .hero-right {
    display: none;
  }
}

@media (max-width: 640px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-block;
  }

  body {
    padding: 20px;
  }
}

/* ---------- INTERACTIVE EFFECTS ---------- */

/* Buttons hover glow */
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(80, 170, 255, 0.6);
  background: linear-gradient(90deg, #0052cc, #00a3ff);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Work cards hover motion */
.work-card {
  transition: all 0.4s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(145deg, #1a1a1a, #2b2b2b);
}

/* Parallax hero background */
.hero {
  background: linear-gradient(145deg, #0a0a0a, #121212);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-position 0.2s ease;
}

/* Showcase / Projects */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.showcase-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(14, 165, 255, 0.2);
}

.showcase-img.placeholder {
  background: linear-gradient(135deg, rgba(10, 20, 50, 0.5), rgba(60, 10, 120, 0.6));
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 12px;
  backdrop-filter: blur(6px);
}

.showcase-overlay h5 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.showcase-overlay p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}