:root {
  --primary: #00d4ff;
  --primary-light: #4fffff;
  --primary-dark: #0099cc;
  --secondary: #1e40af;
  --secondary-light: #3b82f6;
  --tertiary: #ec4899;
  --accent-warm: #f59e0b;
  --dark-bg: #0f0a1a;
  --dark-bg-2: #1a1228;
  --dark-bg-3: #251d3d;
  --fg: #e8f1ff;
  --fg-secondary: #cbd5f1;
  --muted: #94a3c8;
  --border: #2d2642;
  --success: #10b981;
  --error: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  background: var(--dark-bg);
  color: var(--fg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 45%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 95% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 1.1;
  }
}

body > * {
  position: relative;
  z-index: 2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Layout helpers */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Navigation */
.nav {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero */
.hero {
  padding: 8rem 2rem;
  margin: 4rem 0 3rem 0;
  border-radius: 2.5rem;
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0.12) 0%,
    rgba(30, 64, 175, 0.08) 50%,
    rgba(236, 72, 153, 0.08) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  background: linear-gradient(135deg, #4fffff 0%, #00d4ff 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.4rem;
  margin: 0.8rem 0;
  color: var(--fg);
  font-weight: 700;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-description {
  font-size: 1.05rem;
  margin: 1.5rem 0 0 0;
  color: var(--fg-secondary);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Sections */
section {
  margin-bottom: 5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

h3, h4 {
  margin-top: 0;
}

/* Use Cases Section */
.use-cases-section {
  margin-bottom: 6rem;
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.use-case-card {
  background: linear-gradient(135deg,
    rgba(26, 18, 40, 0.7) 0%,
    rgba(37, 29, 61, 0.5) 100%);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(236, 72, 153, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.use-case-card:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0.15) 0%,
    rgba(30, 64, 175, 0.1) 100%);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.use-case-card:hover .use-case-icon {
  transform: scale(1.15) rotate(5deg);
}

.use-case-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.use-case-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary-light);
  font-weight: 700;
}

.use-case-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Why Section */
.why-section {
  margin-bottom: 6rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.why-card {
  background: linear-gradient(135deg,
    rgba(37, 29, 61, 0.6) 0%,
    rgba(26, 18, 40, 0.8) 100%);
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-light), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  border-color: var(--secondary-light);
  background: linear-gradient(135deg,
    rgba(30, 64, 175, 0.2) 0%,
    rgba(37, 29, 61, 0.8) 100%);
  transform: translateY(-4px);
}

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

.why-card h4 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem 0;
  color: var(--primary);
  font-weight: 700;
}

.why-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0.08) 0%,
    rgba(30, 64, 175, 0.12) 50%,
    rgba(236, 72, 153, 0.08) 100%);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 4rem 2rem;
  border-radius: 2rem;
  margin-bottom: 4rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-section h2 {
  color: var(--fg);
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* Form Styles */
.contact-form {
  margin-top: 2rem;
}

.form-row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(26, 18, 40, 0.6);
  color: var(--fg);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.form-input::placeholder {
  color: rgba(148, 163, 200, 0.6);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

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

.submit-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-light) 100%);
  color: var(--dark-bg);
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-light) 0%, #3b82f6 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.submit-btn:hover:not(:disabled)::before {
  left: 100%;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  text-align: center;
  backdrop-filter: blur(5px);
}

.form-status.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 5rem 1.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

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

  h2 {
    font-size: 1.8rem;
  }

  .use-cases-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}
