/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables - Design System */
:root {
  --background: hsl(215, 30%, 6%);
  --foreground: hsl(190, 100%, 95%);
  --card: hsl(215, 25%, 9%);
  --card-foreground: hsl(190, 100%, 95%);
  --primary: hsl(190, 100%, 50%);
  --primary-foreground: hsl(215, 30%, 6%);
  --secondary: hsl(217, 91%, 60%);
  --secondary-foreground: hsl(190, 100%, 95%);
  --muted: hsl(215, 20%, 15%);
  --muted-foreground: hsl(190, 50%, 60%);
  --accent: hsl(190, 100%, 45%);
  --accent-foreground: hsl(215, 30%, 6%);
  --border: hsl(190, 80%, 20%);
  --radius: 0.75rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

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

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(13, 20, 27, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 224, 255, 0.2);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(190, 100%, 50%), hsl(217, 91%, 60%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nav-menu a {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  color: rgba(236, 253, 255, 0.8);
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: rgba(0, 224, 255, 0.1);
  color: var(--primary);
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 224, 255, 0.2);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, hsl(190, 100%, 50%), hsl(217, 91%, 60%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card */
.card {
  background: linear-gradient(135deg, rgba(18, 28, 38, 0.6), rgba(0, 102, 115, 0.1));
  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 224, 255, 0.4);
  box-shadow: 0 0 50px rgba(0, 224, 255, 0.5), 0 0 100px rgba(0, 224, 255, 0.2);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(190, 100%, 45%);
  box-shadow: 0 0 50px rgba(0, 224, 255, 0.5), 0 0 100px rgba(0, 224, 255, 0.2);
}

.btn-outline {
  border: 1px solid rgba(0, 224, 255, 0.5);
  background: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: rgba(0, 224, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: rgba(0, 224, 255, 0.2);
  color: var(--primary);
  border: 1px solid rgba(0, 224, 255, 0.3);
}

.badge-outline {
  background-color: transparent;
  border: 1px solid rgba(0, 224, 255, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, hsl(215, 30%, 6%), hsl(215, 35%, 10%), hsl(215, 30%, 6%));
  flex: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, hsla(220, 90%, 56%, 0.1), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.hero-logo {
  height: 16rem;
  width: auto;
  margin: 0 auto 2rem;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(236, 253, 255, 0.8);
  max-width: 48rem;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-decoration-1 {
  top: 25%;
  left: 10%;
  width: 18rem;
  height: 18rem;
  background-color: rgba(0, 224, 255, 0.2);
}

.hero-decoration-2 {
  bottom: 25%;
  right: 10%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(51, 102, 255, 0.2);
}

/* Section */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Icon */
.icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.1);
}

.icon-sm {
  width: 2rem;
  height: 2rem;
}

.icon-lg {
  width: 4rem;
  height: 4rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted-foreground);
}

.text-accent {
  color: var(--accent);
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }

.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-16 > * + * {
  margin-top: 4rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Content */
.page-content {
  flex: 1;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-header img,
.page-header video {
  height: 16rem;
  width: auto;
  margin: 0 auto 1.5rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-logo {
    height: 14rem;
  }
  
  .page-header img,
  .page-header video {
    height: 14rem;
  }

  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pattern Background */
.pattern-bg {
  position: relative;
  overflow: hidden;
}

.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 224, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 224, 255, 0.1) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

/* Service Category Icon */
.category-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

/* Partner Role Card */
.partner-card {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.partner-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(0, 224, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

/* Flex utilities */
.flex-1 {
  flex: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* Icon in text */
.inline-icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
  margin-left: 0.5rem;
}

/* 404 Page */
.not-found {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found h1 {
  font-size: 6rem;
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.5rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(0, 224, 255, 0.2);
  background-color: rgba(13, 20, 27, 0.8);
  backdrop-filter: blur(12px);
  margin-top: auto;
}

.footer-content {
  padding: 2rem 0;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(190, 100%, 50%), hsl(217, 91%, 60%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

.footer-links {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 224, 255, 0.15);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
  }
  
  .footer-copyright {
    text-align: right;
  }
}


