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

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #404040;
    --accent-color: #10b981;
    --accent-light: #34d399;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.light-mode {
    --bg-primary: #f4f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef0f3;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #d0d0d0;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    background-color: var(--accent-color);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-tag {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Theme Toggle */
.theme-toggle {
    width: 50px;
    height: 28px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 3px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.theme-toggle.light { justify-content: flex-end; }

.theme-toggle-circle {
    width: 22px;
    height: 22px;
    background-color: var(--text-primary);
    border-radius: 50%;
    transition: all 0.3s;
}

.theme-toggle.light .theme-toggle-circle {
    background-color: var(--accent-color);
}

/* Landing */
.landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    gap: 48px;
}

.landing-intro {
    text-align: center;
}

.landing-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.landing-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 960px;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px 32px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    position: relative;
    gap: 20px;
}

.option-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--card-shadow);
    transform: translateY(-4px);
}

.option-card:hover .option-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.option-icon {
    width: 88px;
    height: 88px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s;
    color: var(--text-primary);
}

.option-card:hover .option-icon {
    background-color: var(--accent-color);
    color: #ffffff;
}

.option-icon svg {
    width: 44px;
    height: 44px;
}

.option-body {
    flex: 1;
}

.option-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.option-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.option-arrow {
    font-size: 18px;
    color: var(--accent-color);
    opacity: 0;
    transition: all 0.25s;
}

/* Footer */
.page-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

@media (max-width: 768px) {
    .options-grid { grid-template-columns: 1fr; max-width: 400px; }
    .landing-title { font-size: 24px; }
    .page-header { padding: 16px 20px; }
}
