/* Kanibalizace.cz - Main Stylesheet */
/* Replicates React Tailwind design exactly */

@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --font-heading: "Cabinet Grotesk", "Inter", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    --background: 0 0% 98%;
    --foreground: 0 0% 7%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 7%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 7%;
    --primary: 0 0% 7%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 14% 96%;
    --secondary-foreground: 0 0% 9%;
    --muted: 220 14% 96%;
    --muted-foreground: 220 9% 42%;
    --border: 220 13% 88%;
    --input: 220 13% 88%;
    --ring: 221 83% 53%;
    --success: 160 84% 39%;
    --warning: 38 92% 50%;
    --danger: 0 84% 60%;
    --electric: 221 83% 53%;
    --navy: 222 47% 20%;
    --radius: 0.25rem;
}

.dark {
    --background: 0 0% 3.9%;
    --foreground: 0 0% 93%;
    --card: 0 0% 6.7%;
    --card-foreground: 0 0% 93%;
    --popover: 0 0% 6.7%;
    --popover-foreground: 0 0% 93%;
    --primary: 0 0% 93%;
    --primary-foreground: 0 0% 3.9%;
    --secondary: 0 0% 12%;
    --secondary-foreground: 0 0% 93%;
    --muted: 0 0% 12%;
    --muted-foreground: 220 9% 62%;
    --border: 0 0% 16%;
    --input: 0 0% 16%;
    --ring: 217 91% 60%;
    --success: 160 84% 42%;
    --warning: 38 92% 55%;
    --danger: 0 84% 63%;
    --electric: 217 91% 60%;
    --navy: 217 60% 70%;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: hsl(var(--electric)); color: #fff; }
*:focus-visible { outline: 2px solid hsl(var(--electric)); outline-offset: 2px; }
ul { list-style: none; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); }
.font-heading { font-family: var(--font-heading); }
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-body); }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.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-5xl { font-size: 3rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }
.inline { display: inline; }
.block { display: block; }

