

:root {
  --color-bg-green: #CBFCC0;
  --color-bg-pink: #F9B2C0;
  --color-card-milky: rgba(255, 247, 243, 0.75);
  --color-title: #333333;
  --color-body: #555555;
  --color-helper: #666666;
  --color-footer: #888888;
  --color-accent: #D889A2;
  --color-btn-bg: #F9B2C0;
  --color-btn-text: #333333;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  background-color: #fcfcfc;
  color: var(--color-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-title);
  letter-spacing: -0.02em;
}

.font-mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

::selection {
  background-color: var(--color-bg-green);
  color: var(--color-title);
}

@keyframes aurora {
  0%   { transform: translate(0%, 0%) scale(1); }
  33%  { transform: translate(5%, -5%) scale(1.05); }
  66%  { transform: translate(-5%, 5%) scale(0.95); }
  100% { transform: translate(0%, 0%) scale(1); }
}
.animate-aurora { animation: aurora 15s ease-in-out infinite alternate; }

.dev-grid-bg {
  background-size: 30px 30px;
  background-image: radial-gradient(circle, rgba(51, 51, 51, 0.08) 1px, transparent 1px);
}

.glass-card-milky {
  background: var(--color-card-milky);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 10px 40px -10px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
}
.glass-card-milky:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.offset-layer-wrapper {
  position: relative;
  z-index: 1;
}
.offset-layer-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-bg-green), var(--color-bg-pink));
  border-radius: 2rem;
  transform: translate(8px, 8px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
  opacity: 0.5;
}
.offset-layer-wrapper:hover::before {
  transform: translate(12px, 12px);
  opacity: 0.8;
}
.offset-layer-card {
  background: var(--color-card-milky);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.offset-layer-wrapper:hover .offset-layer-card {
  transform: translate(-4px, -4px);
}

.watermark-card {
  position: relative;
  background: var(--color-card-milky);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.watermark-quote {
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-family: serif;
  font-size: 10rem;
  color: rgba(216, 137, 162, 0.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.gradient-border-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-green), var(--color-bg-pink), var(--color-accent));
  padding: 2.5px;
  border-radius: 2rem;
  box-shadow: 0 10px 40px -10px rgba(249, 178, 192, 0.4);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gradient-border-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(216, 137, 162, 0.5);
}
.gradient-border-inner {
  background: var(--color-card-milky);
  backdrop-filter: blur(24px);
  height: 100%;
  border-radius: calc(2rem - 2.5px);
}

.nav-pill-light {
  background: rgba(255, 247, 243, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent), var(--color-title));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  background-color: var(--color-btn-bg);
  color: var(--color-btn-text);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(249, 178, 192, 0.6);
}

@keyframes fillBar { from { width: 0; } }
.animate-fill { animation: fillBar 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.fade-in-up {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.faq-content.is-open {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 1.5rem;
}

.spotlight-card { cursor: default; }
.spotlight-overlay {
  pointer-events: none;
  border-radius: inherit;
}
