@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap");

:root {
  --bg: #f5deda;
  --bg-alt: #f7f2f1;
  --ink: #121212;
  --muted: #4f4f4f;
  --call-to-action: #f3864b;
  --call-to-action-secondary: #fdefec;
  --accent: #88b2ee;
  --accent-dark: #2326c9;
  --accent-very-dark: #060728;
  --shock: #729be2;
  --warn: #ff6b1a;
  --card: #ffffff;
  --stroke: #111111;
  --shadow: 8px 8px 0 #272525;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
}

body {
  min-height: 100vh;
  background-image:
    linear-gradient(135deg, rgba(22, 219, 101, 0.06), transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(11, 88, 244, 0.08), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(255, 107, 26, 0.1), transparent 50%),
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.03),
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 10px);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  padding: 28px;
  background: var(--card);
  border: 2px solid var(--stroke);
  box-shadow: var(--shadow);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(17, 17, 17, 0.2);
  border-radius: 14px;
  pointer-events: none;
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.app-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.logo {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  border: 3px solid var(--stroke);
  background: #fff;
  box-shadow: 6px 6px 0 var(--stroke);
  animation: pop 700ms ease-out;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.badge {
  padding: 6px 10px;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  background: var(--bg-alt);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  transition: background 0.2s ease;
}

.badge:hover {
  background: var(--accent);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;

  .button {
    background: var(--call-to-action);
  }

  .button.secondary {
    background: var(--call-to-action-secondary);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--stroke);
  background: var(--accent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--stroke);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button-icon {
  flex-shrink: 0;
}

.button.secondary {
  background: #fff;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--stroke);
}

.grid {
  margin-top: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.showcase {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(240px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.carousel {
  margin: 0;
  padding: 18px;
  border: 2px solid var(--stroke);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.carousel-container {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.15);
}

.carousel-slides {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--stroke);
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: #d9e8da;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--stroke);
  border-radius: 50%;
  background: var(--bg-alt);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--accent);
}

.carousel-image {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: block;
}

.showcase-features {
  display: grid;
  gap: 16px;
}

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

  .carousel-image {
    max-width: 220px;
  }
}

.card {
  padding: 18px;
  border: 2px solid var(--stroke);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 6px 6px 0 var(--stroke);
  min-height: 160px;
  animation: float-in 600ms ease both;
}

.card-title-link {
  cursor: pointer;
  transition: color 150ms ease, text-decoration 150ms ease;
}

.card-title-link:hover {
  color: var(--call-to-action);
  text-decoration: underline;
}

.carousel-slide.highlight {
  animation: slide-highlight 600ms ease;
}

@keyframes slide-highlight {
  0%, 100% {
    box-shadow: inset 0 0 0 0 var(--accent);
  }
  50% {
    box-shadow: inset 0 0 0 4px var(--accent);
  }
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.card p,
.card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.callout {
  margin-top: 32px;
  padding: 24px;
  border: 2px solid var(--stroke);
  background: var(--shock);
  color: #fff;
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--stroke);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  .button {
    background: var(--call-to-action);
  }
}

.callout-text {
  font-size: 1.1rem;
  color: var(--accent-very-dark);
}

.legal {
  margin-top: 24px;
  padding: 16px 18px;
  border: 2px dashed rgba(17, 17, 17, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.92rem;
}

.legal strong {
  color: var(--ink);
}

.footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}

.footer a {
  color: inherit;
  text-decoration: underline;
}

a {
  cursor: pointer !important;
}

@keyframes pop {
  0% {
    transform: scale(0.7) rotate(-6deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}