:root {
  --primary: #00ffd5;
  --secondary: #7c00ff;
  --bg-dark: #0a0015;
  --bg-darker: #050008;
  --text-light: #e8f6ff;
  --text-muted: rgba(232, 246, 255, 0.6);
  --border: rgba(0, 255, 213, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
}

/* Animated stars background */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 60px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 50px 50px, #ddd, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 10px, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: twinkle 5s ease-in-out infinite;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(180deg, rgba(10, 0, 21, 0.9) 0%, rgba(10, 0, 21, 0.7) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 255, 213, 0.4);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(0, 255, 213, 0.6);
}

/* Main container */
.container {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* Hero section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(124, 0, 255, 0.3);
  letter-spacing: -1px;
}

.subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 300;
}

/* Features list */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.feature {
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(0, 255, 213, 0.05), rgba(124, 0, 255, 0.05));
  border-left: 3px solid var(--primary);
  color: var(--text-light);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature:hover {
  background: linear-gradient(90deg, rgba(0, 255, 213, 0.1), rgba(124, 0, 255, 0.1));
  transform: translateX(5px);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 500px;
}

.form-group {
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(232, 246, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 255, 213, 0.05);
  box-shadow: 0 0 20px rgba(0, 255, 213, 0.2);
}

/* Submit button */
.btn-submit {
  padding: 14px 28px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 8px;
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 255, 213, 0.3);
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 255, 213, 0.4), 0 0 60px rgba(124, 0, 255, 0.2);
}

.btn-submit:active {
  transform: translateY(-1px);
}

/* Error message */
.error-msg {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 8px;
  min-height: 16px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.glow-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 213, 0.15), transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

.card-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 255, 213, 0.08), rgba(124, 0, 255, 0.08));
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 255, 213, 0.2);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(0, 255, 213, 0.3);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 30px 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .title {
    font-size: 36px;
  }

  .header {
    padding: 16px 20px;
  }

  .container {
    padding: 40px 20px;
  }

  .card-showcase {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 28px;
  }

  .subtitle {
    font-size: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 16px;
  }

  .btn-submit {
    padding: 12px 20px;
    font-size: 12px;
  }
}
