/* ================================
   SoulProp Design System
   White bg, Black text, Lime accent
   Premium, intentional, modern
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --lime: #84cc16;
    --lime-light: #a3e635;
    --lime-dark: #65a30d;

    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    --error: #dc2626;
    --error-light: #fef2f2;

    --glass-white: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
    --glass-shadow-lg: 0 8px 40px -8px rgba(0, 0, 0, 0.12);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
}

/* === Subtle Background Pattern === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(132, 204, 22, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(132, 204, 22, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* === Typography === */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--black);
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--black);
    margin-bottom: 1rem;
}

p {
    color: var(--gray-600);
}

.text-center { text-align: center; }
.text-mono { font-family: var(--font-mono); font-size: 0.875rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lime { color: var(--lime-dark); }
.text-muted { color: var(--gray-500); }

/* === Layout === */
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 900px;
}

/* === Glass Card === */
.glass {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
}

.card {
    padding: 2rem;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--lime);
    color: var(--black);
    box-shadow: 0 2px 8px -2px rgba(132, 204, 22, 0.4);
}

.btn-primary:hover {
    background: var(--lime-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px -4px rgba(132, 204, 22, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
    box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    box-shadow: var(--glass-shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    color: var(--black);
    background: var(--gray-100);
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--lime-600);
    padding: 0;
    font-weight: 500;
    cursor: pointer;
}

.btn-link:hover {
    color: var(--lime-700);
    text-decoration: underline;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* === Hero === */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
}

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

.hero-sublink {
    font-size: 0.875rem;
}

.hero-sublink a {
    color: var(--gray-500);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-sublink a:hover {
    color: var(--lime-dark);
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.gem-icon {
    width: 40px;
    height: 56px;
    margin-bottom: 0.75rem;
}

.brand {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
}

.brand-soul {
    color: var(--lime-dark);
}

.brand-prop {
    color: var(--gray-600);
}

/* Gem stamp for accent areas */
.gem-stamp {
    width: 32px;
    height: 45px;
    margin-bottom: 1.25rem;
}

.tagline {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--gray-500);
    margin: 1.5rem 0 2.5rem;
    line-height: 1.6;
}

.hero-intro {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 32rem;
    margin: -1rem auto 0;
    line-height: 1.7;
    font-style: italic;
}

.price-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* === Sections === */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--gray-50);
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 520px;
    margin: 0 auto;
}

/* === Steps Grid === */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.step-card {
    padding: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--lime);
    color: var(--black);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-list {
    list-style: none;
}

.step-list li {
    padding: 0.375rem 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* === Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
    margin: 2rem 0;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(132, 204, 22, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-check svg {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--lime-dark);
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--gray-700);
}

/* === CTA Box === */
.cta-box {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

/* === Footer === */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--gray-100);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
}

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

/* === Header === */
.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-inner.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.header .container {
    padding-left: 0.25rem;
    padding-right: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.08em;
    line-height: 1;
}

.logo .brand-soul {
    color: var(--lime-dark);
}

.logo .brand-prop {
    color: var(--gray-600);
    margin-left: -0.04em;
}

.logo-gem {
    width: 11px;
    height: 14px;
    flex-shrink: 0;
    position: relative;
    top: 0.5px;
}

/* Navigation */
.nav-menu {
    position: relative;
}

.nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.15s;
}

.nav-toggle:hover {
    border-color: var(--gray-300);
    color: var(--black);
}

.nav-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

/* Menu toggle - hamburger with text */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.625rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1;
}

.menu-toggle:hover {
    color: var(--black);
    border-color: var(--gray-300);
}

.hamburger-icon {
    width: 12px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.hamburger-icon span {
    display: block;
    height: 1px;
    background: currentColor;
}

.nav-menu.open .nav-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--glass-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s var(--ease-out);
    z-index: 200;
}

.nav-menu.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item {
    display: block;
    padding: 0.875rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}

.nav-item:first-child {
    border-radius: 12px 12px 0 0;
}

.nav-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.nav-item:hover {
    background: var(--gray-50);
}

.nav-item.nav-current {
    background: rgba(132, 204, 22, 0.1);
    border-left: 3px solid var(--lime);
}

.nav-item.nav-current .nav-item-title {
    color: var(--lime-dark);
}

.nav-item-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.125rem;
}

.nav-item-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
}

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

/* === Forms === */
input, textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    color: var(--black);
    transition: all 0.15s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.15);
}

input::placeholder {
    color: var(--gray-400);
}

.key-input {
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

/* === Drop Zone === */
.dropzone {
    display: block;
    border: 2px dashed var(--gray-300);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    background: var(--gray-50);
}

.dropzone:hover {
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.03);
}

.dropzone.dragover {
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.05);
    transform: scale(1.01);
}

.dropzone.has-file {
    border-style: solid;
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.03);
}

.dropzone-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: var(--gray-400);
}

