/* =========================================
   KING FLOW — Cyberpunk Theme
   Cian #00FFE5 · Violeta #9B00FF · Negro #03030F
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* --- VARIABLES --- */
:root {
  --black:    #03030F;
  --dark:     #07071A;
  --mid:      #0E0E26;
  --panel:    #111130;

  --cyan:     #00FFE5;
  --cyan2:    #00CCB8;
  --violet:   #9B00FF;
  --violet2:  #C060FF;
  --magenta:  #FF00C8;

  --white:    #E8F0FF;
  --grey:     #4A4A6A;
  --light:    #8888AA;

  --glow-cyan:   0 0 20px rgba(0,255,229,0.5), 0 0 60px rgba(0,255,229,0.15);
  --glow-violet: 0 0 20px rgba(155,0,255,0.5), 0 0 60px rgba(155,0,255,0.15);

  --font-display: 'Bebas Neue', sans-serif;
  --font-ui:      'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  --transition: 0.25s ease;
  --max-width: 1280px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
ul { list-style: none; }

/* --- CUSTOM CURSOR --- */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  box-shadow: var(--glow-cyan);
}
.cursor-ring {
  position: fixed;
  width: 34px; height: 34px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s, width 0.2s, height 0.2s;
  opacity: 0.5;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--cyan); }

/* --- GRID BACKGROUND --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,229,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,229,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* --- SCANLINES --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.07) 2px, rgba(0,0,0,0.07) 4px
  );
  pointer-events: none;
  z-index: 9997;
}

/* =========================================
   NAVIGATION
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(3,3,15,0.94);
  backdrop-filter: blur(16px);
  padding: 14px 60px;
  border-bottom-color: rgba(0,255,229,0.12);
}
.nav-logo img {
  height: 72px; width: auto;
  filter: brightness(1.1);
  transition: filter 0.3s, opacity 0.3s;
  opacity: 0.9;
}
.nav-logo img:hover {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(0,255,229,0.6));
  opacity: 1;
}
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--light);
  position: relative;
  transition: color var(--transition);
  font-weight: 600;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--cyan) !important;
  color: var(--cyan) !important;
  padding: 9px 22px;
  font-weight: 700 !important;
  transition: background 0.25s, box-shadow 0.25s !important;
}
.nav-cta:hover { background: rgba(0,255,229,0.08) !important; box-shadow: var(--glow-cyan) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px 12px;
  background: rgba(3,3,15,0.75);
  border: 1px solid rgba(0,255,229,0.25);
  backdrop-filter: blur(8px);
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: border-color var(--transition), background var(--transition);
}
.hamburger:hover {
  border-color: var(--cyan);
  background: rgba(0,255,229,0.06);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0,255,229,0.6);
  transition: var(--transition);
}

/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center;
  overflow: hidden; z-index: 1;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/images/hero-portrait.jpg') center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 14s ease-in-out infinite alternate;
  filter: saturate(0.15) brightness(0.4);
}
@keyframes heroZoom {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.09) translateX(-12px); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(155,0,255,0.55) 0%, transparent 50%),
    rgba(3,3,15,0.75);
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(to top, var(--black), transparent);
}
.hero-scanline {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  opacity: 0.35; animation: scanSweep 5s linear infinite;
  z-index: 2; pointer-events: none;
}
@keyframes scanSweep { 0% { top: -2px; } 100% { top: 100%; } }

/* Two-column hero layout */
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--max-width);
  margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center;
}
.hero-content {}
.hero-tag {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp 0.7s 0.3s forwards;
}
.hero-tag::before { content: '//'; color: var(--violet2); font-size: 0.9rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: 0.85; letter-spacing: -0.02em; color: var(--white);
  opacity: 0; animation: fadeUp 0.7s 0.5s forwards;
  text-shadow: 0 0 60px rgba(0,255,229,0.12);
}
.hero-title span {
  display: block; color: transparent;
  -webkit-text-stroke: 2px var(--cyan);
  filter: drop-shadow(0 0 16px rgba(0,255,229,0.5));
}
.hero-subtitle {
  font-family: var(--font-ui); font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300; letter-spacing: 0.04em; color: var(--light);
  margin-top: 20px; max-width: 460px; line-height: 1.7;
  opacity: 0; animation: fadeUp 0.7s 0.7s forwards;
}
.hero-actions {
  display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.9s forwards;
}
.btn-primary {
  font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 700;
  background: var(--cyan); color: var(--black); padding: 15px 34px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: box-shadow 0.25s, transform 0.25s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover { box-shadow: var(--glow-cyan); transform: translateY(-3px); }
.btn-secondary {
  font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--violet); color: var(--violet2); padding: 15px 34px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: box-shadow 0.25s, background 0.25s, transform 0.25s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-secondary:hover { background: rgba(155,0,255,0.12); box-shadow: var(--glow-violet); transform: translateY(-3px); }

/* Hero video column */
.hero-video-col {
  position: relative;
  opacity: 0; animation: fadeIn 1s 0.7s forwards;
}
.hero-video-frame {
  position: relative;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  overflow: hidden; background: var(--mid);
  aspect-ratio: 9/16; max-height: 72vh;
}
.hero-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-frame::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(0,255,229,0.4);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  z-index: 2; pointer-events: none;
}
.hero-video-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,255,229,0.04) 0%, transparent 25%, transparent 75%, rgba(155,0,255,0.1) 100%);
  z-index: 2; pointer-events: none;
}
.hero-video-corner {
  position: absolute; width: 18px; height: 18px;
  border-color: var(--cyan); border-style: solid; z-index: 4;
}
.hero-video-corner.tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; box-shadow: -4px -4px 12px rgba(0,255,229,0.6); }
.hero-video-corner.tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; box-shadow: 4px -4px 12px rgba(0,255,229,0.6); }
.hero-video-corner.bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; box-shadow: -4px 4px 12px rgba(0,255,229,0.6); }
.hero-video-corner.br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; box-shadow: 4px 4px 12px rgba(0,255,229,0.6); }
.hero-video-label {
  position: absolute; top: 0; left: 24px;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--black); background: var(--cyan); padding: 3px 10px; z-index: 4;
}
.hero-video-live {
  position: absolute; bottom: 14px; right: 14px; z-index: 4;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em; color: var(--cyan);
  background: rgba(3,3,15,0.85); padding: 5px 10px; border: 1px solid rgba(0,255,229,0.25);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  animation: livePulse 1.5s infinite; box-shadow: 0 0 6px var(--cyan);
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

.hero-scroll {
  position: absolute; bottom: 36px; right: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.5s forwards; z-index: 3;
}
.hero-scroll span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.3em; color: var(--grey); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--cyan), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.3; transform: scaleY(0.5); } }

