
/* Base Styles */
:root {
  --background: rgb(10, 10, 15);
  --foreground: rgb(250, 250, 250);
  --card: rgb(15, 15, 20);
  --card-foreground: rgb(250, 250, 250);
  --primary: rgb(230, 0, 0);
  --primary-foreground: rgb(250, 250, 250);
  --secondary: rgb(0, 200, 255);
  --secondary-foreground: rgb(250, 250, 250);
  --muted: rgb(40, 40, 45);
  --muted-foreground: rgb(165, 165, 170);
  --border: rgb(40, 40, 45);
  --radius: 0.5rem;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.5;
}

/* Layout Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-6 {
  padding: 1.5rem;
}

.pt-28 {
  padding-top: 7rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.min-h-screen {
  min-height: 100vh;
}

.min-h-\[80vh\] {
  min-height: 80vh;
}

.w-full {
  width: 100%;
}

.w-2 {
  width: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-12 {
  width: 3rem;
}

.w-24 {
  width: 6rem;
}

.h-2 {
  height: 0.5rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-24 {
  height: 6rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-t-lg {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.6);
}

.bg-black\/80 {
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-black\/95 {
  background-color: rgba(0, 0, 0, 0.95);
}

.bg-black\/30 {
  background-color: rgba(0, 0, 0, 0.3);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-card\/60 {
  background-color: rgba(15, 15, 20, 0.6);
}

.bg-primary\/20 {
  background-color: rgba(230, 0, 0, 0.2);
}

.bg-transparent {
  background-color: transparent;
}

.bg-card {
  background-color: var(--card);
}

.bg-green-500 {
  background-color: rgb(34, 197, 94);
}

.bg-red-500 {
  background-color: rgb(239, 68, 68);
}

.bg-yellow-500 {
  background-color: rgb(234, 179, 8);
}

.text-white {
  color: rgb(255, 255, 255);
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-white\/60 {
  color: rgba(255, 255, 255, 0.6);
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.5);
}

.text-primary\/80 {
  color: rgba(230, 0, 0, 0.8);
}

.text-secondary {
  color: var(--secondary);
}

.text-green-400 {
  color: rgb(74, 222, 128);
}

.text-red-400 {
  color: rgb(248, 113, 113);
}

.text-yellow-400 {
  color: rgb(250, 204, 21);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-center {
  text-align: center;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.overflow-hidden {
  overflow: hidden;
}

.fixed {
  position: fixed;
}

.z-50 {
  z-index: 50;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}
/* Navbar visuals */
#navbar {
  transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

#navbar a {
  transition: color 0.2s ease;
}

#mobile-menu {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.2s;
}

