:root {
  --obsidian: #0A0A0B;
  --cyberBlue: #00F0FF;
  --electricViolet: #B026FF;
  --electricGreen: #39FF14;
  --steelGrey: #A1A1AA;
  --white: #FFFFFF;
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--obsidian);
  color: var(--white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
.font-heading { font-family: var(--font-heading); }
.font-mono { font-family: var(--font-mono); }
.text-cyberBlue { color: var(--cyberBlue); }
.text-electricViolet { color: var(--electricViolet); }
.text-steelGrey { color: var(--steelGrey); }
.text-center { text-align: center; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-8xl { font-size: 6rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.text-gradient {
  background: linear-gradient(135deg, #FFF 0%, #00F0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-16 { gap: 4rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:text-5xl { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Glass Panel Component */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
}
.glass-panel:not(nav):hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Organic Lights */
.organic-light {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 0.75rem 0;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
}
.main-nav.scrolled {
  /* background or other changes could go here if needed later */
}
.nav-logo { height: 3rem; width: auto; }
.nav-links { display: none; }
.mobile-menu-btn { display: block; }

@media (max-width: 767px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 1.5rem;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: -0.05em; }
  .mobile-menu-btn { display: none; }
}
.nav-link { transition: color 0.3s; }
.nav-link:hover { color: var(--cyberBlue); }
.nav-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  transition: all 0.3s;
  color: var(--white);
  cursor: pointer;
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.5);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding-top: 5rem;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.05);
  color: var(--cyberBlue);
  opacity: 0;
}
.hero-title, .hero-desc, .hero-cta { opacity: 0; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--cyberBlue);
  color: var(--obsidian);
  font-weight: bold;
  border-radius: 0.25rem;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}
.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}
.btn-primary i {
  margin-left: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}
.btn-primary:hover i {
  transform: translateX(4px);
}
.btn-outline {
  display: inline-block;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
  font-weight: 500;
  transition: border-color 0.3s;
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.5); }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}
.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--cyberBlue), transparent);
}

@media (max-width: 767px) {
  .hero-scroll {
    display: none !important;
  }
}

/* Expertise Cards */
.expertise-card {
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
}
.expertise-card .icon-wrapper {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}
.expertise-card.cyber .icon-wrapper {
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}
.expertise-card.cyber:hover .icon-wrapper { background: rgba(0, 240, 255, 0.3); }
.expertise-card.cyber:hover h3 { color: var(--cyberBlue); }
.expertise-card.cyber .list-dot { background: var(--cyberBlue); box-shadow: 0 0 5px var(--cyberBlue); }
.expertise-card.cyber:hover { border-color: rgba(0, 240, 255, 0.5); }

.expertise-card.violet .icon-wrapper {
  background: rgba(112, 0, 255, 0.2);
  border: 1px solid rgba(112, 0, 255, 0.3);
  box-shadow: 0 0 15px rgba(112, 0, 255, 0.2);
}
.expertise-card.violet:hover .icon-wrapper { background: rgba(112, 0, 255, 0.3); }
.expertise-card.violet:hover h3 { color: var(--electricViolet); }
.expertise-card.violet .list-dot { background: var(--electricViolet); box-shadow: 0 0 5px var(--electricViolet); }
.expertise-card.violet:hover { border-color: rgba(112, 0, 255, 0.5); }

.expertise-card h3 { transition: color 0.3s; }
.expertise-card p { transition: color 0.3s; opacity: 0.8; }
.expertise-card:hover p { opacity: 1; }
.expertise-list { font-size: 11px; opacity: 0.7; margin-top: auto; }
.expertise-list li { display: flex; align-items: center; margin-bottom: 0.5rem; }
.list-dot { width: 6px; height: 6px; border-radius: 50%; margin-right: 0.5rem; }

/* Vision Section */
@keyframes floatOrganically {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15vw, -10vh) scale(1.2); }
  66% { transform: translate(-10vw, 15vh) scale(0.8); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatOrganicallyReverse {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-15vw, 10vh) scale(1.2); }
  66% { transform: translate(10vw, -15vh) scale(0.8); }
  100% { transform: translate(0, 0) scale(1); }
}

.vision-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.vision-shape-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: rgba(0, 240, 255, 0.15);
  animation: floatOrganically 8s ease-in-out infinite;
}

.vision-shape-2 {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: rgba(112, 0, 255, 0.15);
  animation: floatOrganicallyReverse 10s ease-in-out infinite;
}

.vision-shape-3 {
  top: 30%; left: 40%;
  width: 40vw; height: 40vw;
  background: rgba(0, 240, 255, 0.1);
  animation: floatOrganically 12s ease-in-out infinite reverse;
}