.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; padding-left: 60px;
  z-index: 3; opacity: 0; animation: fadeIn 1s 1.2s forwards;
}
.stat-item {
  padding: 16px 26px; background: rgba(0,255,229,0.04);
  border-top: 1px solid rgba(0,255,229,0.3); border-right: 1px solid rgba(0,255,229,0.08);
  text-align: center; backdrop-filter: blur(6px);
}
.stat-number { font-family: var(--font-display); font-size: 2.4rem; color: var(--cyan); line-height: 1; text-shadow: var(--glow-cyan); }
.stat-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light); margin-top: 4px; }

@media (max-width: 900px) {
  #hero { height: auto; min-height: 0; padding-top: 90px; padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 0 40px; align-items: flex-start; padding-top: 0; }
  .hero-video-col { display: none; }
  .hero-stats { padding-left: 40px; }
}
@media (max-width: 600px) {
  #hero { padding-top: 90px; padding-bottom: 50px; }
  .hero-inner { padding: 0 24px; }
  .hero-stats { position: static; display: flex; justify-content: flex-start; padding-left: 24px; margin-top: 32px; }
  .hero-scroll { display: none; }
  .hero-overlay-bottom { display: none; }
}

/* =========================================
   SECTION COMMONS
   ========================================= */
section { padding: 100px 60px; position: relative; z-index: 1; }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.section-label::before { content: '//'; color: var(--violet2); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.88; letter-spacing: -0.01em; margin-bottom: 40px;
}
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================
   ABOUT
   ========================================= */
