/* === BASE STYLES === */:root {
  --primary: #b70132;
  --secondary: #1f5eb3;
  --accent: #b70132;
  --dark: #010101;
  --light: #F8F9FA;
  --gradient-1: linear-gradient(135deg, #b70132 0%, #d91a4a 100%);
  --gradient-2: linear-gradient(135deg, #1f5eb3 0%, #4a7fc7 100%);
  --gradient-3: linear-gradient(135deg, #b70132 0%, #1f5eb3 100%);
  --shadow-sm: 0 2px 8px rgba(183, 1, 50, 0.15);
  --shadow-md: 0 8px 24px rgba(183, 1, 50, 0.25);
  --shadow-lg: 0 16px 48px rgba(183, 1, 50, 0.35);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
}

.container {
  max-width: 1320px;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  color: var(--light);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--secondary);
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--accent);
}

p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: rgba(248, 249, 250, 0.9);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  color: rgba(248, 249, 250, 0.85);
}

.btn {
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: #000104;
  color: white;
  border: 2px solid white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
  background: #fefefe;
  color: #000104;
  border-color: #000104;
}

.btn-success {
  background: #fefefe;
  color: #000104;
  border: 2px solid #000104;
  box-shadow: var(--shadow-md);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #000104;
  color: white;
  border-color: white;
}

.cta-button {
  position: relative;
  z-index: 1;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(31, 94, 179, 0.3);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  height: auto;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  background: rgba(31, 94, 179, 0.1);
}

.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.table {
  margin: 0;
  color: var(--light);
}

.table th {
  background: rgba(183, 1, 50, 0.2);
  border-color: rgba(183, 1, 50, 0.3);
  padding: 1rem;
}

.table td {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.content-image {
  max-width: 100%;
  margin: 1.5rem auto;
  text-align: center;
}

.content-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid rgba(31, 94, 179, 0.3);
  box-shadow: var(--shadow-md);
}

.content-image.portrait img {
  max-height: 350px;
  max-width: 300px;
}

.content-image.wide {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.content-image.wide img {
  width: 100%;
  max-height: none;
  max-width: 100%;
  object-fit: cover;
}

.content-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* === LAYOUT STYLES === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000000;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(31, 94, 179, 0.2);
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--secondary);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--secondary);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  color: var(--light);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-2);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.header-content .cta-button {
  white-space: nowrap;
  max-width: 200px;
  text-overflow: ellipsis;
}

.site-footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 2px solid rgba(31, 94, 179, 0.2);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-nav h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-section p {
  font-size: 0.95rem;
  color: rgba(248, 249, 250, 0.7);
}

.copyright,
.disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.6);
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .site-header {
    padding: 0.75rem 0 0.5rem;
  }

  .header-content {
    flex-wrap: wrap;
    position: relative;
  }
  
  .site-header {
    position: relative;
  }
  
  .main-nav {
    position: static;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-menu.active {
    max-height: 500px;
    padding: 1rem 0;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-menu.active {
    max-height: 500px;
    padding: 1rem 0;
    opacity: 1;
    visibility: visible;
  }

  .logo {
    order: 1;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .main-nav {
    order: 3;
    width: auto;
  }

  .header-content .btn-primary,
  .header-content .cta-button {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu a {
    font-size: 1.5rem;
    padding: 1rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 0.75rem 0 0.5rem;
  }

  .header-content {
    flex-wrap: wrap;
    position: relative;
  }
  
  .site-header {
    position: relative;
  }
  
  .main-nav {
    position: static;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-menu.active {
    max-height: 500px;
    padding: 1rem 0;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-menu.active {
    max-height: 500px;
    padding: 1rem 0;
    opacity: 1;
    visibility: visible;
  }

  .logo {
    order: 1;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .main-nav {
    order: 3;
    width: auto;
  }

  .header-content .btn-primary,
  .header-content .cta-button {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu a {
    font-size: 1.5rem;
    padding: 1rem 0;
  }

  .header-content .cta-button {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 3rem 0 2rem;
  }

  section {
    padding: 2.5rem 0;
  }

  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .table-of-contents nav ul {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .accordion-header {
    font-size: 1.1rem;
    padding: 1.25rem;
  }

  .tab-content {
    padding: 1.5rem;
  }
}