.dropzone-text {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.dropzone-hint {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* === File Preview === */
.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-radius: 10px;
    margin-top: 1rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.file-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--glass-shadow);
    flex-shrink: 0;
}

.file-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--lime-dark);
}

.file-details {
    min-width: 0;
}

.file-name {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.btn-icon {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.15s;
}

.btn-icon:hover {
    color: var(--gray-600);
    background: var(--gray-100);
}

/* === Progress === */
.progress {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--lime-dark), var(--lime));
    border-radius: 100px;
    transition: width 0.1s linear;
    will-change: width;
}

/* === Enhanced Progress Display === */
.progress-display {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-percentage {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--black);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.progress-percentage .percent-symbol {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--gray-400);
    margin-left: 0.125rem;
}

.progress-status {
    font-size: 0.9375rem;
    color: var(--gray-500);
    min-height: 1.5em;
    transition: opacity 0.3s ease;
}

.progress-status.changing {
    opacity: 0;
}

.progress-container {
    margin: 1.5rem 0;
}

.progress-container .progress {
    height: 8px;
    background: var(--gray-100);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.progress-container .progress-bar {
    background: linear-gradient(90deg, var(--lime-dark) 0%, var(--lime) 50%, var(--lime-light) 100%);
    box-shadow: 0 0 12px rgba(132, 204, 22, 0.3);
    position: relative;
}

.progress-container .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Status steps with enhanced styling */
.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
    border-top: 1px solid var(--gray-100);
    padding-top: 1.5rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--gray-300);
    transition: all 0.4s var(--ease-out);
}

.progress-step.active {
    color: var(--black);
}

.progress-step.done {
    color: var(--lime-dark);
}

.progress-step-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.4s var(--ease-out);
}

.progress-step.pending .progress-step-icon {
    border: 2px solid var(--gray-200);
    color: transparent;
}

.progress-step.active .progress-step-icon {
    border: 2px solid var(--lime);
    background: var(--lime);
    color: white;
    animation: pulse-ring 1.5s ease-out infinite;
}

.progress-step.done .progress-step-icon {
    border: 2px solid var(--lime-dark);
    background: var(--lime-dark);
    color: white;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(132, 204, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
}

.progress-step-text {
    font-size: 0.9375rem;
    font-weight: 500;
}

.progress-step.active .progress-step-text {
    font-weight: 600;
}

/* === Status List === */
.status-list {
    list-style: none;
    margin: 1.5rem 0;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--gray-400);
    transition: color 0.2s;
}

.status-item.done {
    color: var(--lime-dark);
}

.status-item.active {
    color: var(--black);
}

.status-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon svg {
    width: 1rem;
    height: 1rem;
}

.status-text {
    font-size: 0.9375rem;
}

/* === Spinner === */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--gray-200);
    border-top-color: var(--lime);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* === Payment === */
.payment-box {
    margin-top: 1.5rem;
}

.payment-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
}

.payment-label {
    font-weight: 500;
    color: var(--gray-600);
}

.payment-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
}

.card-container {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    min-height: 60px;
}

/* === Complete === */
.complete-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(132, 204, 22, 0.1);
    border-radius: 50%;
}

.complete-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--lime-dark);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.warning-box {
    background: rgba(132, 204, 22, 0.05);
    border: 1px solid rgba(132, 204, 22, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
}

.warning-box p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.success-box {
    background: rgba(132, 204, 22, 0.15);
    border: 1px solid var(--lime);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.success-box p {
    font-size: 0.875rem;
    color: var(--lime-dark);
    margin: 0;
    font-weight: 500;
}

.success-banner {
    background: var(--lime);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.4s var(--ease-out);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-reveal-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.demo-reveal-section h3 {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin: 0 0 0.5rem 0;
}

.verify-link {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: none;
}

.verify-link:hover {
    color: var(--lime-dark);
}

/* === Seal Info === */
.seal-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--gray-500);
}

.info-value {
    font-size: 0.9375rem;
    color: var(--black);
}

.fingerprint {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    word-break: break-all;
    line-height: 1.6;
    color: var(--gray-600);
}

/* === Badge === */
.badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--gray-100);
    border-radius: 100px;
    color: var(--gray-600);
}

.badge-lime {
    background: rgba(132, 204, 22, 0.15);
    color: var(--lime-dark);
}

/* === Error === */
.error-message {
    color: var(--error);
    font-size: 0.875rem;
    padding: 1rem;
    background: var(--error-light);
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.success-message {
    color: var(--lime-dark);
    font-size: 0.875rem;
    padding: 1rem;
    background: rgba(132, 204, 22, 0.1);
    border-radius: 10px;
}

/* === States === */
.state {
    padding: 4rem 0;
}

[hidden] {
    display: none !important;
}

/* === Divider === */
.divider {
    height: 1px;
    background: var(--gray-200);
    margin: 2rem 0;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.8125rem;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

/* === Actions === */
.actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* === Spacing === */
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }

/* === Admin Banner === */
.admin-banner {
    background: var(--lime);
    color: var(--black);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* === Admin Dashboard === */
.admin-container {
    max-width: 900px;
}

.admin-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
}

.stat-value.lime {
    color: var(--lime-dark);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.admin-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0;
}

.admin-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.15s ease;
}