.bn-gradient-text {
  background-image: linear-gradient(to bottom, #e60000, #ff3333, #00c8ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.bn-gradient-button {
  background-image: linear-gradient(to right, #e60000, #a80000);
  color: white;
  border: none;
  cursor: pointer;
}

.bn-gradient-button:hover {
  background-image: linear-gradient(to right, #a80000, #e60000);
}

.bn-card {
  background-color: rgba(15, 15, 20, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modernized global look and feel */
.bn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.bn-section-title {
  position: relative;
  display: inline-block;
}

.bn-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: linear-gradient(90deg, rgba(230,0,0,0.9), rgba(0,200,255,0.9));
  border-radius: 9999px;
}

/* Section paddings and consistent spacing */
section {
  scroll-margin-top: 80px;
}

.muted-text {
  color: rgba(255,255,255,0.7);
}

/* Links */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buttons */
.button {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: var(--card);
  color: white;
}

.button:hover {
  background-color: rgba(255,255,255,0.06);
}

.bn-hero {
  background-image: radial-gradient(circle at 50% 50%, rgba(230, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%),
              radial-gradient(circle at 80% 20%, rgba(0, 200, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  background-color: var(--background);
}

/* Subtle animated gradient accent in hero */
.bn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 200px at 20% -10%, rgba(230,0,0,0.08), transparent 60%),
              radial-gradient(500px 180px at 90% 10%, rgba(0,200,255,0.08), transparent 60%);
}

.uk-skyline {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M0,0 L0,60 L50,60 L60,40 L70,60 L80,50 L100,70 L120,60 L140,80 L160,70 L180,50 L200,60 L240,40 L260,60 L280,50 L300,40 L320,60 L340,50 L360,60 L380,40 L400,60 L450,30 L460,60 L500,50 L520,40 L540,60 L560,50 L580,60 L590,40 L610,60 L640,50 L660,30 L680,50 L700,60 L720,40 L740,60 L760,50 L790,70 L810,50 L820,60 L840,50 L860,60 L880,50 L900,40 L920,60 L940,50 L950,60 L960,40 L980,60 L1000,50 L1020,60 L1040,40 L1060,60 L1080,50 L1100,60 L1120,40 L1150,60 L1180,40 L1200,60 L1200,0 Z" fill="%23e60000" opacity="0.3"/></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100px;
}

/* Toast notification styles */
#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
}

.toast {
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
  color: white;
  max-width: 350px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.error {
  background-color: rgb(220, 53, 69);
}

.toast.success {
  background-color: rgb(22, 163, 74);
}

.toast.info {
  background-color: rgb(59, 130, 246);
}

.toast-content {
  flex-grow: 1;
}

.toast-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Responsive utilities */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:block {
    display: block;
  }
  
  .md\:mt-0 {
    margin-top: 0;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
  
  .lg\:hidden {
    display: none;
  }
  
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* ========================= */
/* New layout and components */
/* ========================= */

/* Navbar */
.bn2-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bn2-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bn2-navlinks a {
  color: rgba(255,255,255,0.8);
  margin-left: 1rem;
}

.bn2-navlinks a:hover { color: white; }

.bn2-cta {
  background: linear-gradient(90deg, #e60000, #a80000);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 700;
}

.bn2-cta:hover { filter: brightness(1.1); }

/* Hero */
.bn2-hero {
  position: relative;
  padding: 8rem 0 4rem 0;
  background: radial-gradient(1200px 500px at -10% -20%, rgba(230,0,0,0.12), transparent 60%),
              radial-gradient(900px 400px at 110% 0%, rgba(0,200,255,0.12), transparent 60%),
              var(--background);
}

.bn2-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .bn2-hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.bn2-hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.25rem;
}

.bn2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,200,255,0.18);
  border: 1px solid rgba(0,200,255,0.3);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
}

/* Features */
.bn2-features {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(15,15,20,0.6), transparent);
}

.bn2-feature-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0,1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .bn2-feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

.bn2-feature {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
  border-radius: 0.75rem;
}

.bn2-feature h3 { margin-bottom: 0.25rem; }
.bn2-feature p { color: rgba(255,255,255,0.7); }

/* Accordion (Rules) */
.bn2-accordion {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
}

.bn2-accordion-item + .bn2-accordion-item { border-top: 1px solid rgba(255,255,255,0.06); }

.bn2-accordion-header {
  width: 100%;
  background: transparent;
  color: white;
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  padding-right: 2rem;
}

.bn2-accordion-header::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.25s ease;
}

.bn2-accordion-item.active .bn2-accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.bn2-accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, padding 0.25s ease;
}

.bn2-accordion-item.active .bn2-accordion-panel {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 0.75rem 1.25rem 1rem 1.25rem;
}

/* Staff badges */
.bn2-staff {
  display: grid;
  grid-template-columns: repeat(1,minmax(0,1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .bn2-staff { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

.bn2-staff-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.9rem;
  border-radius: 9999px;
}

.bn2-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(230,0,0,0.2);
}

.bn2-role { color: rgba(0,200,255,0.9); font-weight: 700; }

/* Join timeline */
.bn2-timeline {
  position: relative;
}

.bn2-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(0,200,255,0.9), rgba(230,0,0,0.9));
}

.bn2-step {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
}

.bn2-step::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: rgba(0,200,255,0.95);
  box-shadow: 0 0 0 4px rgba(0,200,255,0.25);
}

/* Footer */
.bn2-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.6);
}
