/* ══════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ══════════════════════════════════════ */
:root {
  --green: #43FF00;
  --purple: #6F2EFF;
  --black: #000000;
  --white: #ffffff;
  --dark: #080808;
  --border: rgba(67, 255, 0, 0.15);
  --border-purple: rgba(111, 46, 255, 0.15);
  --font-heading: 'Bank Gothic', 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: none; }
input, textarea { font-family: inherit; cursor: none; }

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

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

/* ══════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s, height 0.2s, background 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-dot.hover { width: 16px; height: 16px; }
.cursor-ring.hover { width: 50px; height: 50px; border-color: var(--purple); }

/* ══════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════ */
.section-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--white) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-purple);
  transition: background 0.3s;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-logo .logo-text {
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 2px;
}
.nav-logo .logo-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--green) !important;
  color: var(--black) !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.3s, box-shadow 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: transparent !important;
  color: var(--green) !important;
  box-shadow: inset 0 0 0 2px var(--green);
}

.nav-exclusive {
  background: linear-gradient(135deg, rgba(111, 46, 255, 0.1), rgba(111, 46, 255, 0.4)) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
  border: 1px solid var(--purple) !important;
  border-radius: 30px;
  font-weight: 600 !important;
  box-shadow: 0 0 15px rgba(111, 46, 255, 0.3) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.nav-exclusive::after { display: none !important; }
.nav-exclusive:hover {
  background: var(--purple) !important;
  color: var(--white) !important;
  box-shadow: 0 0 25px rgba(111, 46, 255, 0.6) !important;
  transform: translateY(-2px);
}
.nav-badge {
  background: var(--green);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 12px;
  letter-spacing: 1px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════
   HERO — CINEMATIC
   ══════════════════════════════════════ */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

/* Scan lines overlay */
.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(67,255,0,0.015) 2px,
    rgba(67,255,0,0.015) 4px
  );
  pointer-events: none;
  z-index: 5;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  animation: float-particle 8s ease-in-out infinite;
}
.particle.p1 { left: 10%; top: 20%; animation-delay: 0s; background: var(--green); }
.particle.p2 { left: 85%; top: 30%; animation-delay: 1s; background: var(--purple); width: 6px; height: 6px; }
.particle.p3 { left: 25%; top: 75%; animation-delay: 2s; background: var(--green); }
.particle.p4 { left: 70%; top: 80%; animation-delay: 3s; background: var(--purple); width: 3px; height: 3px; }
.particle.p5 { left: 50%; top: 15%; animation-delay: 4s; background: var(--green); width: 5px; height: 5px; }
.particle.p6 { left: 5%;  top: 55%; animation-delay: 5s; background: var(--purple); }
.particle.p7 { left: 92%; top: 60%; animation-delay: 6s; background: var(--green); width: 3px; height: 3px; }
.particle.p8 { left: 40%; top: 90%; animation-delay: 7s; background: var(--purple); width: 5px; height: 5px; }

@keyframes float-particle {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  15%  { opacity: 0.8; transform: translateY(-20px) scale(1); }
  85%  { opacity: 0.6; transform: translateY(-80px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

/* Centered logo stage */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 6;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-logo-stage {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbit rings */
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}
.hero-orbit-1 {
  width: 380px;
  height: 380px;
  border: 1.5px solid rgba(67,255,0,0.15);
  animation: orbit-spin 25s linear infinite;
}
.hero-orbit-1::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}
.hero-orbit-2 {
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(111,46,255,0.25);
  animation: orbit-spin-reverse 18s linear infinite;
}
.hero-orbit-2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--purple);
}
.hero-orbit-3 {
  width: 260px;
  height: 260px;
  border: 1px dotted rgba(67,255,0,0.1);
  animation: orbit-spin 30s linear infinite reverse;
}

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-reverse { to { transform: rotate(-360deg); } }

