:root {
  /* Colors */
  --dark-blue: #091233;
  --red: #ea1b49;
  --white: #ffffff;
  --black: #000000;

  --text-gray: #a3a3a3;
  --bg-darker: #0c0c0c;
  --bg-card: #151515;
  --border-color: #2a2a2a;

  /* Fonts */
  --default-font-family: 'Inter', Helvetica, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  --header-height: 80px;
  --container-width: 1200px;
}

html,
:host {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(--default-font-family);
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-xs {
  gap: var(--spacing-xs);
}

.gap-sm {
  gap: var(--spacing-sm);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .md\:flex-row {
    flex-direction: row;
  }
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  /* Pill shape from design */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
}

.btn-lg {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #c9153d;
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.text-accent {
  color: var(--red);
}

.text-gray {
  color: var(--text-gray);
}

.text-white {
  color: var(--white);
}

.text-center {
  text-align: center;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-clamp-lg {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.text-logo {
  font-size: 1.5rem;
}

.fw-600 {
  font-weight: 600;
}

.fw-bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.tracking-wide {
  letter-spacing: 2px;
}

.bg-card {
  background-color: var(--bg-card);
}

.bg-dark {
  background-color: #1a1a1a;
}

.bg-dark-blue {
  background-color: var(--dark-blue);
}

.border-t {
  border-top: 1px solid var(--border-color);
}

.border-b {
  border-bottom: 1px solid var(--border-color);
}

.border-t-accent {
  border-top: 2px solid var(--red);
}

.list-none {
  list-style: none;
}

.pl-0 {
  padding-left: 0;
}

.mr-sm {
  margin-right: 0.5rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: 1rem;
}

.mt-sm {
  margin-top: 1rem;
}

/* Utility classes for spacing specific to home */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}


.pb-0 {
  padding-bottom: 0;
}

.pb-xl {
  padding-bottom: 6rem;
}

.z-60 {
  z-index: 60;
}

.d-block {
  display: block;
}

.w-24 {
  width: 24px;
}

.w-full {
  width: 100%;
}

.h-24 {
  height: 24px;
}

.h-180 {
  height: 180px;
}

.ml-auto {
  margin-left: auto;
}

.max-w-400 {
  max-width: 400px;
}

.max-w-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.max-w-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.max-w-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.img-bg-cover {
  background-size: cover;
  background-position: center;
}

.img-wrapper-base {
  min-height: 400px;
  border-radius: 12px;
}

.min-h-500 {
  min-height: 500px;
  border-radius: 12px;
}

.img-wrapper-center {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
}

.translate-y-40 {
  transform: translateY(40px);
}

@media (min-width: 768px) {
  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }
}

/* Specific Header & Footer Layouts */
.top-bar {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-header {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:hover {
  color: var(--red);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s linear;
  transform-origin: 1px;
}

.mobile-only-btn {
  display: none;
}

.desktop-only-btn {
  display: inline-flex;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.mobile-menu-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 0.75rem;
  }

  .top-bar .container {
    justify-content: center;
  }

  .top-bar-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--dark-blue);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 50;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.25rem;
    padding: 0.5rem 0;
  }

  .mobile-only-btn {
    display: inline-flex;
    margin-top: 2rem;
  }

  .desktop-only-btn {
    display: none;
  }

  /* Hamburger Animation */
  .mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
}

.footer {
  background-color: var(--bg-darker);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-gray);
  font-size: 0.875rem;
}