#about { background: var(--dark); }
#about::before {
  content: 'FLOW';
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display); font-size: 22rem;
  color: transparent; -webkit-text-stroke: 1px rgba(0,255,229,0.04);
  line-height: 1; pointer-events: none; user-select: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-img-main {
  aspect-ratio: 3/4; object-fit: cover;
  filter: grayscale(40%) contrast(1.1); transition: filter 0.5s;
}
.about-img-main:hover { filter: grayscale(10%) contrast(1.1); }
.about-frame {
  position: absolute; inset: -6px;
  border: 1px solid var(--cyan); opacity: 0.2; pointer-events: none;
  clip-path: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.about-frame-corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--cyan); border-style: solid; opacity: 0.9;
}
.about-frame-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; box-shadow: -3px -3px 10px rgba(0,255,229,0.4); }
.about-frame-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; box-shadow: 3px -3px 10px rgba(0,255,229,0.4); }
.about-frame-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; box-shadow: -3px 3px 10px rgba(0,255,229,0.4); }
.about-frame-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; box-shadow: 3px 3px 10px rgba(0,255,229,0.4); }
.about-img-accent {
  position: absolute; width: 42%; bottom: -28px; right: -28px;
  border: 2px solid var(--black);
  box-shadow: 0 0 0 1px var(--violet), var(--glow-violet);
}
.about-text p { font-size: 1rem; line-height: 1.85; color: var(--light); margin-bottom: 18px; font-weight: 400; }
.about-text p strong { color: var(--white); font-weight: 600; }
.skills-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.skill-tag {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(0,255,229,0.25); color: var(--cyan);
  transition: background 0.25s, box-shadow 0.25s;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
.skill-tag:hover { background: rgba(0,255,229,0.07); box-shadow: var(--glow-cyan); }

/* =========================================
   SERVICES
   ========================================= */
#services { background: var(--black); }
#services::before {
  content: '';
  position: absolute; left: 0; top: 60px; bottom: 60px; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--violet), transparent);
  opacity: 0.3;
}
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; flex-wrap: wrap; gap: 20px; }
.services-header p { font-size: 1rem; color: var(--light); max-width: 380px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--mid); padding: 46px 32px;
  position: relative; overflow: hidden;
  transition: background 0.35s; cursor: default;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(to bottom, rgba(0,255,229,0.06), transparent);
  transition: height 0.4s;
}
.service-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 0; height: 0; border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent var(--cyan) transparent transparent;
  opacity: 0.4; transition: opacity 0.3s;
}
.service-card:hover { background: var(--panel); }
.service-card:hover::before { height: 100%; }
.service-card:hover::after { opacity: 1; }
.service-number {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 20px; opacity: 0.5;
}
.service-icon { font-size: 1.8rem; margin-bottom: 18px; display: block; }
.service-name {
  font-family: var(--font-display); font-size: 1.8rem;
  letter-spacing: 0.04em; margin-bottom: 14px; color: var(--white);
}
.service-desc { font-size: 0.95rem; color: var(--light); line-height: 1.7; font-weight: 400; }
.service-list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--grey);
  display: flex; align-items: center; gap: 8px; letter-spacing: 0.05em;
}
.service-list li::before { content: '>'; color: var(--cyan); }
.service-cta-wrap { margin-top: 26px; }
.service-link {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.25s, text-shadow 0.25s;
}
.service-link:hover { gap: 16px; text-shadow: 0 0 12px var(--cyan); }

/* =========================================
   VIDEO REEL
   ========================================= */