/* Glow core behind logo */
.hero-glow-core {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle,
    rgba(67,255,0,0.3) 0%,
    rgba(111,46,255,0.2) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: core-pulse 4s ease-in-out infinite;
  z-index: 1;
}
@keyframes core-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Main logo */
.hero-logo-main {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  object-fit: contain;
  z-index: 3;
  position: relative;
  filter:
    drop-shadow(0 0 30px rgba(67,255,0,0.4))
    drop-shadow(0 0 60px rgba(111,46,255,0.25));
  animation: logo-levitate 6s ease-in-out infinite;
}
@keyframes logo-levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero text styles */
.hero-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--green);
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 80px);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 0.95;
  margin-bottom: 24px;
}
.hero-title .outline {
  -webkit-text-stroke: 2px var(--purple);
  color: transparent;
}
.hero-sub {
  font-weight: 300;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--black);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--green);
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  transition: left 0.3s;
}
.btn-primary:hover {
  background: transparent;
  color: var(--green);
  box-shadow: 0 0 20px rgba(67, 255, 0, 0.3);
  transform: translateY(-2px);
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
}
.btn-secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 0 20px rgba(111, 46, 255, 0.3);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  background: linear-gradient(135deg, var(--green) 30%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 6;
}
.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 3px;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}


/* ══════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════ */
#projects {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  z-index: 1;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.filter-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.filter-btn.active {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(67, 255, 0, 0.3);
}

.project-card.hidden {
  display: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.project-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: transform 0.4s, border-color 0.4s;
}
.project-card::before {
  content: attr(data-type);
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(48px, 5vw, 72px);
  text-transform: uppercase;
  color: rgba(111,46,255,0.06);
  line-height: 1;
  transition: transform 0.4s, color 0.4s;
  pointer-events: none;
}
.project-card:hover::before {
  transform: scale(1.05);
  color: rgba(111,46,255,0.12);
}
/* Corner bracket */
.project-card::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--purple);
  border-right: 2px solid var(--purple);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.project-card:hover::after { opacity: 1; }
/* Top border animation */
.project-card .top-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  transition: width 0.5s;
}
.project-card:hover .top-border { width: 100%; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(111,46,255,0.35); }

.project-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  margin-bottom: 6px;
}
.project-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.project-type {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.project-card:hover .project-link {
  opacity: 1;
  transform: translateY(0);
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--purple);
  border: 2px solid var(--purple);
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  background: transparent;
  position: relative;
}
.view-all-btn:hover {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 0 20px rgba(111, 46, 255, 0.3);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
#services {
  padding: 100px 0;
  background: var(--black);
  position: relative;
  z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 24px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  transition: width 0.5s;
}
.service-card:hover::after { width: 100%; }
.service-card:hover { border-color: rgba(111,46,255,0.35); }

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111,46,255,0.08);
  border: 1px solid rgba(111,46,255,0.2);
  border-radius: 8px;
  font-size: 22px;
  transition: background 0.3s, box-shadow 0.3s;
}
.service-card:hover .service-icon {
  background: rgba(111,46,255,0.18);
  box-shadow: 0 0 20px rgba(111,46,255,0.25);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(111,46,255,0.3);
}
.service-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.service-desc {
  font-weight: 300;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
#about {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  z-index: 1;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-frame {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
/* Corner brackets */
.about-frame::before, .about-frame::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
}
.about-frame::before {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--purple);
  border-left: 3px solid var(--purple);
}
.about-frame::after {
  bottom: -2px;
  right: -2px;
  border-bottom: 3px solid var(--green);
  border-right: 3px solid var(--green);
}
.about-frame img {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  object-fit: contain;
}
.about-badge {
  position: absolute;
  bottom: -16px;
  right: -24px;
  background: var(--purple);
  padding: 16px 20px;
  border-radius: 6px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(111,46,255,0.35);
}
.about-badge-id {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 1px;
}
.about-badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

.about-text p {
  font-weight: 300;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-list {
  list-style: none;
  margin-top: 24px;
}
.about-list li {
  position: relative;
  padding-left: 20px;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  line-height: 1.6;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
#contact {
  padding: 100px 0;
  background: var(--black);
  position: relative;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-tagline {
  font-weight: 300;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 380px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111,46,255,0.06);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  font-size: 18px;
}
.contact-item-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact-item-value {
  font-weight: 400;
  font-size: 14px;
}
.contact-item-value a {
  color: var(--green);
  transition: opacity 0.3s;
}
.contact-item-value a:hover { opacity: 0.7; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 16px rgba(111,46,255,0.15);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: var(--black);
  padding: 16px;
  border: 2px solid var(--green);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: background 0.3s, color 0.3s;
}
.btn-submit:hover {
  background: transparent;
  color: var(--green);
}
.btn-submit:disabled {
  opacity: 0.6;
  pointer-events: none;
}
.btn-submit.loading {
  animation: pulse-btn 1s ease-in-out infinite;
}
@keyframes pulse-btn {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Form Feedback */
.form-feedback {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 0;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s;
  overflow: hidden;
  max-height: 0;
}
.form-feedback.success {
  color: var(--green);
  background: rgba(67,255,0,0.06);
  border: 1px solid rgba(67,255,0,0.2);
  padding: 14px 16px;
  max-height: 60px;
}
.form-feedback.error {
  color: #ff4444;
  background: rgba(255,68,68,0.06);
  border: 1px solid rgba(255,68,68,0.2);
  padding: 14px 16px;
  max-height: 60px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 2px solid;
  border-image: linear-gradient(90deg, var(--green), var(--purple)) 1;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-logo .logo-text {
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 2px;
}
.footer-logo .logo-text strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}
.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: contain;
}
.footer-copy {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--green); }

