:root {
        color-scheme: light;
      }
      html.dark {
        color-scheme: dark;
      }
      body {
        background-color: #fff;
        background-image: none;
        background-attachment: fixed;
        color: #0f172a;
        overflow-x: hidden;
      }
      html.dark body {
        background-color: #090d16;
        background-image:
          radial-gradient(ellipse at 15% 0%, rgba(34, 197, 94, 0.1), transparent 34rem),
          radial-gradient(ellipse at 90% 30%, rgba(239, 68, 68, 0.055), transparent 30rem);
        color: #f1f5f9;
      }
      button,
      a,
      input,
      select {
        -webkit-tap-highlight-color: transparent;
      }
      :focus-visible {
        outline: 2px solid #22c55e;
        outline-offset: 3px;
      }
      .glass-panel {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(14px);
        border: 1px solid rgba(15, 23, 42, 0.1);
      }
      html.dark .glass-panel {
        background: rgba(17, 24, 39, 0.78);
        border-color: rgba(255, 255, 255, 0.08);
      }
      .glass-card {
        background: linear-gradient(
          145deg,
          rgba(255, 255, 255, 0.96),
          rgba(248, 250, 252, 0.98)
        );
        border: 1px solid rgba(15, 23, 42, 0.08);
        transition:
          transform 0.25s ease,
          border-color 0.2s ease,
          box-shadow 0.25s ease,
          background 0.25s ease;
      }
      html.dark .glass-card {
        background: linear-gradient(
          145deg,
          rgba(22, 32, 51, 0.85),
          rgba(13, 19, 33, 0.95)
        );
        border-color: rgba(255, 255, 255, 0.07);
      }
      .glass-card:hover {
        transform: translateY(-3px);
        border-color: rgba(34, 197, 94, 0.4);
        box-shadow: 0 18px 42px -24px rgba(34, 197, 94, 0.32);
      }
      .grid-bg {
        background-image: radial-gradient(
          rgba(15, 23, 42, 0.08) 1px,
          transparent 1px
        );
        background-size: 24px 24px;
      }
      html.dark .grid-bg {
        background-image: radial-gradient(
          rgba(34, 197, 94, 0.14) 1px,
          transparent 1px
        );
      }
      .page-section {
        display: none;
        animation: fadeSlideUp 0.28s ease-out forwards;
      }
      .page-section.active {
        display: block;
      }
      @keyframes fadeSlideUp {
        from {
          opacity: 0;
          transform: translateY(14px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .hero-chart-line {
        stroke-dasharray: 1200;
        stroke-dashoffset: 1200;
        animation: drawChart 1.8s 0.2s ease-out forwards;
      }
      .hero-chart-glow {
        animation: chartPulse 3s ease-in-out infinite;
      }
      .video-play-button {
        transition:
          transform 0.2s ease,
          background-color 0.2s ease;
      }
      .video-play-button:hover {
        transform: scale(1.08);
      }
      .video-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
      }
      .brand-mark {
        --brand-mark-size: 52px;
        position: relative;
        display: inline-flex;
        width: var(--brand-mark-size);
        height: var(--brand-mark-size);
        flex: none;
        align-items: center;
        justify-content: center;
        isolation: isolate;
      }
      .brand-mark::before,
      .brand-mark::after {
        content: "";
        position: absolute;
        border-radius: 9999px;
        pointer-events: none;
      }
      .brand-mark::before {
        inset: 7%;
        border: 1px solid rgba(56, 189, 248, 0.44);
        box-shadow:
          0 0 14px rgba(34, 197, 94, 0.16),
          inset 0 0 10px rgba(239, 68, 68, 0.1);
      }
      .brand-mark::after {
        inset: 0;
        border: 1px solid rgba(239, 68, 68, 0.3);
      }
      .brand-logo-viewport {
        position: absolute;
        inset: 15%;
        overflow: hidden;
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 24%;
        background: #fff;
        box-shadow: 0 4px 14px rgba(2, 6, 23, 0.45);
      }
      .brand-logo-image {
        position: absolute;
        left: -81%;
        top: -40%;
        width: 250%;
        max-width: none;
        height: 250%;
      }
      .brand-candle {
        position: absolute;
        z-index: 3;
        width: 7.5%;
        border-radius: 1px;
        background: currentColor;
        color: #22c55e;
        box-shadow: 0 0 8px currentColor;
        animation: candlestickMove 1.45s ease-in-out infinite alternate;
      }
      .brand-candle::before {
        content: "";
        position: absolute;
        top: -42%;
        bottom: -42%;
        left: 42%;
        width: 1px;
        background: currentColor;
      }
      .brand-candle:nth-of-type(even) {
        color: #ef4444;
        animation-duration: 1.8s;
        animation-direction: alternate-reverse;
      }
      .brand-candle:nth-of-type(3n) {
        animation-delay: -0.65s;
      }
      .brand-candle--one {
        top: 11%;
        left: 10%;
        height: 20%;
      }
      .brand-candle--two {
        top: 1%;
        left: 43%;
        height: 22%;
      }
      .brand-candle--three {
        top: 11%;
        right: 10%;
        height: 18%;
      }
      .brand-candle--four {
        right: 33%;
        bottom: 5%;
        height: 22%;
      }
      .brand-candle--five {
        bottom: 5%;
        left: 33%;
        height: 18%;
      }
      .brand-candle--six {
        top: 37%;
        right: 1%;
        height: 20%;
      }
      .brand-candle--seven {
        bottom: 37%;
        left: 1%;
        height: 20%;
      }
      .brand-mark--large {
        --brand-mark-size: 88px;
      }
      .brand-mark--small {
        --brand-mark-size: 42px;
      }
      .page-transition {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: grid;
        place-items: center;
        padding: 1.5rem;
        background: rgba(248, 250, 252, 0.94);
        backdrop-filter: blur(16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
          opacity 0.24s ease,
          visibility 0.24s ease;
      }
      .page-transition.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }
      .page-transition-card {
        display: flex;
        min-width: 220px;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 1.6rem 2rem;
        border: 1px solid rgba(34, 197, 94, 0.22);
        border-radius: 1.5rem;
        background: linear-gradient(
          145deg,
          rgba(255, 255, 255, 0.98),
          rgba(241, 245, 249, 0.98)
        );
        box-shadow:
          0 22px 80px rgba(2, 6, 23, 0.15),
          0 0 35px rgba(34, 197, 94, 0.08);
      }
      html.dark .page-transition {
        background: rgba(5, 10, 20, 0.94);
      }
      html.dark .page-transition-card {
        border-color: rgba(34, 197, 94, 0.22);
        background: linear-gradient(
          145deg,
          rgba(17, 24, 39, 0.96),
          rgba(8, 15, 29, 0.96)
        );
        box-shadow:
          0 22px 80px rgba(2, 6, 23, 0.55),
          0 0 35px rgba(34, 197, 94, 0.08);
      }
      .theme-toggle {
        display: inline-flex;
        width: 2.5rem;
        height: 2.5rem;
        flex: none;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(15, 23, 42, 0.12);
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.8);
        color: #334155;
        transition:
          background-color 0.2s ease,
          border-color 0.2s ease,
          color 0.2s ease;
      }
      .theme-toggle:hover {
        background: #f1f5f9;
      }
      .offline-download {
        position: fixed;
        left: 1.25rem;
        bottom: 1.25rem;
        z-index: 45;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0.875rem;
        padding: 0.75rem 1rem;
        background: #15803d;
        color: #fff;
        font-size: 0.8rem;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
        transition:
          background-color 0.2s ease,
          transform 0.2s ease;
      }
      .offline-download:hover {
        transform: translateY(-2px);
        background: #166534;
      }
      .offline-download svg {
        width: 1rem;
        height: 1rem;
        flex: none;
      }
      .offline-video-poster {
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        background:
          radial-gradient(ellipse at 20% 20%, rgba(34, 197, 94, 0.25), transparent 55%),
          radial-gradient(ellipse at 80% 80%, rgba(239, 68, 68, 0.2), transparent 55%),
          linear-gradient(145deg, #0f172a, #111827);
        color: #e2e8f0;
        text-align: center;
      }
      .theme-toggle svg {
        width: 1.25rem;
        height: 1.25rem;
      }
      .theme-toggle-moon,
      html.dark .theme-toggle-sun {
        display: none;
      }
      html.dark .theme-toggle {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(30, 41, 59, 0.8);
        color: #e2e8f0;
      }
      html.dark .theme-toggle:hover {
        background: #334155;
      }
      html.dark .theme-toggle-moon {
        display: block;
      }
      .page-transition-progress {
        width: 104px;
        height: 3px;
        overflow: hidden;
        border-radius: 9999px;
        background: rgba(148, 163, 184, 0.18);
      }
      .page-transition-progress span {
        display: block;
        width: 42%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #22c55e, #ef4444);
        animation: transitionProgress 0.8s ease-in-out infinite;
      }
      @keyframes candlestickMove {
        from {
          transform: translateY(2px) scaleY(0.72);
          opacity: 0.72;
        }
        to {
          transform: translateY(-2px) scaleY(1.18);
          opacity: 1;
        }
      }
      @keyframes transitionProgress {
        from {
          transform: translateX(-120%);
        }
        to {
          transform: translateX(250%);
        }
      }
      @keyframes drawChart {
        to {
          stroke-dashoffset: 0;
        }
      }
      @keyframes chartPulse {
        50% {
          opacity: 0.45;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          scroll-behavior: auto !important;
          transition-duration: 0.01ms !important;
        }
      }
      /* Custom scrollbar */
      ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
      }
      ::-webkit-scrollbar-track {
        background: #090d16;
      }
      ::-webkit-scrollbar-thumb {
        background: #1e293b;
        border-radius: 9999px;
      }
      ::-webkit-scrollbar-thumb:hover {
        background: #334155;
      }
      html:not(.dark) ::-webkit-scrollbar-track {
        background: #f1f5f9;
      }
      html:not(.dark) ::-webkit-scrollbar-thumb {
        background: #cbd5e1;
      }
      html:not(.dark) ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
      }
      html:not(.dark) [class~="text-white"] {
        color: #0f172a;
      }
      html:not(.dark) [class~="text-slate-100"],
      html:not(.dark) [class~="text-slate-200"],
      html:not(.dark) [class~="text-slate-300"] {
        color: #334155;
      }
      html:not(.dark) [class~="text-slate-400"],
      html:not(.dark) [class~="text-slate-500"] {
        color: #64748b;
      }
      html:not(.dark) [class~="text-emerald-200"],
      html:not(.dark) [class~="text-emerald-300"],
      html:not(.dark) [class~="text-emerald-400"],
      html:not(.dark) [class~="text-teal-300"] {
        color: #15803d;
      }
      html:not(.dark) [class~="text-red-200"],
      html:not(.dark) [class~="text-red-300"],
      html:not(.dark) [class~="text-red-400"],
      html:not(.dark) [class~="text-rose-300"] {
        color: #b91c1c;
      }
      html:not(.dark) [class~="bg-slate-950"],
      html:not(.dark) [class~="bg-slate-950/90"],
      html:not(.dark) [class~="bg-slate-950/80"],
      html:not(.dark) [class~="bg-slate-950/70"],
      html:not(.dark) [class~="bg-slate-950/60"],
      html:not(.dark) [class~="bg-slate-950/95"] {
        background-color: #fff;
      }
      html:not(.dark) [class~="bg-slate-900"],
      html:not(.dark) [class~="bg-slate-900/90"],
      html:not(.dark) [class~="bg-slate-900/80"] {
        background-color: #f1f5f9;
      }
      html:not(.dark) [class~="bg-slate-800"],
      html:not(.dark) [class~="bg-slate-800/80"] {
        background-color: #e2e8f0;
      }
      html:not(.dark) [class~="bg-slate-700"] {
        background-color: #cbd5e1;
      }
      html:not(.dark) [class~="bg-emerald-950/40"],
      html:not(.dark) [class~="bg-emerald-950/30"] {
        background-color: #f0fdf4;
      }
      html:not(.dark) [class~="border-white/10"],
      html:not(.dark) [class~="border-white/5"] {
        border-color: rgba(15, 23, 42, 0.12);
      }
      html:not(.dark) [class~="hover:bg-white/5"]:hover {
        background-color: rgba(15, 23, 42, 0.04);
      }
      html:not(.dark) [class~="from-emerald-950/90"] {
        --tw-gradient-from: #f0fdf4 var(--tw-gradient-from-position);
        --tw-gradient-to: rgb(240 253 244 / 0) var(--tw-gradient-to-position);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
      }
      html:not(.dark) [class~="from-emerald-950/60"] {
        --tw-gradient-from: #f0fdf4 var(--tw-gradient-from-position);
        --tw-gradient-to: rgb(240 253 244 / 0) var(--tw-gradient-to-position);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
      }
      html:not(.dark) [class~="via-slate-900"] {
        --tw-gradient-to: rgb(241 245 249 / 0) var(--tw-gradient-to-position);
        --tw-gradient-stops:
          var(--tw-gradient-from), #f1f5f9 var(--tw-gradient-via-position),
          var(--tw-gradient-to);
      }
      html:not(.dark) [class~="to-red-950/80"] {
        --tw-gradient-to: #fef2f2 var(--tw-gradient-to-position);
      }
      html:not(.dark) [class~="to-slate-950"] {
        --tw-gradient-to: #fff var(--tw-gradient-to-position);
      }
      html:not(.dark) input,
      html:not(.dark) select {
        color: #0f172a;
      }
