@import "tailwindcss";
:root {
  --bg: #020617;
  --primary: #ffffff;
  --accent: #ff4d00;
  --secondary: #0ea5e9;
  --accent-glow: rgba(216, 79, 20, 0.753);
  --blue-glow: rgb(15, 70, 95);
  --card-bg: rgba(15, 23, 42, 0.7);
  --text-muted: #94a3b8;
  --grid-color: rgba(14, 165, 233, 0.08);
}

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

html {
  background-color: var(--bg) !important;
  height: 100%;
  overflow-x: hidden;
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

body {
  background: transparent !important;
  color: var(--primary) !important;
  font-family: "Plus Jakarta Sans", sans-serif;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: #000000;
  background-image: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  z-index: -1;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.fixed-bg::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background-image:
    radial-gradient(circle at center, transparent 0%, var(--bg) 100%),
    radial-gradient(circle at 15% 15%, var(--accent-glow) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, var(--blue-glow) 0%, transparent 45%),
    linear-gradient(var(--grid-color) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid-color) 2px, transparent 2px),
    linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    120px 120px,
    120px 120px,
    30px 30px,
    30px 30px;
  background-position: center;
  background-repeat:
    no-repeat, no-repeat, no-repeat, repeat, repeat, repeat, repeat;
  animation: none !important;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 70, 70, 0);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 70, 70, 0.6);
}
.fixed-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  pointer-events: none;
}

.bento-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-card {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(14, 165, 233, 0.1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.input-field {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white !important;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}

.input-field:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.07);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu {
  z-index: 999;
  transition: all 0.3s ease-in-out;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
}

#mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .bento-card,
  [id^="pkg-"] {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .fixed-bg::before {
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      80px 80px,
      80px 80px,
      20px 20px,
      20px 20px;
  }
}

@supports (-webkit-touch-callout: none) {
  .fixed-bg {
    height: -webkit-fill-available;
  }
}
