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

:root {
    --bg: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f0f0;
    --text: #1a1a1a;
    --text-muted: #666;
    --border: #e0e0e0;
    --accent: #9333ea;
    --accent-hover: #7c3aed;
    --accent-glow: rgba(147, 51, 234, 0.15);
    --warn: #f59e0b;
    --success: #16a34a;
    --error: #ef4444;
    --btn-text: #fff;
}

html, body {
    min-height: 100vh;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

/* Hero */
.hero-section {
    background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 100px;
    text-align: center;
}

.hero-center {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 11px;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 28px;
}

h1 span {
    color: var(--accent);
}

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

/* CTA */
.cta-btn {
    display: inline-block;
    background: #000;
    color: var(--btn-text);
    border: none;
    padding: 16px 36px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #222;
}

.cta-link {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Demo heading */
.demo-section {
    padding: 80px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.demo-heading {
    max-width: 920px;
    margin: 0 auto 40px;
}

.demo-heading h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.25;
}

.demo-heading h2 span {
    color: var(--accent);
}

.demo-heading-sub {
    font-size: 15px;
    color: var(--text-muted);
}

.demo-wrap {
    max-width: 920px;
    margin: 0 auto;
}

/* Demo split: visible vs hidden */
.demo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.demo-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.demo-panel-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
}

.demo-panel-tag--visible {
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: var(--success);
}

.demo-panel-tag--hidden {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--error);
}

/* Skill card (client view) */
.demo-skill-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.demo-skill-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-skill-avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--accent-glow);
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-skill-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.demo-skill-author {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.demo-skill-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 600;
    border-radius: 4px;
    cursor: default;
}

/* Report (client view) */
.demo-report {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.demo-report-label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.demo-finding {
    border-radius: 6px;
    padding: 12px;
    border: 1px solid transparent;
}

.demo-finding--red {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.demo-finding--yellow {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.demo-finding--green {
    background: rgba(22, 163, 74, 0.05);
    border-color: rgba(22, 163, 74, 0.2);
}

.demo-finding-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.demo-finding-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.demo-finding-dot--red { background: var(--error); }
.demo-finding-dot--yellow { background: var(--warn); }
.demo-finding-dot--green { background: var(--success); }

.demo-finding-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.demo-finding-rec {
    font-size: 11px;
    line-height: 1.6;
    padding: 8px 12px;
    border-radius: 4px;
}

.demo-rec--red {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border-left: 2px solid var(--error);
}

.demo-rec--yellow {
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
    border-left: 2px solid var(--warn);
}

.demo-rec--green {
    background: rgba(22, 163, 74, 0.08);
    color: #14532d;
    border-left: 2px solid var(--success);
}

/* Locked panel (hidden methodology) */
.demo-locked-card {
    background: #18181b;
    border: 1px solid #2a2a2e;
    border-radius: 8px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.demo-locked-icon {
    font-size: 22px;
    line-height: 1;
}

.demo-locked-title {
    font-size: 14px;
    font-weight: 600;
    color: #fafafa;
    margin-top: -8px;
}

.demo-locked-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-locked-name {
    font-size: 11px;
    color: #a1a1aa;
    margin-bottom: 2px;
}

.demo-blur-line {
    height: 9px;
    border-radius: 4px;
    background: linear-gradient(90deg, #3f3f46, #52525b, #3f3f46);
    filter: blur(2.5px);
    opacity: 0.8;
}

/* Content sections */
.content-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.content-section--alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-inner {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-intro {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.check-list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 16px;
    color: var(--text);
    line-height: 1.4;
}

.check-icon {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    width: 16px;
}

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

.check-icon.no {
    color: var(--error);
}

.check-list--no li {
    color: var(--text-muted);
}

.section-note {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* Pack tags */
.pack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.pack-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    line-height: 1.4;
}

/* Contrast grid */
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contrast-col {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.contrast-col--visible {
    background: rgba(22, 163, 74, 0.04);
    border-color: rgba(22, 163, 74, 0.25);
}

.contrast-col--hidden {
    background: rgba(239, 68, 68, 0.03);
    border-color: rgba(239, 68, 68, 0.2);
}

.contrast-head {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.contrast-col--visible .contrast-head {
    color: var(--success);
    border-color: rgba(22, 163, 74, 0.2);
}

.contrast-col--hidden .contrast-head {
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.15);
}

.contrast-row {
    font-size: 14px;
    color: var(--text);
    padding: 11px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.4;
}

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

.contrast-col--hidden .contrast-row {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.4);
}

/* Steps */
.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    counter-reset: step;
}

.steps-list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 16px;
    color: var(--text);
    line-height: 1.5;
}

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

/* CTA section */
.cta-section {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.cta-inner {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-inner p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 20px 40px 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-right a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-sep {
    color: var(--text-muted);
    margin: 0 8px;
}

/* Tablet */
@media (max-width: 960px) {
    .demo-split { gap: 16px; }
}

/* Mobile */
@media (max-width: 720px) {
    .demo-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .hero-section { padding: 72px 20px 56px; }
    h1 { font-size: 32px; }
    .hero-sub { font-size: 15px; }
    .hero-actions { flex-direction: column; gap: 20px; }
    .content-section { padding: 48px 20px; }
    .content-section h2 { font-size: 26px; }
    .cta-section { padding: 48px 20px; min-height: 0; }
    .demo-section { padding: 48px 20px; }
    .demo-heading h2 { font-size: 26px; }
    .contrast-grid { grid-template-columns: 1fr; }
    footer { padding: 16px 20px 64px; flex-direction: column; text-align: center; }
}
