@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&amp;display=swap');

:root {
  /* Dark theme palette */
  --bg: #0b1220;           /* page background */
  --surface: #0f172a;      /* cards/sections */
  --elevated: #111827;     /* elevated surfaces */
  --text: #e5e7eb;         /* primary text */
  --muted: #9ca3af;        /* secondary text */
  --accent: #8b5cf6;       /* violet-500 */
  --success: #10b981;      /* green-500 */
  --border: #1f2937;       /* subtle borders on dark */
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --radius: 10px;
  --font-primary: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(139, 92, 246, 0.15), transparent 40%),
              radial-gradient(800px 600px at 0% 100%, rgba(16, 185, 129, 0.08), transparent 40%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: rgba(2, 6, 23, 0.8); /* slate-950 with blur */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

nav a:hover { color: var(--accent); opacity: 1; }

/* Hero Section */
.hero {
  background:
    linear-gradient(to bottom, rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.6)),
    url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&amp;fit=crop&amp;w=1400&amp;h=700');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 9rem 1rem 7rem;
  margin-top: 4rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #e2e8f0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Features */
.features {
  padding: 4rem 1rem;
  background: transparent;
}

.features h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
}

.features p.lead {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

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

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
}

/* Testimonials */
.testimonials {
  padding: 4rem 1rem;
  background: #0a0f1a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
}

/* Contact */
.contact {
  padding: 4rem 1rem;
  background: transparent;
}

.contact h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  background: #0b1324;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

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

/* Footer */
footer {
  background: #020617;
  color: #cbd5e1;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  .header-content { flex-direction: column; gap: 0.75rem; }
  nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
}