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

:root {
  --bg: #05060a;
  --panel: #0f172a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #c7d2fe;
  --accent: #f472b6;
  --button-bg: #ff2a5f;
}

body[data-theme='light'] {
  --bg: #f4f4f5;
  --panel: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --muted: #475569;
  --accent: #ec4899;
  --button-bg: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logo-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-panel img {
  width: 200px;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

header h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  letter-spacing: -0.04em;
}

header .tagline {
  font-size: 1.1rem;
  color: var(--muted);
}

.theme-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--button-bg);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 60%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--panel);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

.card h2 {
  margin-top: 0;
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

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

.footer-note {
  margin-top: 4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .logo-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .theme-toggle {
    position: static;
    align-self: flex-end;
  }
}
