/* Round 7.5: Bear App Tribute Style (Expanded Content) */

:root {
    --bg-body: #FFFFFF;
    --bg-emphasis: #F7F7F7;

    --text-primary: #222222;
    --text-secondary: #666666;

    --accent: #D7494C;
    /* Bear Red */
    --accent-blue: #0A84FF;

    --font-heading: "Georgia", "Times New Roman", Times, serif;
    --font-body: "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --container-width: 900px;
    --section-spacing: 120px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Typography Overrides */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

/* Navigation - Sticky */
nav {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-center {
    display: flex;
    gap: 24px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-family: var(--font-body);
}

.nav-link:hover {
    color: var(--accent);
}

.brand {
    font-family: var(--font-body);
    /* Bear often keeps brand simple/sans */
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn {
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.2s;
    font-family: var(--font-body);
}

.download-btn:hover {
    opacity: 0.9;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 64px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-sub {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    font-family: var(--font-body);
    font-weight: 400;
}

/* Manifesto / Philosophy Section */
.manifesto-section {
    padding: 80px 0 120px;
    text-align: center;
    background: #FFFFFF;
}

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

.manifesto-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    font-family: var(--font-body);
}

.manifesto-text {
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.5;
    color: var(--text-primary);
    font-style: italic;
}

.manifesto-text em {
    color: var(--text-primary);
    font-style: normal;
    background: linear-gradient(to bottom, transparent 60%, rgba(215, 73, 76, 0.1) 60%);
}


/* Feature Sections - Editorial Style */
.feature-section {
    padding: var(--section-spacing) 0;
}

.feature-section.alt {
    background: var(--bg-emphasis);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.feature-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-layout.reversed {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

p.feature-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-tag {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

/* Visuals - "Paper Note" Style */
.paper-note {
    width: 340px;
    min-height: 440px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Visual 1: The Editor (+1 & List) */
.note-header {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.note-line {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.note-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
}

.note-text {
    height: 10px;
    background: #eee;
    border-radius: 5px;
    width: 100%;
}

.note-tag {
    font-size: 12px;
    color: var(--accent);
    margin-right: 8px;
    font-weight: 600;
}

/* Visual 2: Themes Palette */
.palette-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.theme-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.theme-circle.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
}

.tc-red {
    background: #D7494C;
}

.tc-dark {
    background: #222;
}

.tc-blue {
    background: #0A84FF;
}

.tc-gold {
    background: #FFD60A;
}

.tc-green {
    background: #32D74B;
}

.tc-purple {
    background: #AF52DE;
}

/* Visual 3: Export Code */
.code-block {
    background: #F7F7F7;
    border-radius: 8px;
    padding: 20px;
    font-family: monospace;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}

.code-tag {
    color: var(--accent);
}

/* Visual 4: Typography (Aa) */
.type-poster {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.big-aa {
    font-size: 120px;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 20px;
}

.font-list {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* Testimonials */
.quote-section {
    padding: 100px 20px;
    text-align: center;
    background: #FFFFFF;
    border-top: 1px solid #eee;
}

.big-quote {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto 30px;
    font-style: italic;
}

.quote-author {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* Footer */
footer {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 800px) {

    .feature-layout,
    .feature-layout.reversed {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    h1 {
        font-size: 48px;
    }

    .nav-center {
        display: none;
    }

    nav {
        padding: 12px 20px;
    }

    .nav-right .download-btn {
        display: none;
    }

    /* 对比表移动端适配 */
    .container table {
        font-size: 12px;
    }

    .container table th,
    .container table td {
        padding: 10px 8px !important;
    }

    /* 价格卡片移动端堆叠 */
    h2 {
        font-size: 32px;
    }

    .paper-note {
        width: 280px;
        min-height: 360px;
    }

    /* 底部导航移动端居中 */
    footer {
        text-align: center;
    }
}

/* Nav Right Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-icon {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-icon::before {
    content: '';
    top: -7px;
}

.menu-icon::after {
    content: '';
    top: 7px;
}

/* Hamburger to X animation */
.mobile-menu-btn.open .menu-icon {
    background: transparent;
}

.mobile-menu-btn.open .menu-icon::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-btn.open .menu-icon::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.mobile-menu.open .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 16px 0;
    transition: color 0.2s;
    font-family: var(--font-heading);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

/* Show hamburger on mobile */
@media (max-width: 800px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}