* { box-sizing: border-box; }

html,
body {
  height: 100%;
  background: var(--bg-primary);
}

body {
  margin: 0;
  overscroll-behavior-y: none;
}

#app-wrapper {
  background: var(--bg-primary);
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

:root {
  --bg-primary: #0a0a0f;
}

.font-display {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.font-body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #ff1a1a 0%, #ff4d4d 50%, #b30000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
}

.glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #b30000, #ff1a1a, #ff4d4d, transparent);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b30000, #ff1a1a);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #b30000 0%, #ff1a1a 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(255, 26, 26, 0.4);
}

.input-field {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: #ff1a1a;
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.25);
  outline: none;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(255, 26, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 26, 26, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
}

.legal-content h1 {
  font-size: 1.625rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0.45rem;
}

.legal-content h4 {
  font-size: 0.98rem;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
}

.legal-content p,
.legal-content li {
  color: rgb(156 163 175);
  line-height: 1.75;
}

.legal-content p {
  margin-bottom: 0.85rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.6rem 0 1rem 1.25rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content a {
  color: #ff4d4d;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.legal-content a:hover {
  color: #ff8080;
}
