:root {
  --bg: #f6f7fb;
  --bg-alt: #eef2f8;
  --card: #ffffff;
  --ink: #0b0f1a;
  --muted: #5b6472;
  --line: #e3e7ef;
  --accent: #0b5fff;
  --accent-soft: rgba(11, 95, 255, 0.12);
  --gold: #f29d38;
  --shadow: 0 18px 45px rgba(19, 24, 34, 0.08);
  --shadow-soft: 0 12px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, rgba(11, 95, 255, 0.12), transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.12), transparent 55%),
    linear-gradient(160deg, #f8f9fd 0%, var(--bg) 45%, var(--bg-alt) 100%);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  opacity: 0.45;
  z-index: -1;
}

.shape-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(11, 95, 255, 0.25), transparent 70%);
  top: -140px;
  right: -120px;
}

.shape-b {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle at 60% 40%, rgba(99, 102, 241, 0.22), transparent 70%);
  bottom: -200px;
  left: -180px;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.hero-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 40px 24px 24px;
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-title h1 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3.6vw, 34px);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 80px;
}

input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.service-card {
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(11, 95, 255, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  animation: rise 0.6s ease forwards;
}

.service-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.service-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.service-desc {
  font-size: 13px;
  color: var(--muted);
}

.service-meta {
  font-size: 13px;
  color: var(--muted);
  background: #f7f9fd;
  border-radius: 12px;
  padding: 10px 12px;
}

.service-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 95, 255, 0.2);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.login-card {
  width: min(420px, 100%);
  background: var(--card);
  border-radius: 24px;
  border: 1px solid rgba(11, 95, 255, 0.12);
  box-shadow: var(--shadow);
  padding: 28px;
}

.login-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.login-card .form-row {
  display: grid;
  gap: 12px;
}

.login-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0;
  font-size: 13px;
  color: var(--muted);
}

.checkbox-stack {
  display: block;
}

.checkbox-stack input[type="checkbox"] {
  margin: 0;
  display: block;
}

.checkbox-stack span {
  display: block;
  margin-top: 6px;
  line-height: 1.2;
}

.login-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 8px;
}

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

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

@media (max-width: 600px) {
  .login-card {
    padding: 20px;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
