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

html {
  scroll-behavior: smooth;
}

body {
  background: #050505;
  color: #f5f5f7;
  font-family: Arial, sans-serif;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 7%;

  background: #050505dd;
  backdrop-filter: blur(15px);

  border-bottom: 1px solid #ffffff12;
}

.logo {
  color: #00e5ff;
  font-weight: bold;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: .3s;
}

nav a:hover {
  color: white;
}

section {
  max-width: 1200px;
  min-height: 100vh;
  margin: auto;
  padding: 140px 7%;
}

.label {
  color: #00e5ff;
  font-size: 11px;
  letter-spacing: 2px;
}

h1 {
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: .9;
  letter-spacing: -5px;
  margin: 25px 0;
}

h1 span,
h2 span {
  color: #00e5ff;
}

h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -3px;
  margin: 20px 0 45px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
}

.hero p {
  color: #888;
  max-width: 550px;
  line-height: 1.8;
}

.button {
  display: inline-block;
  margin-top: 30px;
  padding: 13px 20px;

  background: white;
  color: black;

  border-radius: 30px;

  text-decoration: none;
  font-weight: bold;

  transition: .3s;
}

.button:hover {
  transform: scale(1.05);
}

.terminal {
  padding: 35px;

  background: #111214;

  border: 1px solid #ffffff12;
  border-radius: 24px;

  font-family: monospace;
  line-height: 2;

  box-shadow: 0 30px 80px #000;
}

.terminal span {
  color: #00e5ff;
}

.terminal p:last-child {
  color: #00ff9d;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  transition: .4s;
}

.gallery img:first-child {
  height: 612px;
  grid-row: span 2;
}

.gallery img:hover {
  transform: scale(1.02);
  filter: brightness(1.15);
}

