:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --secondary-light: #f472b6;
  --accent: #8b5cf6;
  --dark-bg: #111827;
  --dark-bg-2: #1f2937;
  --dark-bg-3: #374151;
  --fg: #f3f4f6;
  --fg-secondary: #e5e7eb;
  --muted: #9ca3af;
  --border: #374151;
  --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 10% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 60%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  animation: gradientPulse 12s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 1.15;
  }
}

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

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

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

.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(99, 102, 241, 0.12) 0%,
    rgba(236, 72, 153, 0.08) 50%,
    rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite;
  z-index: 0;
}

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

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

.hero-title {
  font-size: 4.5rem;
  margin: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  background: linear-gradient(135deg, #818cf8 0%, #8b5cf6 50%, #ec4899 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(--accent) 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 {
  margin-top: 0;
  color: var(--fg);
}

/* Possibilities Section */
.possibilities-section {
  margin-bottom: 6rem;
}

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

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

.feature-card {
  background: linear-gradient(135deg,
    rgba(31, 41, 55, 0.8) 0%,
    rgba(55, 65, 81, 0.5) 100%);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(139, 92, 246, 0.1) 100%);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

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

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

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

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

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

.use-case {
  background: linear-gradient(135deg,
    rgba(55, 65, 81, 0.6) 0%,
    rgba(31, 41, 55, 0.8) 100%);
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(236, 72, 153, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.use-case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.use-case:hover {
  border-color: var(--secondary);
  background: linear-gradient(135deg,
    rgba(236, 72, 153, 0.15) 0%,
    rgba(99, 102, 241, 0.1) 100%);
  transform: translateY(-6px);
}

.use-case:hover::before {
  opacity: 1;
}

.use-case-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-light);
  margin-bottom: 0.5rem;
}

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

/* Stats Section */
.stats-section {
  margin-bottom: 6rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.08) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-align: center;
  transition: all 0.3s ease;
}

.stat:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.2) 0%,
    rgba(139, 92, 246, 0.15) 100%);
  transform: translateY(-4px);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(236, 72, 153, 0.06) 50%,
    rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 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;
  bottom: -20%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 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(--accent) 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(99, 102, 241, 0.2);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(31, 41, 55, 0.6);
  color: var(--fg);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

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

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), inset 0 0 20px rgba(99, 102, 241, 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(--accent) 100%);
  color: white;
  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%, var(--secondary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 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(99, 102, 241, 0.3);
  border-top-color: white;
  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: 3.2rem;
  }

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

  h2 {
    font-size: 1.8rem;
  }

  /* Features grid - 2 columns on tablet */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Use cases grid - 2 columns on tablet */
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature-card,
  .use-case {
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 3rem;
  }

  .contact-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 1rem;
    margin: 2rem 0 2rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
  }

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

  .hero-description {
    font-size: 0.9rem;
    margin-top: 1rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  section {
    margin-bottom: 3rem;
  }

  /* Features grid - 1 column on mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Use cases grid - 1 column on mobile */
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card,
  .use-case {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .feature-card p,
  .use-case p {
    font-size: 0.9rem;
  }

  .use-case-label {
    font-size: 1rem;
  }

  .stat {
    padding: 1.5rem 1rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section-intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .contact-section {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }

  .contact-container {
    max-width: 100%;
  }

  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

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

  .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .form-input {
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
  }

  .form-textarea {
    min-height: 100px;
  }

  .submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .nav {
    gap: 1rem;
    padding: 1rem 0;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}
