@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;700&family=Fraunces:opsz,wght@9..144,400;9..144,700&display=swap');

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

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Fraunces', Georgia, serif;
  color: #111827;
  background: radial-gradient(ellipse at top right, #dbeafe 0%, #f8fafc 60%) no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 1.5rem;
}

@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

/* ---------- Header ---------- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

.socials { display: flex; }

.socials a {
  display: inline-flex;
  align-items: center;
  color: #60a5fa;
  padding: 0.5rem;
  transition: color 0.15s ease;
}

.socials a:hover { color: #2563eb; }

.socials svg {
  height: 1.5rem;
  width: auto;
  fill: currentColor;
}

@media (min-width: 768px) {
  .socials a { padding: 1rem; }
}

/* ---------- Main / Hero ---------- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: auto;
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }
}

.hero-text {
  width: 100%;
  order: 2;
  display: flex;
  flex-direction: column;
}

.hero-logo {
  width: 100%;
  order: 1;
  margin-bottom: 1.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-logo img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-text { width: 40%; order: 1; align-items: flex-start; }
  .hero-logo { width: 60%; order: 2; margin-bottom: 0; padding: 1.5rem 0; }
  .hero-logo img { width: 83%; max-width: none; margin: 0 0 0 auto; }
}

.hero-text h1 {
  font-size: 1.875rem;
  color: #60a5fa;
  line-height: 1.25;
  text-align: center;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .hero-text h1 { font-size: 3rem; text-align: left; }
}

.hero-subtitle {
  font-size: 1rem;
  margin: 0 0 2rem;
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.5rem; text-align: left; }
}

.hero-cta {
  color: #60a5fa;
  font-weight: 700;
  margin: 0 0 2rem;
  text-align: center;
}

@media (min-width: 768px) { .hero-cta { text-align: left; } }
@media (min-width: 1024px) { .hero-cta { margin-bottom: 1.5rem; } }

.showcase-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) { .showcase-links { justify-content: flex-start; } }
@media (min-width: 1024px) { .showcase-links { padding-bottom: 0; } }

.showcase-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  background-color: rgba(96, 165, 250, 0.12);
  color: #1e40af;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(96, 165, 250, 0.3);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-links a::after {
  content: "\2192";
  font-weight: 700;
  transition: transform 0.2s ease;
}

.showcase-links a:hover {
  background-color: #3b82f6;
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.showcase-links a:hover::after {
  transform: translateX(3px);
}

.showcase-links a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.showcase-links a[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background-color: #1f2937;
  color: #f9fafb;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
}

.showcase-links a[data-tooltip]:hover::before,
.showcase-links a[data-tooltip]:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Footer ---------- */
footer {
  padding: 0 1.5rem 0.75rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  text-align: center;
  color: #6b7280;
}

footer .copyright-link {
  color: #4b5563;
  font-weight: 500;
}

footer .copyright-link:hover { color: #111827; }

/* ----------------------------------------------
 * Animations (Generated by Animista — animista.net)
 * ---------------------------------------------- */
.slide-in-bottom { animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.slide-in-bottom-h1 { animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both; }
.slide-in-bottom-subtitle { animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.75s both; }
.fade-in { animation: fade-in 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) 1s both; }
.bounce-top-icons { animation: bounce-top 0.9s 1s both; }

@keyframes slide-in-bottom {
  0% { transform: translateY(1000px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes bounce-top {
  0% { transform: translateY(-45px); animation-timing-function: ease-in; opacity: 1; }
  24% { opacity: 1; }
  40% { transform: translateY(-24px); animation-timing-function: ease-in; }
  65% { transform: translateY(-12px); animation-timing-function: ease-in; }
  82% { transform: translateY(-6px); animation-timing-function: ease-in; }
  93% { transform: translateY(-4px); animation-timing-function: ease-in; }
  25%, 55%, 75%, 87% { transform: translateY(0); animation-timing-function: ease-out; }
  100% { transform: translateY(0); animation-timing-function: ease-out; opacity: 1; }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .slide-in-bottom,
  .slide-in-bottom-h1,
  .slide-in-bottom-subtitle,
  .fade-in,
  .bounce-top-icons {
    animation: none;
  }
}
