/* ========================================
   一人公司俱乐部 (OPC-Club) 网站样式
   设计风格：浅灰蓝背景 + 深蓝文字 + 科技感线条 + 极简商务
   ======================================== */

/* ========== 颜色变量 ========== */
:root {
    /* 主色 */
    --primary-red: #E53935;
    --primary-blue: #1A365D;
    --primary-light: #E8EEF4;
    --white: #FFFFFF;
    
    /* 辅助色 */
    --text-dark: #1A365D;
    --text-gray: #5A6A7A;
    --text-light: #8A9AAA;
    --bg-light: #F5F8FA;
    --bg-blue: #E8EEF4;
    --border-color: #D1DCE5;
    
    /* 功能色 */
    --success: #10B981;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    /* 字体 */
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 容器 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #234B7A;
    border-color: #234B7A;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: var(--bg-light);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-img {
    width: 40px;
    height: 40px;
}

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

.logo-cn {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-en {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: 14px;
    color: var(--text-gray);
    padding: 8px 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.2s ease;
}

/* ========== Hero区域 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

/* 幻灯片轮播 */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(232, 238, 244, 0.85) 0%, 
        rgba(245, 248, 250, 0.75) 50%,
        rgba(232, 238, 244, 0.85) 100%);
}

.slider-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(26, 54, 93, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover {
    background-color: rgba(26, 54, 93, 0.5);
}

.slider-dots .dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-dots {
        bottom: 80px;
    }
    
    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .slider-dots {
        bottom: 60px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
        gap: 8px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
}

.hero-logo {
    margin-bottom: var(--spacing-xl);
}

.hero-logo-img {
    width: 120px;
    height: 120px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 2px;
}

.hero-slogan {
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: var(--spacing-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: var(--spacing-sm) auto 0;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(10px) rotate(45deg); }
    60% { transform: translateY(5px) rotate(45deg); }
}

/* ========== 核心权益 ========== */
.benefits {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

.benefit-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.benefit-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.benefit-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== 平台数据 ========== */
.stats {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2A4A7A 100%);
    padding: var(--spacing-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-number::after {
    content: '+';
    font-size: 32px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ========== 最新动态 ========== */
.updates {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.update-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.update-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.update-more {
    font-size: 14px;
    color: var(--primary-blue);
}

.update-more:hover {
    text-decoration: underline;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.update-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.update-tag {
    display: inline-flex;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.tag-design { background-color: #FEF3C7; color: #92400E; }
.tag-dev { background-color: #DBEAFE; color: #1E40AF; }
.tag-ops { background-color: #D1FAE5; color: #065F46; }
.tag-course { background-color: #EDE9FE; color: #5B21B6; }
.tag-case { background-color: #FCE7F3; color: #9D174D; }
.tag-tool { background-color: #E0E7FF; color: #3730A3; }

.update-name {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.update-status {
    font-size: 12px;
    color: var(--success);
    flex-shrink: 0;
}

.update-date {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
    flex-shrink: 0;
}

.update-location {
    font-size: 12px;
    color: var(--text-gray);
    flex-shrink: 0;
}

.update-new {
    font-size: 12px;
    color: var(--primary-red);
    flex-shrink: 0;
}

/* ========== 快速入口 ========== */
.cta {
    background: linear-gradient(135deg, var(--primary-red) 0%, #C62828 100%);
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-xl);
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 发起人介绍 ========== */
.founders {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.founders .section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.founder-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.founder-card.main {
    border: 2px solid var(--primary-red);
}

.founder-card .founder-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.founder-card .founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.founder-card .founder-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.founder-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-red);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.founder-badge.co {
    background-color: var(--primary-blue);
}

.founder-card .founder-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.founder-card .founder-title {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.founder-card .founder-bio {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.founders-more {
    text-align: center;
    margin-top: var(--spacing-xl);
    font-size: 14px;
    color: var(--text-light);
}

.founder-title {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
}

.founder-bio {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== 页脚 ========== */
.footer {
    background-color: var(--text-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.footer-logo-text span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.footer-logo-text span:last-child {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-slogan {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: var(--spacing-3xl);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--spacing-sm);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    background-color: var(--white);
    padding: 8px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.footer-qrcode p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--spacing-xs);
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        gap: var(--spacing-md);
        z-index: 100;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-slogan {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .founder-name {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nav-actions .btn-outline {
        display: none;
    }
    
    .nav-actions .btn-primary {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-logo-img {
        width: 80px;
        height: 80px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-slogan {
        font-size: 16px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}