#reel {
  padding: 0; position: relative;
  height: 70vh; min-height: 500px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.reel-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.22) saturate(0.35);
}
#reel::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(155,0,255,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0,255,229,0.15) 0%, transparent 60%);
  z-index: 1;
}
.reel-overlay { position: relative; z-index: 2; text-align: center; }
.reel-play-btn {
  width: 84px; height: 84px;
  border: 1px solid var(--cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; cursor: pointer; font-size: 1.6rem; color: var(--cyan);
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}
.reel-play-btn:hover { background: rgba(0,255,229,0.08); box-shadow: var(--glow-cyan); transform: scale(1.1); }
.reel-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem); letter-spacing: 0.06em; color: var(--white);
}
.reel-title span {
  color: transparent; -webkit-text-stroke: 2px var(--cyan);
  filter: drop-shadow(0 0 16px var(--cyan));
}
.reel-sub {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--light); margin-top: 14px;
}
.video-modal {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(3,3,15,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.video-modal.open { opacity: 1; pointer-events: all; }
.video-modal video {
  max-width: 90vw; max-height: 80vh;
  border: 1px solid rgba(0,255,229,0.2); box-shadow: var(--glow-cyan);
}
.modal-close {
  position: absolute; top: 28px; right: 38px;
  font-family: var(--font-mono); font-size: 1.2rem;
  color: var(--light); cursor: pointer; background: none; border: none;
  transition: color var(--transition); letter-spacing: 0.1em;
}
.modal-close:hover { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }

/* =========================================
   GALLERY
   ========================================= */
#gallery { background: var(--dark); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 4px; margin-top: 50px;
}
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s;
  filter: grayscale(60%) brightness(0.8);
}
.gallery-item:hover img { transform: scale(1.06); filter: grayscale(0%) brightness(0.9); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(0,255,229,0); border: 0px solid var(--cyan);
  transition: background 0.4s, border-width 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .overlay {
  background: rgba(0,255,229,0.05); border-width: 1px;
  box-shadow: inset 0 0 40px rgba(0,255,229,0.06);
}
.g1 { grid-column: span 5; grid-row: span 2; min-height: 400px; }
.g2 { grid-column: span 4; min-height: 196px; }
.g3 { grid-column: span 3; min-height: 196px; }
.g4 { grid-column: span 4; min-height: 196px; }
.g5 { grid-column: span 3; min-height: 196px; }
.g6 { grid-column: span 5; min-height: 300px; }
.g7 { grid-column: span 7; min-height: 300px; }
.video-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 4px; }
.video-thumb { position: relative; overflow: hidden; cursor: pointer; min-height: 260px; }
.video-thumb video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.3) saturate(0.5); transition: filter 0.4s;
}
.video-thumb:hover video { filter: brightness(0.5) saturate(0.7); }
.video-play-icon {
  position: absolute; inset: 0; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 2;
}
.play-circle {
  width: 58px; height: 58px; border: 1px solid var(--cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--cyan);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.video-thumb:hover .play-circle { background: rgba(0,255,229,0.1); box-shadow: var(--glow-cyan); transform: scale(1.1); }
.video-play-icon span {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--light);
}

/* =========================================
   ACHIEVEMENTS
   ========================================= */