.vision-banner {
  padding: 1rem;
  border-left-width: 2px;
  border-left-style: solid;
}
.vision-banner.cyber { border-left-color: var(--cyberBlue); }
.vision-banner.violet { border-left-color: var(--electricViolet); }
.btn-download {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  transition: border-color 0.3s;
}
.btn-download.cyber:hover { border-color: rgba(0, 240, 255, 0.5); }
.btn-download.violet:hover { border-color: rgba(112, 0, 255, 0.5); }

.profile-card { border-radius: 1.5rem; padding: 1.5rem; }
.profile-img-wrapper {
  width: 8rem;
  height: 8rem;
  position: relative;
  border-radius: 50%;
}
.profile-img-bg {
  position: absolute;
  inset: 0;
  background: var(--cyberBlue);
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.7s;
}
.profile-img-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: border-color 0.5s;
}
.profile-card:hover .profile-img-bg { opacity: 0.4; }
.profile-card:hover .profile-img-inner { border-color: var(--cyberBlue); }
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.7s;
}
.profile-card:hover .profile-img { filter: grayscale(0%); }
.tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  font-size: 10px;
}
.tag-cyber {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 9999px;
  color: var(--cyberBlue);
}

.contact-banner {
  padding: 2.5rem;
  border-left: 4px solid var(--cyberBlue);
}

/* Projects Section */
.project-card {
  border-radius: 1rem;
  overflow: hidden;
}
.project-img-wrapper {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.6);
  transition: background-color 0.5s;
}
.project-card:hover .project-img { transform: scale(1.05); }
.project-card:hover .project-overlay { background: rgba(10, 10, 11, 0.2); }
.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
}
.project-badge.cyber { background: rgba(0, 240, 255, 0.2); border: 1px solid rgba(0, 240, 255, 0.3); color: var(--cyberBlue); }
.project-badge.violet { background: rgba(112, 0, 255, 0.2); border: 1px solid rgba(112, 0, 255, 0.3); color: var(--electricViolet); }
.project-badge.green { top: 1rem; left: 1rem; background: rgba(57, 255, 20, 0.2); border: 1px solid rgba(57, 255, 20, 0.3); color: var(--electricGreen); right: auto; }

.project-content { padding: 2rem; }
.project-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  transition: transform 0.3s;
}
.project-link.cyber { color: var(--cyberBlue); }
.project-link.violet { color: var(--electricViolet); }
.project-link:hover { transform: translateX(8px); }
.project-corner-dot {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
}
.project-corner-dot.cyber { background: var(--cyberBlue); box-shadow: 0 0 10px var(--cyberBlue); }
.project-corner-dot.violet { background: var(--electricViolet); box-shadow: 0 0 10px var(--electricViolet); }

/* Contact Section */
.contact-form-wrapper {
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  padding: 2rem;
}
@media (min-width: 768px) { .contact-form-wrapper { padding: 4rem; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { margin-left: 0.25rem; font-size: 10px; opacity: 0.7; }
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.875rem;
  transition: border-color 0.3s;
}
.form-input:focus { outline: none; border-color: rgba(0, 240, 255, 0.5); }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--cyberBlue);
  color: var(--obsidian);
  font-weight: bold;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.form-submit:hover { box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); }

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--obsidian);
}
.social-links a { opacity: 0.7; transition: color 0.3s, opacity 0.3s; }
.social-links a:hover { opacity: 1; color: var(--cyberBlue); }

.social-links-vision a { opacity: 0.7; transition: color 0.3s, opacity 0.3s; }
.social-links-vision a.linkedin:hover { opacity: 1; color: var(--cyberBlue); }
.social-links-vision a.github:hover { opacity: 1; color: var(--white); }

/* Utilities for overrides */
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }
.max-w-2xl { max-width: 42rem; }
.w-full { width: 100%; }

/* Mouse Glow */
.mouse-glow {
  pointer-events: none;
  position: fixed;
  top: -300px;
  left: -300px;
  width: 600px;
  height: 600px;
  background: rgba(0, 240, 255, 0.03);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}

/* Custom Select */
.custom-select-options {
    display: none;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}
.custom-select-options.open {
    display: flex;
}
.custom-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--steelGrey);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-sans);
    font-size: 0.875rem;
}
.custom-option:last-child {
    border-bottom: none;
}
.custom-option:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyberBlue);
}

.tech-grid-bg {
  background-color: var(--obsidian);
  position: relative;
}
.tech-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 15% 50%, black 0%, transparent 40%),
                      radial-gradient(circle at 85% 30%, black 0%, transparent 45%),
                      radial-gradient(circle at 50% 80%, black 0%, transparent 50%);
  mask-image: radial-gradient(circle at 15% 50%, black 0%, transparent 40%),
              radial-gradient(circle at 85% 30%, black 0%, transparent 45%),
              radial-gradient(circle at 50% 80%, black 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
