@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #F4F6F1;
  --color-text: #1F2937;
  --color-muted: #6B7280;
  --color-accent: #14D4D4;
  --color-border: #E5E7EB;
  --color-surface: #f9fafb;
  --radius: 1rem;
}

.container {
  max-width: 1720px;
}

section {
   border-bottom: 0px;
   margin: 6rem 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
}

.navbar {
    margin: 15px;
    padding: 0px 10px 0px 20px;
}

h1, h2, h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 4rem;
      border-bottom: 1px dotted currentColor;
      padding-bottom: 0.5em;
      margin-bottom: 2rem;
}

p {
  margin-top: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

.btn {
  background-color: var(--color-accent);
  color: white;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  display: inline-block;
  border: 1px solid white
}

.btn:hover {
  border: 1px solid var(--color-accent);
}

.hero {
   font-family: 'Inter', sans-serif;
   margin-top: 6rem;
}

.hero-text {
  font-size: clamp(2rem, 9vw, 9em);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin-top: 150px;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.hero-subline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 2em);
  font-weight: 20;
  line-height: 1.0;
  max-width: 70ch;
  font-color: var(--color-text);
    margin-bottom: 0.5rem;
}

.image-container {
  text-align: center;
}

footer {
  background-color: var(--color-text);
  color: white;
  padding: 3rem 1rem;
}

footer a {
  color: #BFDBFE;
  text-decoration: underline;
}

i[data-lucide] {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  vertical-align: middle;
  margin-right: 8px;
}

.card {
  position: relative;
  background: var(--color-bg);
  padding: 2rem;
  #box-shadow: 0 0 0 1px #e5e7eb;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform, background;
  z-index: 0;
  border-top 1px solid var(--color-border);
    background-color: hsl(var(--start-hue), 50%, 50%);
    animation: hueShift 5s linear infinite;
    animation-play-state: paused;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 30%) var(--mouse-y, 50%),
    rgba(20, 212, 212, 0.2),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.card:hover {
  transform: translateY(-4px);
  #box-shadow: 0 12px 40px rgba(20, 212, 212, 0.2), 0 0 0 1px #14D4D4;
  background: linear-gradient(135deg, #ecfeff, #e0f7f7);
  animation-play-state: running;
}

.card:hover::before {
  opacity: 1;
}

.navbar {
  margin: 15px;
}

.glass {
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(7px);
-webkit-backdrop-filter: blur(7px);
border: 1px solid rgba(255, 255, 255, 0.5);
}

.qm-container {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 2rem;
  padding: 2rem;
  perspective: 1000px;
}

.qm-3d-wrapper {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qm-3d {
  font-family: 'Nabla', sans-serif;
  font-size: 100px;
  color: #0ff;
}

.qm-text {
  flex: 1;
}

.qm-text h2 {
  margin-bottom: 1rem;
}

.qm-text ul {
  list-style: none;
  padding: 0;
}

.qm-text li {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}}

:root {
  --start-hue: 0;
}

@keyframes hueShift {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

.emoji-fade {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.emoji-fade span {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Add this with JavaScript */
.emoji-fade span.visible {
  opacity: 1;
}

.emoji-fade-and {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.emoji-fade-and span {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Add this with JavaScript */
.emoji-fade-and span.visible {
  opacity: 1;
}