.admin-tab:hover {
    color: var(--gray-700);
}

.admin-tab.active {
    color: var(--black);
    border-bottom-color: var(--lime);
}

.tab-panel[hidden] {
    display: none;
}

.admin-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.admin-actions-left,
.admin-actions-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-select {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--black);
    padding: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    cursor: pointer;
}

.admin-select:focus {
    outline: none;
    border-color: var(--lime);
}

.admin-table-wrapper {
    overflow-x: auto;
    padding: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.admin-table th,
.admin-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.admin-table th {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    font-weight: 600;
    background: var(--gray-50);
}

.admin-table td {
    color: var(--gray-700);
}

.admin-table tr.clickable {
    cursor: pointer;
    transition: background 0.15s;
}

.admin-table tr.clickable:hover {
    background: var(--gray-50);
}

.filename-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: var(--black);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 100px;
}

.status-badge.sealed {
    background: rgba(132, 204, 22, 0.12);
    color: var(--lime-dark);
}

.status-badge.revealed {
    background: var(--gray-100);
    color: var(--gray-500);
}

.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.page-info {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Detail panel */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.detail-header h3 {
    margin: 0;
}

.detail-actions {
    display: flex;
    gap: 0.75rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--glass-shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* === Story Layout === */
.container-story {
    max-width: 680px;
}

.story-block {
    text-align: left;
}

.story-block h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.story-text em {
    font-style: italic;
    color: var(--black);
}

/* === Solutions List === */
.solutions-list {
    margin-top: 1.5rem;
}

.solution-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.solution-item:last-child {
    border-bottom: none;
}

.solution-label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.solution-bad .solution-label::before {
    content: '×';
    color: var(--error);
    margin-right: 0.5rem;
    font-weight: 700;
}

.solution-verdict {
    color: var(--gray-500);
    font-size: 0.9375rem;
    padding-left: 1.125rem;
}

/* === Solution Highlights === */
.solution-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.highlight-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lime-dark);
    background: rgba(132, 204, 22, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    flex-shrink: 0;
    min-width: 7rem;
    text-align: center;
}

.highlight-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* === Workflow === */
.workflow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.workflow-section {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.workflow-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lime-dark);
    margin-bottom: 1rem;
}

.workflow-steps {
    list-style: none;
    counter-reset: workflow;
    margin-bottom: 1rem;
}

