/* === BASE STYLES === */:root {
      --electric-cyan: #00f0ff;
      --neon-pink: #ff006e;
      --deep-violet: #1a0033;
      --rich-purple: #2d0a4e;
      --midnight: #0a0014;
      --accent-orange: #ff6b35;
      --text-light: #e8e8ff;
      --text-muted: #b4b4d4;
      --card-bg: rgba(45, 10, 78, 0.4);
      --card-border: rgba(0, 240, 255, 0.15);
    }

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

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

    body {
      font-family: 'Space Grotesk', sans-serif;
      background: linear-gradient(135deg, var(--midnight) 0%, var(--rich-purple) 50%, var(--deep-violet) 100%);
      color: var(--text-light);
      line-height: 1.6;
      overflow-x: hidden;
    }

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

    h1 {
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      background: linear-gradient(135deg, var(--electric-cyan), var(--neon-pink));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    h2 {
      font-size: clamp(2rem, 4vw, 3.5rem);
      color: var(--electric-cyan);
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    h3 {
      font-size: clamp(1.5rem, 3vw, 2rem);
      color: var(--text-light);
    }

    p, li {
      font-size: 1.05rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

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

    a:hover {
      color: var(--neon-pink);
    }

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .btn {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      padding: 16px 40px;
      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;
      display: inline-block;
      min-width: 44px;
      min-height: 44px;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--neon-pink), var(--accent-orange));
      padding: 16px 40px;
      border-radius: 50px;
      color: white;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(255, 0, 110, 0.4);
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      border-radius: 50px;
      background: linear-gradient(135deg, var(--electric-cyan), var(--neon-pink));
      transition: left 0.4s ease;
      z-index: -1;
    }

    .btn-primary:hover {
      transform: translateY(-4px) scale(1.05);
      color: #fff;
      box-shadow: 0 12px 48px rgba(255, 0, 110, 0.6);
    }

    .btn-primary:hover::before {
      left: 0;
    }

    .card {
      background: var(--card-bg);
      backdrop-filter: blur(20px);
      border: 2px solid var(--card-border);
      border-radius: 24px;
      padding: 2.5rem;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      height: auto;
    }

    .card::before {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(135deg, var(--electric-cyan), var(--neon-pink));
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: -1;
      border-radius: 24px;
    }

    .card:hover {
      transform: translateY(-12px);
      border-color: var(--electric-cyan);
      box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
    }

    .card:hover::before {
      opacity: 0.1;
    }

    .card p {
      color: var(--text-muted);
    }

    .table-responsive {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 2rem 0;
    }

    table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      background: var(--card-bg);
      backdrop-filter: blur(20px);
      border-radius: 16px;
      overflow: hidden;
    }

    thead {
      background: linear-gradient(135deg, var(--rich-purple), var(--deep-violet));
    }

    th {
      padding: 1.25rem 1rem;
      text-align: left;
      font-weight: 700;
      color: var(--electric-cyan);
      text-transform: uppercase;
      font-size: 0.9rem;
      letter-spacing: 1px;
    }

    td {
      padding: 1.25rem 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
    }

    tbody tr {
      transition: background 0.3s ease;
    }

    tbody tr:hover {
      background: rgba(0, 240, 255, 0.05);
    }

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

    .content-image img {
      max-width: 100%;
      height: auto;
      max-height: 400px;
      object-fit: contain;
      border-radius: 16px;
      border: 2px solid var(--card-border);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

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

    .content-image.wide img {
      max-height: 300px;
      max-width: 100%;
    }

    .content-image figcaption {
      margin-top: 1rem;
      font-size: 0.95rem;
      color: var(--text-muted);
      font-style: italic;
    }

    /* === LAYOUT STYLES === */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(10, 0, 20, 0.95);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.1);
      padding: 1.25rem 0;
    }

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

    .logo a {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--electric-cyan);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .logo a:hover {
      color: var(--neon-pink);
    }

    header nav {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .nav-menu {
      display: flex;
      list-style: none;
      gap: 2rem;
      margin: 0;
      padding: 0;
      padding-left: 0;
      margin-bottom: 0;
    }

    .nav-menu li {
      margin-bottom: 0 !important;
    }

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

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

    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--electric-cyan), var(--neon-pink));
      transition: width 0.3s ease;
    }

    .nav-menu a:hover {
      color: var(--electric-cyan);
    }

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

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

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

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

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

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

    header .cta-button {
      white-space: nowrap;
    }

    footer {
      background: var(--midnight);
      border-top: 1px solid rgba(0, 240, 255, 0.1);
      padding: 4rem 0 2rem;
      margin-top: 6rem;
    }

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

    .footer-section h3, .footer-section h4 {
      color: var(--electric-cyan);
      margin-bottom: 1.5rem;
      font-size: 1.3rem;
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section li {
      margin-bottom: 0.75rem;
    }

    .footer-section a {
      color: var(--text-muted);
      transition: color 0.3s ease;
    }

    .footer-section a:hover {
      color: var(--electric-cyan);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
      font-size: 0.95rem;
    }

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

      .hamburger {
        display: flex;
      }

      header nav {
        width: 100%;
        flex-direction: column;
        display: none;
      }

      header nav.active {
        display: flex;
      }

      .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
      }

      .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }

      .nav-menu a {
        display: block;
        padding: 1rem 0;
      }

      header .cta-button {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

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

      .hero-section {
        min-height: auto;
        padding: 5rem 0;
      }

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

      h1 {
        font-size: 2.5rem;
      }

      h2 {
        font-size: 2rem;
      }

      .btn {
        padding: 14px 32px;
        font-size: 1rem;
      }

      .card, .feature-block, .tabs-container article {
        padding: 1.5rem;
      }

      .table-of-contents {
        padding: 2rem 1.5rem;
      }

      .toc-list {
        grid-template-columns: 1fr;
      }

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

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

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

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

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