/* ══════════════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 24px; }
  .hero-logo-wrapper { width: 240px; height: 240px; }
  .hero-logo-wrapper .hero-logo-img { width: 100px; height: 100px; }
  .ring-outer { width: 220px; height: 220px; }
  .ring-inner { width: 170px; height: 170px; }
  .hero-glow { width: 160px; height: 160px; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-visual { justify-content: center; margin-bottom: 24px; }
  .about-badge { right: -8px; bottom: -12px; }
  .about-list { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .footer-logo { justify-content: center; }
  .footer-links { justify-content: center; }
  .section-title { margin-bottom: 36px; }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .nav-logo {
    gap: 8px;
  }

  .nav-logo .logo-text {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  .nav-logo .logo-text strong {
    font-size: 13px;
    letter-spacing: 2px;
  }

  #home {
    min-height: auto;
    padding: 108px 0 44px;
    align-items: flex-start;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-content {
    width: 100%;
    align-items: center;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(38px, 12.5vw, 54px);
    letter-spacing: 1.4px;
    line-height: 0.96;
    margin-bottom: 18px;
    text-wrap: balance;
  }

  .hero-title .outline {
    -webkit-text-stroke: 1.1px var(--purple);
  }

  .hero-sub {
    max-width: 36ch;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
    text-wrap: pretty;
  }

  .hero-buttons {
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 15px;
    letter-spacing: 0.8px;
  }

  .hero-stats {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-item {
    align-items: center;
    text-align: center;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 9px;
    letter-spacing: 0.5px;
    line-height: 1.35;
  }

  .hero-visual {
    margin-bottom: 8px;
  }

  .hero-logo-stage {
    width: 300px;
    height: 300px;
  }

  .hero-orbit-1 {
    width: 280px;
    height: 280px;
  }

  .hero-orbit-2 {
    width: 236px;
    height: 236px;
  }

  .hero-orbit-3 {
    width: 192px;
    height: 192px;
  }

  .hero-glow-core {
    width: 150px;
    height: 150px;
  }

  .hero-logo-main {
    width: 126px;
    height: 126px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 430px) {
  #home {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-logo-stage {
    width: 240px;
    height: 240px;
    margin-bottom: -8px;
  }

  .hero-orbit-1 {
    width: 216px;
    height: 216px;
  }

  .hero-orbit-2 {
    width: 180px;
    height: 180px;
  }

  .hero-orbit-3 {
    width: 148px;
    height: 148px;
  }

  .hero-glow-core {
    width: 120px;
    height: 120px;
  }

  .hero-logo-main {
    width: 100px;
    height: 100px;
  }

  .hero-title {
    font-size: clamp(34px, 11.6vw, 46px);
    letter-spacing: 0.9px;
    margin-bottom: 14px;
  }

  .hero-title .outline {
    display: block;
    font-size: 0.84em;
    letter-spacing: 0.12em;
    -webkit-text-stroke: 0.95px var(--purple);
  }

  .hero-sub {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 34ch;
  }

  .hero-buttons {
    margin-bottom: 22px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 12px 14px;
  }

  .hero-stats {
    gap: 6px;
    max-width: 320px;
  }

  .stat-value {
    font-size: 20px;
  }

  .stat-label {
    font-size: 8px;
    letter-spacing: 0.45px;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 30px;
    letter-spacing: 0.6px;
  }

  .hero-title .outline {
    font-size: 0.75em;
    letter-spacing: 0.08em;
  }

  .nav-logo .logo-text {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .hero-logo-stage {
    width: 200px;
    height: 200px;
  }
}

/* Touch devices: hide custom cursor */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
  a, button, input, textarea { cursor: auto; }
}