.workflow-steps li {
    counter-increment: workflow;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.workflow-steps li::before {
    content: counter(workflow);
    position: absolute;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--lime);
    color: var(--black);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

/* === Stacked Workflow (Expanded) === */
.workflow.workflow-stacked {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.workflow-stacked .workflow-section {
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
}

.workflow-stacked .workflow-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.workflow-stacked .workflow-title::before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background: var(--lime);
    border-radius: 2px;
}

.workflow-stacked .workflow-steps {
    list-style: none;
    counter-reset: workflow;
    margin-bottom: 1.5rem;
}

.workflow-stacked .workflow-steps li {
    counter-increment: workflow;
    padding: 1.25rem 0 1.25rem 3rem;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
}

.workflow-stacked .workflow-steps li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.workflow-stacked .workflow-steps li::before {
    content: counter(workflow);
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 2rem;
    height: 2rem;
    background: var(--lime);
    color: var(--black);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-stacked .workflow-steps li strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.workflow-stacked .workflow-steps li .step-detail {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.workflow-stacked .workflow-steps li .step-detail code {
    background: var(--gray-200);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.875em;
}

.workflow-stacked .workflow-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
    padding: 1rem 1.25rem;
    background: rgba(132, 204, 22, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--lime);
    margin-top: 0.5rem;
}

.workflow-stacked .workflow-note strong {
    color: var(--black);
}

/* === Use Cases Compact === */
.usecases-compact {
    margin-top: 1.5rem;
}

.usecases-compact p {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.usecases-compact p:last-child {
    border-bottom: none;
}

.usecases-compact strong {
    color: var(--black);
}

/* === Warning Box === */
.warning-box {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.warning-box p {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

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

.warning-list li {
    font-size: 0.8125rem;
    color: var(--gray-600);
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.warning-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gray-400);
}

/* === Demo Guide Box === */
.demo-reveal-guide {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.guide-box {
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.08), rgba(132, 204, 22, 0.02));
    border: 1px solid rgba(132, 204, 22, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.guide-box h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.guide-box > p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.guide-steps {
    text-align: left;
    max-width: 320px;
    margin: 0 auto 1rem;
    padding-left: 1.25rem;
}

.guide-steps li {
    font-size: 0.875rem;
    color: var(--gray-700);
    padding: 0.375rem 0;
}

.guide-steps code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

/* === How It Works Brief === */
.how-it-works-brief {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.how-it-works-brief h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.steps-brief {
    margin: 0;
    padding-left: 1.25rem;
}

.steps-brief li {
    font-size: 0.8125rem;
    color: var(--gray-600);
    padding: 0.25rem 0;
    line-height: 1.5;
}

.steps-brief code {
    font-size: 0.75rem;
}

/* === Quantity Selector === */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-label {
    font-weight: 500;
    color: var(--gray-600);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 8px;
    font-size: 1.25rem;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.quantity-btn:hover {
    border-color: var(--lime);
    color: var(--lime-dark);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-input {
    width: 4rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--lime);
}

/* === Price Display === */
.price-display {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-100);
    margin-top: 1rem;
}

.price-label {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
}

.price-unit {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-left: 0.25rem;
}

/* === Purchase Info === */
.purchase-info {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.purchase-info h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.purchase-list {
    list-style: none;
}

.purchase-list li {
    position: relative;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.purchase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--lime-dark);
    font-weight: 600;
}

/* === Quantity Box === */
.quantity-box {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
}

.quantity-box .price-display {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

/* === Payment Section === */
.payment-section {
    margin-top: 1.5rem;
}

/* === Code === */
code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--gray-100);
    padding: 0.125em 0.375em;
    border-radius: 4px;
    color: var(--gray-700);
}

/* === Seal Code === */
.seal-code-section {
    text-align: center;
}

.seal-code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--gray-900);
    border-radius: 10px;
}

.seal-code {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--lime);
    background: transparent;
    padding: 0;
}

.seal-code-box .btn-ghost {
    color: var(--gray-400);
}

.seal-code-box .btn-ghost:hover {
    color: var(--white);
    background: var(--gray-700);
}

/* === Code Entry === */
.code-entry {
    text-align: center;
}

.code-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.code-input {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* === Saved Codes === */
.saved-codes {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.saved-codes h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.saved-codes-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.saved-code-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.saved-code-item:hover {
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.05);
}

.saved-code-value {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-700);
}

.saved-code-remaining {
    font-size: 0.75rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* === Content Block === */
.content-block {
    max-width: 560px;
    margin: 0 auto;
}

/* === Verification Summary === */
.verification-summary {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
}

.verification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.verification-item:last-child {
    border-bottom: none;
}

.verification-label {
    color: var(--gray-500);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.verification-value {
    text-align: right;
    font-weight: 500;
    color: var(--gray-800);
    word-break: break-all;
    margin-left: 1rem;
}

.verification-value.fingerprint {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    max-width: 280px;
}

/* === Evidence Contents === */
.evidence-contents {
    text-align: center;
}

.evidence-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    display: inline-block;
    text-align: left;
}

.evidence-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}

.evidence-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--lime-dark);
}

/* === Demo Page === */
.demo-document {
    background: var(--gray-50);
    border-radius: 12px;
    overflow: hidden;
}

.demo-document-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.demo-document-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.demo-document-icon svg {
    width: 24px;
    height: 24px;
}

.demo-document-meta {
    display: flex;
    flex-direction: column;
}

.demo-document-name {
    font-weight: 600;
    color: var(--gray-800);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.demo-document-size {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.demo-document-content {
    padding: 1.5rem;
    max-height: 320px;
    overflow-y: auto;
}

.demo-text-title {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--gray-700);
    margin-bottom: 1rem;
    text-align: center;
}

.demo-text-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-style: italic;
}

.demo-text-sig {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: 1.5rem;
}

/* Demo Downloads */
.demo-downloads {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.demo-download-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-download-icon svg {
    width: 24px;
    height: 24px;
}

.demo-download-key {
    background: linear-gradient(135deg, var(--lime-light), var(--lime));
    color: white;
}

.demo-download-cert {
    background: var(--gray-200);
    color: var(--gray-600);
}

.demo-download-info {
    display: flex;
    flex-direction: column;
}

.demo-download-name {
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-800);
}

.demo-download-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

/* Demo Keyfile Preview */
.demo-keyfile-preview {
    background: var(--gray-800);
    border-radius: 8px;
    padding: 1rem;
}

.demo-preview-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-keyfile-preview .demo-preview-label {
    color: var(--gray-400);
}

.demo-code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-300);
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Demo Evidence Preview */
.demo-evidence-preview {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1.5rem;
}

.demo-evidence-files {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.demo-evidence-file {
    display: grid;
    grid-template-columns: 2rem 1fr;
    grid-template-rows: auto auto;
    gap: 0 0.75rem;
    align-items: center;
}

.demo-evidence-icon {
    grid-row: span 2;
    font-size: 1.25rem;
    text-align: center;
}

.demo-evidence-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
}

.demo-evidence-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Demo Final Note */
.demo-final-note {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.1), rgba(132, 204, 22, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(132, 204, 22, 0.2);
}

.demo-final-note p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
}

/* Demo Actions */
.demo-revealed .actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === Demo Multi-Page === */
.demo-page {
    min-height: 100vh;
}