/* =========================================================
FUTURISTIC CLIENT SHOWCASE
========================================================= */
.client-section {
  position: relative;
  margin: 0 !important;
  padding: 45px 20px 55px !important;
  text-align: center;
  overflow: hidden;
  }
  
  /* =========================================================
  SECTION HEADER
  ========================================================= */
  
  .client-section-title {
  margin: 0 0 28px !important;
  padding: 0 !important;
  }
  
  .section-kicker {
  margin-bottom: 8px;
  
  color: #00f7ff;
  
  font-family: monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  
  text-shadow:
  0 0 8px rgba(0, 247, 255, 0.8);
  }
  
  .client-section-title h2 {
  margin: 0 !important;
  padding: 0 !important;
  
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  
  letter-spacing: -1px;
  
  background: linear-gradient(
  90deg,
  #ffffff,
  #00f7ff,
  #8b5cff
  );
  
  /* Standard property + WebKit compatibility */
  background-clip: text;
  -webkit-background-clip: text;
  
  -webkit-text-fill-color: transparent;
  color: transparent;
  }
  
  .client-section-title p {
  margin: 7px 0 0 !important;
  
  color: rgba(255, 255, 255, 0.5);
  
  font-family: monospace;
  font-size: 12px;
  
  letter-spacing: 3px;
  text-transform: uppercase;
  }
  
  /* =========================================================
  HIDDEN CHECKBOX
  ========================================================= */
  
  .video-toggle {
  display: none;
  }
  
  /* =========================================================
  CLIENT CARD
  ========================================================= */
  
  .client-card {
  position: relative;
  
  display: block;
  
  width: min(520px, 90vw);
  aspect-ratio: 16 / 10;
  
  margin: 0 auto;
  
  overflow: hidden;
  
  cursor: pointer;
  
  background:
  linear-gradient(
  135deg,
  rgba(0, 247, 255, 0.08),
  rgba(139, 92, 255, 0.08)
  );
  
  border: 1px solid rgba(0, 247, 255, 0.35);
  
  box-shadow:
  0 0 0 1px rgba(0, 247, 255, 0.05),
  0 0 30px rgba(0, 247, 255, 0.12),
  inset 0 0 40px rgba(0, 247, 255, 0.04);
  
  transition:
  transform 0.4s ease,
  box-shadow 0.4s ease,
  border-color 0.4s ease;
  }
  
  .client-card:hover {
  transform: translateY(-6px);
  
  border-color: rgba(0, 247, 255, 0.8);
  
  box-shadow:
  0 0 0 1px rgba(0, 247, 255, 0.15),
  0 0 50px rgba(0, 247, 255, 0.25),
  0 0 100px rgba(139, 92, 255, 0.12),
  inset 0 0 50px rgba(0, 247, 255, 0.06);
  }
  
  /* =========================================================
  LOGO / IMAGE
  ========================================================= */
  
  .client-image {
  position: absolute;
  inset: 0;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background:
  radial-gradient(
  circle at center,
  rgba(0, 247, 255, 0.08),
  transparent 60%
  );
  }
  
  .client-logo {
  width: 75%;
  height: 75%;
  
  object-fit: contain;
  
  filter:
  drop-shadow(0 0 12px rgba(0, 247, 255, 0.15));
  
  transition:
  transform 0.5s ease,
  filter 0.5s ease;
  }
  
  .client-card:hover .client-logo {
  transform: scale(1.04);
  
  filter:
  drop-shadow(0 0 20px rgba(0, 247, 255, 0.4));
  }
  
  /* =========================================================
  SCAN LINES
  ========================================================= */
  
  .scan-lines {
  position: absolute;
  inset: 0;
  
  pointer-events: none;
  
  background:
  repeating-linear-gradient(
  to bottom,
  transparent 0px,
  transparent 4px,
  rgba(0, 247, 255, 0.025) 5px,
  transparent 6px
  );
  
  opacity: 0.5;
  }
  
  /* =========================================================
  HOVER OVERLAY
  ========================================================= */
  
  .client-overlay {
  position: absolute;
  inset: 0;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  gap: 18px;
  
  background:
  linear-gradient(
  135deg,
  rgba(0, 15, 25, 0.82),
  rgba(20, 5, 40, 0.82)
  );
  
  opacity: 0;
  
  transition: opacity 0.35s ease;
  }
  
  .client-card:hover .client-overlay {
  opacity: 1;
  }
  
  /* =========================================================
  PLAY BUTTON
  ========================================================= */
  
  .play-ring {
  width: 70px;
  height: 70px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  border: 1px solid rgba(0, 247, 255, 0.8);
  
  border-radius: 50%;
  
  color: #00f7ff;
  
  background: rgba(0, 247, 255, 0.05);
  
  box-shadow:
  0 0 15px rgba(0, 247, 255, 0.35),
  inset 0 0 15px rgba(0, 247, 255, 0.08);
  
  transition:
  transform 0.3s ease,
  box-shadow 0.3s ease;
  }
  
  .client-card:hover .play-ring {
  transform: scale(1.1);
  
  box-shadow:
  0 0 25px rgba(0, 247, 255, 0.7),
  0 0 60px rgba(0, 247, 255, 0.2);
  }
  
  .play-ring span {
  margin-left: 4px;
  font-size: 22px;
  }
  
  /* =========================================================
  WATCH TEXT
  ========================================================= */
  
  .watch-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  }
  
  .watch-text strong {
  color: #ffffff;
  
  font-family: monospace;
  font-size: 13px;
  
  letter-spacing: 3px;
  }
  
  .watch-text small {
  color: #00f7ff;
  
  font-family: monospace;
  font-size: 8px;
  
  letter-spacing: 2px;
  }
  
  /* =========================================================
  STATUS
  ========================================================= */
  
  .client-status {
  position: absolute;
  
  left: 18px;
  bottom: 15px;
  
  display: flex;
  align-items: center;
  gap: 7px;
  
  color: rgba(255, 255, 255, 0.65);
  
  font-family: monospace;
  font-size: 8px;
  
  letter-spacing: 2px;
  }
  
  .status-dot {
  width: 6px;
  height: 6px;
  
  border-radius: 50%;
  
  background: #00ff9d;
  
  box-shadow:
  0 0 8px #00ff9d;
  
  animation: statusPulse 1.8s infinite;
  }
  
  @keyframes statusPulse {
  0%,
  100% {
  opacity: 1;
  }
  
  50% {
  opacity: 0.35;
  }
  }
  
  /* =========================================================
  CARD NUMBER
  ========================================================= */
  
  .client-number {
  position: absolute;
  
  right: 18px;
  bottom: 15px;
  
  color: rgba(0, 247, 255, 0.5);
  
  font-family: monospace;
  font-size: 9px;
  
  letter-spacing: 2px;
  }
  
  /* =========================================================
  CORNER DETAILS
  ========================================================= */
  
  .card-corner {
  position: absolute;
  
  width: 18px;
  height: 18px;
  
  z-index: 5;
  
  pointer-events: none;
  }
  
  .corner-tl {
  top: 10px;
  left: 10px;
  
  border-top: 1px solid #00f7ff;
  border-left: 1px solid #00f7ff;
  }
  
  .corner-tr {
  top: 10px;
  right: 10px;
  
  border-top: 1px solid #00f7ff;
  border-right: 1px solid #00f7ff;
  }
  
  .corner-bl {
  bottom: 10px;
  left: 10px;
  
  border-bottom: 1px solid #00f7ff;
  border-left: 1px solid #00f7ff;
  }
  
  .corner-br {
  bottom: 10px;
  right: 10px;
  
  border-bottom: 1px solid #00f7ff;
  border-right: 1px solid #00f7ff;
  }
  
  /* =========================================================
  VIDEO MODAL
  ========================================================= */
  
  .client-video-modal {
  display: none;
  
  position: fixed;
  z-index: 999999;
  
  inset: 0;
  
  width: 100vw;
  height: 100vh;
  
  align-items: center;
  justify-content: center;
  
  padding: 25px;
  
  box-sizing: border-box;
  
  background:
  radial-gradient(
  circle at center,
  rgba(0, 247, 255, 0.08),
  rgba(0, 0, 0, 0.96) 65%
  );
  }
  
  .video-toggle:checked ~ .client-video-modal {
  display: flex;
  }
  
  /* =========================================================
  VIDEO CONTAINER
  ========================================================= */
  
  .client-video-box {
  position: relative;
  
  width: min(1000px, 92vw);
  
  padding: 2px;
  
  background:
  linear-gradient(
  90deg,
  #00f7ff,
  #8b5cff,
  #00f7ff
  );
  
  box-shadow:
  0 0 30px rgba(0, 247, 255, 0.2),
  0 0 80px rgba(139, 92, 255, 0.15);
  }
  
  /* =========================================================
  VIDEO HEADER
  ========================================================= */
  
  .video-header {
  display: flex;
  justify-content: space-between;
  
  padding: 10px 14px;
  
  background: #05070d;
  
  color: rgba(255, 255, 255, 0.6);
  
  font-family: monospace;
  font-size: 9px;
  
  letter-spacing: 2px;
  }
  
  .video-status {
  color: #00ff9d;
  }
  
  /* =========================================================
  VIDEO
  ========================================================= */
  
  .client-video-box video {
  display: block;
  
  width: 100%;
  
  max-height: 75vh;
  
  background: #000;
  }
  
  /* =========================================================
  CLOSE BUTTON
  ========================================================= */
  
  .client-video-close {
  position: absolute;
  
  top: -42px;
  right: 0;
  
  width: 32px;
  height: 32px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  color: #00f7ff;
  
  font-family: Arial, sans-serif;
  font-size: 30px;
  
  cursor: pointer;
  
  border: 1px solid rgba(0, 247, 255, 0.4);
  
  background: rgba(0, 10, 20, 0.8);
  
  transition:
  background 0.2s ease,
  box-shadow 0.2s ease;
  }
  
  .client-video-close:hover {
  background: rgba(0, 247, 255, 0.15);
  
  box-shadow:
  0 0 15px rgba(0, 247, 255, 0.4);
  }
  
  /* =========================================================
  MOBILE
  ========================================================= */
  
  @media (max-width: 600px) {
  
  .client-section {
  padding: 35px 15px 40px !important;
  }
  
  .client-card {
  width: 92vw;
  }
  
  .client-section-title h2 {
  font-size: 34px;
  }
  
  .play-ring {
  width: 60px;
  height: 60px;
  }
  
  .client-video-modal {
  padding: 12px;
  }
  
  .video-header {
  font-size: 7px;
  }
  
  }

