:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.05);
    --text-main: #1d1d1f;
    --text-secondary: #86868b;
    --accent-silver: #d2d2d7;
    --bg-gradient-1: #f5f5f7;
    --code-bg: #fbfbfd;
    --code-border: #e5e5ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-gradient-1);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(230, 230, 235, 0.8), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.9), transparent 30%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    margin-bottom: 30px;
    padding: 40px;
}

/* Typography */
.hero {
    text-align: center;
    padding: 60px 40px;
}

.version-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1.2px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
}

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

/* Code Blocks */
code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #ff2d55;
    border: 1px solid var(--code-border);
}

pre {
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    padding: 20px;
    border-radius: 16px;
    overflow-x: auto;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

pre code {
    background: none;
    padding: 0;
    border: none;
    color: #1d1d1f;
    font-size: 0.9rem;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 20px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

details {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--accent-silver);
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
}

summary {
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

/* Buttons */
.link-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--accent-silver);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn.primary {
    background: #1d1d1f;
    color: #ffffff;
}

footer {
    margin-top: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}
