/* Main.css - SHARED styles for ALL pages */

:root {
  --bg: #000000;
  --text: #ffffff;
  --gray: #888888;
  --light-gray: #cccccc;
  --accent: #0066ff;
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

/* Remove focus outline */
a:focus,
button:focus,
.logo:focus,
.btn-large:focus,
.btn-ghost:focus,
.nav-cta:focus,
.service-box:focus {
    outline: none;
}

/* Optional: Add a subtle alternative focus state for accessibility */
a:focus-visible,
button:focus-visible,
.logo:focus-visible,
.btn-large:focus-visible,
.btn-ghost:focus-visible,
.nav-cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

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

/* Particle Background */
#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-menu a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translate(2px, -2px);
}


/* Hero Content (Shared) */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}


.hero-badge {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 2.5rem;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.08),
              0 4px 20px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.15),
               0 0 100px rgba(255, 255, 255, 0.08),
               0 8px 30px rgba(0, 0, 0, 0.9),
               0 2px 10px rgba(0, 0, 0, 1);
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.12));
}

.hero-text {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--light-gray);
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6),
               0 0 30px rgba(255, 255, 255, 0.06);
  font-weight: 400;
}

/* Enhanced Buttons */
.btn-large {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.2),
              0 10px 30px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

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

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.3),
              0 15px 45px rgba(0, 0, 0, 0.7),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-ghost {
  display: inline-block;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05),
              0 4px 20px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.12),
              0 8px 30px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 8rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-box {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-box:hover::before {
  opacity: 1;
}

.service-box:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(255, 255, 255, 0.08);
}

.service-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6),
               0 0 25px rgba(255, 255, 255, 0.06);
}

.service-box p {
  color: var(--light-gray);
  line-height: 1.7;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
  .nav-menu {
      position: fixed;
      top: 80px;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.98);
      backdrop-filter: blur(20px);
      flex-direction: column;
      padding: 3rem 2rem;
      gap: 2rem;
      transform: translateY(-120%);
      transition: transform 0.4s var(--ease);
      border-bottom: 1px solid var(--border);
  }

  .nav-menu.active {
      transform: translateY(0);
  }

  .nav-menu a {
      font-size: 1.5rem;
  }

  .nav-toggle {
      display: flex;
  }

  .service-grid {
      grid-template-columns: 1fr;
      max-width: 600px;
      margin: 0 auto;
  }
}

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

  .nav-inner {
      padding: 1.5rem;
  }

  .services {
      padding: 5rem 0;
  }

  .service-box {
      padding: 2.5rem 2rem;
  }
}

/* Selection */
::selection {
  background: var(--text);
  color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Performance */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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