/* Specter Walkthrough Styles */
:root {
    --specter-green: #00C853;
    --specter-dark: #0D0D0D;
    --specter-surface: #1A1A1A;
    --specter-surface-light: #2A2A2A;
    --hr-red: #FF4444;
    --text-primary: #E0E0E0;
    --text-secondary: #888;
    --border: #333;
    --max-width: 800px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--specter-dark);
    color: var(--text-primary);
    line-height: 1.7;
}

/* Header */
.header {
    background: var(--specter-surface);
    border-bottom: 2px solid var(--specter-green);
    padding: 24px 0;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--specter-green);
}

.header .subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.header .platform-badge {
    display: inline-block;
    background: var(--specter-green);
    color: var(--specter-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation */
.nav {
    background: var(--specter-surface);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 16px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover, .nav a.active {
    color: var(--specter-green);
}

/* Content */
.content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 20px 80px;
}

/* Section */
.section {
    margin-bottom: 48px;
}

.section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--specter-green);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.section h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.section p {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* Steps */
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 12px 0 12px 48px;
    border-left: 2px solid var(--border);
    margin-left: 16px;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: -13px;
    top: 12px;
    width: 24px;
    height: 24px;
    background: var(--specter-green);
    color: var(--specter-dark);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps li:last-child {
    border-left-color: transparent;
}

.steps li strong {
    color: var(--text-primary);
}

/* Screenshot Placeholder */
.screenshot {
    background: var(--specter-surface);
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.screenshot.phone {
    max-width: 300px;
    min-height: 500px;
    margin: 16px auto;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot.watch {
    max-width: 200px;
    min-height: 200px;
    margin: 16px auto;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot.wide {
    max-width: 100%;
    min-height: 200px;
}

.screenshot .label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.screenshot .icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Side-by-side screenshots */
.screenshot-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px 0;
}

/* Info box */
.info-box {
    background: var(--specter-surface);
    border-left: 3px solid var(--specter-green);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.info-box.warning {
    border-left-color: var(--hr-red);
}

.info-box.warning .info-title {
    color: var(--hr-red);
}

.info-box .info-title {
    font-weight: 600;
    color: var(--specter-green);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-box p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Privacy tier table */
.tier-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.tier-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--specter-surface);
    color: var(--specter-green);
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.tier-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.tier-table tr:hover td {
    background: var(--specter-surface);
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 12px;
}

.footer a {
    color: var(--specter-green);
    text-decoration: none;
}

/* Platform selector (index page) */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.platform-card {
    background: var(--specter-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
    display: block;
}

.platform-card:hover {
    border-color: var(--specter-green);
    transform: translateY(-2px);
}

.platform-card .platform-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.platform-card .platform-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.platform-card .platform-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}