/* ========== COLORS ========== */
.bg-background { background-color: hsl(var(--background)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-electric { background-color: hsl(var(--electric)); }
.bg-success { background-color: hsl(var(--success)); }
.bg-warning { background-color: hsl(var(--warning)); }
.bg-danger { background-color: hsl(var(--danger)); }
.bg-navy { background-color: hsl(var(--navy)); }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-electric\/10 { background-color: hsl(var(--electric) / 0.1); }
.bg-electric\/5 { background-color: hsl(var(--electric) / 0.05); }
.bg-success\/10 { background-color: hsl(var(--success) / 0.1); }
.bg-success\/5 { background-color: hsl(var(--success) / 0.05); }
.bg-danger\/10 { background-color: hsl(var(--danger) / 0.1); }
.bg-danger\/5 { background-color: hsl(var(--danger) / 0.05); }
.bg-warning\/10 { background-color: hsl(var(--warning) / 0.1); }
.bg-warning\/60 { background-color: hsl(var(--warning) / 0.6); }
.bg-danger\/60 { background-color: hsl(var(--danger) / 0.6); }
.bg-success\/60 { background-color: hsl(var(--success) / 0.6); }
.bg-muted\/40 { background-color: hsl(var(--muted) / 0.4); }
.bg-muted\/50 { background-color: hsl(var(--muted) / 0.5); }
.bg-background\/80 { background-color: hsl(var(--background) / 0.8); }
.bg-background\/90 { background-color: hsl(var(--background) / 0.9); }
.bg-background\/95 { background-color: hsl(var(--background) / 0.95); }
.bg-navy\/80 { background-color: hsl(var(--navy) / 0.8); }

.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-muted-foreground\/60 { color: hsl(var(--muted-foreground) / 0.6); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-electric { color: hsl(var(--electric)); }
.text-success { color: hsl(var(--success)); }
.text-warning { color: hsl(var(--warning)); }
.text-danger { color: hsl(var(--danger)); }
.text-background { color: hsl(var(--background)); }
.text-white { color: #fff; }

.border-border { border-color: hsl(var(--border)); }
.border-electric\/30 { border-color: hsl(var(--electric) / 0.3); }
.border-electric\/40 { border-color: hsl(var(--electric) / 0.4); }
.border-electric\/50 { border-color: hsl(var(--electric) / 0.5); }
.border-electric\/60 { border-color: hsl(var(--electric) / 0.6); }
.border-success\/30 { border-color: hsl(var(--success) / 0.3); }
.border-success\/40 { border-color: hsl(var(--success) / 0.4); }
.border-success\/50 { border-color: hsl(var(--success) / 0.5); }
.border-danger\/30 { border-color: hsl(var(--danger) / 0.3); }
.border-danger\/40 { border-color: hsl(var(--danger) / 0.4); }
.border-warning\/30 { border-color: hsl(var(--warning) / 0.3); }
.border-warning\/40 { border-color: hsl(var(--warning) / 0.4); }
.border-warning\/50 { border-color: hsl(var(--warning) / 0.5); }
.border-navy\/10 { border-color: hsl(var(--navy) / 0.1); }

/* ========== LAYOUT ========== */
.container { max-width: 80rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }
.mx-auto { margin-left: auto; margin-right: auto; }
.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-7xl { max-width: 80rem; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:pl-60 { padding-left: 15rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
    .lg\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .lg\:p-8 { padding: 2rem; }
    .lg\:gap-10 { gap: 2.5rem; }
    .lg\:gap-12 { gap: 3rem; }
    .lg\:grid-cols-\[220px_1fr\] { grid-template-columns: 220px 1fr; }
    .lg\:grid-cols-\[280px_1fr\] { grid-template-columns: 280px 1fr; }
    .lg\:grid-cols-\[1\.4fr_1fr\] { grid-template-columns: 1.4fr 1fr; }
    .lg\:grid-cols-\[1fr_1\.2fr\] { grid-template-columns: 1fr 1.2fr; }
    .lg\:grid-cols-\[1fr_auto_auto_auto\] { grid-template-columns: 1fr auto auto auto; }
    .lg\:grid-cols-\[1\.4fr_1fr_1fr\] { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
    .lg\:hidden { display: none; }
    .lg\:flex { display: flex; }
    .lg\:block { display: block; }
    .lg\:translate-x-0 { transform: translateX(0); }
}
@media (min-width: 640px) {
    .sm\:hidden { display: none; }
    .sm\:inline-flex { display: inline-flex; }
    .sm\:flex { display: flex; }
    .sm\:block { display: block; }
    .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
    .sm\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .sm\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:max-w-md { max-width: 28rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.lg\:flex { display: flex; }

/* ========== SPACING ========== */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-14 { padding: 3.5rem; }
.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-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.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-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-8 { padding-bottom: 2rem; }
.pl-3 { padding-left: 0.75rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.ml-3 { margin-left: 0.75rem; }
.-ml-px { margin-left: -1px; }
.space-y-0 > * + * { margin-top: 0; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }

/* ========== BORDERS ========== */
.border { border: 1px solid hsl(var(--border)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }
.border-t { border-top: 1px solid hsl(var(--border)); }
.border-l { border-left: 1px solid hsl(var(--border)); }
.border-y { border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.border-dashed { border-style: dashed; }
.rounded-sm { border-radius: calc(var(--radius) - 4px); }
.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }
.ring-1 { box-shadow: 0 0 0 1px hsl(var(--electric) / 0.3); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: calc(var(--radius) - 4px);
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity 0.15s, border-color 0.15s, background-color 0.15s;
    white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-outline { background: hsl(var(--background)); border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.btn-outline:hover { border-color: hsl(var(--electric) / 0.5); }
.btn-electric { background: hsl(var(--electric)); color: #fff; border-color: hsl(var(--electric) / 0.4); }
.btn-electric:hover { background: hsl(var(--electric) / 0.9); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-xs { padding: 0.375rem 0.75rem; font-size: 0.6875rem; }
.btn-full { width: 100%; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 1rem; }
.form-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(var(--muted-foreground));
    display: block;
    margin-bottom: 0.375rem;
}
.form-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
}
.form-input:focus { border-color: hsl(var(--electric)); }
.form-input::placeholder { color: hsl(var(--muted-foreground) / 0.5); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { 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='%239CA3AF' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }

/* ========== CARDS ========== */
.card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.5rem; }
.card-hover:hover { border-color: hsl(var(--electric) / 0.4); }
.card-electric { border-color: hsl(var(--electric) / 0.3); background: hsl(var(--electric) / 0.05); }

/* ========== HEADER / NAVBAR ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.site-header .header-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
}
@media (min-width: 1024px) { .site-header .header-inner { padding: 0 2rem; } }
.site-header nav { display: none; }
@media (min-width: 1024px) { .site-header nav { display: flex; align-items: center; gap: 0.25rem; } }
.site-header nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    border-radius: calc(var(--radius) - 4px);
    transition: color 0.15s, background-color 0.15s;
}
.site-header nav a:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.site-header nav a.active { color: hsl(var(--foreground)); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-login-link {
    display: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    border-radius: calc(var(--radius) - 4px);
    transition: color 0.15s;
}
@media (min-width: 640px) { .nav-login-link { display: inline-flex; } }
.nav-login-link:hover { color: hsl(var(--foreground)); }
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}
.theme-toggle-btn:hover { color: hsl(var(--foreground)); border-color: hsl(var(--electric) / 0.5); }
.dark .icon-sun { display: block; }
.dark .icon-moon { display: none; }
:not(.dark) .icon-sun { display: none; }
:not(.dark) .icon-moon { display: block; }
.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--muted-foreground));
    cursor: pointer;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* Mobile menu */
.mobile-nav {
    display: none;
    border-top: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    padding: 1rem 1.25rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    border-radius: calc(var(--radius) - 4px);
}
.mobile-nav a:hover { background: hsl(var(--muted)); }

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.75rem;
    width: 1.75rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(var(--electric) / 0.5);
    background: hsl(var(--electric) / 0.1);
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}
.logo-text .text-electric { color: hsl(var(--electric)); }

/* ========== FOOTER ========== */
.site-footer {
    border-top: 1px solid hsl(var(--border));
    background: hsl(var(--card));
}
.site-footer .footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.5rem 1.25rem;
}
@media (min-width: 1024px) { .site-footer .footer-inner { padding: 3.5rem 2rem; } }
.footer-grid {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }
.footer-brand p { max-width: 20rem; margin-top: 1rem; }
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(var(--muted-foreground));
}
.footer-col ul { margin-top: 1rem; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a { font-size: 0.875rem; color: hsl(var(--muted-foreground)); transition: color 0.15s; }
.footer-col a:hover { color: hsl(var(--foreground)); }
.footer-bottom {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ========== HERO ========== */
.hero { position: relative; border-bottom: 1px solid hsl(var(--border)); overflow: hidden; }
.hero .hero-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1.25rem;
    position: relative;
}
@media (min-width: 1024px) { .hero .hero-inner { padding: 6rem 2rem; } }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin-top: 1.5rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero p.hero-sub { margin-top: 1.25rem; max-width: 32rem; }
.hero .hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hero .hero-checks { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hero .hero-checks span { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-mono); font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* Grid background */
.grid-bg {
    background-image: linear-gradient(to right, hsl(var(--border) / 0.5) 1px, transparent 1px), linear-gradient(to bottom, hsl(var(--border) / 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
}
.grid-bg-fade {
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.dot-bg {
    background-image: radial-gradient(hsl(var(--border)) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* ========== SECTION HELPERS ========== */
.kicker {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: hsl(var(--electric));
}
.section-title {
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}
@media (min-width: 640px) { .section-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }
.section-desc { margin-top: 0.75rem; font-size: 1rem; color: hsl(var(--muted-foreground)); }

/* ========== STEP CARDS ========== */
.step-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    padding: 1.5rem;
}
.step-card .step-num { font-family: var(--font-mono); font-size: 0.875rem; color: hsl(var(--electric)); }
.step-card h3 { margin-top: 1.25rem; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* ========== PRICING ========== */
.pricing-card { border-radius: var(--radius); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 1.5rem; }
.pricing-card.highlight { border-color: hsl(var(--electric)); box-shadow: 0 0 0 1px hsl(var(--electric) / 0.3); }
.pricing-card .price { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 900; letter-spacing: -0.025em; }
.pricing-card .period { font-family: var(--font-mono); font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.pricing-card ul { margin-top: 1.5rem; }
.pricing-card li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; margin-bottom: 0.75rem; }

/* ========== BADGES ========== */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: calc(var(--radius) - 4px);
    padding: 0.125rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border: 1px solid;
}
.badge-danger { border-color: hsl(var(--danger) / 0.4); background: hsl(var(--danger) / 0.1); color: hsl(var(--danger)); }
.badge-warning { border-color: hsl(var(--warning) / 0.4); background: hsl(var(--warning) / 0.1); color: hsl(var(--warning)); }
.badge-success { border-color: hsl(var(--success) / 0.4); background: hsl(var(--success) / 0.1); color: hsl(var(--success)); }
.badge-electric { border-color: hsl(var(--electric) / 0.4); background: hsl(var(--electric) / 0.1); color: hsl(var(--electric)); }
.badge-muted { border-color: hsl(var(--border)); background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
.badge-sm { padding: 0.25rem 0.625rem; font-size: 0.6875rem; }

/* ========== SVG / BATTLEFIELD ========== */
.battlefield-container { position: relative; width: 100%; }
.battlefield-container svg { width: 100%; height: auto; }

/* Pulse animation */
@keyframes pulse-line { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.animate-pulse-line { animation: pulse-line 2s ease-in-out infinite; }

/* Score gauge */
.score-gauge { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.score-gauge svg { transform: rotate(-90deg); }
.score-gauge .score-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.score-gauge .score-number { font-family: var(--font-heading); font-weight: 900; letter-spacing: -0.025em; line-height: 1; }
.score-gauge .score-label { font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; margin-top: 0.375rem; }

/* ========== TABLE ========== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(var(--muted-foreground));
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--muted) / 0.4);
}
.data-table td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid hsl(var(--border));
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: hsl(var(--muted) / 0.3); }

/* ========== AUTH PAGES ========== */
.auth-layout { min-height: 100vh; display: grid; }
@media (min-width: 1024px) { .auth-layout { grid-template-columns: 1fr 1fr; } }
.auth-form-side { display: flex; flex-direction: column; padding: 2rem; }
.auth-form-side .auth-form-inner { width: 100%; max-width: 24rem; margin: 0 auto; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.auth-visual-side {
    display: none;
    position: relative;
    border-left: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (min-width: 1024px) { .auth-visual-side { display: flex; } }

/* ========== DASHBOARD LAYOUT ========== */
.dash-sidebar {
    position: fixed;
    inset: 0;
    left: 0;
    z-index: 50;
    width: 15rem;
    border-right: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.2s;
}
@media (min-width: 1024px) { .dash-sidebar { transform: translateX(0); } }
.dash-sidebar.open { transform: translateX(0); }
.dash-sidebar .sidebar-header { display: flex; align-items: center; justify-content: space-between; height: 4rem; border-bottom: 1px solid hsl(var(--border)); padding: 0 1.25rem; }
.dash-sidebar nav { flex: 1; overflow-y: auto; padding: 0.75rem; }
.dash-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    border-radius: calc(var(--radius) - 4px);
    margin-bottom: 0.125rem;
    transition: color 0.15s, background-color 0.15s;
}
.dash-sidebar nav a:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.dash-sidebar nav a.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-weight: 500; }
.dash-sidebar .sidebar-footer { border-top: 1px solid hsl(var(--border)); padding: 0.75rem; }
.dash-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    padding: 0 1.25rem;
}
.dash-topbar .topbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.dash-content { padding: 1.25rem; }
@media (min-width: 1024px) { .dash-content { padding: 2rem; } }
.stat-card { border-radius: var(--radius); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 1rem; }
.stat-card .stat-value { margin-top: 0.375rem; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .stat-card .stat-value { font-size: 1.875rem; } }
.stat-card .stat-label { font-family: var(--font-mono); font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.15em; color: hsl(var(--muted-foreground)); }

/* ========== ADMIN LAYOUT ========== */
.admin-layout { min-height: 100vh; display: grid; }
@media (min-width: 1024px) { .admin-layout { grid-template-columns: 16rem 1fr; } }
.admin-sidebar {
    display: none;
    border-right: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    padding: 1rem 0;
}
@media (min-width: 1024px) { .admin-sidebar { display: flex; flex-direction: column; } }
.admin-sidebar .sidebar-brand { padding: 0 1.25rem 1rem; border-bottom: 1px solid hsl(var(--border)); margin-bottom: 1rem; }
.admin-sidebar nav { flex: 1; padding: 0 0.75rem; }
.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    border-radius: calc(var(--radius) - 4px);
    margin-bottom: 0.25rem;
    transition: color 0.15s, background 0.15s;
}
.admin-sidebar nav a:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.admin-sidebar nav a.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.admin-main { padding: 1.5rem; }
@media (min-width: 768px) { .admin-main { padding: 2rem; } }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.admin-header h1 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }

/* ========== MISC ========== */
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.opacity-90 { opacity: 0.9; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-y-auto { overflow-y: auto; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.disabled { opacity: 0.4; pointer-events: none; }
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.transition-opacity { transition: opacity 0.15s; }
.transition-transform { transition: transform 0.2s; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-2 { transform: translateY(0.5rem); }
.-right-3 { right: -0.75rem; }
.-top-3 { top: -0.75rem; }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-fade-up { animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Progress bar */
.progress-bar { height: 0.5rem; border-radius: 9999px; background: hsl(var(--muted)); overflow: hidden; }
.progress-bar-fill { height: 100%; background: hsl(var(--electric)); transition: width 0.3s; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.breadcrumb .sep { color: hsl(var(--muted-foreground) / 0.5); }

/* Tabs */
.tabs { display: flex; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--background)); }
.tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    border-bottom: 2px solid transparent;
    transition: color 0.15s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.tab:hover { color: hsl(var(--foreground)); }
.tab.active { color: hsl(var(--foreground)); border-bottom-color: hsl(var(--electric)); }

/* Divider */
.divider { width: 100%; height: 1px; background: hsl(var(--border)); }

/* Check icon */
.icon-check { color: hsl(var(--success)); width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-cross { color: hsl(var(--muted-foreground)); width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-sm { width: 0.875rem; height: 0.875rem; }

/* Tooltip */
[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.5rem;
    background: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 100;
}

/* Empty state */
.empty-state { border: 1px dashed hsl(var(--border)); background: hsl(var(--card)); padding: 3rem; text-align: center; border-radius: var(--radius); }
.empty-state p { color: hsl(var(--muted-foreground)); font-size: 0.875rem; }

/* Toast / Flash messages */
.flash { padding: 0.75rem 1rem; border-radius: calc(var(--radius) - 4px); margin-bottom: 1rem; font-size: 0.875rem; }
.flash-success { background: hsl(var(--success) / 0.1); border: 1px solid hsl(var(--success) / 0.3); color: hsl(var(--success)); }
.flash-error { background: hsl(var(--danger) / 0.1); border: 1px solid hsl(var(--danger) / 0.3); color: hsl(var(--danger)); }

/* Page hero banner */
.page-hero { position: relative; border-bottom: 1px solid hsl(var(--border)); overflow: hidden; }
.page-hero .hero-inner { max-width: 56rem; margin: 0 auto; padding: 4rem 1.25rem; position: relative; }
@media (min-width: 1024px) { .page-hero .hero-inner { padding: 5rem 2rem; } }
.page-hero h1 { margin-top: 1rem; font-family: var(--font-heading); font-size: 2.25rem; font-weight: 900; letter-spacing: -0.025em; }
@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { margin-top: 1rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; }

/* Content section */
.content-section { max-width: 80rem; margin: 0 auto; padding: 4rem 1.25rem; }
@media (min-width: 1024px) { .content-section { padding: 4rem 2rem; } }
.content-section-narrow { max-width: 48rem; margin: 0 auto; padding: 3rem 1.25rem; }
@media (min-width: 1024px) { .content-section-narrow { padding: 3.5rem 2rem; } }

/* Two-col content layout */
.two-col { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* Article list card */
.article-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    overflow: hidden;
    transition: border-color 0.15s;
}
.article-card:hover { border-color: hsl(var(--electric) / 0.4); }
.article-card .card-image { height: 10rem; background: hsl(var(--muted)); overflow: hidden; position: relative; }
.article-card .card-body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
.article-card h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; transition: color 0.15s; }
.article-card:hover h3 { color: hsl(var(--electric)); }

/* TOC sidebar */
.toc { position: sticky; top: 6rem; }
.toc nav { margin-top: 0.75rem; border-left: 1px solid hsl(var(--border)); }
.toc nav a {
    display: block;
    border-left: 2px solid transparent;
    margin-left: -1px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    transition: color 0.15s, border-color 0.15s;
}
.toc nav a:hover { color: hsl(var(--foreground)); border-left-color: hsl(var(--electric)); }

/* Alert boxes */
.alert { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: calc(var(--radius) - 4px); }
.alert-danger { border: 1px solid hsl(var(--danger) / 0.3); background: hsl(var(--danger) / 0.05); }
.alert-success { border: 1px solid hsl(var(--success) / 0.3); background: hsl(var(--success) / 0.05); }
.alert-warning { border: 1px solid hsl(var(--warning) / 0.3); background: hsl(var(--warning) / 0.05); }
.alert .alert-icon { flex-shrink: 0; width: 1rem; height: 1rem; margin-top: 0.125rem; }

/* Compare table */
.compare-table { overflow: hidden; border-radius: var(--radius); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.compare-table .compare-header { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--muted) / 0.4); }
.compare-table .compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-bottom: 1px solid hsl(var(--border)); }
.compare-table .compare-row:last-child { border-bottom: none; }
.compare-table .compare-cell { padding: 0.875rem 1rem; }
.compare-table .compare-cell + .compare-cell { border-left: 1px solid hsl(var(--border)); }

/* CTA block */
.cta-block { border-radius: var(--radius); border: 1px solid hsl(var(--electric) / 0.3); background: hsl(var(--electric) / 0.05); padding: 1.5rem; }
.cta-block.text-center { text-align: center; }

/* Stepper */
.stepper { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.stepper .step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(var(--border));
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: hsl(var(--muted-foreground));
    transition: all 0.2s;
}
.stepper .step-num.active { border-color: hsl(var(--electric)); background: hsl(var(--electric) / 0.1); color: hsl(var(--electric)); }
.stepper .step-line { height: 1px; width: 2.5rem; background: hsl(var(--border)); transition: background 0.2s; }
.stepper .step-line.active { background: hsl(var(--electric)); }

/* Login icon */
.login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(var(--electric) / 0.3);
    background: hsl(var(--electric) / 0.1);
    color: hsl(var(--electric));
}

/* Trust grid */
.trust-card { border-radius: var(--radius); border: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: 1.25rem; }
.trust-card .trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(var(--electric) / 0.3);
    background: hsl(var(--electric) / 0.1);
    color: hsl(var(--electric));
}

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 1.5rem; }
.testimonial-card blockquote { flex: 1; font-size: 0.875rem; line-height: 1.625; color: hsl(var(--foreground)); }
.testimonial-card figcaption { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid hsl(var(--border)); }
.testimonial-card .avatar { display: flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem; border-radius: 9999px; background: hsl(var(--navy)); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; color: hsl(var(--background)); }

/* Sidebar mobile overlay */
.sidebar-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,0.4); }
@media (min-width: 1024px) { .sidebar-overlay { display: none; } }

/* Notification badge */
.notification-dot { position: relative; display: inline-flex; height: 0.625rem; width: 0.625rem; }
.notification-dot span { position: absolute; display: inline-flex; height: 100%; width: 100%; border-radius: 9999px; background: hsl(var(--danger)); opacity: 0.6; animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* Scan animation */
.scan-line {
    position: absolute;
    pointer-events: none;
    left: 0; right: 0;
    height: 2.5rem;
    background: linear-gradient(to bottom, hsl(var(--electric) / 0.1), transparent);
    animation: scan-move 1.6s linear infinite;
}
@keyframes scan-move { from { top: 0; } to { top: 88%; } }

/* Responsive table */
.table-wrapper { overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.table-wrapper::-webkit-scrollbar { display: none; }

/* Accordion */
.accordion-item { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; cursor: pointer; background: none; border: none; width: 100%; text-align: left; }
.accordion-header h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: hsl(var(--foreground)); }
.accordion-body { padding: 0 1.25rem 1.25rem; }
.accordion-body p { font-size: 0.875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* No scrollbar utility */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
