/* === BASE STYLES === */:root {
  --primary: #f9ff01;
  --secondary: #041f56;
  --accent: #f9ff01;
  --dark: #000000;
  --light: #F8F9FF;
  --gradient-1: linear-gradient(135deg, #f9ff01 0%, #041f56 100%);
  --gradient-2: linear-gradient(135deg, #041f56 0%, #f9ff01 100%);
  --gradient-accent: linear-gradient(135deg, #f9ff01 0%, #e6ec01 100%);
  --shadow-sm: 0 2px 8px rgba(249, 255, 1, 0.15);
  --shadow-md: 0 8px 24px rgba(249, 255, 1, 0.25);
  --shadow-lg: 0 16px 48px rgba(249, 255, 1, 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', Roboto, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 1320px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

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

h1 {
  font-size: clamp(36px, 5vw, 72px);
  color: #f9ff01;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  color: var(--light);
}

h3 {
  font-size: clamp(24px, 3vw, 40px);
  color: var(--primary);
}

h4 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--light);
}

p {
  margin-bottom: 1.25rem;
  color: rgba(248, 249, 255, 0.85);
}

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

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

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

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

strong {
  color: var(--primary);
  font-weight: 600;
}

em {
  color: rgba(248, 249, 255, 0.7);
}

.btn {
  padding: 16px 40px;
  font-size: 18px;
  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-width: 200px;
  display: inline-block;
  text-align: center;
  touch-action: manipulation;
}

.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: #1000b3;
  color: #f9ff01;
  border: 2px solid #f9ff01;
  box-shadow: 0 8px 24px rgba(249, 255, 1, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(249, 255, 1, 0.6);
  background: #0d0090;
}

.cta-button {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border: 2px solid #f9ff01;
  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;
  display: inline-block;
  text-align: center;
  background: #1000b3;
  color: #f9ff01;
  box-shadow: 0 8px 24px rgba(249, 255, 1, 0.4);
  touch-action: manipulation;
  min-height: 44px;
  min-width: 44px;
}

.cta-button::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;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(249, 255, 1, 0.6);
  color: #f9ff01;
  background: #0d0090;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(249, 255, 1, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card:hover::before {
  transform: scaleX(1);
}

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

.content-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(249, 255, 1, 0.2);
}

.content-image.portrait img {
  max-height: 350px;
  object-fit: contain;
}

.content-image.wide img {
  max-height: 500px;
  object-fit: cover;
}

.content-image figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.7;
  font-style: italic;
}

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

thead {
  background: var(--gradient-1);
}

th {
  padding: 1.25rem;
  text-align: left;
  font-weight: 700;
  color: var(--dark);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

td {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(249, 255, 1, 0.1);
  color: var(--light);
}

tbody tr {
  transition: all 0.3s ease;
}

tbody tr:hover {
  background: rgba(249, 255, 1, 0.08);
}

.highlight-box {
  background: rgba(4, 31, 86, 0.2);
  border-left: 4px solid var(--secondary);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.info-card {
  background: rgba(249, 255, 1, 0.1);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(249, 255, 1, 0.2);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  position: relative;
  user-select: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 2rem;
  font-size: 28px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-header:hover {
  background: rgba(249, 255, 1, 0.08);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2rem;
}

.accordion-item.active .accordion-body {
  max-height: 1000px;
  padding: 0 2rem 2rem;
}

/* === LAYOUT STYLES === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249, 255, 1, 0.2);
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

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

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  align-items: center;
}

.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: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

footer {
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(249, 255, 1, 0.2);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

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

.footer-section h3, .footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 20px;
}

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

.footer-nav a {
  color: rgba(248, 249, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(249, 255, 1, 0.1);
  color: rgba(248, 249, 255, 0.5);
}

@media (max-width: 991px) {
  header .container {
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  .logo {
    order: 1;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20rem 2rem 2rem;
    gap: 1rem;
    transition: left 0.4s ease;
    border-right: 1px solid rgba(249, 255, 1, 0.2);
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-size: 18px;
    width: 100%;
    padding: 12px 0;
  }

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

@media (max-width: 767px) {
  header {
    padding: 1rem 0;
  }

  .logo img {
    height: 40px;
  }
}

@media (max-width: 991px) {
  header .container {
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  .logo {
    order: 1;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20rem 2rem 2rem;
    gap: 1rem;
    transition: left 0.4s ease;
    border-right: 1px solid rgba(249, 255, 1, 0.2);
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-size: 18px;
    width: 100%;
    padding: 12px 0;
  }

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

@media (max-width: 767px) {
  header {
    padding: 1rem 0;
  }

  .logo img {
    height: 40px;
  }
}

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

  .hero-section {
    padding: 4rem 0 3rem;
  }

  .hero-section::before,
  .hero-section::after {
    width: 300px;
    height: 300px;
  }

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

  .card {
    padding: 1.5rem;
  }

  .text-block,
  .feature-block,
  .numbered-list,
  .promo-block {
    padding: 1.5rem;
  }

  th, td {
    padding: 0.75rem;
    font-size: 14px;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .accordion-header {
    padding: 1rem 1.5rem;
    font-size: 18px;
  }

  .accordion-header::after {
    right: 1.5rem;
  }

  .accordion-body {
    padding: 0 1.5rem;
  }

  .accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.5rem;
  }
}