/* Global reset and theme */
html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #fafafa 0%, #f2f4f8 100%);
  color: #111;
  text-align: center;
  line-height: 1.6;
  min-height: 100vh;
  transition: background 1s ease;
}

/* Layout */
main {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

/* Hero */
.hero {
  margin-bottom: 2.5rem;
}

.profile-photo {
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  width: 240px;
  height: 240px;
}

h1 {
  font-size: 2.2rem;
  margin: 0.5rem 0;
  letter-spacing: -0.5px;
}

.bio {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.75rem;
}

/* Button base */
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.button {
  background: linear-gradient(120deg, #0070f3, #00b4d8, #0070f3);
  background-size: 200% 200%;
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-position 2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
}

.button.ghost {
  background: transparent;
  color: #111;
  border: 2px solid #111;
  transition: background 0.25s ease, color 0.25s ease;
}

.button.ghost:hover {
  background: #111;
  color: #fff;
}

/* Inline links */
.links-row {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #444;
}

.link {
  color: #0070f3;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* Subscribe section */
.subscribe {
  margin: 3rem 0;
}

.subscribe h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.fine {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.75rem;
}

/* Pillars grid */
.pillars {
  margin: 3rem 0;
}

.pillars h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  padding: 1.4rem;
  text-align: left;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #111;
}

.card p {
  font-size: 0.95rem;
  color: #444;
}

.cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #0070f3;
  text-decoration: none;
}

.cta:hover {
  text-decoration: underline;
}

/* Proof and footer */
.proof, .identity, footer {
  margin-top: 2.5rem;
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #777;
}

/* Subtle gradient animation for background */
@keyframes subtleShift {
  0% { background: linear-gradient(135deg, #fafafa 0%, #f2f4f8 100%); }
  50% { background: linear-gradient(135deg, #f4f6ff 0%, #eef5ff 100%); }
  100% { background: linear-gradient(135deg, #fafafa 0%, #f2f4f8 100%); }
}

body {
  animation: subtleShift 20s ease-in-out infinite;
}
