@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap");

/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: IBM Plex Sans, system-ui, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: IBM Plex Mono, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

html {
    line-height: 1.6;
    scroll-behavior: smooth;
  }

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
  }

::-moz-selection {
    background: var(--accent);
    color: white;
  }

::selection {
    background: var(--accent);
    color: white;
  }

*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}
.container{
  width: 100%;
}
@media (min-width: 640px){

  .container{
    max-width: 640px;
  }
}
@media (min-width: 768px){

  .container{
    max-width: 768px;
  }
}
@media (min-width: 1024px){

  .container{
    max-width: 1024px;
  }
}
@media (min-width: 1280px){

  .container{
    max-width: 1280px;
  }
}
@media (min-width: 1536px){

  .container{
    max-width: 1536px;
  }
}
.pointer-events-none{
  pointer-events: none;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.sticky{
  position: sticky;
}
.inset-0{
  inset: 0px;
}
.-left-20{
  left: -5rem;
}
.bottom-0{
  bottom: 0px;
}
.left-0{
  left: 0px;
}
.right-0{
  right: 0px;
}
.right-2{
  right: 0.5rem;
}
.top-0{
  top: 0px;
}
.top-2{
  top: 0.5rem;
}
.top-full{
  top: 100%;
}
.-z-10{
  z-index: -10;
}
.z-0{
  z-index: 0;
}
.z-10{
  z-index: 10;
}
.z-50{
  z-index: 50;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.my-4{
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.my-6{
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.mb-1{
  margin-bottom: 0.25rem;
}
.mb-10{
  margin-bottom: 2.5rem;
}
.mb-12{
  margin-bottom: 3rem;
}
.mb-2{
  margin-bottom: 0.5rem;
}
.mb-3{
  margin-bottom: 0.75rem;
}
.mb-4{
  margin-bottom: 1rem;
}
.mb-6{
  margin-bottom: 1.5rem;
}
.mb-8{
  margin-bottom: 2rem;
}
.ml-4{
  margin-left: 1rem;
}
.mt-0{
  margin-top: 0px;
}
.mt-0\.5{
  margin-top: 0.125rem;
}
.mt-1{
  margin-top: 0.25rem;
}
.mt-12{
  margin-top: 3rem;
}
.mt-2{
  margin-top: 0.5rem;
}
.mt-4{
  margin-top: 1rem;
}
.mt-auto{
  margin-top: auto;
}
.block{
  display: block;
}
.inline-block{
  display: inline-block;
}
.flex{
  display: flex;
}
.inline-flex{
  display: inline-flex;
}
.table{
  display: table;
}
.grid{
  display: grid;
}
.hidden{
  display: none;
}
.h-0{
  height: 0px;
}
.h-0\.5{
  height: 0.125rem;
}
.h-12{
  height: 3rem;
}
.h-16{
  height: 4rem;
}
.h-2{
  height: 0.5rem;
}
.h-5{
  height: 1.25rem;
}
.h-6{
  height: 1.5rem;
}
.h-64{
  height: 16rem;
}
.h-8{
  height: 2rem;
}
.h-full{
  height: 100%;
}
.min-h-\[40px\]{
  min-height: 40px;
}
.min-h-screen{
  min-height: 100vh;
}
.w-1{
  width: 0.25rem;
}
.w-12{
  width: 3rem;
}
.w-16{
  width: 4rem;
}
.w-2{
  width: 0.5rem;
}
.w-40{
  width: 10rem;
}
.w-5{
  width: 1.25rem;
}
.w-6{
  width: 1.5rem;
}
.w-64{
  width: 16rem;
}
.w-8{
  width: 2rem;
}
.w-full{
  width: 100%;
}
.max-w-2xl{
  max-width: 42rem;
}
.max-w-3xl{
  max-width: 48rem;
}
.max-w-4xl{
  max-width: 56rem;
}
.max-w-5xl{
  max-width: 64rem;
}
.max-w-6xl{
  max-width: 72rem;
}
.max-w-md{
  max-width: 28rem;
}
.max-w-screen-md{
  max-width: 768px;
}
.max-w-xl{
  max-width: 36rem;
}
.flex-1{
  flex: 1 1 0%;
}
.flex-shrink-0{
  flex-shrink: 0;
}
.grow{
  flex-grow: 1;
}
.scale-105{
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scroll-mt-20{
  scroll-margin-top: 5rem;
}
.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-col{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.items-start{
  align-items: flex-start;
}
.items-center{
  align-items: center;
}
.justify-center{
  justify-content: center;
}
.justify-between{
  justify-content: space-between;
}
.gap-1{
  gap: 0.25rem;
}
.gap-1\.5{
  gap: 0.375rem;
}
.gap-2{
  gap: 0.5rem;
}
.gap-3{
  gap: 0.75rem;
}
.gap-4{
  gap: 1rem;
}
.gap-5{
  gap: 1.25rem;
}
.gap-6{
  gap: 1.5rem;
}
.gap-8{
  gap: 2rem;
}
.space-y-2 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]){
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-gray-100 > :not([hidden]) ~ :not([hidden]){
  --tw-divide-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-divide-opacity));
}
.overflow-hidden{
  overflow: hidden;
}
.overflow-x-auto{
  overflow-x: auto;
}
.whitespace-nowrap{
  white-space: nowrap;
}
.rounded{
  border-radius: 0.25rem;
}
.rounded-full{
  border-radius: 9999px;
}
.rounded-lg{
  border-radius: 0.5rem;
}
.rounded-xl{
  border-radius: 0.75rem;
}
.border{
  border-width: 1px;
}
.border-2{
  border-width: 2px;
}
.border-b{
  border-bottom-width: 1px;
}
.border-l-4{
  border-left-width: 4px;
}
.border-t{
  border-top-width: 1px;
}
.border-\[\#0D9488\]{
  --tw-border-opacity: 1;
  border-color: rgb(13 148 136 / var(--tw-border-opacity));
}
.border-\[\#0D9488\]\/20{
  border-color: rgb(13 148 136 / 0.2);
}
.border-\[\#E5E4DF\]{
  --tw-border-opacity: 1;
  border-color: rgb(229 228 223 / var(--tw-border-opacity));
}
.border-gray-100{
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity));
}
.border-gray-500{
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity));
}
.bg-\[\#0D9488\]{
  --tw-bg-opacity: 1;
  background-color: rgb(13 148 136 / var(--tw-bg-opacity));
}
.bg-\[\#0D9488\]\/10{
  background-color: rgb(13 148 136 / 0.1);
}
.bg-\[\#0D9488\]\/5{
  background-color: rgb(13 148 136 / 0.05);
}
.bg-\[\#0F766E\]\/10{
  background-color: rgb(15 118 110 / 0.1);
}
.bg-\[\#1E1E1E\]{
  --tw-bg-opacity: 1;
  background-color: rgb(30 30 30 / var(--tw-bg-opacity));
}
.bg-\[\#22c55e\]{
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity));
}
.bg-\[\#86efac\]{
  --tw-bg-opacity: 1;
  background-color: rgb(134 239 172 / var(--tw-bg-opacity));
}
.bg-\[\#8a8a8a\]{
  --tw-bg-opacity: 1;
  background-color: rgb(138 138 138 / var(--tw-bg-opacity));
}
.bg-\[\#EFEEE9\]{
  --tw-bg-opacity: 1;
  background-color: rgb(239 238 233 / var(--tw-bg-opacity));
}
.bg-\[\#F0FDFA\]{
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 250 / var(--tw-bg-opacity));
}
.bg-\[\#F7F6F3\]{
  --tw-bg-opacity: 1;
  background-color: rgb(247 246 243 / var(--tw-bg-opacity));
}
.bg-\[\#FAFAFA\]{
  --tw-bg-opacity: 1;
  background-color: rgb(250 250 250 / var(--tw-bg-opacity));
}
.bg-\[\#ef4444\]{
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity));
}
.bg-\[\#f59e0b\]{
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity));
}
.bg-gray-100{
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
.bg-white{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-gradient-to-b{
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.bg-gradient-to-r{
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-\[\#0D9488\]\/20{
  --tw-gradient-from: rgb(13 148 136 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(13 148 136 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-\[\#0D9488\]\/5{
  --tw-gradient-from: rgb(13 148 136 / 0.05) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(13 148 136 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-\[\#14B8A6\]{
  --tw-gradient-from: #14B8A6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(20 184 166 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-\[\#F0FDFA\]{
  --tw-gradient-from: #F0FDFA var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(240 253 250 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-\[\#0D9488\]{
  --tw-gradient-to: rgb(13 148 136 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #0D9488 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-\[\#0F766E\]{
  --tw-gradient-to: #0F766E var(--tw-gradient-to-position);
}
.to-transparent{
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.to-white{
  --tw-gradient-to: #fff var(--tw-gradient-to-position);
}
.p-2{
  padding: 0.5rem;
}
.p-4{
  padding: 1rem;
}
.p-5{
  padding: 1.25rem;
}
.p-6{
  padding: 1.5rem;
}
.p-8{
  padding: 2rem;
}
.px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-12{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-6{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-3{
  padding-bottom: 0.75rem;
}
.pb-6{
  padding-bottom: 1.5rem;
}
.pl-4{
  padding-left: 1rem;
}
.pt-3{
  padding-top: 0.75rem;
}
.pt-6{
  padding-top: 1.5rem;
}
.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.text-right{
  text-align: right;
}
.text-2xl{
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl{
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl{
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-\[10px\]{
  font-size: 10px;
}
.text-\[9px\]{
  font-size: 9px;
}
.text-base{
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold{
  font-weight: 700;
}
.font-medium{
  font-weight: 500;
}
.font-semibold{
  font-weight: 600;
}
.italic{
  font-style: italic;
}
.leading-relaxed{
  line-height: 1.625;
}
.leading-tight{
  line-height: 1.25;
}
.tracking-wide{
  letter-spacing: 0.025em;
}
.tracking-wider{
  letter-spacing: 0.05em;
}
.tracking-widest{
  letter-spacing: 0.1em;
}
.text-\[\#0D9488\]{
  --tw-text-opacity: 1;
  color: rgb(13 148 136 / var(--tw-text-opacity));
}
.text-\[\#0F766E\]{
  --tw-text-opacity: 1;
  color: rgb(15 118 110 / var(--tw-text-opacity));
}
.text-\[\#18181B\]{
  --tw-text-opacity: 1;
  color: rgb(24 24 27 / var(--tw-text-opacity));
}
.text-\[\#22c55e\]{
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity));
}
.text-\[\#525252\]{
  --tw-text-opacity: 1;
  color: rgb(82 82 82 / var(--tw-text-opacity));
}
.text-\[\#71717A\]{
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity));
}
.text-\[\#8a8a8a\]{
  --tw-text-opacity: 1;
  color: rgb(138 138 138 / var(--tw-text-opacity));
}
.text-\[\#9CA3AF\]{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}
.text-\[\#D4D4D4\]{
  --tw-text-opacity: 1;
  color: rgb(212 212 212 / var(--tw-text-opacity));
}
.text-\[\#ef4444\]{
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity));
}
.text-\[\#f59e0b\]{
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity));
}
.text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.underline{
  text-decoration-line: underline;
}
.opacity-0{
  opacity: 0;
}
.opacity-60{
  opacity: 0.6;
}
.opacity-\[0\.08\]{
  opacity: 0.08;
}
.shadow-lg{
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl{
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[\#0D9488\]\/15{
  --tw-shadow-color: rgb(13 148 136 / 0.15);
  --tw-shadow: var(--tw-shadow-colored);
}
.ring-1{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-2{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.blur-xl{
  --tw-blur: blur(24px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity{
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform{
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200{
  transition-duration: 200ms;
}
.duration-300{
  transition-duration: 300ms;
}

/* ============================================================================
   CSS VARIABLES
   ============================================================================ */

:root {
  --bg-primary: #f7f6f3;
  --bg-secondary: #efeee9;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #525252;
  --text-muted: #8a8a8a;
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-dark: #0f766e;
  --border: #e5e4df;
  --green: #22c55e;
  --yellow: #f59e0b;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */

/* ============================================================================
   LAYOUT
   ============================================================================ */

.page-wrapper {
  min-height: 100vh;
  position: relative;
}

.main-content {
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 512px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 48px 24px;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}

.section-title.center {
  text-align: center;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-action {
  margin-top: 24px;
}

/* ============================================================================
   GRID BACKGROUND - EXTENDS FULL PAGE
   ============================================================================ */

.grid-background {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================================
   HEADER
   ============================================================================ */

.header-blend {
  background: linear-gradient(
    180deg,
    rgba(247, 246, 243, 0.95) 0%,
    rgba(247, 246, 243, 0.85) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero-section {
  padding: 48px 24px 32px;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
}

.hero-content {
  flex: 1;
  text-align: center;
  max-width: 560px;
}

@media (min-width: 900px) {
  .hero-content {
    text-align: left;
  }
}

.hero-visual {
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-stats {
    justify-content: flex-start;
  }
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================================
   PROCESS VISUAL - CSS ANIMATIONS
   ============================================================================ */

.process-visual {
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  position: relative;
  box-shadow:
    4px 4px 16px rgba(0, 0, 0, 0.06),
    -2px -2px 8px rgba(255, 255, 255, 0.6);
}

.process-animation-wrap {
  width: 240px;
  height: 200px;
  margin: 0 auto 16px;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(13, 148, 136, 0.02) 0%,
    transparent 100%
  );
  border: 1px solid var(--border);
  overflow: hidden;
}

.step-anim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.step-anim.active {
  opacity: 1;
  pointer-events: auto;
}

.process-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.process-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.process-dot:hover {
  border-color: var(--accent);
}

.process-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.process-info {
  text-align: center;
}

.process-step-num {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.process-step-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
}

.process-step-stat {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid var(--accent);
  letter-spacing: 0.02em;
}

/* Corner accents */
.process-visual::before,
.process-visual::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent);
  border-style: solid;
}

.process-visual::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.process-visual::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* ----------------------------------------------------------------------------
   STEP 1: GLOBE ANIMATION
   ---------------------------------------------------------------------------- */

.globe-container {
  width: 120px;
  height: 120px;
  perspective: 500px;
}

.globe {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: globeRotate 8s linear infinite;
}

.globe-inner {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--accent-light),
    var(--accent),
    var(--accent-dark)
  );
  box-shadow:
    inset -10px -10px 20px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(13, 148, 136, 0.3);
}

.globe-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(13, 148, 136, 0.4);
  border-radius: 50%;
}

.globe-ring.ring-1 {
  transform: rotateX(70deg);
}

.globe-ring.ring-2 {
  transform: rotateY(70deg);
}

.globe-ring.ring-3 {
  transform: rotateX(70deg) rotateY(45deg);
}

.globe-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: globeDotPulse 2s ease-in-out infinite;
}

.globe-dot.dot-1 {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.globe-dot.dot-2 {
  top: 50%;
  right: 15%;
  animation-delay: 0.6s;
}

.globe-dot.dot-3 {
  bottom: 25%;
  left: 45%;
  animation-delay: 1.2s;
}

@keyframes globeRotate {
  from {
    transform: rotateY(0deg) rotateX(15deg);
  }
  to {
    transform: rotateY(360deg) rotateX(15deg);
  }
}

@keyframes globeDotPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* ----------------------------------------------------------------------------
   STEP 2: BOX LOADER ANIMATION (Isometric cubes)
   ---------------------------------------------------------------------------- */

.box-loader {
  --duration: 3s;
  --primary: var(--accent);
  --primary-light: var(--accent-light);
  --primary-rgba: rgba(13, 148, 136, 0);
  width: 100px;
  height: 160px;
  position: relative;
  transform-style: preserve-3d;
  transform: scale(0.5);
}

.box-loader::before,
.box-loader::after {
  --r: 20.5deg;
  content: "";
  width: 160px;
  height: 70px;
  position: absolute;
  right: 32%;
  bottom: -5px;
  background: var(--bg-card);
  transform: translateZ(100px) rotate(var(--r));
  animation: boxMask var(--duration) linear forwards infinite;
}

.box-loader::after {
  --r: -20.5deg;
  right: auto;
  left: 32%;
}

.box-loader .ground {
  position: absolute;
  left: -25px;
  bottom: -60px;
  transform-style: preserve-3d;
  transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
}

.box-loader .ground div {
  transform: rotateX(90deg) rotateY(0deg) translate(-24px, -60px)
    translateZ(50px) scale(0);
  width: 100px;
  height: 100px;
  background: var(--primary);
  background: linear-gradient(
    45deg,
    var(--primary) 0%,
    var(--primary) 50%,
    var(--primary-light) 50%,
    var(--primary-light) 100%
  );
  transform-style: preserve-3d;
  animation: boxGround var(--duration) linear forwards infinite;
}

.box-loader .ground div::before,
.box-loader .ground div::after {
  --rx: 90deg;
  --ry: 0deg;
  --x: 22px;
  --y: 81px;
  --z: -25px;
  content: "";
  width: 78px;
  height: 150px;
  opacity: 0;
  background: linear-gradient(var(--primary), var(--primary-rgba));
  position: absolute;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translate(var(--x), var(--y))
    translateZ(var(--z));
  animation: boxGroundShine var(--duration) linear forwards infinite;
}

.box-loader .ground div::after {
  --rx: 90deg;
  --ry: 90deg;
  --x: 0;
  --y: 88px;
  --z: 75px;
}

.box-loader .box {
  --x: 0;
  --y: 0;
  position: absolute;
  animation: var(--duration) linear forwards infinite;
  transform: translate(var(--x), var(--y));
}

.box-loader .box div {
  background-color: var(--primary);
  width: 24px;
  height: 24px;
  position: relative;
  transform-style: preserve-3d;
  animation: var(--duration) ease forwards infinite;
  transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
}

.box-loader .box div::before,
.box-loader .box div::after {
  --rx: 90deg;
  --ry: 0deg;
  --z: 12px;
  --y: -12px;
  --x: 0;
  content: "";
  position: absolute;
  background-color: inherit;
  width: inherit;
  height: inherit;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translate(var(--x), var(--y))
    translateZ(var(--z));
  filter: brightness(var(--b, 1.2));
}

.box-loader .box div::after {
  --rx: 0deg;
  --ry: 90deg;
  --x: 12px;
  --y: 0;
  --b: 1.4;
}

.box-loader .box.box0 {
  --x: -110px;
  --y: -60px;
  left: 29px;
  top: 54px;
}
.box-loader .box.box1 {
  --x: -130px;
  --y: 60px;
  left: 12px;
  top: 60px;
}
.box-loader .box.box2 {
  --x: 60px;
  --y: -95px;
  left: 29px;
  top: 32px;
}
.box-loader .box.box3 {
  --x: 140px;
  --y: -20px;
  left: 45px;
  top: 60px;
}
.box-loader .box.box4 {
  --x: 30px;
  --y: 100px;
  left: 29px;
  top: 66px;
}
.box-loader .box.box5 {
  --x: -110px;
  --y: -60px;
  left: 12px;
  top: 38px;
}
.box-loader .box.box6 {
  --x: -130px;
  --y: 60px;
  left: 45px;
  top: 38px;
}
.box-loader .box.box7 {
  --x: -120px;
  --y: 100px;
  left: 29px;
  top: 43px;
}

.box-loader .box0 {
  animation-name: boxMove0;
}
.box-loader .box0 div {
  animation-name: boxScale0;
}
.box-loader .box1 {
  animation-name: boxMove1;
}
.box-loader .box1 div {
  animation-name: boxScale1;
}
.box-loader .box2 {
  animation-name: boxMove2;
}
.box-loader .box2 div {
  animation-name: boxScale2;
}
.box-loader .box3 {
  animation-name: boxMove3;
}
.box-loader .box3 div {
  animation-name: boxScale3;
}
.box-loader .box4 {
  animation-name: boxMove4;
}
.box-loader .box4 div {
  animation-name: boxScale4;
}
.box-loader .box5 {
  animation-name: boxMove5;
}
.box-loader .box5 div {
  animation-name: boxScale5;
}
.box-loader .box6 {
  animation-name: boxMove6;
}
.box-loader .box6 div {
  animation-name: boxScale6;
}
.box-loader .box7 {
  animation-name: boxMove7;
}
.box-loader .box7 div {
  animation-name: boxScale7;
}

@keyframes boxMove0 {
  12% {
    transform: translate(var(--x), var(--y));
  }
  25%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale0 {
  6% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  14%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxMove1 {
  16% {
    transform: translate(var(--x), var(--y));
  }
  29%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale1 {
  10% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  18%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxMove2 {
  20% {
    transform: translate(var(--x), var(--y));
  }
  33%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale2 {
  14% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  22%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxMove3 {
  24% {
    transform: translate(var(--x), var(--y));
  }
  37%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale3 {
  18% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  26%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxMove4 {
  28% {
    transform: translate(var(--x), var(--y));
  }
  41%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale4 {
  22% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  30%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxMove5 {
  32% {
    transform: translate(var(--x), var(--y));
  }
  45%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale5 {
  26% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  34%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxMove6 {
  36% {
    transform: translate(var(--x), var(--y));
  }
  49%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale6 {
  30% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  38%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxMove7 {
  40% {
    transform: translate(var(--x), var(--y));
  }
  53%, 52% {
    transform: translate(0, 0);
  }
  80% {
    transform: translate(0, -16px);
  }
  90%, 100% {
    transform: translate(0, 94px);
  }
}

@keyframes boxScale7 {
  34% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(0);
  }
  42%, 100% {
    transform: rotateY(-47deg) rotateX(-15deg) rotateZ(15deg) scale(1);
  }
}

@keyframes boxGround {
  0%, 65% {
    transform: rotateX(90deg) rotateY(0deg) translate(-24px, -60px)
      translateZ(50px) scale(0);
  }
  75%, 90% {
    transform: rotateX(90deg) rotateY(0deg) translate(-24px, -60px)
      translateZ(50px) scale(1);
  }
  100% {
    transform: rotateX(90deg) rotateY(0deg) translate(-24px, -60px)
      translateZ(50px) scale(0);
  }
}

@keyframes boxGroundShine {
  0%, 70% {
    opacity: 0;
  }
  75%, 87% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
  }
}

@keyframes boxMask {
  0%, 65% {
    opacity: 0;
  }
  66%, 100% {
    opacity: 1;
  }
}

/* ----------------------------------------------------------------------------
   STEP 3: TOWER LOADER ANIMATION (3D stacking blocks)
   ---------------------------------------------------------------------------- */

.tower-loader {
  height: 50px;
  width: 40px;
  transform: scale(2.5);
}

.tower-box {
  position: relative;
  opacity: 0;
  left: 10px;
}

.tower-box .side-left {
  position: absolute;
  background-color: var(--accent-dark);
  width: 19px;
  height: 5px;
  transform: skew(0deg, -25deg);
  top: 14px;
  left: 10px;
}

.tower-box .side-right {
  position: absolute;
  background-color: var(--accent);
  width: 19px;
  height: 5px;
  transform: skew(0deg, 25deg);
  top: 14px;
  left: -9px;
}

.tower-box .side-top {
  position: absolute;
  background-color: var(--accent-light);
  width: 20px;
  height: 20px;
  rotate: 45deg;
  transform: skew(-20deg, -20deg);
}

.tower-box-1 {
  animation: towerFromLeft 4s infinite;
}
.tower-box-2 {
  animation: towerFromRight 4s infinite;
  animation-delay: 1s;
}
.tower-box-3 {
  animation: towerFromLeft 4s infinite;
  animation-delay: 2s;
}
.tower-box-4 {
  animation: towerFromRight 4s infinite;
  animation-delay: 3s;
}

@keyframes towerFromLeft {
  0% {
    z-index: 20;
    opacity: 0;
    translate: -20px -6px;
  }
  20% {
    z-index: 10;
    opacity: 1;
    translate: 0px 0px;
  }
  40% {
    z-index: 9;
    translate: 0px 4px;
  }
  60% {
    z-index: 8;
    translate: 0px 8px;
  }
  80% {
    z-index: 7;
    opacity: 1;
    translate: 0px 12px;
  }
  100% {
    z-index: 5;
    translate: 0px 30px;
    opacity: 0;
  }
}

@keyframes towerFromRight {
  0% {
    z-index: 20;
    opacity: 0;
    translate: 20px -6px;
  }
  20% {
    z-index: 10;
    opacity: 1;
    translate: 0px 0px;
  }
  40% {
    z-index: 9;
    translate: 0px 4px;
  }
  60% {
    z-index: 8;
    translate: 0px 8px;
  }
  80% {
    z-index: 7;
    opacity: 1;
    translate: 0px 12px;
  }
  100% {
    z-index: 5;
    translate: 0px 30px;
    opacity: 0;
  }
}

/* ----------------------------------------------------------------------------
   STEP 4: DELIVER ANIMATION (Data package + access)
   ---------------------------------------------------------------------------- */

.deliver-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.data-package {
  position: relative;
  width: 64px;
  height: 64px;
}

.package-icon {
  width: 100%;
  height: 100%;
  color: var(--accent);
  animation: packageFloat 2s ease-in-out infinite;
}

.package-box {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: packageDraw 1s ease forwards;
}

.package-lines {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: packageDraw 0.8s ease 0.5s forwards;
}

.package-dot {
  opacity: 0;
  animation: dotPop 0.3s ease 1s forwards;
}

@keyframes packageDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes packageFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes dotPop {
  to {
    opacity: 1;
  }
}

.pulse-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: pulseRing 2s ease-out 1.2s infinite;
}

.pulse-ring.delay-1 {
  animation-delay: 1.6s;
}

@keyframes pulseRing {
  0% {
    opacity: 0.6;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.deliver-text {
  opacity: 0;
  animation: fadeUp 0.5s ease 1s forwards;
}

.deliver-highlight {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.deliver-access {
  display: flex;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 0.5s ease 1.3s forwards;
}

.access-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.access-chip:hover {
  background: var(--accent);
  color: white;
}

.chip-icon {
  font-size: 9px;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.bracket-btn {
  position: relative;
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bracket-btn .corner-tl,
.bracket-btn .corner-tr,
.bracket-btn .corner-bl,
.bracket-btn .corner-br {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--accent);
  border-style: solid;
  transition: all 0.2s ease;
}

.bracket-btn .corner-tl {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}
.bracket-btn .corner-tr {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}
.bracket-btn .corner-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}
.bracket-btn .corner-br {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

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

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

.bracket-btn-inverted {
  background: var(--text-primary);
  color: white;
}

.bracket-btn-inverted .corner-tl,
.bracket-btn-inverted .corner-tr,
.bracket-btn-inverted .corner-bl,
.bracket-btn-inverted .corner-br {
  border-color: var(--text-primary);
  width: 10px;
  height: 10px;
}

.bracket-btn-inverted:hover {
  background: var(--accent);
}

.bracket-btn-inverted:hover .corner-tl,
.bracket-btn-inverted:hover .corner-tr,
.bracket-btn-inverted:hover .corner-bl,
.bracket-btn-inverted:hover .corner-br {
  border-color: var(--accent);
}

.bracket-btn.full-width {
  width: 100%;
}

.bracket-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================================
   CARDS
   ============================================================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

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

.card-animated {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: cardFadeIn 0.4s ease-out forwards;
  opacity: 0;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-animated:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.1);
}

/* ============================================================================
   TERMINAL
   ============================================================================ */

.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.terminal-header {
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dots .dot.red {
  background: #ff5f57;
}
.terminal-dots .dot.yellow {
  background: #ffbd2e;
}
.terminal-dots .dot.green {
  background: #28c840;
}

.terminal-title {
  flex: 1;
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
}

.terminal-copy {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.terminal-copy:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.terminal-copy.copied {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.terminal-body {
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.6;
}

.terminal-content .comment {
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.terminal-content .query {
  color: var(--accent);
  font-weight: 500;
}

.terminal-code {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  white-space: pre-wrap;
}

/* ============================================================================
   CODE WINDOW (Light Mode)
   ============================================================================ */

.code-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.code-window-header {
  background: var(--bg-secondary);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.code-window-dots {
  display: flex;
  gap: 5px;
}

.code-window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-window-dots .dot.red {
  background: #ff5f57;
}
.code-window-dots .dot.yellow {
  background: #ffbd2e;
}
.code-window-dots .dot.green {
  background: #28c840;
}

.code-window-title {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

.code-window-copy {
  font-size: 10px;
  padding: 3px 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
}

.code-window-copy:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.code-window-body {
  padding: 16px;
}

.query-example {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
  font-style: italic;
}

/* Hero soon badge */
.hero-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  font-size: 11px;
  color: #b45309;
  margin-bottom: 20px;
}

/* ============================================================================
   USE CASES GRID
   ============================================================================ */

.section-intro-block {
  margin-bottom: 32px;
}

.section-intro-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  height: 100%;
}

.use-case-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.use-case-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

/* ============================================================================
   HOW IT WORKS (Simple)
   ============================================================================ */

.how-it-works {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0;
}

@media (max-width: 768px) {
  .how-it-works {
    flex-direction: column;
  }

  .step-arrow {
    display: none;
  }
}

.step-simple {
  flex: 1;
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.step-simple .step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-text h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.step-text p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding-top: 20px;
}

.how-cta {
  text-align: center;
  margin-top: 24px;
}

/* ============================================================================
   DATASET CARD SIMPLE
   ============================================================================ */

.dataset-card-simple {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.dataset-card-simple .dataset-icon {
  font-size: 32px;
}

.dataset-card-simple .dataset-info {
  flex: 1;
}

.dataset-card-simple .dataset-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.dataset-card-simple .dataset-count {
  font-size: 12px;
  color: var(--text-muted);
}

.dataset-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
}

.datasets-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ============================================================================
   LIGHT CODE BLOCKS (Docs)
   ============================================================================ */

.code-block-light {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 12px;
}

.code-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.code-block-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.code-block-copy {
  font-size: 10px;
  padding: 4px 10px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.code-block-copy:hover {
  background: var(--accent-dark);
}

.code-block-content {
  padding: 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: auto;
}

/* ============================================================================
   TABS
   ============================================================================ */

.tab-container {
  margin-bottom: 24px;
}

.tabs {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.tab {
  position: relative;
  padding: 12px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  color: var(--text-primary);
}

.tab::before {
  content: ">";
  position: absolute;
  left: 8px;
  opacity: 0;
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.tab:hover {
  background: var(--bg-secondary);
}

.tab.active {
  background: white;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.tab.active::before {
  opacity: 1;
}

.tab.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.soon-badge {
  font-size: 9px;
  color: var(--yellow);
  margin-left: 4px;
}

/* ============================================================================
   ACCESS SECTION
   ============================================================================ */

.access-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.access-card {
  padding: 20px;
}

.access-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.access-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.access-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.05em;
}

/* ============================================================================
   DATASETS SECTION
   ============================================================================ */

.datasets-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .datasets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dataset-card {
  padding: 16px;
}

.dataset-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dataset-id {
  font-size: 10px;
  color: var(--text-muted);
}

.dataset-status {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dataset-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.dataset-count .count {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.dataset-count .unit {
  font-size: 10px;
  color: var(--text-muted);
}

.dataset-name {
  font-size: 14px;
  font-weight: 500;
}

.dataset-updated {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================================================
   FORM
   ============================================================================ */

.access-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field:last-child {
  margin-bottom: 0;
}

.form-field label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s ease;
}

.form-field select {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  resize: none;
}

.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
}

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--green);
}

.success-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.success-text {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ============================================================================
   DATASETS PAGE
   ============================================================================ */

.datasets-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.datasets-hero {
  text-align: center;
  margin-bottom: 48px;
}

.datasets-hero h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.datasets-hero p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 3-column grid */
.datasets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .datasets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .datasets-grid {
    grid-template-columns: 1fr;
  }
}

.dataset-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  position: relative;
  transition: all 0.2s ease;
}

.dataset-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.1);
}

.dataset-card.coming-soon {
  opacity: 0.7;
}

.dataset-card.more-coming {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.more-coming-content {
  text-align: center;
}

.more-icon {
  font-size: 32px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.more-coming h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.more-coming p {
  font-size: 12px;
  color: var(--text-muted);
}

.dataset-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.dataset-icon {
  font-size: 24px;
}

.dataset-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.status-text.live {
  color: var(--green);
}

.status-text.soon {
  color: var(--text-muted);
}

.dataset-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dataset-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.dataset-records {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.records-count {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.records-label {
  font-size: 11px;
  color: var(--text-muted);
}

.dataset-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dataset-link:hover {
  text-decoration: underline;
}

/* Dataset Detail Sections */
.dataset-detail {
  margin-bottom: 48px;
}

.dataset-detail h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.functions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .functions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.function-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.function-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
}

.function-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

.schema-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.schema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .schema-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .schema-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.schema-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
}

.table-desc {
  font-size: 10px;
  color: var(--text-muted);
}

/* Request Dataset Form */
.request-dataset {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 500px;
  margin: 0 auto;
}

.request-dataset h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-align: center;
}

.request-dataset > p {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  font-family: inherit;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.request-form button {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
  background: var(--accent);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.request-form button:hover {
  background: var(--accent-dark);
}

.request-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.request-success {
  text-align: center;
  padding: 24px;
}

.request-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  margin-bottom: 12px;
}

.request-success p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  font-size: 14px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

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

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

.text-green {
  color: var(--green);
}

.text-green-sm {
  font-size: 9px;
  color: var(--green);
  letter-spacing: 0.05em;
}

.link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.link:hover {
  text-decoration: underline;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-active {
  background: var(--green);
}

.status-pending {
  background: var(--yellow);
}

.status-testing {
  background: #ef4444;
}

.terminal-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

.decrypt-in {
  animation: decryptIn 0.4s ease-out forwards;
  opacity: 0;
}

@keyframes decryptIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.decrypt-delay-1 {
  animation-delay: 0.1s;
}
.decrypt-delay-2 {
  animation-delay: 0.2s;
}
.decrypt-delay-3 {
  animation-delay: 0.3s;
}
.decrypt-delay-4 {
  animation-delay: 0.4s;
}
.decrypt-delay-5 {
  animation-delay: 0.5s;
}
.decrypt-delay-6 {
  animation-delay: 0.6s;
}

/* ============================================================================
   SCROLLBAR
   ============================================================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ============================================================================
   CORNER ACCENT (for cards)
   ============================================================================ */

.corner-accent {
  position: relative;
}

.corner-accent::before,
.corner-accent::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.corner-accent::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.corner-accent::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.corner-accent:hover::before,
.corner-accent:hover::after {
  opacity: 1;
}

/* ============================================================================
   LEGACY - MAC WINDOW (DocsPage)
   ============================================================================ */

.mac-window {
  background: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.mac-window-header {
  background: linear-gradient(180deg, #3a3a3a 0%, #2d2d2d 100%);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #1a1a1a;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mac-dot-red {
  background: #ff5f57;
}
.mac-dot-yellow {
  background: #ffbd2e;
}
.mac-dot-green {
  background: #28c840;
}

.mac-window-title {
  flex: 1;
  text-align: center;
  color: #8a8a8a;
  font-size: 11px;
}

.mac-window-actions {
  display: flex;
  gap: 8px;
}

.mac-copy-btn {
  background: transparent;
  border: 1px solid #444;
  color: #8a8a8a;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.mac-copy-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.mac-copy-btn.copied {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.mac-window-body {
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

/* ============================================================================
   LEGACY - MISC
   ============================================================================ */

.styled-dropdown {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: white;
  border: 1px solid var(--border);
  padding: 8px 32px 8px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230D9488' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 0.2s ease;
}

.styled-dropdown:hover,
.styled-dropdown:focus {
  border-color: var(--accent);
  outline: none;
}

.inline-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.inline-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.data-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.data-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.1);
}

/* ============================================================================
   DOCS PAGE
   ============================================================================ */

.docs-page {
  min-height: 100vh;
  position: relative;
  background: var(--bg-primary);
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 60px);
}

/* Sidebar */
.docs-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.docs-nav {
  padding: 0 16px;
}

.nav-section {
  margin-bottom: 24px;
}

.nav-section-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 8px 12px;
  margin-bottom: 4px;
}

.nav-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-item.active {
  color: var(--accent);
  background: rgba(13, 148, 136, 0.1);
  font-weight: 500;
}

/* Mobile toggle */
.docs-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.toggle-icon {
  margin-right: 8px;
}

/* Content */
.docs-content {
  padding: 48px;
  max-width: 800px;
}

.docs-section {
  margin-bottom: 64px;
  scroll-margin-top: 80px;
}

.docs-section h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.docs-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 0;
}

.docs-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-intro {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Lead text */
.lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Callouts */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 24px 0;
}

.callout-success {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}

.callout-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.callout div {
  font-size: 13px;
  line-height: 1.6;
}

.callout strong {
  font-weight: 600;
}

/* Simple list */
.simple-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.simple-list li {
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}

.simple-list li:last-child {
  border-bottom: none;
}

/* Setup steps clean */
.setup-steps-clean {
  margin: 24px 0;
}

.setup-step-clean {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.setup-step-clean:last-child {
  border-bottom: none;
}

.step-badge {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-body {
  flex: 1;
}

.step-body h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.step-body p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.step-body a {
  color: var(--accent);
}

/* Config fields in setup steps */
.config-fields {
  margin-top: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
}

.config-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.config-field:last-child {
  border-bottom: none;
}

.config-field label {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 120px;
  flex-shrink: 0;
}

.config-field code {
  font-size: 12px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 3px;
  word-break: break-all;
}

.config-note {
  font-size: 11px;
  color: var(--text-secondary);
  margin-left: 8px;
}

/* Schema categories */
.schema-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.schema-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.schema-category code {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-width: 100px;
}

.schema-category span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Example cards */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

@media (max-width: 768px) {
  .examples-grid {
    grid-template-columns: 1fr;
  }
}

.example-card {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.example-card.good {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.03);
}

.example-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.example-card p {
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
  font-style: italic;
  color: var(--text-secondary);
}

/* Query examples */
.query-examples {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 32px 0;
}

/* Section note */
.section-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

/* Dataset detail */
.dataset-detail {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
}

.dataset-detail.coming {
  opacity: 0.6;
}

.dataset-detail h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px 0;
  font-size: 16px;
}

.dataset-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dataset-badge.live {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.dataset-badge.soon {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
}

.dataset-detail p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
}

.fields-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-chip {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: "Fira Code", monospace;
}

/* Schema compact */
.schema-compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schema-table-row {
  display: flex;
  gap: 16px;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border-radius: 4px;
  font-size: 12px;
}

.schema-table-row code {
  color: var(--accent);
  font-weight: 500;
  min-width: 100px;
}

.schema-table-row span {
  color: var(--text-muted);
}

/* Query Helper */
.query-helper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.qh-section {
  margin-bottom: 24px;
}

.qh-section:last-of-type {
  margin-bottom: 16px;
}

.qh-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.qh-dataset-selector {
  display: flex;
  gap: 8px;
}

.qh-dataset-btn {
  padding: 10px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qh-dataset-btn:hover {
  border-color: var(--accent);
}

.qh-dataset-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.qh-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .qh-filters {
    grid-template-columns: 1fr;
  }
}

.qh-filter label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.qh-filter input[type="text"],
.qh-filter input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  background: var(--bg-primary);
}

.qh-filter input:focus {
  outline: none;
  border-color: var(--accent);
}

.qh-filter-checkbox {
  display: flex;
  align-items: center;
}

.qh-filter-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  font-size: 12px;
}

.qh-filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.qh-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qh-field-btn {
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qh-field-btn:hover {
  border-color: var(--accent);
}

.qh-field-btn.active {
  background: rgba(13, 148, 136, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.qh-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.qh-query {
  flex: 1;
  font-size: 14px;
  color: var(--accent);
  font-style: italic;
  margin: 0;
}

.qh-copy-btn {
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qh-copy-btn:hover {
  background: var(--accent-dark);
}

.qh-reset {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.qh-reset:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* Feature cards in docs */
.docs-section .feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.docs-section .feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.docs-section .feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

.docs-section .feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.docs-section .feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.docs-section .feature-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.feature-link {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.feature-link:hover {
  opacity: 0.8;
}

/* Video placeholder */
.video-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  max-width: 560px;
  margin-bottom: 32px;
  overflow: hidden;
}

.video-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
}

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  color: #888;
}

.video-inner p {
  font-size: 12px;
  margin: 0;
}

/* Setup steps */
.setup-steps {
  margin-top: 32px;
}

.setup-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.step-content p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

/* Info and warning boxes */
.info-box,
.warning-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 24px;
}

.info-box {
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.warning-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-icon,
.warning-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.info-box code,
.warning-box code {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 11px;
}

/* API info */
.api-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.api-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.api-row:last-child {
  border-bottom: none;
}

.api-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.api-value {
  font-size: 12px;
  color: var(--accent);
}

/* Code blocks */
.code-block {
  font-size: 12px;
  line-height: 1.6;
  color: #d4d4d4;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-sm {
  font-size: 11px;
}

/* Dataset status */
.dataset-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.dataset-status .status-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
}

.records-badge {
  font-size: 10px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-left: 8px;
}

/* Functions list */
.functions-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.function-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.function-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.function-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.function-params {
  font-size: 11px;
  color: var(--text-muted);
}

.function-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

/* Fields grid */
.fields-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.field-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Schema tables */
.schema-tables {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.schema-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.table-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.schema-table .table-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.table-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.table-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.field-chip {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--bg-secondary);
  border-radius: 3px;
  color: var(--text-secondary);
}

/* Example queries */
.example-queries {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.query-text {
  font-size: 14px;
  color: #34d399;
  font-style: italic;
}

/* Rate tiers */
.rate-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.rate-tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.rate-tier.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.tier-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.rate-tier.featured .tier-name {
  color: var(--accent);
}

.tier-limit {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* Error codes */
.error-codes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.error-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.error-code {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 4px;
}

.error-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Docs CTA */
.docs-cta {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}

.docs-cta h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.docs-cta p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Tab logos */
.tab-logo {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* Docs header row */
.docs-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.docs-header-row h1 {
  margin: 0;
}

.time-badge {
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

/* Condensed setup list */
.setup-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.setup-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
}

.setup-list li:last-child {
  border-bottom: none;
}

.setup-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.setup-list li a {
  color: var(--accent);
}

.setup-list li strong {
  color: var(--text-primary);
}

.setup-list li em {
  color: var(--text-secondary);
}

/* Important step - bright red */
.setup-list li.important-step {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  margin: 8px 0;
  padding: 12px 12px 12px 36px;
}

.setup-list li.important-step::before {
  background: #ef4444;
}

.setup-list li.important-step strong {
  color: #ef4444;
}

/* Config box */
.config-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin: 10px 0;
  font-size: 13px;
}

.config-box div {
  padding: 6px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.config-box span {
  color: var(--text-secondary);
  min-width: 140px;
}

.config-box code {
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.config-box em {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Help box */
.help-box {
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 24px;
  font-size: 13px;
  text-align: center;
}

.help-box a {
  color: var(--accent);
  font-weight: 600;
}

/* Step groups for docs */
.step-group {
  margin-bottom: 24px;
}

.step-group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
  padding-left: 2px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 10px 0 10px 40px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: attr(value);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Numbered list with counter */
ol.steps {
  counter-reset: step-counter;
}

ol.steps[start="3"] {
  counter-reset: step-counter 2;
}

ol.steps[start="7"] {
  counter-reset: step-counter 6;
}

ol.steps[start="10"] {
  counter-reset: step-counter 9;
}

ol.steps[start="14"] {
  counter-reset: step-counter 13;
}

ol.steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
}

.steps li a {
  color: var(--accent);
}

.steps li strong {
  color: var(--text-primary);
}

.steps li em {
  color: var(--text-secondary);
  font-style: italic;
}

/* Config table for setup details */
.config-table {
  margin-top: 12px;
  margin-bottom: 4px;
  border-collapse: collapse;
  width: 100%;
  max-width: 500px;
  font-size: 13px;
}

.config-table td {
  padding: 6px 0;
  vertical-align: top;
}

.config-table td:first-child {
  color: var(--text-secondary);
  padding-right: 16px;
  white-space: nowrap;
  width: 140px;
}

.config-table code {
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* Warning callout */
.warning-callout {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0 24px 0;
  font-size: 13px;
  line-height: 1.5;
}

.warning-callout strong {
  color: #b45309;
}

/* Schema section styles */
.schema-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: -8px;
  margin-bottom: 12px;
}

.schema-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 13px;
}

.schema-table thead {
  background: var(--bg-card);
}

.schema-table th {
  text-align: left;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
}

.schema-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.schema-table td:first-child {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-weight: 500;
}

.schema-table tbody tr:hover {
  background: rgba(13, 148, 136, 0.04);
}

/* Lead paragraph */
.lead {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Tip text */
.tip-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 6px;
}

/* Schema grid */
.schema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.schema-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}

.schema-item code {
  color: var(--accent);
  font-weight: 600;
  min-width: 120px;
}

/* Docs footer */
.docs-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

.docs-footer .footer-content {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================================================
   CODE TOOLKIT
   ============================================================================ */

.code-toolkit {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.toolkit-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.toolkit-header h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.toolkit-header p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.toolkit-tabs {
  display: flex;
  padding: 0 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.toolkit-tab {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.toolkit-tab:hover {
  color: var(--text-primary);
}

.toolkit-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.toolkit-editor {
  background: #1e1e1e;
}

.editor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #2d2d2d;
  border-bottom: 1px solid #3d3d3d;
}

.editor-dots {
  display: flex;
  gap: 6px;
}

.editor-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.editor-dots .red {
  background: #ff5f56;
}

.editor-dots .yellow {
  background: #ffbd2e;
}

.editor-dots .green {
  background: #27ca40;
}

.editor-title {
  flex: 1;
  font-size: 11px;
  color: #888;
}

.editor-actions {
  display: flex;
  gap: 8px;
}

.editor-btn {
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.editor-btn.copy:hover {
  background: var(--accent-dark);
}

.editor-btn.copy.copied {
  background: var(--green);
}

.editor-btn.reset {
  background: rgba(255, 255, 255, 0.1);
  color: #888;
}

.editor-btn.reset:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #aaa;
}

.editor-body {
  display: flex;
  min-height: 400px;
  max-height: 500px;
  overflow: auto;
}

.line-numbers {
  padding: 16px 12px 16px 16px;
  background: #252526;
  color: #5a5a5a;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: flex;
  flex-direction: column;
  position: sticky;
  left: 0;
}

.line-numbers span {
  display: block;
}

.code-input {
  flex: 1;
  padding: 16px;
  background: #1e1e1e;
  color: #d4d4d4;
  font-family: "Fira Code", monospace;
  font-size: 12px;
  line-height: 1.6;
  border: none;
  outline: none;
  resize: none;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: auto;
}

.code-input::-moz-selection {
  background: rgba(13, 148, 136, 0.4);
}

.code-input::selection {
  background: rgba(13, 148, 136, 0.4);
}

.toolkit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-hint code {
  padding: 2px 6px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  border-radius: 3px;
  font-size: 10px;
}

.footer-link {
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

@media (max-width: 640px) {
  .toolkit-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .editor-body {
    min-height: 300px;
  }
}

/* Mobile responsive */
@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 99;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
  }

  .docs-sidebar.open {
    display: block;
  }

  .docs-mobile-toggle {
    display: flex;
    align-items: center;
  }

  .docs-content {
    padding: 24px;
  }

  .docs-section .feature-cards {
    grid-template-columns: 1fr;
  }

  .rate-tiers {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   DOCS PAGE V2 - TOP NAVBAR & IMPROVED SIDEBAR
   ============================================================================ */

/* Top Navigation Bar */
.docs-top-nav {
  position: sticky;
  top: 60px;
  z-index: 50;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.docs-top-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
}

.docs-top-nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.docs-top-nav-tab:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.docs-top-nav-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.docs-top-nav-tab .tab-icon {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.7;
}

.docs-top-nav-tab.active .tab-icon {
  opacity: 1;
}

.docs-top-nav-tab .tab-label {
  letter-spacing: 0.02em;
}

/* Docs Layout V2 */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 120px);
  max-width: 1200px;
  margin: 0 auto;
}

.docs-layout.no-sidebar {
  grid-template-columns: 1fr;
}

/* Sidebar V2 */
.docs-sidebar-v2 {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 120px;
  height: calc(100vh - 120px);
  overflow-y: auto;
}

.sidebar-header {
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.docs-nav-v2 {
  padding: 0 12px;
}

.nav-item-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.nav-item-v2:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-item-v2.active {
  color: var(--accent);
  background: rgba(13, 148, 136, 0.08);
  border-left-color: var(--accent);
  font-weight: 500;
}

.nav-item-v2 .nav-number {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}

.nav-item-v2.active .nav-number {
  color: var(--accent);
}

.nav-item-v2 .nav-label {
  flex: 1;
}

/* Content V2 */
.docs-content-v2 {
  padding: 40px 48px;
  max-width: 800px;
}

.docs-content-v2.full-width {
  max-width: 900px;
  margin: 0 auto;
}

/* Query Helper Section - full width */
.query-helper-section {
  max-width: 100%;
}

.query-helper-section .query-helper {
  max-width: 100%;
}

/* Schema Section Styles */
.schema-section {
  margin-bottom: 32px;
}

.schema-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.schema-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.schema-row {
  display: grid;
  grid-template-columns: 140px 80px 1fr;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  align-items: center;
}

.schema-row:last-child {
  border-bottom: none;
}

.schema-row.header {
  background: var(--bg-secondary);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.schema-row code {
  color: var(--accent);
  font-weight: 500;
}

.schema-field,
.schema-type,
.schema-desc {
  display: block;
}

.type-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

/* API Section Styles */
.api-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.api-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px 0;
  font-family: "Fira Code", monospace;
}

.api-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
}

/* Mobile responsive for docs v2 */
@media (max-width: 900px) {
  .docs-top-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .docs-top-nav-inner {
    min-width: -moz-max-content;
    min-width: max-content;
  }

  .docs-top-nav-tab {
    padding: 14px 16px;
    font-size: 12px;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar-v2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 99;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
  }

  .docs-sidebar-v2.open {
    display: block;
  }

  .docs-content-v2 {
    padding: 24px;
  }

  .schema-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .schema-row.header {
    display: none;
  }

  .schema-row code {
    font-size: 13px;
  }

  .schema-row .type-badge {
    display: inline-block;
    margin-bottom: 4px;
  }
}

/* ============================================================================
   DOCS PAGE V3 - VERTICAL SIDEBAR LAYOUT
   ============================================================================ */

.docs-page-v3 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
}

.docs-container {
  display: flex;
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Vertical Sidebar */
.docs-sidebar {
  width: 200px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
}

.docs-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
  text-align: left;
}

.docs-nav-item:hover {
  background: var(--bg-secondary);
}

.docs-nav-item.active {
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
}

.docs-nav-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-secondary);
}

.docs-nav-item.active .docs-nav-icon {
  background: var(--accent);
  color: white;
}

.docs-nav-label {
  font-size: 13px;
  font-weight: 500;
}

.docs-sidebar-cta {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}

.docs-get-started {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.docs-get-started:hover {
  background: var(--accent-dark);
}

/* Main Content Area */
.docs-main {
  flex: 1;
  padding: 32px 48px;
  min-width: 0;
}

.docs-content-wrapper {
  max-width: 800px;
}

/* Panel Animation */
.docs-panel {
  display: none;
  animation: fadeIn 0.2s ease;
}

.docs-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panel Header */
.docs-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.docs-panel-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.docs-time {
  font-size: 11px;
  font-weight: 500;
  color: white;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 12px;
}

.docs-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: -24px 0 24px 0;
}

/* Step Groups */
.docs-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-step-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

.docs-step-group h3 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 0 0 16px 0;
}

.docs-step-group ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step-counter;
}

.docs-step-group ol[start="3"] { counter-reset: step-counter 2; }
.docs-step-group ol[start="7"] { counter-reset: step-counter 6; }
.docs-step-group ol[start="10"] { counter-reset: step-counter 9; }
.docs-step-group ol[start="14"] { counter-reset: step-counter 13; }

.docs-step-group li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

.docs-step-group li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.docs-step-group li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.docs-step-group li a {
  color: var(--accent);
}

.docs-step-group li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.docs-step-group li em {
  color: var(--text-secondary);
  font-style: italic;
}

/* Config Box */
.docs-config {
  margin: 12px 0 4px 0;
  background: var(--bg-secondary);
  border-radius: 6px;
  padding: 12px 16px;
}

.docs-config div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
}

.docs-config span {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 100px;
}

.docs-config code {
  font-size: 12px;
  color: var(--accent);
  background: rgba(13, 148, 136, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.docs-config em {
  font-size: 11px;
  color: var(--text-muted);
}

/* Warning Box */
.docs-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
}

.docs-warning strong {
  color: #b45309;
}

/* Help Box */
.docs-help {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(13, 148, 136, 0.06);
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
}

.docs-help a {
  color: var(--accent);
  font-weight: 600;
}

/* Query Helper Card */
.qh-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.qh-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.qh-tab {
  padding: 10px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qh-tab:hover {
  border-color: var(--accent);
}

.qh-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.qh-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.qh-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.qh-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: var(--bg-secondary);
  transition: border-color 0.15s ease;
}

.qh-field input:focus {
  outline: none;
  border-color: var(--accent);
}

.qh-output {
  background: var(--bg-secondary);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.qh-query-display {
  flex: 1;
  font-size: 14px;
  font-style: italic;
  color: var(--text-primary);
}

.qh-actions {
  display: flex;
  gap: 8px;
}

.qh-copy {
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.qh-copy:hover {
  background: var(--accent-dark);
}

.qh-clear {
  padding: 8px 16px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qh-clear:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* Schema Grid - Side by Side */
.schema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.schema-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.schema-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.schema-card-header h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.schema-count {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.schema-fields {
  padding: 8px 0;
}

.schema-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.schema-row:last-child {
  border-bottom: none;
}

.schema-row code {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 12px;
  min-width: 120px;
}

.schema-row span {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Docs Footer V3 */
.docs-footer-v3 {
  border-top: 1px solid var(--border);
  padding: 20px 48px;
  background: var(--bg-card);
}

.docs-footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.docs-footer-brand {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.docs-footer-copy {
  color: var(--text-secondary);
}

/* Mobile Responsive for Docs V3 */
@media (max-width: 900px) {
  .docs-container {
    flex-direction: column;
  }

  .docs-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    flex-direction: row;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }

  .docs-nav {
    flex-direction: row;
    padding: 8px 16px;
    gap: 8px;
    min-width: -moz-max-content;
    min-width: max-content;
  }

  .docs-nav-item {
    padding: 10px 14px;
    flex-shrink: 0;
  }

  .docs-nav-icon {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .docs-nav-label {
    font-size: 12px;
  }

  .docs-sidebar-cta {
    display: none;
  }

  .docs-main {
    padding: 24px 20px;
  }

  .schema-grid {
    grid-template-columns: 1fr;
  }

  .qh-form {
    grid-template-columns: 1fr;
  }

  .docs-footer-v3 {
    padding: 16px 20px;
  }

  .docs-footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================================================
   TEAM PAGE - STYLIZED CARDS WITH MATRIX EFFECT
   ============================================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto 48px;
  }
}

/* Team Card */
.team-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.12);
}

.team-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(
    180deg,
    rgba(13, 148, 136, 0.03) 0%,
    var(--bg-card) 100%
  );
}

@media (min-width: 769px) {
  .team-card.featured {
    transform: scale(1.05);
    z-index: 2;
  }

  .team-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

/* Matrix background effect */
.team-card-matrix {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(13, 148, 136, 0.03) 2px,
      rgba(13, 148, 136, 0.03) 4px
    ),
    repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(13, 148, 136, 0.03) 2px,
    rgba(13, 148, 136, 0.03) 4px
  );
  background-size: 8px 8px;
}

.team-card:hover .team-card-matrix {
  opacity: 1;
  animation: matrixScroll 20s linear infinite;
}

@keyframes matrixScroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100px;
  }
}

/* Corner accents */
.team-card-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-card:hover .team-card-corner {
  opacity: 1;
}

.team-card-corner.tl {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.team-card-corner.tr {
  top: 8px;
  right: 8px;
  border-width: 2px 2px 0 0;
}

.team-card-corner.bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 2px 2px;
}

.team-card-corner.br {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

/* Role icon badge */
.team-role-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  font-family: "Fira Code", monospace;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.team-card:hover .team-role-icon {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Photo wrapper - rectangular 1:1.25 ratio (1.25x larger) */
.team-photo-wrapper {
  position: relative;
  width: 150px;
  height: 188px;
  margin: 0 auto 20px;
}

.team-photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  filter: grayscale(20%);
  transition: all 0.4s ease;
}

.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-photo-border {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.team-card:hover .team-photo-border {
  inset: -8px;
  opacity: 1;
}

/* Team info */
.team-info {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  letter-spacing: 0.02em;
}

.team-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 2px 0;
  letter-spacing: 0.05em;
}

.team-title {
  font-size: 10px;
  color: var(--text-muted);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-school {
  font-size: 11px;
  color: white;
  margin: 0;
  padding: 4px 12px;
  background: var(--accent);
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Team links - square icon buttons with glitch effect */
.team-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.team-link-icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  text-decoration: none;
  font-family: "Fira Code", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  overflow: hidden;
  transition: all 0.2s ease;
}

.team-link-icon .icon-char {
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.team-link-icon .icon-glitch {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0;
  z-index: 1;
}

.team-link-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.4);
}

.team-link-icon:hover .icon-char {
  animation: glitchText 0.3s ease;
  color: white;
}

.team-link-icon:hover .icon-glitch {
  animation: glitchLayer 0.3s ease;
}

/* Glitch animations */
@keyframes glitchText {
  0% {
    transform: translate(0);
    opacity: 1;
  }
  20% {
    transform: translate(-2px, 2px);
    opacity: 0.8;
  }
  40% {
    transform: translate(2px, -2px);
    opacity: 0.9;
  }
  60% {
    transform: translate(-1px, -1px);
    opacity: 0.8;
  }
  80% {
    transform: translate(1px, 1px);
    opacity: 0.9;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes glitchLayer {
  0% {
    opacity: 0;
    transform: translate(0);
  }
  20% {
    opacity: 0.5;
    transform: translate(3px, -3px);
    color: #ff0000;
  }
  40% {
    opacity: 0.3;
    transform: translate(-3px, 3px);
    color: #00ff00;
  }
  60% {
    opacity: 0.4;
    transform: translate(2px, 2px);
    color: #0000ff;
  }
  80% {
    opacity: 0.2;
    transform: translate(-2px, -2px);
    color: #ff00ff;
  }
  100% {
    opacity: 0;
    transform: translate(0);
  }
}

/* Team badge */
.team-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.team-badge::before,
.team-badge::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 1px;
  background: var(--accent);
  top: 50%;
}

.team-badge::before {
  left: 24px;
}

.team-badge::after {
  right: 24px;
}

.badge-icon {
  font-size: 28px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.badge-text {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Join section */
.join-section {
  text-align: center;
}

.join-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.join-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BETA LINK - WATERFALL PIXEL EFFECT
   ============================================ */

.beta-link-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #0D9488;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid #0D9488;
  transition: all 0.3s ease;
}

.beta-link-btn:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.beta-link-text {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

/* ============================================
   USE CASE CARDS - NEW DESIGN
   ============================================ */

.usecases-grid-new {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.usecase-card-new {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.usecase-card-new:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.15);
}

.usecase-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.usecase-card-header:hover {
  background: rgba(13, 148, 136, 0.03);
}

.usecase-icon-new {
  color: var(--accent);
  flex-shrink: 0;
}

.usecase-title-new {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.usecase-toggle {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usecase-dropdown {
  border-top: 1px solid rgba(13, 148, 136, 0.2);
  padding: 16px 20px;
  background: #fafafa;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.usecase-query-block,
.usecase-answer-block {
  margin-bottom: 12px;
}

.usecase-answer-block {
  margin-bottom: 0;
}

.usecase-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.usecase-typing {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-primary);
  background: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.typing-cursor {
  color: var(--accent);
  margin-right: 8px;
  font-weight: 600;
}

.usecase-answer {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  background: #f0fdf9;
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
}

.blink {
  animation: blink 0.7s infinite;
  color: var(--accent);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.usecases-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Rotate animation for chevron */
.rotate-180 {
  transform: rotate(180deg);
}

/* ============================================
   HOW IT WORKS - NEW DESIGN
   ============================================ */

.how-it-works-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.step-card-new {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
  padding: 24px;
  text-align: center;
  min-width: 180px;
  max-width: 220px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transition: border-radius 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card-new:hover {
  border-radius: 12px;
  border-color: #000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.step-icon-new {
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.step-content-new h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.step-content-new p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.step-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.step-link:hover {
  text-decoration: underline;
}

.step-connector {
  color: var(--accent);
  opacity: 0.5;
}

.how-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .how-it-works-new {
    flex-direction: column;
  }
  
  .step-connector {
    transform: rotate(90deg);
  }
  
  .step-card-new {
    max-width: 100%;
    width: 100%;
  }
}

/* ============================================
   DATASETS - NEW DESIGN
   ============================================ */

.datasets-grid-new {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 24px;
}

.dataset-card-new {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
  padding: 16px 20px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transition: box-shadow 0.2s ease;
}

.dataset-card-new:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.15);
}

.dataset-icon-new {
  color: var(--accent);
  flex-shrink: 0;
}

.dataset-info-new {
  flex: 1;
}

.dataset-name-new {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.dataset-count-new {
  font-size: 13px;
  color: var(--text-secondary);
}

.dataset-live-new {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   FOOTER - NEW DESIGN
   ============================================ */

.footer-new {
  border-top: 1px solid #E5E4DF;
  background: #fff;
  padding: 32px 24px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1024px;
  margin: 0 auto 24px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #E5E4DF;
  max-width: 1024px;
  margin: 0 auto;
}

.footer-tagline-new {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
}

.footer-copyright-new {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   DATASETS - SIDE BY SIDE LAYOUT
   ============================================ */

.datasets-grid-sidebyside {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 24px;
}

@media (max-width: 640px) {
  .datasets-grid-sidebyside {
    grid-template-columns: 1fr;
  }
}

/* Datasets CTA centered */
.datasets-cta {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

/* Usecases CTA spacing */
.usecases-cta {
  gap: 12px;
}

/* ============================================
   DATASETS CAROUSEL
   ============================================ */

.datasets-carousel-wrapper {
  overflow: hidden;
  margin: 0 -24px 24px;
  padding: 8px 0;
}

.datasets-carousel {
  display: flex;
  gap: 20px;
  animation: scrollCarousel 20s linear infinite;
  width: -moz-max-content;
  width: max-content;
}

.datasets-carousel:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.dataset-card-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
  padding: 16px 24px;
  min-width: 320px;
  flex-shrink: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dataset-card-carousel:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.15);
  transform: translateY(-2px);
}

.dataset-status {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.dataset-status-in-testing {
  background: #fee2e2;
  color: #dc2626;
}

.dataset-status-in-progress {
  background: #ffedd5;
  color: #ea580c;
}

@media (max-width: 640px) {
  .dataset-card-carousel {
    min-width: 280px;
    padding: 14px 18px;
  }
}

/* ============================================
   HOW IT WORKS - SIMPLE LAYOUT
   ============================================ */

.how-it-works-simple {
  max-width: 600px;
  margin: 0 auto 32px;
}

.how-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
}

.how-step:last-child {
  border-bottom: none;
}

.how-step-number {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.how-step-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.how-step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.how-or {
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
}

/* Live status */
.dataset-status-live {
  background: #d1fae5;
  color: #059669;
}

/* ============================================
   HOW IT WORKS + EXAMPLE COMBINED LAYOUT
   ============================================ */

.how-example-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.how-steps-side {
  border-right: 1px solid #e5e5e5;
  padding-right: 32px;
}

.how-example-side {
  padding-left: 16px;
}

@media (max-width: 768px) {
  .how-example-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .how-steps-side {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    padding-right: 0;
    padding-bottom: 24px;
  }
  
  .how-example-side {
    padding-left: 0;
  }
}

/* Scroll-triggered example card */
.scroll-example-card {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.1);
  overflow: hidden;
}

.scroll-example-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e5e5;
}

.scroll-example-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.scroll-example-content {
  padding: 16px 20px;
}

.usecase-source {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
}

.source-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

/* Black button variant */
.bracket-btn.btn-black {
  border-color: #000;
  color: #000;
}

.bracket-btn.btn-black .corner-tl,
.bracket-btn.btn-black .corner-tr,
.bracket-btn.btn-black .corner-bl,
.bracket-btn.btn-black .corner-br {
  border-color: #000;
}

.bracket-btn.btn-black:hover {
  background: #000;
  color: #fff;
}

/* Web app CTA in example card */
.example-webapp-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
}

/* Step CTAs below Get your answer */
.how-step-ctas {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.how-step-ctas-divider {
  margin-top: 28px;
  border-top: 1px solid #e5e5e5;
}

.how-step-ctas-spread {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.how-step-ctas-spread .bracket-btn {
  flex: 1;
  max-width: 160px;
}

.step-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.step-cta-filled {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.step-cta-filled:hover {
  background: #333;
}

.step-cta-outline {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

.step-cta-outline:hover {
  background: #000;
  color: #fff;
}

.hover\:border-\[\#0D9488\]\/40:hover{
  border-color: rgb(13 148 136 / 0.4);
}

.hover\:border-\[\#0D9488\]\/50:hover{
  border-color: rgb(13 148 136 / 0.5);
}

.hover\:bg-\[\#0D9488\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(13 148 136 / var(--tw-bg-opacity));
}

.hover\:bg-\[\#0F766E\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(15 118 110 / var(--tw-bg-opacity));
}

.hover\:bg-gray-200:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}

.hover\:bg-gray-50:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.hover\:text-\[\#0F766E\]:hover{
  --tw-text-opacity: 1;
  color: rgb(15 118 110 / var(--tw-text-opacity));
}

.hover\:text-\[\#18181B\]:hover{
  --tw-text-opacity: 1;
  color: rgb(24 24 27 / var(--tw-text-opacity));
}

.hover\:text-black:hover{
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}

.hover\:text-white:hover{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.hover\:underline:hover{
  text-decoration-line: underline;
}

.hover\:no-underline:hover{
  text-decoration-line: none;
}

.hover\:shadow-lg:hover{
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-\[\#0D9488\]\/10:hover{
  --tw-shadow-color: rgb(13 148 136 / 0.1);
  --tw-shadow: var(--tw-shadow-colored);
}

.hover\:shadow-\[\#0D9488\]\/5:hover{
  --tw-shadow-color: rgb(13 148 136 / 0.05);
  --tw-shadow: var(--tw-shadow-colored);
}

.group:hover .group-hover\:w-1{
  width: 0.25rem;
}

.group:hover .group-hover\:w-1\.5{
  width: 0.375rem;
}

.group:hover .group-hover\:-translate-x-0{
  --tw-translate-x: -0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:-translate-x-0\.5{
  --tw-translate-x: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:translate-x-0{
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:translate-x-0\.5{
  --tw-translate-x: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:translate-x-1{
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:scale-110{
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:bg-\[\#0D9488\]{
  --tw-bg-opacity: 1;
  background-color: rgb(13 148 136 / var(--tw-bg-opacity));
}

.group:hover .group-hover\:text-\[\#0D9488\]{
  --tw-text-opacity: 1;
  color: rgb(13 148 136 / var(--tw-text-opacity));
}

.group:hover .group-hover\:text-black{
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}

.group:hover .group-hover\:text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.group:hover .group-hover\:opacity-100{
  opacity: 1;
}

@media (min-width: 640px){

  .sm\:flex{
    display: flex;
  }
}

@media (min-width: 768px){

  .md\:block{
    display: block;
  }

  .md\:flex{
    display: flex;
  }

  .md\:hidden{
    display: none;
  }

  .md\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex-row{
    flex-direction: row;
  }
}

@media (min-width: 1024px){

  .lg\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
