:root {
    --surface: #0B0F19;
    --surface-2: #0F1629;
    --accent: #8B5CF6;
    --accent-soft: rgba(139, 92, 246, 0.15);
    --muted: #A1A1AA;
    --text: #FAFAFA;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top, #111827, var(--surface));
    user-select: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    backdrop-filter: blur(10px);
    background: rgba(11, 15, 25, 0.6);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-family: 'Fira Code', monospace;
    font-size: 1.6rem;
    color: var(--accent);
    letter-spacing: 1px;
}

#options {
    list-style: none;
    display: flex;
    gap: 40px;
}

#options li {
    cursor: pointer;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.25s ease;
    position: relative;
}

#options li:hover {
    color: var(--text);
}

#options li.active {
    color: var(--accent);
}

#options li.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

main {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page {
    width: 100%;
    max-width: 720px;
    padding: 35px;
    border-radius: 16px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.page:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.5);
}

.page h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, var(--accent));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.page h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

#features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin-bottom: 30px;
}

#features li {
    position: relative;
    padding: 8px 14px 8px 26px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: var(--accent-soft);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--accent);
    transition: all 0.25s ease;
}

#features li::before {
    content: "✓";
    position: absolute;
    left: 8px;
    font-size: 0.75rem;
    opacity: 0.8;
}

#features li:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.code-preview {
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    position: relative;
}

.code-preview::before {
    content: "Terminal";
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 0.7rem;
    color: var(--muted);
}

.code-preview code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #e6e6e6;
    line-height: 1.6;
}

.page a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
    gap: 8px;

    padding: 10px 20px;
    border-radius: 10px;

    border: 1px solid var(--accent);
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.1));
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;

    transition: all 0.3s ease;
}

.page a:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.page svg {
    width: 18px;
    height: 18px;
}

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

.feature-group {
    padding: 20px;
    border-radius: 14px;
    background: var(--glass);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-group:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-group h3 {
    color: var(--accent);
    margin-bottom: 12px;
}

.feature-group ul {
    list-style: none;
    padding: 0;
}

.feature-group li {
    position: relative;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 10px;
    padding-left: 22px;
    transition: all 0.25s ease;
}

.feature-group li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.feature-group li:hover {
    color: var(--text);
    transform: translateX(4px);
}

.feature-group li:hover::before {
    transform: translateX(3px);
}