/* Design Tokens & Theme Variables */
:root {
    --color-primary: #4fd1c5;
    --color-error: #ff5a5f;
    --color-warning: #ffb000;
    --color-surface: #000000;
    --color-container: #1c1c1e;
    --color-on-surface: #e2e2e2;
    --color-on-surface-variant: rgba(255, 255, 255, 0.6);
    --border-hairline: 0.5px solid rgba(255, 255, 255, 0.1);
}

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img, svg {
    display: block;
    vertical-align: middle;
}

/* Layout & Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.hidden { display: none; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.object-cover { object-fit: cover; }
.break-all { word-break: break-all; }

/* Spacing - Gaps */
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Spacing - Margins */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.-mx-6 { margin-left: -1.5rem; margin-right: -1.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.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; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }

/* Spacing - Padding */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-5 { padding-left: 1.25rem; }

/* Dimensions */
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-64 { width: 16rem; }
.w-full { width: 100%; }
.w-max { width: max-content; }

.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }

.min-h-screen { min-height: 100vh; }
.min-w-\[200px\] { min-width: 200px; }

.max-w-md { max-width: 28rem; }
.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; }

/* Typography */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.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-6xl { font-size: 3.75rem; line-height: 1; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.italic { font-style: italic; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Colors - Backgrounds */
.bg-surface { background-color: var(--color-surface); }
.bg-container { background-color: var(--color-container); }
.bg-primary\/10 { background-color: rgba(79, 209, 197, 0.1); }
.bg-warning\/10 { background-color: rgba(255, 176, 0, 0.1); }
.bg-error\/10 { background-color: rgba(255, 90, 95, 0.1); }

/* Colors - Text */
.text-white { color: #ffffff; }
.text-primary { color: var(--color-primary); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.opacity-80 { opacity: 0.8; }

/* Borders & Radius */
.border { border-width: 1px; border-style: solid; border-color: rgba(255, 255, 255, 0.1); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: rgba(255, 255, 255, 0.1); }
.border-hairline { border: 0.5px solid rgba(255, 255, 255, 0.1); }
.border-primary\/20 { border-color: rgba(79, 209, 197, 0.2); }
.border-warning\/20 { border-color: rgba(255, 176, 0, 0.2); }
.border-error\/20 { border-color: rgba(255, 90, 95, 0.2); }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-full { border-radius: 9999px; }

/* Interactive & Transitions */
.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;
}

.hover\:bg-zinc-800:hover { background-color: #27272a; }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-teal-300:hover { color: #5eead4; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:underline:hover { text-decoration: underline; }

/* Stack & List Spacing */
.list-disc { list-style-type: disc; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* Scroll Snap */
.snap-x { scroll-snap-type: x mandatory; }
.snap-mandatory { scroll-snap-type: x mandatory; }
.snap-center { scroll-snap-align: center; }

/* Custom Scrollbar Suppression */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive - sm (>= 640px) */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}

/* Responsive - md (>= 768px) */
@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:mx-0 { margin-left: 0; margin-right: 0; }
    .md\:p-12 { padding: 3rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-8xl { font-size: 6rem; line-height: 1; }
    .md\:text-left { text-align: left; }
    .md\:w-72 { width: 18rem; }
}

/* Table & Divider Styles */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* Accordion (details / summary) */
details {
    background-color: var(--color-container);
    border: var(--border-hairline);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: background-color 150ms ease, border-color 150ms ease;
}

details[open] {
    border-color: rgba(79, 209, 197, 0.3);
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #ffffff;
    user-select: none;
}

summary::-webkit-details-marker,
summary::marker {
    display: none;
}

summary svg {
    transition: transform 200ms ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

details[open] summary svg {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--color-on-surface-variant);
    line-height: 1.625;
}