.demo-badge {
    background: var(--lime);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Demo Steps Indicator */
.demo-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 3rem auto 2rem;
}

.demo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.demo-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-400);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.demo-step-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.demo-step.active .demo-step-num {
    background: var(--lime);
    color: white;
    border-color: var(--lime);
}

.demo-step.active .demo-step-label {
    color: var(--lime-dark);
    font-weight: 500;
}

.demo-step.done .demo-step-num {
    background: var(--lime-dark);
    color: white;
    border-color: var(--lime-dark);
}

.demo-step.done .demo-step-label {
    color: var(--gray-600);
}

.demo-step-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    min-width: 20px;
    max-width: 40px;
    margin: 0 0.25rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.demo-step-line.done {
    background: var(--lime-dark);
}

/* Sealed Info */
.sealed-info {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.25rem;
}

.sealed-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.sealed-info-item:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.sealed-info-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.sealed-info-value {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
}

.fingerprint-small {
    font-size: 0.6875rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Download Section */
.download-section,
.certificate-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.download-section h3,
.certificate-section h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    color: var(--gray-800);
}

/* === Responsive === */
@media (max-width: 900px) {
    .workflow {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 60vh;
        padding: 3rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    .card {
        padding: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-buttons .btn {
        width: 100%;
    }

    .admin-stats {
        flex-direction: column;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .evidence-grid {
        grid-template-columns: 1fr;
    }

    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .highlight {
        flex-direction: column;
        gap: 0.5rem;
    }

    .highlight-label {
        min-width: auto;
        align-self: flex-start;
    }

    .quantity-selector {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === Seal Key Delivery === */
.seal-key-delivery {
    text-align: center;
}

.seal-key-delivery h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--gray-800);
}

.key-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.seal-key {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--gray-700);
    word-break: break-all;
    max-width: 300px;
}

.key-downloaded-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--lime-50);
    border: 1px solid var(--lime-200);
    border-radius: 8px;
    color: var(--lime-700);
    font-size: 0.875rem;
}

.key-downloaded-notice svg {
    color: var(--lime-500);
    flex-shrink: 0;
}

.key-downloaded-notice code {
    font-family: var(--font-mono);
    background: var(--lime-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

/* === Key Entry (Seal Page) === */
.key-entry {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.key-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--gray-300);
    border-radius: 16px;
    background: var(--gray-50);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}

.key-dropzone:hover {
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.03);
}

.key-dropzone.dragover {
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.05);
    transform: scale(1.01);
}

.key-dropzone.has-file {
    border-style: solid;
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.03);
}

.dropzone-icon-sm {
    width: 2rem;
    height: 2rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.key-or-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.key-or-divider::before,
.key-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.key-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.key-input:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.15);
}

.key-input::placeholder {
    color: var(--gray-400);
}

/* === Warning Box === */
.warning-box {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1rem;
}

.warning-box strong {
    display: block;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.warning-box ul,
.warning-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #92400e;
    font-size: 0.875rem;
}

.warning-box li,
.warning-list li {
    margin-bottom: 0.25rem;
}

.warning-box li:last-child,
.warning-list li:last-child {
    margin-bottom: 0;
}

/* === Success Box === */
.success-box {
    background: var(--lime-50);
    border: 1px solid var(--lime-200);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--lime-700);
    font-size: 0.875rem;
    text-align: center;
}

.success-box p {
    margin: 0;
}

/* === Demo Filesystem Window === */
.demo-filesystem {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-filesystem.file-taken {
    opacity: 0.5;
    transform: scale(0.98);
}

.demo-fs-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.demo-fs-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
}

.demo-fs-folder-icon {
    font-size: 1rem;
}

.demo-fs-controls {
    display: flex;
    gap: 0.5rem;
}

.demo-fs-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

.demo-fs-content {
    padding: 1rem;
    min-height: 80px;
}

.demo-file {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s ease;
    position: relative;
}

.demo-file:hover {
    background: rgba(132, 204, 22, 0.05);
    border-color: var(--lime);
}

.demo-file.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.demo-file-icon {
    font-size: 1.5rem;
}

.demo-file-icon-key {
    font-size: 1.5rem;
}

.demo-file-details {
    flex: 1;
}

.demo-file-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
}

.demo-file-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

.demo-file-sep {
    color: var(--gray-300);
}

.demo-file-drag-hint {
    position: absolute;
    right: 1rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.demo-file:hover .demo-file-drag-hint {
    opacity: 1;
}

.demo-fs-footer {
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.demo-fs-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.demo-fs-hint svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

/* Demo Dropzone */
.demo-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--gray-300);
    border-radius: 16px;
    background: var(--gray-50);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}

.demo-dropzone.dragover {
    border-color: var(--lime);
    background: rgba(132, 204, 22, 0.05);
    transform: scale(1.02);
}

