/* ===== CSS Variables (clay.global animation kit) ===== */
    :root {
      --easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
      --easeOut: cubic-bezier(0.19, 1, 0.22, 1);
      --color-black: #06070A;
      --color-white: #FFFFFF;
      --color-blue: #2563EB;
      --color-blue-light: #60a5fa;
      --color-gray-50: #F3F4F6;
      --color-gray-100: #E6E8EB;
      --color-gray-300: #B2B8C2;
      --color-gray-400: #989FAB;
      --color-gray-500: #7F8694;
      --color-gray-600: #666C7A;
      --color-dark: #171921;
    }

    /* ===== Base Reset ===== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', system-ui, sans-serif;
      color: var(--color-black);
      background: var(--color-white);
      font-size: 1.125rem;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ===== Page Load Overlay ===== */
    .page-loader {
      position: fixed;
      inset: 0;
      background: var(--color-black);
      z-index: 9999;
      transition: opacity 0.8s var(--easeOutExpo), visibility 0.8s var(--easeOutExpo);
    }

    .page-loader.loaded {
      opacity: 0;
      visibility: hidden;
    }

    /* ===== Typography ===== */
    .heading-xl {
      font-size: clamp(2.5rem, 5vw, 5.5rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.05;
    }

    .heading-lg {
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.1;
    }

    .subtitle {
      font-size: 1.25rem;
      font-weight: 500;
      color: var(--color-gray-500);
      line-height: 1.5;
    }

    /* ===== Hero Split Text ===== */
    .split-char {
      display: inline-block;
      opacity: 0;
      transform: translateY(100%) rotate(5deg);
      transition: opacity 0.6s var(--easeOutExpo), transform 0.6s var(--easeOutExpo);
    }

    .split-char.visible {
      opacity: 1;
      transform: translateY(0) rotate(0deg);
    }

    /* ===== Navigation ===== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 80px;
      z-index: 1000;
      transition: all 0.4s var(--easeOut);
      background: transparent;
    }

    .nav.scrolled {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    .nav-link {
      font-size: 0.9375rem;
      font-weight: 500;
      color: var(--color-black);
      text-decoration: none;
      position: relative;
      padding-bottom: 4px;
    }

    /* Nav link underline draw */
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--color-blue);
      border-radius: 1px;
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s var(--easeOutExpo);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      transform: scaleX(1);
      transform-origin: left;
    }

    .nav-link:hover {
      color: var(--color-blue);
    }

    .nav-link.active {
      color: var(--color-blue);
    }

    /* ===== Buttons with arrow slide ===== */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 28px;
      background: var(--color-blue);
      color: #fff;
      border-radius: 999px;
      font-size: 0.9375rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s var(--easeOut);
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .btn-primary .btn-arrow {
      display: inline-block;
      transition: transform 0.3s var(--easeOutExpo);
    }

    .btn-primary:hover {
      background: #1d4ed8;
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    }

    .btn-primary:hover .btn-arrow {
      transform: translateX(4px);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 28px;
      background: transparent;
      color: var(--color-black);
      border: 1.5px solid #e5e7eb;
      border-radius: 999px;
      font-size: 0.9375rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s var(--easeOut);
      cursor: pointer;
    }

    .btn-outline:hover {
      border-color: var(--color-blue);
      color: var(--color-blue);
    }

    /* ===== Link Arrow Hover ===== */
    .link-arrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      position: relative;
      text-decoration: none;
      color: var(--color-blue);
      font-weight: 500;
    }

    .link-arrow::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1.5px;
      background: var(--color-blue);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s var(--easeOutExpo);
    }

    .link-arrow:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }

    .link-arrow .arrow-icon {
      transition: transform 0.3s var(--easeOutExpo);
    }

    .link-arrow:hover .arrow-icon {
      transform: translateX(4px);
    }

    /* ===== Cards ===== */
    .card {
      background: #fff;
      border-radius: 0;
      transition: all 0.4s var(--easeOut);
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    }

    /* ===== Dark Card (Mission/Vision/Values) with border glow ===== */
    .dark-card {
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 40px 32px;
      transition: all 0.4s var(--easeOut);
      position: relative;
      overflow: hidden;
    }

    .dark-card::before {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg, transparent 40%, var(--color-blue-light) 50%, transparent 60%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.5s var(--easeOut);
    }

    .dark-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-8px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 99, 235, 0.15);
    }

    .dark-card:hover::before {
      opacity: 1;
    }

    /* ===== Core Advantage Cards (clay.global hover) ===== */
    .advantage-card {
      padding: 40px 36px;
      border: 1px solid #e5e7eb;
      background: #fff;
      position: relative;
      overflow: hidden;
      transition: all 0.4s var(--easeOut);
    }

    .advantage-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--color-blue);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s var(--easeOutExpo);
    }

    .advantage-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    }

    .advantage-card:hover::before {
      transform: scaleX(1);
    }

    /* ===== Timeline ===== */
    .timeline-wrapper {
      position: relative;
      max-width: 720px;
      margin: 0 auto;
      padding-left: 40px;
    }

    .timeline-line {
      position: absolute;
      left: 5px;
      top: 0;
      width: 2px;
      height: 100%;
      background: var(--color-blue);
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 1.2s var(--easeOutExpo);
    }

    .timeline-line.animate {
      transform: scaleY(1);
    }

    .timeline-item {
      position: relative;
      padding-bottom: 48px;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s var(--easeOutExpo), transform 0.6s var(--easeOutExpo);
    }

    .timeline-item:last-child {
      padding-bottom: 0;
    }

    .timeline-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .timeline-dot {
      position: absolute;
      left: -40px;
      top: 4px;
      width: 12px;
      height: 12px;
      background: var(--color-blue);
      border-radius: 50%;
      border: 3px solid #fff;
      box-shadow: 0 0 0 2px var(--color-blue);
      transition: all 0.3s var(--easeOut);
    }

    .timeline-dot.pulse {
      animation: dotPulse 0.6s var(--easeOutExpo) forwards;
    }

    @keyframes dotPulse {
      0% { transform: scale(1); box-shadow: 0 0 0 2px var(--color-blue); }
      50% { transform: scale(1.5); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.3); }
      100% { transform: scale(1); box-shadow: 0 0 0 2px var(--color-blue); }
    }

    /* ===== Tech Pill ===== */
    .tech-pill {
      display: inline-block;
      padding: 8px 20px;
      border: 1px solid #e5e7eb;
      border-radius: 999px;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--color-gray-600);
      transition: all 0.3s var(--easeOut);
      cursor: default;
      opacity: 0;
      transform: translateY(15px);
    }

    .tech-pill.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .tech-pill:hover {
      transform: scale(1.05);
      border-color: var(--color-blue);
      color: var(--color-blue);
      background: rgba(37, 99, 235, 0.04);
    }

    /* ===== Scroll Reveal ===== */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s var(--easeOutExpo), transform 0.8s var(--easeOutExpo);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Line-by-line reveal for story paragraphs */
    .reveal-line {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s var(--easeOutExpo), transform 0.6s var(--easeOutExpo);
    }

    .reveal-line.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===== Marquee ===== */
    .marquee-track {
      display: flex;
      width: max-content;
      animation: marqueeScroll 25s linear infinite;
    }

    @keyframes marqueeScroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .marquee-item {
      display: inline-flex;
      align-items: center;
      gap: 24px;
      padding: 0 24px;
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      font-weight: 700;
      color: var(--color-gray-300);
      white-space: nowrap;
    }

    .marquee-item .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--color-blue);
      flex-shrink: 0;
    }

    /* ===== Stats Counter ===== */
    .stat-number {
      font-size: 3.5rem;
      font-weight: 800;
      color: var(--color-blue);
      line-height: 1;
      letter-spacing: -0.03em;
    }

    /* ===== Mobile Menu ===== */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(20px);
      z-index: 999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s var(--easeOut);
    }

    .mobile-menu.open {
      opacity: 1;
      pointer-events: all;
    }

    .mobile-menu a {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--color-black);
      text-decoration: none;
      transition: color 0.3s var(--easeOut);
    }

    .mobile-menu a:hover,
    .mobile-menu a.active {
      color: var(--color-blue);
    }

    /* ===== Hamburger ===== */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      z-index: 1001;
      background: none;
      border: none;
      padding: 4px;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--color-black);
      transition: all 0.3s var(--easeOut);
      border-radius: 1px;
    }

    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ===== Section Spacing ===== */
    .section {
      padding: 120px 24px;
    }

    .container-max {
      max-width: 1280px;
      margin: 0 auto;
    }

    /* ===== Parallax Image ===== */
    .parallax-img {
      transition: transform 0.1s linear;
      will-change: transform;
    }

    /* ===== Responsive ===== */
    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }

      .nav-links-desktop {
        display: none;
      }

      .section {
        padding: 80px 20px;
      }

      .timeline-wrapper {
        padding-left: 32px;
      }

      .timeline-dot {
        left: -32px;
      }

      .stat-number {
        font-size: 2.5rem;
      }
    }

    @media (min-width: 769px) {
      .mobile-menu {
        display: none !important;
      }
    }