    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    :root {
  
      --bg-body: #f8f9fa;
      --bg-surface: #ffffff;
      --bg-surface-alt: #f9fafb;
      --bg-header: linear-gradient(135deg, #0c1117 0%, #111827 100%);
      --bg-footer: #1f2937;
      
      --text-main: #333333;
      --text-heading: #1f2937;
      --text-secondary: #4b5563;
      --text-muted: #6b7280;
      --text-inverted: #ffffff;
      
      --border-color: #e5e7eb;
      --border-focus: #cbd5e1;
      
      --accent-primary: #4189DC;
      --accent-primary-dark: #205185;
      --accent-secondary: #174D8B;
      --accent-secondary-dark: #0b2644;
      
      --highlight-bg: #ebf8ff;
      --motivation-bg: #f0f9ff;
      
      --warning-bg: #fff7ed;
      --warning-text: #c2410c;
      
      --code-bg: #ffffff;
      --code-text: #334155;

      --scrollbar-track: #f1f1f1;
      --scrollbar-thumb: #cbd5e1;
      --scrollbar-thumb-hover: #64748b;

      
      --grid-line: rgba(0, 0, 0, 0.05);
      --grid-size: 50px;
    }

    body.dark-mode {
      
      --bg-body: #181e2b; 
      --bg-surface: #1e293b; 
      --bg-surface-alt: #111827; 
      --bg-header: #0a0f22; 
      --bg-footer: #0a0f22;
      
      --text-main: #f1f5f9; 
      --text-heading: #ffffff;
      --text-secondary: #cbd5e1;
      --text-muted: #94a3b8; 
      --text-inverted: #e2e8f0;
      
      --border-color: #334155; 
      --border-focus: #475569;
      
      --accent-primary: #4189DC; 
      --accent-primary-dark: #60a5fa;
      --accent-secondary: #1e3a8a;
      --accent-secondary-dark: #1e40af;
      
      --highlight-bg: rgba(65, 137, 220, 0.1); 
      --motivation-bg: rgba(65, 137, 220, 0.15);

      
      --warning-bg: rgba(194, 65, 12, 0.1);
      --warning-text: #fdba74;
      
      --code-bg: #0f172a;
      --code-text: #e2e8f0;

      --scrollbar-track: #0f172a;
      --scrollbar-thumb: #475569;
      --scrollbar-thumb-hover: #94a3b8;

      --grid-line: rgba(255, 255, 255, 0.07);
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      line-height: 1.6;
      color: var(--text-main);
      background-color: var(--bg-body);
      overflow-x: hidden;
      transition: background-color 0.3s ease, color 0.3s ease;
      
     
      background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
      background-size: var(--grid-size) var(--grid-size);
      background-attachment: fixed;
    }


    .interactive-link {
      color: #4189DC;
      font-weight: 600;
      text-decoration: none;
      display: inline-block; 
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .interactive-link:hover {
      color: #2b6cb0; 
      transform: scale(1.02); 
      cursor: pointer;
    }


    ::-webkit-scrollbar {
      width: 14px;
    }
    
    ::-webkit-scrollbar-track {
      background: var(--scrollbar-track);
    }
    
    ::-webkit-scrollbar-thumb {
      background: var(--scrollbar-thumb);
      border-radius: 6px;
      border: 3px solid var(--scrollbar-track); 
    }
    
    ::-webkit-scrollbar-thumb:hover {
      background: var(--scrollbar-thumb-hover); 
      border: 3px solid var(--scrollbar-track);
    }
    
  
    ::-webkit-scrollbar-thumb:active {
      background: var(--accent-primary) !important; 
      border: 3px solid var(--scrollbar-track) !important; 
    }
    

    html {
      scrollbar-width: thin;
      scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    }


    .reveal {
      position: relative;
      transform: translateY(50px);
      opacity: 0;
      transition: all 0.8s ease-out;
    }

    .reveal.active {
      transform: translateY(0);
      opacity: 1;
    }
    
    .header {
      background: var(--bg-header);
      color: var(--text-inverted);
      padding: 40px 0;
      text-align: center;
      border-bottom: 5px solid var(--accent-primary);
      position: relative; 
    }

   
    #theme-toggle {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0);
      border: 1px solid rgba(255, 255, 255, 0);
      color: white;
      padding: 8px 12px;
      border-radius: 30%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 10;
    }

    #theme-toggle:hover {
    
      transform: scale(1.1);
    }

    #theme-toggle svg {
      width: 24px;
      height: 24px;
      fill: currentColor;
    }
    
    .header-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    h1 {
      font-size: 3.5rem;
      margin-bottom: 10px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.2;
    }
    
    .tagline {
      font-size: 1.5rem;
      margin-bottom: 30px;
      color: #e2e8f0;
      font-weight: 300;
    }

    .banner-img {
        width: 100%;
        max-width: 1200px; 
        height: auto;
        border-radius: 12px;
        margin: 20px auto;
        display: block;
    }
    
    
    
    .main-content {
    
      background: transparent;
      padding: 40px 0;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    .section {
      margin-bottom: 50px;
    }
    
    h2 {
      font-size: 2.2rem;
      color: var(--text-heading);
      margin-bottom: 25px;
      padding-bottom: 15px;
      border-bottom: 3px solid var(--accent-primary);
    }
    
    h3 {
      font-size: 1.4rem;
      color: var(--text-heading);
      margin-bottom: 15px;
      margin-top: 10px;
    }
    
    p {
      margin-bottom: 20px;
      color: var(--text-secondary);
      font-size: 1.1rem;
    }
    
    .main-links {
      text-align: center;
      margin: 40px 0;
    }
    
    .main-links a {
      display: inline-block;
      color: white;
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      margin: 8px;
      transition: all 0.3s ease;
      font-size: 1.1rem;
      box-shadow: 0 4px 15px rgba(65, 137, 220, 0.3);
    }
    
    
    .main-links a:not(.primary) {
      background: var(--accent-secondary);
    }
    
    .main-links a:not(.primary):hover {
      background: var(--accent-secondary-dark);
      transform: translateY(-3px);
    }
    
 
    .main-links a.primary {
      background: var(--accent-primary);
    }
    
    .main-links a.primary:hover {
      background: var(--accent-primary-dark); 
      transform: translateY(-3px);
    }
    
    .tools {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin: 30px 0;
    }
    
    .tool {
      border: 1px solid var(--border-color);
      border-radius: 10px;
      padding: 20px;
      text-align: center;
      background: var(--bg-surface-alt);
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    .tool:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      border-color: var(--accent-primary);
    }
    
    .tool h4 {
      color: var(--text-heading);
      margin-bottom: 10px;
      font-size: 1.2rem;
    }
    
    .tool p {
      color: var(--text-secondary);
      margin-bottom: 0;
      font-size: 1rem;
    }
    
    .highlight-section {
      background: var(--highlight-bg);
      padding: 40px;
      border-radius: 10px;
      margin-bottom: 50px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
      border: 1px solid var(--border-color);
    }
    
    .highlight-section h2 {
      color: var(--text-heading);
      border-bottom: 3px solid var(--accent-primary);
    }
    
   
    .gallery {
      display: flex;
      flex-direction: column; 
      gap: 50px; 
      max-width: 1000px;
      margin: 30px auto;
    }
    
    .gallery-item {
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      background: var(--bg-surface);
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      display: flex;
      flex-direction: column;
    }
    
    .gallery-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    
    .gallery-item video {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9; 
      object-fit: contain;
      display: block;
      background-color: #000;
    }
    
 
    .gallery-item .caption {
      padding: 20px;
      text-align: center;
      color: var(--text-heading);
      font-weight: 700;
      font-size: 1.2rem;
      background: var(--bg-surface-alt);
      border-top: 1px solid var(--border-color);
    }


    .confidence-overview-list {
      list-style-type: none;
      padding-left: 10px;
    }
    
    .confidence-overview-list li {
      position: relative;
      padding-left: 25px;
      margin-bottom: 10px;
    }
    
    .confidence-overview-list li::before {
      content: "•";
      color: var(--accent-primary);
      font-weight: bold;
      position: absolute;
      left: 0;
      font-size: 1.2em;
    }

    .tiers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 25px;
      margin: 30px 0;
    }

    .tier-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border-top: 5px solid var(--accent-primary);
    }

    .tier-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .tier-card h3 {
      margin-top: 0;
      font-size: 1.25rem;
      color: var(--text-heading);
    }

    .tier-card h4 {
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 8px;
      margin-top: 15px;
    }

    .tier-card p {
      font-size: 0.95rem;
      margin-bottom: 10px;
      color: var(--text-secondary);
    }

    .tier-card ul {
      list-style-type: disc;
      padding-left: 20px;
      margin-bottom: 15px;
      color: var(--text-secondary);
      font-size: 0.95rem;
    }
    
    .tier-card ul li {
      margin-bottom: 5px;
    }


    .table-responsive {
      overflow-x: auto;
      margin-top: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .confidence-table {
      width: 100%;
      border-collapse: collapse;
      background: var(--bg-surface);
      min-width: 600px; 
    }

    .confidence-table th, 
    .confidence-table td {
      padding: 16px;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
    }

    .confidence-table th {
      background-color: #1f2937; 
      color: white;
      font-weight: 600;
      font-size: 0.9rem;
      text-transform: uppercase;
    }
    
    
    body.dark-mode .confidence-table th {
      background-color: #0f172a;
      border-bottom: 1px solid var(--accent-primary);
    }

    .confidence-table tr:nth-child(even) {
      background-color: var(--bg-surface-alt);
    }

    .confidence-table tr:hover {
      background-color: rgba(65, 137, 220, 0.1);
    }

    .confidence-table td:first-child {
      font-weight: 600;
      color: var(--text-heading);
    }

    .confidence-badge {
      display: inline-block;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 0.85rem;
      font-weight: 600;
      background: #e5e7eb;
      color: #374151;
    }
    
    body.dark-mode .confidence-badge {
       background: #334155;
       color: #f1f5f9;
    }

    .rationale {
      font-style: italic;
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--border-color);
    }



    .acknowledgement-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
    }

    
    .logo-row {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      margin-bottom: 30px;
      justify-content: center;
      align-items: center;
    }

    .ack-img {
      max-width: 350px;
      height: auto;
      margin-bottom: 25px;
      border-radius: 8px;
    }

   
    .logo-row .ack-img {
      max-width: 300px;
      max-height: 250px;
      object-fit: contain;
      margin-bottom: 0;
      border: none; 
      background: transparent;
    }

    .ack-text p {
      margin: 0 0 15px 0;
      max-width: 100%;
    }

    .ack-text strong {
      color: var(--accent-primary);
    }

    .citation-section {


  
    }

    .citation-controls {
      margin-bottom: 20px;
    }

    .citation-select {
      padding: 12px 16px;
      font-size: 1rem;
      border: 1px solid var(--border-focus);
      border-radius: 8px;
      background-color: var(--bg-surface);
      color: var(--text-heading);
      outline: none;
      width: 100%;
      max-width: 300px;
      cursor: pointer;
      transition: border-color 0.2s;
    }

    .citation-select:focus {
      box-shadow: 0 0 0 3px rgba(65, 137, 220, 0.1);
    }

    .citation-box {
      background: var(--code-bg);
      border: 1px solid var(--border-focus);
      padding: 20px;
      border-radius: 6px;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      color: var(--code-text);
      margin-bottom: 20px;
      position: relative;
      line-height: 1.8;
    }

    .citation-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .action-btn {
      padding: 10px 20px;
      border-radius: 6px;
      font-weight: 600;
      text-decoration: none;
      font-size: 0.95rem;
      cursor: pointer;
      border: none;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-primary {
      background-color: var(--accent-primary);
      color: white;
    }

    .btn-primary:hover {
      background-color: var(--accent-primary-dark);
      transform: translateY(-1px);
    }

    .btn-secondary {
      background-color: var(--bg-surface-alt);
      color: var(--text-heading);
      border: 1px solid var(--border-color);
    }

    .btn-secondary:hover {
      background-color: var(--border-color);
      transform: translateY(-1px);
    }
    
    footer {
      background: var(--bg-footer);
      color: var(--text-inverted);
      padding: 20px 0;
      margin-top: 0;
    }
    
    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .footer-left {
      text-align: left;
      flex: 1;
    }
    
    .footer-center {
      text-align: center;
      flex: 1;
    }
    
    .footer-right {
      text-align: right;
      flex: 1;
    }
    
    footer p {
      color: #e5e7eb;
      margin-bottom: 0;
      font-size: 1rem;
    }
    
    footer a {
      color: #ffffff;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s ease;
    }
    
    footer a:hover {
      color: #e2e8f0;
      text-decoration: underline;
    }
    
    .heart {
      color: #e53e3e;
    }
    
    .maroon {
      color: #e14242;
    }
    
    .motivation {
      background: var(--motivation-bg);
      padding: 25px;
      border-radius: 10px;
      margin: 25px 0;
      border-left: 5px solid var(--motivation-border);
      font-style: italic;
      color: var(--text-secondary);
    }


    .disclaimer-note {
      background: var(--warning-bg); 
      padding: 25px;
      border-radius: 10px;
      margin: 25px 0;
      border: 1px solid rgba(194, 65, 12, 0.2);
      color: var(--text-secondary);
      font-size: 1.05rem;
    }

    .disclaimer-note strong {
      color: var(--warning-text); 
      display: block;
      margin-bottom: 5px;
    }
    
 
    body:not(.dark-mode) .moon-icon { display: none; }
    body.dark-mode .sun-icon { display: none; }

    
    @media (max-width: 900px) {
      h1 {
        font-size: 3rem;
      }
      .tools {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      }
      .gallery {
        max-width: 100%;
      }
   
      .ack-img {
        max-width: 300px;
      }
      
      .tiers-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      h1 {
        font-size: 2.5rem;
      }
      
      .tagline {
        font-size: 1.2rem;
      }
      
      
      
      .tools {
        grid-template-columns: 1fr;
      }
      
      .header {
        padding: 30px 0;
      }
      
      .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
      }
      
      .footer-left, .footer-center, .footer-right {
        text-align: center;
      }

      #theme-toggle {
        top: 15px;
        right: 15px;
      }

      .ack-img {
        max-width: 250px;
      }
    }

    @media (max-width: 480px) {
      h1 {
        font-size: 2rem;
      }
      
      h2 {
        font-size: 1.8rem;
      }
      
      .banner-img {
        border-radius: 8px;
      }
      
      .main-links a {
        display: block;
        width: 100%;
        margin: 10px 0;
      }
      

      .ack-img {
        max-width: 200px;
      }
    }