:root {
  --bg: #0a0e27;
  --bg-mid: #1a1f3a;
  --bg-soft: #2a1f3a;
  --surface: rgba(26, 31, 58, 0.9);
  --text: #ffffff;
  --muted: #cbd5e0;
  --primary: #667eea;
  --secondary: #764ba2;
  --accent: #f093fb;
  --primary-soft: rgba(102, 126, 234, 0.16);
  --border: rgba(102, 126, 234, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-mid) 50%, var(--bg-soft) 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

header {
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #ffffff;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
}

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

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: #c9d7ff;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.18);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

section {
  padding: 2.5rem 0;
}

h2 {
  margin: 0 0 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.14);
}

.service h3 {
  margin: 0 0 0.45rem;
  color: #b7c7ff;
}

.about,
.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.3rem;
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.14);
}

.contact p {
  margin: 0.35rem 0;
}

footer {
  margin-top: 2rem;
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}