#achievements { background: var(--black); padding: 80px 60px; }
.achievements-banner {
  overflow: hidden; padding: 18px 0; margin-bottom: 60px;
  border-top: 1px solid rgba(0,255,229,0.2);
  border-bottom: 1px solid rgba(0,255,229,0.2);
  position: relative;
}
.achievements-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--black), transparent 10%, transparent 90%, var(--black));
  z-index: 2; pointer-events: none;
}
.achievements-scroll { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.achievements-scroll span {
  font-family: var(--font-display); font-size: 1.5rem;
  letter-spacing: 0.08em; color: var(--light); padding: 0 36px; transition: color 0.3s;
}
.achievements-scroll span:hover { color: var(--cyan); }
.achievements-scroll span.sep { color: var(--cyan); padding: 0 8px; opacity: 0.4; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.achievements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.achievement-item {
  background: var(--mid); padding: 32px 26px;
  position: relative; overflow: hidden; transition: background 0.3s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.achievement-item::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--cyan); transition: width 0.4s; box-shadow: var(--glow-cyan);
}
.achievement-item:hover { background: var(--panel); }
.achievement-item:hover::before { width: 100%; }
.achievement-icon { font-size: 1.6rem; margin-bottom: 14px; }
.achievement-title {
  font-family: var(--font-ui); font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; color: var(--white);
}
.achievement-desc { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }
.achievement-year {
  font-family: var(--font-display); font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1px rgba(0,255,229,0.1); margin-top: 18px; line-height: 1;
}

/* =========================================
   CONTACT
   ========================================= */
#contact { background: var(--dark); }
#contact::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155,0,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-info p { font-size: 1rem; color: var(--light); line-height: 1.85; margin-bottom: 38px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item-icon {
  width: 42px; height: 42px;
  background: rgba(0,255,229,0.05); border: 1px solid rgba(0,255,229,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0; color: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.contact-item-text .label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 2px;
}
.contact-item-text .value { font-size: 1rem; color: var(--white); }
.social-links { display: flex; gap: 10px; margin-top: 36px; }
.social-link {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--light);
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.social-link:hover {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,255,229,0.06); transform: translateY(-3px); box-shadow: var(--glow-cyan);
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(0,255,229,0.02); border: 1px solid rgba(0,255,229,0.12);
  color: var(--white); font-family: var(--font-ui); font-size: 0.95rem; padding: 13px 15px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none; width: 100%; -webkit-appearance: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.form-group select option { background: var(--mid); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan); background: rgba(0,255,229,0.04);
  box-shadow: 0 0 0 1px rgba(0,255,229,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 700;
  background: var(--cyan); color: var(--black); border: none;
  padding: 16px 38px; cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
}
.form-submit:hover { box-shadow: var(--glow-cyan); transform: translateY(-2px); }
.form-success {
  display: none; padding: 18px;
  background: rgba(0,255,229,0.06); border: 1px solid rgba(0,255,229,0.3);
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--cyan); letter-spacing: 0.05em;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: #020209; border-top: 1px solid rgba(0,255,229,0.08);
  padding: 36px 60px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px; position: relative; z-index: 1;
}
.footer-logo img {
  height: 60px; width: auto;
  opacity: 0.5; transition: opacity 0.3s;
}
.footer-logo img:hover { opacity: 0.9; }
.footer-copy { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--grey); }
.footer-copy span { color: var(--cyan); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  font-family: var(--font-display);
}
.glitch::before {
  color: var(--cyan); animation: glitch1 4s infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 35%, 0 35%); opacity: 0.7;
}
.glitch::after {
  color: var(--magenta); animation: glitch2 4s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 72%, 0 72%); opacity: 0.5;
}
@keyframes glitch1 {
  0%,88%,100% { transform: translateX(0); opacity: 0; }
  90% { transform: translateX(-5px); opacity: 0.7; }
  92% { transform: translateX(4px); opacity: 0.7; }
  94% { transform: translateX(-2px); opacity: 0.7; }
  96% { opacity: 0; }
}
@keyframes glitch2 {
  0%,88%,100% { transform: translateX(0); opacity: 0; }
  91% { transform: translateX(5px); opacity: 0.5; }
  93% { transform: translateX(-4px); opacity: 0.5; }
  95% { transform: translateX(2px); opacity: 0.5; }
  97% { opacity: 0; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(3,3,15,0.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; transform: translateX(100%); transition: transform 0.4s ease;
  border-left: 1px solid rgba(0,255,229,0.1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2.8rem;
  letter-spacing: 0.06em; color: var(--white);
  transition: color 0.25s, text-shadow 0.25s;
}
.mobile-menu a:hover { color: var(--cyan); text-shadow: 0 0 30px var(--cyan); }
.mobile-close {
  position: absolute; top: 22px; right: 28px;
  font-family: var(--font-mono); font-size: 1rem; color: var(--light);
  background: none; border: none; cursor: pointer; letter-spacing: 0.1em; transition: color 0.25s;
}
.mobile-close:hover { color: var(--cyan); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  section { padding: 80px 40px; }
  #navbar { padding: 16px 40px; }
  #navbar.scrolled { padding: 12px 40px; }
  .about-grid { gap: 50px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 768px) {
  section { padding: 70px 24px; }
  #navbar, #navbar.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 24px 120px; }
  .hero-stats { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g1,.g2,.g3,.g4,.g5,.g6,.g7 { grid-column: span 1; min-height: 200px; }
  .video-row { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 28px 24px; }
  .hero-scroll { display: none; }
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
}
@media (max-width: 480px) {
  .achievements-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 4rem; }
}
