/* Navigation Glass Effect */
.glass-nav {
  background: rgba(250, 249, 246, 0.85);
  /* Matches off-white */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-header {
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scrollbar Utilities */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Text Utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Editor Utilities */
[contenteditable]:empty:before {
  content: attr(placeholder);
  color: #94a3b8;
  opacity: 1;
  cursor: text;
}

.outline-none {
  outline: none;
}

/* Lenis Smooth Scroll */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

/* Mobile Menu Utilities */
.mobile-menu-enter {
  transform: translateX(100%);
}

.mobile-menu-enter-active {
  transform: translateX(0);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu-exit {
  transform: translateX(0);
}

.mobile-menu-exit-active {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

/* Hide scrollbar for mobile menu */
.mobile-menu-container::-webkit-scrollbar {
  display: none;
}

.mobile-menu-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- LANDING PAGE CUSTOM STYLES (Bootstrap Migration) --- */

/* Variables matching the Tailwind config */
:root {
  --color-off-white: #FAF9F6;
  --color-slate-900: #0f172a;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-indigo-50: #eef2ff;
  --color-indigo-100: #e0e7ff;
  --color-indigo-600: #4f46e5;
  --color-indigo-700: #4338ca;
  --color-lime-400: #a3e635;
  /* Lime-400 from Tailwind */
  --color-lime-300: #bef264;
  --font-serif: "Playfair Display", serif;
  --font-sans: "Inter", sans-serif;
}

body.landing-page {
  background-color: var(--color-off-white);
  color: var(--color-slate-900);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body.landing-page ::selection {
  background: var(--color-lime-400);
  color: black;
}

/* Typography Overrides */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.text-slate-900 {
  color: var(--color-slate-900) !important;
}

.text-slate-600 {
  color: var(--color-slate-600) !important;
}

.text-slate-500 {
  color: var(--color-slate-500) !important;
}

.text-indigo-600 {
  color: var(--color-indigo-600) !important;
}

/* Massive Hero Text */
.hero-title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--color-slate-900);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2rem;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-blob {
  animation: blob 7s infinite;
}

.animate-scroll {
  animation: scroll 20s linear infinite;
  display: flex;
  /* flex for the marquee items */
  width: max-content;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Marquee */
.marquee-container {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  overflow: hidden;
  width: 100%;
  display: flex;
}

.text-outline {
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.2);
  color: transparent;
}

/* Custom Buttons */
.btn-lime {
  background-color: var(--color-lime-400);
  color: var(--color-slate-900);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  padding: 1.5rem 4rem;
  font-size: 1.5rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 40px rgba(163, 230, 53, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-lime:hover {
  background-color: var(--color-lime-300);
  transform: scale(1.05);
  color: var(--color-slate-900);
}

.btn-dark {
  background-color: var(--color-slate-900);
  color: #fff;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-dark:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  color: #fff;
}

/* Utilities not in Bootstrap */
.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.h-screen-min {
  min-height: 100vh;
}