/* Cassamo — static site styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #ffffff;
  background-color: #05010f;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

/* Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 56rem;
}

/* Cosmic background ----------------------------------------------------- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.cosmos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cosmos-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 1, 15, 0.7), rgba(10, 3, 32, 0.8), #05010f);
}

.cosmos-overlay-strong {
  background: linear-gradient(to bottom, rgba(5, 1, 15, 0.8), rgba(10, 3, 32, 0.85), #05010f);
}

/* Header / nav ---------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 1.125rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #22d3ee, #d946ef);
  color: #000;
}

.logo-mark svg {
  width: 1rem;
  height: 1rem;
}

.nav-links {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  list-style: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.back-link:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .nav-links {
    display: inline-flex;
  }
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Neon pill button ------------------------------------------------------ */
.neon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  background:
    linear-gradient(#0a0320, #0a0320) padding-box,
    linear-gradient(90deg, #22d3ee, #d946ef) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 24px -6px rgba(34, 211, 238, 0.5), 0 0 24px -6px rgba(217, 70, 239, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neon-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px -4px rgba(34, 211, 238, 0.8), 0 0 32px -4px rgba(217, 70, 239, 0.8);
}

.neon-pill.lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.neon-pill.outline {
  background:
    linear-gradient(rgba(10, 3, 32, 0.4), rgba(10, 3, 32, 0.4)) padding-box,
    linear-gradient(90deg, #22d3ee, #d946ef) border-box;
}

.icon {
  width: 1rem;
  height: 1rem;
}

.icon.md {
  width: 1.25rem;
  height: 1.25rem;
}

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 0 6rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 7rem 0 9rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow .pulse {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: #e879f9;
  box-shadow: 0 0 10px #e879f9;
}

.eyebrow.cyan {
  color: #67e8f9;
}

.eyebrow.fuchsia {
  color: #f0abfc;
}

.gradient-text {
  background: linear-gradient(90deg, #67e8f9, #fff, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-2 {
  background: linear-gradient(90deg, #67e8f9, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  max-width: 56rem;
  margin: 0 auto;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-lead {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 1.125rem;
  }
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Stats ---------------------------------------------------------------- */
.stats {
  max-width: 42rem;
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(90deg, #67e8f9, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 768px) {
  .stat-num {
    font-size: 2.5rem;
  }
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

/* Sections ------------------------------------------------------------- */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

/* About ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-copy p {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.about-copy h2 {
  margin-top: 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #67e8f9;
}

.link-arrow:hover {
  color: #fff;
}

.chat-preview {
  position: relative;
}

.chat-preview::before {
  content: "";
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(217, 70, 239, 0.3));
  filter: blur(40px);
  z-index: 0;
}

.chat-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.chat-avatar {
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.chat-avatar.a { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.chat-avatar.b { background: linear-gradient(135deg, #d946ef, #ec4899); }
.chat-avatar.c { background: linear-gradient(135deg, #8b5cf6, #d946ef); }

.chat-bubble {
  min-width: 0;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border-top-left-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.chat-bubble .user {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.chat-bubble .text {
  font-size: 0.875rem;
}

/* Features ------------------------------------------------------------- */
.section-heading {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.section-heading .section-eyebrow {
  color: #67e8f9;
}

.section-heading h2 {
  margin-top: 1rem;
}

.features-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  height: 8rem;
  width: 8rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(217, 70, 239, 0.3));
  filter: blur(40px);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scale(1.25);
}

.feature-card svg {
  position: relative;
  width: 2rem;
  height: 2rem;
  color: #f0abfc;
}

.feature-card h3 {
  position: relative;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.feature-card p {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Rules preview -------------------------------------------------------- */
.rules-preview {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(255, 255, 255, 0.05), rgba(217, 70, 239, 0.1));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .rules-preview {
    padding: 4rem;
  }
}

.rules-preview::before,
.rules-preview::after {
  content: "";
  position: absolute;
  height: 16rem;
  width: 16rem;
  border-radius: 9999px;
  filter: blur(80px);
}

.rules-preview::before {
  top: -5rem;
  left: -5rem;
  background: rgba(34, 211, 238, 0.2);
}

.rules-preview::after {
  bottom: -5rem;
  right: -5rem;
  background: rgba(217, 70, 239, 0.2);
}

.rules-preview-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .rules-preview-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.rules-preview h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .rules-preview h2 {
    font-size: 2.25rem;
  }
}

.rules-list {
  margin-top: 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.rules-list li {
  display: flex;
  gap: 0.75rem;
}

.rules-list li::before {
  content: "";
  margin-top: 0.5rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #67e8f9, #f0abfc);
}

/* CTA ------------------------------------------------------------------ */
.final-cta {
  text-align: center;
  padding: 6rem 0;
}

.final-cta h2 {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .final-cta h2 {
    font-size: 3.75rem;
  }
}

.final-cta p {
  max-width: 32rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.7);
}

.final-cta .neon-pill {
  margin-top: 2.5rem;
}

/* Footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-grid p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-inner a:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

/* Docs pages (huisregels + privacy) ------------------------------------ */
.docs-header {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.docs-main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}

.docs-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.docs-intro h1 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 900;
}

@media (min-width: 768px) {
  .docs-intro h1 {
    font-size: 3.75rem;
  }
}

.docs-intro p {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.7);
}

.rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rule-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease;
  display: flex;
  gap: 1.25rem;
}

.rule-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.rule-num {
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #22d3ee, #d946ef);
  color: #000;
  font-weight: 900;
  font-size: 0.875rem;
}

.rule-body h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.rule-body p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.note {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.note strong {
  color: #fff;
  font-weight: 600;
}

.docs-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-section {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.privacy-section h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.privacy-section p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.privacy-section ul {
  margin-top: 0.75rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.privacy-section ul li {
  display: flex;
  gap: 0.75rem;
}

.privacy-section ul li::before {
  content: "";
  margin-top: 0.5rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #67e8f9, #f0abfc);
}
