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

:root {
  --bg: linear-gradient(135deg, #0f172a, #111827 55%, #0b1224);
  --card: rgba(255, 255, 255, 0.04);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #06b6d4;
  --accent-2: #8b5cf6;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 18px;
}

.shell {
  width: min(1400px, 100%);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 56px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

/* Add extra space below main shell so footer sits further from content */
.shell { margin-bottom: 140px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  margin-top: 64px;
  margin-bottom: 56px;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p.lead {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
  font-size: 15px;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 40px 28px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: -40% -40% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 60%);
  transform: rotate(-12deg);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(120deg, rgba(6, 182, 212, 0.18), rgba(139, 92, 246, 0.18));
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 120ms ease, border-color 120ms ease, background 200ms ease;
}

.cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(120deg, rgba(6, 182, 212, 0.28), rgba(139, 92, 246, 0.28));
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.16);
}

/* Professional Footer */
.pro-footer {
  padding: 2rem 0;
  text-align: center;
  background: var(--card);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text);
  width: 100%;
  margin-top: auto;
  font-size: 14px;
}

.separator {
  margin: 0 12px;
  color: var(--muted);
  font-weight: 300;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  color: #67e8f9;
  border-bottom: 1px solid #67e8f9;
}

@media (max-width: 640px) {
  body { padding: 28px 14px; }
  .shell { padding: 24px; }
  .cta { width: 100%; justify-content: center; }
  .pro-footer {
    padding: 1.5rem 0;
    font-size: 12px;
  }
  .separator {
    margin: 0 8px;
  }
}

/* Medium / Large breakpoints for smoother scaling */
@media (max-width: 1024px) {
  body { padding: 40px 16px; }
  .shell { width: min(1100px, 100%); padding: 40px; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 48px; margin-bottom: 40px; }
  .card { padding: 36px 26px; }
}

@media (max-width: 800px) {
  body { padding: 36px 14px; }
  .shell { width: 100%; padding: 32px; border-radius: 16px; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 44px; margin-bottom: 40px; }
  .card { padding: 32px 22px; }
}
