:root {
  /* Core Colors */
  --bg-obsidian: #0e0e0e;
  --accent-neon: #D4FF00;
  /* Primary hover/cta */
  --accent-purple: #A855F7;
  /* Secondary glow */

  /* Surface Layers (Depth) */
  --surface: #0e0e0e;
  --surface-container-low: #131313;
  --surface-container: #1a1919;
  --surface-container-high: #201f1f;
  --surface-container-highest: #262626;
  --surface-bright: #2c2c2c;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #adaaaa;
  /* on-surface-variant */

  /* Structural/Borders */
  --ghost-border: rgba(73, 72, 71, 0.15);
  /* outline-variant at 15% */
  --glass-bg: rgba(26, 25, 25, 0.7);
  /* surface-container with opacity */

  /* Spacing */
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* Global Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
.display-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 65ch;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* Glassmorphic Navigation Pill */
.nav-pill {
  position: fixed;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ghost-border);
  border-radius: 999px;
  padding: var(--space-2) var(--space-8);
  width: 90%;
  max-width: 800px;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

#logo {
  height: 50px;
  scale: 5;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s ease;
  margin-left:  var(--space-8); ;
}

#logo:hover {
  transform: scale(1.05);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-links a.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  padding: var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a.nav-link:hover,
.nav-links a.nav-link.active {
  color: var(--accent-neon);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface-container-highest);
  border: 1px solid var(--ghost-border);
  border-radius: 12px;
  padding: var(--space-2) 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  padding: var(--space-2) var(--space-4);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  display: block;
  transition: all 0.2s ease;
}

.nav-dropdown a:hover {
  color: var(--accent-neon);
  background: rgba(255, 255, 255, 0.05);
  padding-left: calc(var(--space-4) + 5px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  /* rounded-md */
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-neon) 0%, #c4ec00 100%);
  color: #000;
  box-shadow: 0 0 0 rgba(212, 255, 0, 0);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  animation: pulse-btn 2s ease-in-out infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(212, 255, 0, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--ghost-border);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover {
  border-color: var(--accent-neon);
  background: rgba(212, 255, 0, 0.05);
  color: var(--accent-neon);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 255, 0, 0.15);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-primary);
  padding: 0;
  position: relative;
  text-decoration: none;
}

.btn-tertiary::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-neon);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.btn-tertiary:hover::after {
  transform: scaleX(1);
}

/* Base Layout Sections */
section {
  padding: var(--space-32) 0;
}

/* Utility / Ambient Shadows */
.glow-purple {
  position: absolute;
  width: 40vw;
  height: 40vw;
  background: var(--accent-purple);
  filter: blur(150px);
  opacity: 0.08;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-pill {
    width: 100%;
    padding: var(--space-4);
    flex-wrap: wrap;
    border-radius: 0;
    top: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  #logo {
    height: 40px;
    max-width: 100px;
  }

  .mobile-toggle {
    display: block !important;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    align-items: flex-start;
  }

  .nav-links.nav-active {
    max-height: 1000px;
    margin-top: var(--space-4);
  }

  .nav-links a.nav-link {
    width: 100%;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--ghost-border);
  }

  .nav-item {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding-left: var(--space-4);
    background: transparent;
    display: flex;
  }

  .nav-item:hover .nav-dropdown {
    display: flex;
  }

  section {
    padding: var(--space-12) 0;
  }
}