/* Demo Drop Instruction */
.demo-drop-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.demo-drop-instruction svg {
    animation: bounce 1.5s ease-in-out infinite;
}

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

/* Demo Explainer */
.demo-explainer {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.demo-explainer-success {
    background: rgba(132, 204, 22, 0.08);
    border: 1px solid rgba(132, 204, 22, 0.2);
}

.explainer-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lime-dark);
    margin-bottom: 0.5rem;
}

.demo-explainer h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.demo-explainer p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* Demo Verification Summary */
.verification-summary h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.summary-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.summary-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.summary-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
}

.summary-mono {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-verified {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--lime-dark);
}

.summary-verified svg {
    color: var(--lime);
}

/* Demo Next Steps */
.demo-next-steps {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.demo-next-steps h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Next Step Hint */
.next-step-hint {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
}

.next-step-hint a {
    color: var(--lime-dark);
    text-decoration: underline;
}

/* Certificate Download */
.certificate-download {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

/* Complete Icon Large */
.complete-icon-lg {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
}

.complete-icon-lg svg {
    width: 100%;
    height: 100%;
    color: var(--lime);
}

/* ================================
   Demo Multi-Page Tutorial Styles
   ================================ */

/* Demo Progress Bar (Top Navigation) */
.demo-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.demo-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.demo-progress-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
}

.demo-progress-step.pending .demo-progress-icon {
    background: var(--gray-100);
    color: var(--gray-400);
    border: 2px solid var(--gray-200);
}

.demo-progress-step.active .demo-progress-icon {
    background: var(--lime);
    color: white;
    border: 2px solid var(--lime);
    box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.2);
}

.demo-progress-step.complete .demo-progress-icon {
    background: var(--lime);
    color: white;
    border: 2px solid var(--lime);
}

.demo-progress-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
    transition: color 0.3s var(--ease-out);
}

.demo-progress-step.active .demo-progress-label,
.demo-progress-step.complete .demo-progress-label {
    color: var(--black);
}

.demo-progress-line {
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s var(--ease-out);
}

.demo-progress-step.complete + .demo-progress-line,
.demo-progress-line:has(+ .demo-progress-step.complete) {
    background: var(--lime);
}

/* Demo Badge */
.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.1), rgba(132, 204, 22, 0.05));
    border: 1px solid rgba(132, 204, 22, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lime-dark);
    margin: 0 auto 1rem;
    text-align: center;
}

.demo-badge-icon {
    display: flex;
    align-items: center;
}

.demo-badge-icon svg {
    color: var(--lime);
}

/* Demo Context Box */
.demo-context-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.25rem;
}

.demo-context-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.demo-context-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lime-dark);
    background: rgba(132, 204, 22, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.demo-context-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
}

.demo-context-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Demo Preview Frame */
.demo-preview-frame {
    border: 2px dashed var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
}

.demo-preview-header {
    background: var(--gray-50);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.demo-preview-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-preview-content {
    padding: 1.5rem;
    background: white;
}

/* Demo File Card */
.demo-file-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
}

.demo-file-card .demo-file-icon {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-file-card .demo-file-icon svg {
    color: var(--gray-600);
}

.demo-file-card .demo-file-details {
    flex: 1;
    min-width: 0;
}

.demo-file-card .demo-file-name {
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-file-card .demo-file-meta {
    font-size: 0.875rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-file-separator {
    color: var(--gray-300);
}

.demo-file-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lime-dark);
    flex-shrink: 0;
}

.demo-file-status svg {
    color: var(--lime);
}

/* Demo Process Preview */
.demo-process-preview {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.demo-process-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.demo-process-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-process-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.demo-process-list li svg {
    color: var(--lime);
    flex-shrink: 0;
}

/* Demo Key Card */
.demo-key-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.08), rgba(132, 204, 22, 0.02));
    border: 1px solid rgba(132, 204, 22, 0.2);
    border-radius: 12px;
}

.demo-key-icon {
    width: 56px;
    height: 56px;
    background: var(--lime);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-key-icon svg {
    color: white;
}

.demo-key-details {
    flex: 1;
    min-width: 0;
}

.demo-key-filename {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--black);
}

.demo-key-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.demo-key-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lime-600);
}

.demo-key-status svg {
    color: var(--lime-500);
}

/* Demo Warning Box */
.demo-warning-box {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
}

.demo-warning-icon {
    flex-shrink: 0;
    color: #d97706;
}

.demo-warning-content {
    flex: 1;
}

.demo-warning-content strong {
    display: block;
    color: #92400e;
    margin-bottom: 0.25rem;
}

.demo-warning-content p {
    font-size: 0.875rem;
    color: #a16207;
    margin: 0;
}

/* Demo Info Box */
.demo-info-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 1rem;
}

.demo-info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.demo-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.demo-info-list li {
    position: relative;
    padding-left: 1rem;
}

.demo-info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gray-400);
}

.demo-info-list li strong {
    color: var(--gray-600);
    font-weight: 500;
}

