@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
  --bg: #050508;
  --surface: #0a0b10;
  --surface-border: rgba(255, 255, 255, 0.05);
  --primary-cyan: #00F0FF;
  --primary-purple: #B800FF;
  --text: #ffffff;
  --text-muted: #a0a0ab;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
  font-family: 'Outfit', sans-serif;
}

/* Glass Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(5, 5, 8, 0.85);
  padding: 1rem 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

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

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

.btn-glow {
  background: transparent;
  color: #fff;
  border: 1px solid var(--primary-cyan);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  text-decoration: none;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-glow:hover::before {
  left: 0;
}

.btn-glow:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  border-color: transparent;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.2) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Services */
.services {
  padding: 8rem 5%;
  background: var(--bg);
  position: relative;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,240,255,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-cyan);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.service-card:hover .service-img {
  opacity: 1;
}

/* Contact */
.contact {
  padding: 8rem 5%;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  border: none;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.submit-btn:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* Footer */
footer {
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .nav-links {
    display: none;
  }
  .services {
    padding: 5rem 5%;
  }
  .contact {
    padding: 5rem 5%;
  }
}

/* Page Header & Content */
.page-header {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-bottom: 3rem;
  background: transparent;
  border-bottom: 1px solid var(--surface-border);
}
.page-header h1 {
  font-size: 3.5rem;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-content {
  padding: 2rem 5% 8rem 5%;
  max-width: 1000px;
  margin: 0 auto;
}
.page-content h2 {
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}
.page-content p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}
.page-content ul {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
  list-style-type: none;
}
.page-content li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
}
.page-content li::before {
  content: "✔";
  color: var(--primary-purple);
  position: absolute;
  left: -1.5rem;
  font-size: 1.2rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.back-link:hover {
  color: var(--primary-cyan);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: var(--text);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .btn-glow.header-cta {
    display: none;
  }
  .nav-links {
    display: flex !important;
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background-color: var(--surface);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
    padding: 2rem 0;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    margin: 1.5rem 0 !important;
    display: block;
  }
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}