/* Home Layout Styles */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-centered {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 90vh;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.hero-centered .hero-content {
  justify-items: center;
}

.hero-text {
  max-width: 800px;
  z-index: 2;
  position: relative;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: var(--space-8);
  border-radius: 16px;
  background: rgba(14, 14, 14, 0.3);
  border: 1px solid rgba(212, 255, 0, 0.05);
  animation: fade-in-up 1s ease-out;
}

.hero-centered .hero-text {
  max-width: 900px;
}

/* Hero Pill Tag */
.hero-pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--ghost-border);
  border-radius: 99px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-neon);
  margin-bottom: var(--space-4);
  animation: fade-in-up 0.8s ease-out 0.2s both;
  position: relative;
  background: rgba(212, 255, 0, 0.03);
  border-color: rgba(212, 255, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-pill:hover {
  background: rgba(212, 255, 0, 0.08);
  border-color: rgba(212, 255, 0, 0.3);
  text-shadow: 0 0 10px rgba(212, 255, 0, 0.3);
}

.hero h1 {
  margin-bottom: var(--space-4);
  animation: fade-in-up 1s ease-out 0.3s both;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 600px;
  animation: fade-in-up 1s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  animation: fade-in-up 1s ease-out 0.5s both;
}

.hero-actions a {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-actions a:nth-child(1) {
  animation: scale-in 0.6s ease-out 0.6s both;
}

.hero-actions a:nth-child(2) {
  animation: scale-in 0.6s ease-out 0.7s both;
}

.services-section {
  background-color: var(--surface);
  position: relative;
  z-index: 10;
  padding-top: var(--space-12);
}

.section-header {
  text-align: left;
  margin-bottom: var(--space-12);
  max-width: 800px;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-top: var(--space-4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-12);
}

.service-card {
  background-color: var(--surface-container-low);
  padding: var(--space-8);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--ghost-border);
  border-radius: 12px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  background-color: var(--surface-container-high);
}

.service-card:hover::before {
  border-color: rgba(168, 85, 247, 0.3);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-neon);
  margin-bottom: var(--space-4);
  opacity: 0.8;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.service-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.thumbnail-highlight {
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0;
}

.highlight-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.highlight-text {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.highlight-text h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.highlight-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0 auto var(--space-8) auto;
}

footer {
  padding: var(--space-24) 0 var(--space-8) 0;
  text-align: center;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.footer-content h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.footer-content p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin: 0 auto var(--space-8) auto;
  max-width: 800px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-neon);
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO SECTION ANIMATED BACKGROUND ELEMENTS */
/* ═══════════════════════════════════════════════════════════════ */

.hero-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* Animated Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 1;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: #A855F7;
  top: -200px;
  left: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: #D4FF00;
  bottom: -150px;
  right: -100px;
  animation: float-reverse 25s ease-in-out infinite;
}

.glow-3 {
  width: 350px;
  height: 350px;
  background: #A855F7;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 8s ease-in-out infinite;
}

.glow-4 {
  width: 300px;
  height: 300px;
  background: #D4FF00;
  top: 30%;
  right: 10%;
  animation: drift 30s ease-in-out infinite;
}

/* Ambient Blur Layer */
.ambient-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.1;
  z-index: 0;
}

.blur-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #A855F7, #D4FF00);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: expand-contract 15s ease-in-out infinite;
}

.blur-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #D4FF00, transparent);
  bottom: 0;
  left: 20%;
  animation: rotate-slow 40s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════ */
/* KEYFRAME ANIMATIONS */
/* ═══════════════════════════════════════════════════════════════ */

@keyframes float-slow {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.15;
  }
  25% {
    transform: translate(30px, -50px);
    opacity: 0.2;
  }
  50% {
    transform: translate(60px, 0);
    opacity: 0.15;
  }
  75% {
    transform: translate(30px, 50px);
    opacity: 0.18;
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.15;
  }
  25% {
    transform: translate(-40px, 60px);
    opacity: 0.18;
  }
  50% {
    transform: translate(-80px, 0);
    opacity: 0.15;
  }
  75% {
    transform: translate(-40px, -60px);
    opacity: 0.2;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    filter: blur(120px);
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    filter: blur(130px);
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translateX(0) translateY(0);
    opacity: 0.1;
  }
  50% {
    transform: translateX(-40px) translateY(-30px);
    opacity: 0.15;
  }
}

@keyframes expand-contract {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.08;
  }
  50% {
    transform: translateX(-50%) scale(1.15);
    opacity: 0.12;
  }
}

@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-btn {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(212, 255, 0, 0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile Responsive Overrides */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-32) 0 var(--space-8) 0;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .highlight-text h2 {
    font-size: 2.5rem;
  }

  footer {
    padding: var(--space-16) 0 var(--space-8) 0;
  }

  .footer-content h2 {
    font-size: 2rem;
  }

  .footer-links {
    gap: var(--space-4);
    flex-direction: column;
    align-items: center;
  }

  /* Accessible Touch Targets for Mobile */
  .btn,
  .nav-links a.nav-link,
  .nav-dropdown a,
  .footer-links a {
    min-height: 48px;
    padding-top: calc(var(--space-2) + 4px);
    padding-bottom: calc(var(--space-2) + 4px);
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* Make inline glow circles scale down */
  .glow-purple {
    width: 80vw !important;
    height: 80vw !important;
  }
}