.demo-info-list li code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.demo-info-list-ordered {
    counter-reset: step;
}

.demo-info-list-ordered li {
    counter-increment: step;
}

.demo-info-list-ordered li::before {
    content: counter(step) ".";
    font-weight: 600;
    color: var(--lime-dark);
    min-width: 1.5rem;
}

.demo-info-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Demo Disclaimer */
.demo-disclaimer {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
    padding: 0.875rem 1rem;
    background: var(--gray-50);
    border-left: 3px solid var(--gray-300);
    border-radius: 0 8px 8px 0;
}

.demo-disclaimer strong {
    color: var(--gray-600);
}

/* Demo Explanation Box */
.demo-explanation-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 1rem;
}

.demo-explanation-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.demo-explanation-header svg {
    color: var(--gray-400);
}

.demo-explanation-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    transition: opacity 0.3s var(--ease-out);
}

/* Demo Complete Section */
.demo-complete-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.demo-complete-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lime-dark);
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness for Demo */
@media (max-width: 640px) {
    .demo-progress-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .demo-progress-line {
        width: 30px;
    }

    .demo-file-card {
        flex-wrap: wrap;
    }

    .demo-file-status {
        width: 100%;
        justify-content: flex-start;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--gray-100);
    }

    .demo-key-card {
        flex-wrap: wrap;
    }

    .demo-key-card .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ================================
   Comprehensive Mobile Responsiveness
   ================================ */

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* Typography scaling */
    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 1rem;
        margin: 1rem 0 1.5rem;
    }

    /* Buttons - ensure touch-friendly size */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        min-height: 44px; /* iOS minimum touch target */
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        width: 100%;
    }

    .btn-sm {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
        min-height: 36px;
    }

    /* Cards */
    .card {
        padding: 1.25rem;
    }

    /* Dropzone */
    .dropzone {
        padding: 2rem 1rem;
    }

    .dropzone-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .dropzone-text {
        font-size: 0.875rem;
    }

    .key-dropzone {
        padding: 1.5rem 1rem;
    }

    .key-dropzone:hover,
    .demo-dropzone:hover {
        transform: none;
    }

    .demo-dropzone {
        padding: 1.5rem 1rem;
    }

    .dropzone-icon-sm {
        width: 1.75rem;
        height: 1.75rem;
    }

    /* Progress display */
    .progress-percentage {
        font-size: 2.5rem;
    }

    .progress-percentage .percent-symbol {
        font-size: 1.25rem;
    }

    /* Progress steps */
    .progress-steps {
        gap: 0;
    }

    .progress-step {
        padding: 0.5rem 0;
        gap: 0.75rem;
    }

    .progress-step-text {
        font-size: 0.8125rem;
    }

    .progress-step-icon {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.75rem;
    }

    /* File preview */
    .file-preview {
        padding: 0.875rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .file-info {
        flex: 1;
        min-width: 0;
    }

    .file-name {
        font-size: 0.875rem;
    }

    .file-size {
        font-size: 0.75rem;
    }

    /* Key input */
    .key-input {
        font-size: 0.75rem;
        padding: 0.75rem;
    }

    /* Quantity selector */
    .quantity-controls {
        gap: 0.375rem;
    }

    .quantity-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.125rem;
    }

    .quantity-input {
        width: 3.5rem;
        font-size: 1rem;
        padding: 0.375rem;
    }

    /* Price display */
    .price-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    /* Warning box */
    .warning-box {
        padding: 0.875rem;
    }

    .warning-box strong {
        font-size: 0.875rem;
    }

    .warning-box ul,
    .warning-list {
        font-size: 0.8125rem;
        padding-left: 1rem;
    }

    /* Verification summary */
    .verification-summary {
        padding: 0;
    }

    .verification-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.75rem 0;
    }

    .verification-label {
        font-size: 0.6875rem;
    }

    .verification-value {
        font-size: 0.875rem;
    }

    .fingerprint {
        font-size: 0.625rem;
        word-break: break-all;
    }

    /* Evidence contents */
    .evidence-contents {
        padding: 0;
    }

    .evidence-list {
        padding-left: 1.25rem;
    }

    .evidence-list li {
        font-size: 0.8125rem;
        padding: 0.25rem 0;
    }

    /* Key delivery */
    .seal-key-delivery h3 {
        font-size: 1rem;
    }

    .key-display {
        flex-direction: column;
        gap: 0.5rem;
    }

    .seal-key {
        font-size: 0.6875rem;
        max-width: 100%;
        text-align: center;
    }

    .key-downloaded-notice {
        flex-direction: column;
        text-align: center;
        gap: 0.375rem;
        padding: 0.625rem;
        font-size: 0.8125rem;
    }

    /* Actions */
    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }

    /* Demo progress bar */
    .demo-progress-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.375rem;
    }

    .demo-progress-line {
        width: 20px;
        margin: 0 0.25rem;
    }

    .demo-progress-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .demo-progress-label {
        font-size: 0.6875rem;
    }

    /* Demo context box */
    .demo-context-box {
        padding: 1rem;
    }

    .demo-context-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .demo-context-text {
        font-size: 0.875rem;
    }

    /* Demo file card */
    .demo-file-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .demo-file-card .demo-file-icon {
        width: 40px;
        height: 40px;
    }

    .demo-file-card .demo-file-name {
        font-size: 0.8125rem;
    }

    /* Demo process list */
    .demo-process-list li {
        font-size: 0.8125rem;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .gem-icon {
        width: 32px;
        height: 44px;
    }

    .brand {
        font-size: 0.8125rem;
    }

    /* Story text */
    .story-text {
        font-size: 1rem;
    }

    /* Workflow stacked */
    .workflow-stacked .workflow-section {
        padding: 1.25rem;
    }

    .workflow-stacked .workflow-title {
        font-size: 1rem;
    }

    .workflow-stacked .workflow-steps li {
        padding: 1rem 0 1rem 2.5rem;
    }

    .workflow-stacked .workflow-steps li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }

    .workflow-stacked .workflow-steps li strong {
        font-size: 0.9375rem;
    }

    .workflow-stacked .workflow-steps li .step-detail {
        font-size: 0.875rem;
    }

    .workflow-stacked .workflow-note {
        font-size: 0.8125rem;
        padding: 0.875rem 1rem;
    }

    /* Solutions list */
    .solution-item {
        padding: 0.75rem 0;
    }

    .solution-label {
        font-size: 0.9375rem;
    }

    .solution-verdict {
        font-size: 0.8125rem;
        padding-left: 1rem;
    }

    /* Highlights */
    .highlight-label {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
        min-width: auto;
    }

    .highlight-text {
        font-size: 0.875rem;
    }

    /* Use cases */
    .usecases-compact p {
        font-size: 0.875rem;
        padding: 0.625rem 0;
    }
}

