/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #0a0a0f;
  color: #e0e0e8;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Navigation ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

#navbar.scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(17, 17, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 240, 255, 0.08);
}

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

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-family: 'Orbitron', sans-serif;
  color: #8888a0;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00f0ff;
}

/* ===== Hero Section ===== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0f;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.75);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
}

.hero-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 2rem;
}

.hero-tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: #e0e0e8;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #8888a0;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1.5px solid #00f0ff;
  color: #00f0ff;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: transparent;
}

.cta-button:hover {
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25), 0 0 60px rgba(0, 240, 255, 0.1);
}

/* ===== Sections ===== */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3.5rem;
  letter-spacing: 0.04em;
  color: #e0e0e8;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: #00f0ff;
  margin: 1rem auto 0;
}

/* ===== Services ===== */
#services {
  background: #0a0a0f;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: #00f0ff;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: 0.03em;
  color: #e0e0e8;
}

.service-card p {
  font-size: 0.95rem;
  color: #8888a0;
  line-height: 1.7;
}

/* ===== Contact ===== */
#contact {
  background: #111118;
}

.contact-container {
  max-width: 600px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #8888a0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e0e0e8;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(136, 136, 160, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00f0ff;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

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

#submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: #00f0ff;
  color: #0a0a0f;
  border: none;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

#submit-btn:hover {
  background: #00d4e0;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  min-height: 1.5em;
}

#form-status.success {
  color: #00e676;
}

#form-status.error {
  color: #ff5252;
}

/* ===== Footer ===== */
footer {
  background: #0a0a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  color: #8888a0;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile (max-width: 768px) ===== */
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1.15rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo {
    max-width: 220px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-container {
    padding: 4rem 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .nav-container {
    padding: 0.85rem 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }
}
