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

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

:root {
  --bg: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border-card: rgba(255, 255, 255, 0.08);
  --text: #e8e8ed;
  --text-muted: #8a8a9a;
  --accent-start: #4f7df9;
  --accent-end: #9b5de5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--accent-start);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ---- Hero ---- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  min-height: 60vh;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-brand h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 480px;
}

/* ---- Services ---- */

.services {
  padding: 4rem 2rem 6rem;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  text-align: left;
  transition: border-color 0.25s, background 0.25s;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Footer ---- */

footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0.5rem;
}

footer p:last-child {
  margin-bottom: 0;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover {
  color: var(--text);
}

/* ---- Privacy page ---- */

.page-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  min-height: 70vh;
}

.page-content h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.page-content .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  opacity: 0.7;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.page-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.page-content ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.page-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-start);
}

.page-content strong {
  color: var(--text);
  font-weight: 500;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
  .hero {
    padding: 5rem 1.5rem 4rem;
    min-height: 50vh;
  }

  .hero-brand h1 {
    font-size: 2.2rem;
  }

  .hero-logo {
    width: 42px;
    height: 42px;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .services {
    padding: 3rem 1.5rem 4rem;
  }

  .services h2 {
    font-size: 1.6rem;
  }

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