@import "tailwindcss";

@theme {
  --color-bg: #F5F3EF;
  --color-bg-alt: #E8E4DE;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6B6B;
  --color-accent: #00FF88;
  --color-accent-dark: #00CC6A;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

@layer base {
  html {
    scroll-behavior: smooth;
    background-color: #080a09;
    color: var(--color-text);
  }
  
  body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
}

@layer components {
  .heading-serif {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  
  .text-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
  }

  .tracking-ultra {
    letter-spacing: 0.35em;
  }

  .btn-pill {
    @apply px-8 py-3 rounded-full border border-text uppercase text-xs tracking-widest transition-all duration-300;
    background: transparent;
  }

  .btn-pill:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text);
  }
  
  .grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 50%;
  }

  .blob-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
  }

  .animate-pulse-slow {
    animation: pulse-slow 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  @keyframes pulse-slow {
    0%, 100% {
      opacity: 0.5;
      transform: scale(1);
    }
    50% {
      opacity: 0.8;
      transform: scale(1.05);
    }
  }


}