.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.skills article {
  padding: 30px;
  background: #111214;
  border: 1px solid #ffffff10;
  border-radius: 20px;
  transition: .3s;
}

.skills article:hover {
  transform: translateY(-6px);
  border-color: #00e5ff55;
}

.skills h3 {
  margin-bottom: 10px;
}

.skills p,
.timeline p,
#contact > p {
  color: #888;
  line-height: 1.7;
}

.timeline {
  border-left: 1px solid #ffffff20;
  padding-left: 30px;
}

.timeline article {
  margin-bottom: 45px;
}

.timeline small {
  color: #00e5ff;
}

.timeline h3 {
  margin: 7px 0;
  font-size: 24px;
}

footer {
  padding: 30px 7%;
  border-top: 1px solid #ffffff12;
  color: #666;
}

@media (max-width: 800px) {

  nav {
      gap: 12px;
  }

  nav a {
      font-size: 11px;
  }

  .hero {
      grid-template-columns: 1fr;
  }

  .skills {
      grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 550px) {

  nav a:nth-child(n+4) {
      display: none;
  }

  .hero {
      grid-template-columns: 1fr;
  }

  .skills,
  .gallery {
      grid-template-columns: 1fr;
  }

  .gallery img:first-child {
      height: 300px;
      grid-row: auto;
  }

  .gallery img {
      height: 300px;
  }
}

