/* MDReader Landing Page Stylesheet */
:root {
    --bg-color: #0b0d11;
    --card-bg: rgba(255, 255, 255, 0.035);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-blue: #007aff;
    --accent-cyan: #0dbff2;
    --accent-purple: #7928ca;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Ambient Glows */
.glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--accent-purple) 0%, var(--accent-blue) 100%);
    top: 350px;
    left: -150px;
}

/* Navigation Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.logo-badge {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
}

.logo-img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 122, 255, 0.35);
    display: block;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.2s ease;
}

.github-link:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 122, 255, 0.12);
    border: 1px solid rgba(0, 122, 255, 0.3);
    color: #4da3ff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #007aff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 680px;
    margin: 0 auto 36px;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #007aff, #0056b3);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 122, 255, 0.5);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.quick-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

/* App Window Mockup */
.mockup-container {
    max-width: 1060px;
    margin: 40px auto 80px;
    border-radius: 12px;
    background: rgba(22, 24, 29, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    text-align: left;
}

.window-header {
    background: #181a1f;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
}

.traffic-lights {
    display: flex;
    gap: 7px;
}

.light {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.light.red { background: #ff5f56; }
.light.yellow { background: #ffbd2e; }
.light.green { background: #27c93f; }

.window-title {
    font-size: 12px;
    color: var(--text-muted);
    font-family: ui-monospace, Menlo, monospace;
}

.window-body {
    display: grid;
    grid-template-columns: 240px 1fr 220px;
    min-height: 480px;
    background: #121418;
}

.mock-sidebar {
    background: #15171c;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 10px;
    font-size: 12px;
}

.mock-sidebar-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mock-tree-item {
    padding: 5px 8px;
    border-radius: 5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.mock-tree-item.active {
    background: rgba(0, 122, 255, 0.2);
    color: #4da3ff;
    font-weight: 600;
}

.mock-editor {
    padding: 24px 32px;
    overflow: hidden;
}

.mock-editor h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.mock-editor p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.mock-diagram {
    background: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    text-align: center;
}

.mock-inspector {
    background: #14161b;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 12px;
    font-size: 11px;
}

.mock-inspector-title {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

/* Features Grid */
.features {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
