/* =========================
   CSS Variables & Reset
   ========================= */
:root {
  --primary: #000000;
  --accent: #FFC648;
  --accent-secondary: #FFC648;
  --dark-pink: #F575AD;
  --light: #fdfdfd;
  --gray: #666666;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--primary);
  overflow-x: hidden;
}

@font-face {
  font-family: 'Caveat';
  src: url('./assets/Caveat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('./assets/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.serif {
  font-family: 'Instrument Serif', serif;
}

.handwritten {
  font-family: 'Caveat', cursive !important;
}

/* =========================
   Animations
   ========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
  opacity: 0;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* =========================
   Buttons
   ========================= */
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

/* =========================
   Cards
   ========================= */
.feature-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(245, 117, 173, 0.3);
}

.pricing-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(245, 117, 173, 0.15);
}

.pricing-card.featured {
  border-color: var(--accent);
}

/* =========================
   Utilities
   ========================= */
.step-number {
  background: linear-gradient(135deg,
      var(--accent) 0%,
      var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#pricingChart {
  width: 80%;
}

canvas {
  max-width: 800px;
  margin: 50px auto;
  display: block;
}

site-footer {
  display: block;
}


/* Wrapper to scale the sheets */
.sheet-wrapper {
  width: 90vw;
  max-width: 600px;
  /* optional max width */
  margin: 60px auto;
  position: relative;
  aspect-ratio: 210 / 257;
  /* A4 ratio */
}

/* Behind sheets */
.sheet-behind {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  transform: rotate(-2deg);
  /* slight rotation */
  z-index: -2;
}

.sheet-behind:nth-child(2) {
  transform: rotate(1deg);
  z-index: -3;
}

.sheet-behind:nth-child(3) {
  transform: rotate(-1.5deg);
  z-index: -4;
}

/* Main sheet */
.sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 2rem;
  z-index: 0;
}