:root {
          --cta-bg: #FBBF24;
          --cta-text: #111827;
          --cta-border: #FBBF24;
          --accent-primary: #1E3A8A;
          --accent-secondary: #F59E0B;
          --accent-success: #10B981;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        /* ========== IMPROVED TYPOGRAPHY ========== */
        section h2 {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 800;
            margin-bottom: 1rem;
        }

        section h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 700;
        }

        /* Improved text contrast */
        .text-gray-600 {
            color: #4B5563;
        }

        .text-gray-700 {
            color: #374151;
        }

        .text-gray-800 {
            color: #1F2937;
        }

        /* ========== CONSISTENT SPACING ========== */
        main > section {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }

        @media (max-width: 768px) {
            main > section {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
        }

        #hook {
            padding-top: 8rem;
            padding-bottom: 4rem;
        }

        #analysisResultSection {
            margin-top: 3rem;
            padding-top: 2rem;
        }

        /* ========== ENHANCED BUTTONS ========== */
        .btn-cta {
           display: inline-block;
            padding: 1rem 2.5rem;
            border-radius: 9999px;
            font-weight: 700;
            text-align: center;
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        }

        .btn-cta:hover {
          filter: brightness(1.1);
          transform: translateY(-3px);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-cta:active {
          transform: translateY(-1px);
        }

         .btn-cta--solid {
            background-color: #F59E0B; /* amber-500 */
            color: #1F2937; /* gray-800 */
        }
        .btn-cta--solid:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        .btn-cta--outline {
          background-color: transparent;
          color: var(--cta-bg);
          border: 2px solid var(--cta-border);
        }

        /* ========== IMPROVED INPUT FIELDS ========== */
        #jobTitleInput {
            border: 2px solid #D1D5DB;
            font-size: 1.125rem;
            font-weight: 500;
            line-height: 1.5;
            margin-bottom: 1rem;
            transition: all 0.2s ease;
        }

        #jobTitleInput::placeholder {
            color: #6B7280;
            font-weight: 400;
        }

        #jobTitleInput:focus {
            border-color: #1E3A8A;
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
            outline: none;
        }

        #jobTitleInput:hover:not(:focus) {
            border-color: #9CA3AF;
        }

        /* ========== ENHANCED CARDS ========== */
        .hover-augment {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hover-augment:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        }

        #blog .hover-augment {
            border: 2px solid #E5E7EB;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        #blog .hover-augment:hover {
            border-color: #1E3A8A;
        }

        /* ========== TESTIMONIALS ========== */
        #testimonial-container {
            padding: 2rem;
            background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
            border-radius: 1rem;
            box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
        }

        .testimonial {
            min-height: 160px;
            display: none;
            animation: fadeIn 1.5s ease-in-out;
            flex-direction: column;
            justify-content: center;
        }

        .testimonial.active {
            display: flex;
        }

        /* ========== BALANCED LOGO GRID ========== */
        .balanced-logos {
          display: grid;
          grid-auto-flow: column;
          grid-template-rows: repeat(2, auto);
          gap: 2rem 2rem;
          justify-content: center;
          align-items: center;
        }

        @media (max-width: 640px) {
          .balanced-logos {
            grid-template-rows: repeat(3, auto);
          }
        }

        /* ========== METHODOLOGY ========== */
        .methodology-item {
            transition: all 0.3s ease;
        }

        .methodology-item h3 {
            color: var(--accent-primary);
        }

        .methodology-item:last-child h3 {
            color: var(--accent-secondary);
        }

        .methodology-details {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
        }

        .methodology-item:hover {
            background-color: #F9FAFB;
        }

        .methodology-item:hover .methodology-details {
            max-height: 200px;
            padding-top: 1rem;
            padding-bottom: 1rem;
        }

        /* ========== FAQ (HOMEPAGE) ========== */
        .border-amber-300 {
            border-color: var(--accent-secondary);
            border-width: 2px;
        }

        .faq-item {
            transition: border-color 0.2s ease;
        }

        .faq-item:hover {
            border-color: var(--accent-primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
        }

        .faq-item.open .faq-answer {
            padding-top: 0.75rem;
            padding-bottom: 1rem;
        }
        
        /* ========== FAQ PAGE SPECIFIC STYLES ========== */
        .faq-item-details {
            border: 1px solid #e5e7eb; /* gray-200 */
            border-radius: 0.75rem; /* rounded-xl */
            transition: all 0.2s ease-in-out;
        }
        .faq-item-details:hover {
            border-color: #FBBF24; /* amber-400 */
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        .faq-item-details[open] {
            border-color: #F59E0B; /* amber-500 */
        }

        .faq-question-details {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 1.25rem 1.5rem;
            font-size: 1.2rem; /* Larger than answer */
            font-weight: 500;
            cursor: pointer;
            list-style: none;
            color: var(--brand-dark);
            transition: color 0.2s ease;
        }
        .faq-question-details:hover {
            color: #a16207; /* amber-700 */
        }
        .faq-question-details::-webkit-details-marker { display: none; }

        .faq-question-details::after {
            content: '+';
            font-size: 1.75rem;
            font-weight: 300;
            color: #d1d5db; /* gray-300 */
            transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
            transform-origin: center;
        }
        .faq-item-details[open] > summary::after {
             transform: rotate(45deg);
             color: var(--accent-secondary);
        }

        .faq-answer-details {
            display: grid;
    
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            padding: 0 1.5rem;
            color: #4b5563; /* gray-600 */
            line-height: 1.8;
        }
        .faq-item-details[open] > .faq-answer-details {
            grid-template-rows: 1fr;
        }
        .faq-answer-details > div {
            overflow: hidden;
            padding-bottom: 1.25rem;
        }
        .faq-answer-details p, .faq-answer-details ul {
            font-size: 1.125rem;
        }
        
        .faq-section {
          scroll-margin-top: 96px;
        }

        /* ========== PRODUCTS SECTION ========== */
        #products ul li {
            padding-left: 0.5rem;
            line-height: 1.75;
        }

        #products ul li::marker {
            color: #F59E0B;
            font-size: 1.2em;
        }

        #products img {
            aspect-ratio: 16/9;
            object-fit: cover;
            object-position: center;
        }

        /* ========== NAVIGATION ========== */
        nav a {
            color: #4B5563;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        nav a:hover {
            color: #1E3A8A;
        }

        /* ========== ACCESSIBILITY ========== */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible {
            outline: 3px solid #1E3A8A;
            outline-offset: 2px;
        }

        .btn-cta:focus-visible {
            outline: 3px solid currentColor;
            outline-offset: 3px;
        }

         /* ========== MOBILE OPTIMIZATIONS ========== */
        @media (max-width: 640px) {
            #hook h2:first-child {
                font-size: 2.5rem;
            }
            
            #hook h2:nth-child(2) {
                font-size: 2rem;
            }
            
            #hook p {
                font-size: 1.125rem;
            }
            
            .btn-cta {
                width: 100%;
                text-align: center;
            }
            
            footer .grid {
                gap: 2rem;
            }
            
            footer nav {
                padding-left: 0;
            }

            section h2 {
                font-size: 2rem;
            }
        }

        /* ========== ANCHOR OFFSET ========== */
        section { scroll-margin-top: 88px; }

        #analysisResultSection {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
        }


      /* ========== LOADING MODAL ========== */
      #loadingModal.hidden {
        display: none;
      }

      #loadingModal {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: grid;
        place-items: center;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
      }

      #loadingModal .panel {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        color: #e2e8f0;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 1rem;
        padding: 2rem 3rem;
        min-width: 320px;
        text-align: center;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
      }

      #loadingModal .panel .flex {
        justify-content: center;
      }

      #loadingText {
        font-size: 1.125rem;
        font-weight: 500;
        letter-spacing: 0.01em;
      }

      /* ========== ANIMATIONS ========== */
      @keyframes slideUp {
        from {
          transform: translateY(50%);
          opacity: 0;
        }
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      @keyframes fadeInScale {
        from {
          opacity: 0;
          transform: scale(0.95);
        }
        to {
          opacity: 1;
          transform: scale(1);
        }
      }

      .stat-item {
        animation: slideUp 0.6s ease-out forwards;
      }
      .fade-in-scale {
        animation: fadeInScale 0.8s ease-out forwards 0.5s;
      }

      /* ========== REVEAL & PARALLAX ========== */
      .reveal-item {
        opacity: 0;
        transform: translateY(40px) scale(0.985);
        transition: opacity 0.8s ease,
          transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform, opacity;
      }

      .reveal-item.in-view {
        opacity: 1;
        transform: translateY(0) scale(1);
      }

      .parallax-img {
        transform: translateY(var(--parallax-y, 0px));
        will-change: transform;
        transition: transform 0.12s linear;
      }

      @media (prefers-reduced-motion: reduce) {
        .reveal-item {
          transition: none;
          transform: none;
          opacity: 1;
        }
        .parallax-img {
          transition: none;
          transform: none;
        }
      }

  /* ===== Prose defaults for long-form article content ===== */
  .prose { color: #374151; /* Tailwind gray-700 */ }
  .prose a { color: var(--accent-primary); text-decoration: underline; font-weight: 500; }
  .prose h2, .prose h3, .prose h4 { letter-spacing: -0.02em; scroll-margin-top: 88px; }
  .prose h2 { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2rem); font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; }
  .prose h3 { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; }
  .prose h4 { font-size: 1.125rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
  .prose p, .prose li { font-size: 1.125rem; line-height: 1.6; }

  /* Custom accent-dot bullets for lists within prose (Choice A) */
  .prose ul { list-style: none; padding-left: 0; }
  .prose ul > li { position: relative; padding-left: 1.75rem; }
  .prose ul > li::before { content: ""; position: absolute; left: 0.25rem; top: 0.65rem; width: 0.5rem; height: 0.5rem; background-color: var(--accent-primary); border-radius: 50%; }

  /* Neutral callout aligned to global palette (Choice B) */
  .callout { background-color: #F9FAFB; color: inherit; border-left: 3px solid var(--accent-primary); }

  /* TOC (chapter) link active state */
  .toc-link.active { 
      color: #b45309 !important; /* amber-700 */
      font-weight: 600; 
      border-left-color: var(--accent-secondary) !important;
      background-color: #fffbeb; /* amber-50 */
  }

  /* Hide scrollbar utility */
  .no-scrollbar { scrollbar-width: none; }
  .no-scrollbar::-webkit-scrollbar { display: none; }

  /* References block (muted, small) */
  .references { font-size: 0.875rem; color: #6B7280; }
  .references p { font-size: 0.875rem; line-height: 1.5; margin-bottom: 0.5rem; color: inherit; }

