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

:root {
  --bg-dark: #0a0a0f;
  --bg-section: #12121a;
  --text-primary: #ffffff;
  --text-secondary: #b8b8c8;
  --accent: #00d9ff;
  --accent-glow: rgba(0, 217, 255, 0.3);
  --spacing-xl: 8rem;
  --spacing-lg: 4rem;
  --spacing-md: 2rem;
  --spacing-sm: 1rem;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue",
    Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 18px;
  overflow-x: hidden;
  position: relative;
}

/* ========== TECH BACKGROUND - Easy to Remove/Modify ========== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(0, 217, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.06) 1px, transparent 1px);
  background-size:
    100px 100px,
    100px 100px,
    20px 20px,
    20px 20px;
  background-position:
    -1px -1px,
    -1px -1px,
    -1px -1px,
    -1px -1px;
  animation:
    gridScroll 60s linear infinite,
    parallaxFloat 25s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(0, 217, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 217, 255, 0.05) 0%,
      transparent 50%
    );
  animation:
    pulseGlow 20s ease-in-out infinite,
    parallaxShift 35s ease-in-out infinite;
}

/* Energy Pulse System */
.energy-pulse {
  position: fixed;
  pointer-events: none;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 217, 255, 0.2) 0%,
    rgba(0, 217, 255, 0.1) 30%,
    transparent 70%
  );
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: pulseExpand 1.2s ease-out forwards;
  box-shadow:
    0 0 15px rgba(0, 217, 255, 0.3),
    0 0 30px rgba(0, 217, 255, 0.2);
  filter: url(#energy-noise);
}

@keyframes pulseExpand {
  0% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.4);
    border-radius: 50%;
  }
  25% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 48%;
  }
  50% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1.1);
    border-radius: 52%;
  }
  75% {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.3);
    border-radius: 49%;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
    border-radius: 50%;
  }
}

@keyframes gridScroll {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

@keyframes parallaxFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(15px, -10px);
  }
  50% {
    transform: translate(0, -20px);
  }
  75% {
    transform: translate(-15px, -10px);
  }
}

@keyframes parallaxShift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-30px, 20px);
  }
  66% {
    transform: translate(30px, -20px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

main {
  position: relative;
  z-index: 1;
}
/* ========== END TECH BACKGROUND ========== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--accent-glow) 0%,
    transparent 50%
  );
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.5;
  }
}

.logo-text {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
  position: relative;
  animation: slideUp 1s ease-out;
  text-shadow: 0 0 40px var(--accent-glow);
}

.tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent);
  font-weight: 300;
  letter-spacing: 0.05em;
  animation: slideUp 1s ease-out 0.3s backwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mission Section */
.mission {
  background: var(--bg-section);
  padding: var(--spacing-xl) 0;
  position: relative;
}

.mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.mission-content {
  animation: fadeIn 1s ease-out;
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.mission-content p {
  margin-bottom: var(--spacing-md);
  max-width: 900px;
}

.emphasis {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-md);
  border-left: 4px solid var(--accent);
  animation: slideRight 1s ease-out;
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cta {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-lg) var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.cta-text {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  color: var(--text-primary);
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* Contact Section */
.contact {
  padding: var(--spacing-xl) 0;
  background: var(--bg-dark);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  animation: slideUp 1s ease-out;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-section);
  border: 2px solid rgba(0, 217, 255, 0.15);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  transform: translateY(-2px);
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--accent), #0095ff);
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.submit-btn:active {
  transform: translateY(-1px);
}

.form-status {
  margin-top: var(--spacing-md);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
  display: block;
}

.form-status.error {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
  display: block;
}

/* Footer */
footer {
  background: var(--bg-section);
  padding: var(--spacing-md) 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 2rem;
  }

  body {
    font-size: 16px;
  }

  .emphasis {
    padding-left: var(--spacing-sm);
  }

  .section-title {
    margin-top: var(--spacing-md);
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
  background: var(--accent);
  color: var(--bg-dark);
}
