@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root,
html.dark {
  color-scheme: dark;
  --fp-bg: #000806;
  --fp-bg-elevated: #01140f;
  --fp-text: #ffffff;
  --fp-muted: #8f9ab5;
  --fp-accent: #10b981;
  --fp-accent-2: #34d399;
  --fp-border: rgba(255, 255, 255, 0.1);
  --fp-border-soft: rgba(255, 255, 255, 0.05);
  --fp-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --fp-header: rgba(0, 8, 6, 0.7);
  --fp-glow: rgba(16, 185, 129, 0.25);
  --fp-card: rgba(255, 255, 255, 0.05);
  --fp-input: rgba(0, 0, 0, 0.35);
  --fp-bottom-nav: rgba(0, 8, 6, 0.92);
  --fp-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  --fp-radius: 1.5rem;
  --fp-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html.light {
  color-scheme: light;
  --fp-bg: #f3faf7;
  --fp-bg-elevated: #ffffff;
  --fp-text: #0b1f19;
  --fp-muted: #5b6b7c;
  --fp-accent: #059669;
  --fp-accent-2: #10b981;
  --fp-border: rgba(15, 60, 45, 0.12);
  --fp-border-soft: rgba(15, 60, 45, 0.08);
  --fp-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 100%);
  --fp-header: rgba(243, 250, 247, 0.85);
  --fp-glow: rgba(16, 185, 129, 0.18);
  --fp-card: rgba(255, 255, 255, 0.8);
  --fp-input: rgba(255, 255, 255, 0.9);
  --fp-bottom-nav: rgba(255, 255, 255, 0.94);
  --fp-shadow: 0 20px 40px -10px rgba(15, 60, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  background: var(--fp-bg);
  color: var(--fp-text);
  padding-bottom: calc(5.5rem + var(--fp-safe-bottom));
  min-height: 100vh;
}

body.fp-no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
[role="button"],
.fp-btn,
.fp-chip,
.fp-icon-btn,
.fp-link,
.fp-bottom-nav a,
.fp-nav a,
.fp-drawer__nav a,
summary,
input[type="checkbox"],
input[type="submit"],
label[for] {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.fp-page-bg {
  background:
    radial-gradient(ellipse 80% 80% at 50% -20%, var(--fp-glow), transparent),
    var(--fp-bg);
  color: var(--fp-text);
}

.fp-muted {
  color: var(--fp-muted);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.animate-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  35% {
    opacity: 0.15;
  }
  70% {
    opacity: 0.05;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-45%); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
}

.reveal.is-visible {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glass {
  background: var(--fp-glass);
  border: 1px solid var(--fp-border-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--fp-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

html.light .glass {
  border-top-color: rgba(255, 255, 255, 0.9);
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer:after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  animation: shimmer 6s ease-in-out infinite;
}

.noise-overlay {
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.25'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.15;
}

html.light .noise-overlay {
  opacity: 0.06;
  mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal.is-visible,
  .shimmer:after,
  .animate-float,
  .animate-pulse-glow {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero-title-responsive {
    font-size: clamp(2.4rem, 12vw, 3.5rem) !important;
    line-height: 1.08 !important;
  }
}
