/* === BASE STYLES === */:root {
      --primary: #20583d;
      --secondary: #163827;
      --tertiary: #112b1e;
      --accent: #dea65c;
      --dark: #1e1824;
      --dark-light: #2a2230;
      --dark-card: #2a2230;
      --dark-lighter: #352d3c;
      --border-color: rgba(255, 255, 255, 0.1);
      --text: #E8E9F3;
      --text-primary: #E8E9F3;
      --text-muted: #A0A3BD;
      --success: #20583d;
      --gradient-primary: linear-gradient(135deg, #20583d 0%, #163827 100%);
      --gradient-secondary: linear-gradient(135deg, #163827 0%, #112b1e 100%);
      --gradient-accent: linear-gradient(135deg, #dea65c 0%, #c8954a 100%);
    }

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

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

    body {
      font-family: 'Space Grotesk', sans-serif;
      background: var(--dark);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
      font-weight: 600 !important;
      line-height: 1.3;
      margin-bottom: 1.5rem;
    }

    h1 {
      font-size: clamp(2rem, 4vw, 3rem) !important;
      color: var(--text) !important;
    }

    h2 {
      font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
      color: var(--text) !important;
    }

    h3 {
      font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
      color: var(--text) !important;
    }

    p {
      margin-bottom: 1.5rem;
      color: var(--text-muted);
    }

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

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

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

    .btn {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      padding: 16px 40px;
      border-radius: 50px;
      border: none;
      font-size: 1.1rem;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      text-decoration: none;
      display: inline-block;
      position: relative;
      overflow: hidden;
      min-height: 44px;
      text-align: 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: var(--gradient-accent);
      color: var(--dark);
      box-shadow: 0 10px 40px rgba(222, 166, 92, 0.4);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 50px rgba(222, 166, 92, 0.6);
    }

    .btn-secondary {
      background: var(--gradient-secondary);
      color: var(--dark);
      box-shadow: 0 10px 40px rgba(32, 88, 61, 0.4);
    }

    .btn-secondary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 50px rgba(32, 88, 61, 0.6);
    }

    .card {
      background: var(--dark-light);
      border-radius: 20px;
      padding: 2.5rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

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

    .card:hover {
      transform: translateY(-10px);
      border-color: rgba(222, 166, 92, 0.5);
      box-shadow: 0 20px 60px rgba(222, 166, 92, 0.3);
    }

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

    .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: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .hero-section .content-image img {
      border-radius: 12px !important;
      box-shadow: none !important;
    }

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

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

    .hero-section .content-image.wide img {
      border-radius: 12px !important;
      box-shadow: none !important;
    }

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

    .table-responsive {
      overflow-x: auto;
      margin: 2rem 0;
      border-radius: 20px;
      background: var(--dark-light);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

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

    th {
      padding: 1.5rem 1rem;
      text-align: left;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      color: var(--text);
      font-size: 0.95rem;
    }

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

    tbody tr {
      transition: all 0.3s ease;
    }

    tbody tr:hover {
      background: rgba(222, 166, 92, 0.1);
    }

    .cta-button {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      padding: 16px 40px;
      border-radius: 50px;
      background: var(--gradient-accent);
      color: var(--dark);
      text-decoration: none;
      display: inline-block;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 10px 40px rgba(222, 166, 92, 0.4);
      position: relative;
      overflow: hidden;
      min-height: 44px;
      text-align: center;
    }

    .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(-3px) scale(1.05);
      box-shadow: 0 15px 50px rgba(222, 166, 92, 0.6);
      color: var(--dark);
    }

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

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

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

    .logo {
      text-decoration: none;
      display: inline-block;
    }

    .logo-text {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1.75rem;
      color: var(--text);
      display: inline-block;
      transition: all 0.3s ease;
      letter-spacing: 0.02em;
      position: relative;
    }

    .logo-accent {
      color: var(--primary);
      position: relative;
    }

    .logo:hover .logo-text {
      color: var(--secondary);
    }

    .logo:hover .logo-accent {
      color: var(--accent);
    }

    .main-nav {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .nav-list {
      display: flex;
      list-style: none;
      gap: 2.5rem;
      align-items: center;
    }

    .nav-list a {
      font-weight: 600;
      color: var(--text);
      position: relative;
      padding: 0.5rem 0;
      transition: color 0.3s ease;
    }

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

    .nav-list a:hover {
      color: var(--primary);
    }

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

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px;
      z-index: 1001;
      position: relative;
    }

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

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

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

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

    header .cta-button {
      padding: 12px 30px;
      font-size: 1rem;
      white-space: nowrap;
    }

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

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

    .footer-section h3 {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

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

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

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

    .footer-nav a:hover {
      color: var(--secondary);
    }

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

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

      .logo {
        order: 1;
      }

      .logo-text {
        font-size: 1.5rem;
      }

      .hamburger {
        display: flex !important;
        order: 2;
        visibility: visible;
        opacity: 1;
      }

      .main-nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      .main-nav.active {
        max-height: 400px;
      }

      .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
      }

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

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

      header .cta-button {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        max-width: 200px;
        text-overflow: ellipsis;
        overflow: hidden;
      }

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

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

      .logo {
        order: 1;
      }

      .logo-text {
        font-size: 1.5rem;
      }

      .hamburger {
        display: flex !important;
        order: 2;
        visibility: visible;
        opacity: 1;
      }

      .main-nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      .main-nav.active {
        max-height: 400px;
      }

      .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
      }

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

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

      header .cta-button {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        max-width: 200px;
        text-overflow: ellipsis;
        overflow: hidden;
      }

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

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

      h1 {
        font-size: 2rem;
      }

      h2 {
        font-size: 1.75rem;
      }

      .btn, .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
      }

      .card {
        padding: 1.5rem;
      }

      .timeline-item, .highlight-box {
        padding: 1.5rem;
      }

      .timeline-item::before {
        left: -15px;
      }

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

      section {
        padding: 3rem 0;
      }

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

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

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