/* Medium Mobile (max-width: 640px) - supplement existing styles */
@media (max-width: 640px) {
    /* Navigation menu improvements */
    .nav-toggle {
        min-height: 44px;
    }

    .nav-dropdown {
        min-width: 250px;
        left: 0;
        right: auto;
    }

    .nav-item {
        padding: 1rem 1.25rem;
    }

    .nav-item-title {
        font-size: 0.9375rem;
    }

    .nav-item-desc {
        font-size: 0.8125rem;
    }

    /* Header */
    .header {
        padding: 1rem 0;
    }

    .header .container {
        padding-left: 0.25rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer a {
        font-size: 0.9375rem;
        padding: 0.5rem 0;
    }

    /* State sections */
    .state {
        padding: 2.5rem 0;
    }

    /* Sealed info */
    .sealed-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .fingerprint-small {
        max-width: 100%;
    }

    /* Admin table */
    .admin-table th,
    .admin-table td {
        padding: 0.625rem 0.5rem;
        font-size: 0.75rem;
    }

    .filename-cell {
        max-width: 120px;
    }

    /* Admin stats */
    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    /* CTA box */
    .cta-box {
        padding: 2rem 1.25rem;
    }

    .cta-box p {
        font-size: 0.9375rem;
    }

    /* Demo badge */
    .demo-badge {
        font-size: 0.8125rem;
        padding: 0.375rem 0.875rem;
    }

    /* Demo key card */
    .demo-key-card {
        padding: 1rem;
    }

    .demo-key-icon {
        width: 48px;
        height: 48px;
    }

    .demo-key-filename {
        font-size: 0.8125rem;
    }

    /* Demo warning box */
    .demo-warning-box {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Complete icon */
    .complete-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1rem;
    }

    .complete-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }

    /* Certificate download */
    .certificate-download {
        padding-top: 0.875rem;
    }

    /* Payment box */
    .card-container {
        padding: 0.75rem;
    }

    /* Purchase info */
    .purchase-info h3 {
        font-size: 0.9375rem;
    }

    .purchase-list li {
        font-size: 0.875rem;
        padding: 0.375rem 0;
    }

    /* Quantity box */
    .quantity-box {
        padding: 1.25rem;
    }
}

/* Landscape phone orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .state {
        padding: 1.5rem 0;
    }

    .progress-percentage {
        font-size: 2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
    }

    .btn-icon {
        min-width: 44px;
        min-height: 44px;
        padding: 0.75rem;
    }

    .quantity-btn {
        min-width: 44px;
        min-height: 44px;
    }

    /* Remove hover effects that can cause issues on touch */
    .btn-primary:hover {
        transform: none;
    }

    .btn-secondary:hover {
        transform: none;
    }

    .dropzone:hover {
        transform: none;
    }

    /* Add active states instead */
    .btn-primary:active {
        background: var(--lime-dark);
    }

    .btn-secondary:active {
        background: var(--gray-100);
    }

    /* Better tap highlight */
    a, button, .nav-item {
        -webkit-tap-highlight-color: rgba(132, 204, 22, 0.2);
    }
}
