/* VPS Armor - Stylesheet */
/* No dependencies, pure vanilla CSS */

:root {
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --bg-terminal: #0d1117;
    --border-color: #30363d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --accent-green: #3fb950;
    --accent-blue: #58a6ff;
    --accent-yellow: #d29922;
    --accent-red: #f85149;
    --accent-purple: #a371f7;
    --font-mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.github-badge {
    display: inline-block;
    margin-bottom: 12px;
}

.github-badge img {
    height: 20px;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Main content */
main {
    padding: 40px 0 80px;
}

section {
    margin-bottom: 48px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

strong {
    color: var(--text-primary);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-primary);
}

code {
    font-family: var(--font-mono);
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-green);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 16px;
}

/* OS Notice */
.os-notice {
    display: flex;
    justify-content: center;
}

.os-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(63, 185, 80, 0.1), rgba(88, 166, 255, 0.1));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    font-size: 1rem;
}

.os-icon {
    font-size: 1.5rem;
}

/* Terminal */
.terminal {
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 16px 0;
}

.terminal-header {
    background: var(--bg-card);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: var(--accent-red); }
.terminal-dot.yellow { background: var(--accent-yellow); }
.terminal-dot.green { background: var(--accent-green); }

.terminal-title {
    margin-left: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.terminal-body {
    padding: 20px;
    padding-right: 60px;
    position: relative;
    overflow-x: auto;
}

.terminal-body code {
    background: none;
    padding: 0;
    font-size: 1rem;
    color: var(--accent-green);
    flex: 1;
    white-space: nowrap;
}

.copy-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.copy-btn:hover {
    background: var(--border-color);
    border-color: var(--text-muted);
}

.hint {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Command section */
.command-section {
    text-align: center;
}

.command-section h3 {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: var(--text-muted);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Transparency */
.transparency {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.view-script-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--accent-green);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.view-script-btn:hover {
    opacity: 0.9;
}

/* Script preview */
.terminal.large .terminal-body {
    padding: 0;
}

.script-content {
    display: block;
    width: 100%;
}

.script-content pre {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 20px;
    overflow-x: auto;
    color: var(--text-secondary);
    margin: 0;
}

/* Warning section */
.warning {
    background: rgba(210, 153, 34, 0.1);
    border: 1px solid rgba(210, 153, 34, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
}

.warning h3 {
    color: var(--accent-yellow);
    margin-bottom: 16px;
}

.warning ul {
    list-style: none;
}

.warning li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 0;
}

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

/* License */
.license-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    font-size: 0.9rem;
}

.license-box ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.license-box li {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 16px;
}

.footer-links .separator {
    margin: 0 12px;
    color: var(--border-color);
}

.footer-links .sponsor {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
    header {
        padding: 40px 0 30px;
    }

    header h1 {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .os-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .terminal-body {
        padding-right: 20px;
        padding-bottom: 60px;
    }

    .terminal-body code {
        font-size: 0.85rem;
    }

    .copy-btn {
        right: 50%;
        top: auto;
        bottom: 12px;
        transform: translateX(50%);
    }

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

    .warning {
        padding: 20px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .footer-links .separator {
        display: none;
    }
}
