/* ===== 全局样式 | 黑灰白专业主题 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #f0f0f0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-elevated: #1e1e1e;
    --border-dim: #2c2c2c;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-white: #ffffff;
    --accent-gray: #6b6b6b;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: stretch;      /* 保证左右两侧高度一致 */
    padding: 0.1rem 2rem;
    border-bottom: 1px solid #222;
    background-color: rgba(10,10,10,0.98);
    backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ----- 左侧 logo + 标语容器 ----- */
.navbar-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-right: 2rem;
}

/* 组合 Logo 样式 (179x80) 保持不变 */
.logo-container {
    display: flex;
    width: 179px;
    height: 80px;
    margin: 0;
    padding: 0;
    border: 0;
    flex-shrink: 0;
}

.logo-a {
    display: block;
    width: 104px;
    height: 80px;
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

.logo-a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border: none;
}

.logo-bc {
    display: flex;
    flex-direction: column;
    width: 75px;
    height: 80px;
    margin: 0;
    padding: 0;
    border: 0;
}

.logo-b,
.logo-c {
    display: block;
    width: 75px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

.logo-b img,
.logo-c img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border: none;
}

.logo-container a {
    text-decoration: none;
    color: inherit;
}

/* 新增标语 */
.logo-tagline {
    font-size: 0.76rem;
    font-weight: 400;
    color: #999;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-top: -10px;
    margin-left: 2px;
    white-space: nowrap;        /* 默认不换行，保持与logo同宽 */
}

/* 原有 .logo 样式（可能未使用） */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #b0b0b0;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;        /* 内部垂直居中 */
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-links .active {
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: 0.25rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* 按钮 */
.btn {
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
    background: transparent;
    display: inline-block;
}

.btn-outline {
    border: 1px solid #4a4a4a;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

a.btn-primary,
.btn-primary {
    background: white;
    color: #555555;
    border: 1px solid white;
}

a.btn-primary:hover,
.btn-primary:hover {
    background: #e0e0e0;
    color: #000000;
    border-color: #e0e0e0;
}

.btn-large {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
}

/* 英雄区域 (视频背景) */
.hero {
    position: relative;
    margin: 2rem 0 4rem 0;
    border-radius: 2rem;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #2a2a2a;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.65), rgba(0,0,0,0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 3rem 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 2.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 通用标题 */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 3rem 0 2rem 0;
    letter-spacing: -0.02em;
}

.section-title small {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
    margin-left: 1rem;
}

/* 首页功能卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
}

.feature-card {
    background-color: #141414;
    border: 1px solid #252525;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    border-color: #555;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: #a8a8a8;
    font-size: 0.95rem;
}

/* 画廊网格 (首页 & 画廊页) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
}

.gallery-item {
    background-color: #141414;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    transition: border-color 0.2s;
}

.gallery-item:hover {
    border-color: #555;
}

.media-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-container img,
.media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.8rem;
    border-radius: 30px;
    border: 1px solid #4f4f4f;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.gallery-item p {
    padding: 1rem 1rem 1.2rem 1rem;
    font-weight: 500;
    color: #ddd;
}

.gallery-item p i {
    color: #888;
    margin-right: 0.5rem;
}

/* 会员横幅 (首页) */
.membership-cta {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid #333;
    border-radius: 2rem;
    padding: 3.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4rem 0;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* 底部 */
.footer {
    border-top: 1px solid #1f1f1f;
    padding: 3rem 0 4rem 0;
    margin-top: 5rem;
    color: #9f9f9f;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer a {
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

/* 认证卡片 (登录/注册) */
.auth-card {
    max-width: 460px;
    margin: 4rem auto;
    background: #141414;
    border: 1px solid #2c2c2c;
    border-radius: 2rem;
    padding: 2.8rem 2.5rem;
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.auth-sub {
    color: #aaa;
    margin-bottom: 2.2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.input-group input {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 60px;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
    color: white;
    transition: border 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #777;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #aaa;
}

.auth-footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #555;
}

/* 画廊页头部 */
.page-header {
    margin: 3rem 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

.filter-tabs {
    display: flex;
    gap: 0.8rem;
}

.filter-tabs span {
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    font-size: 0.9rem;
    cursor: default;
    color: #ccc;
}

/* 定价页 */
.pricing-header {
    text-align: center;
    margin: 4rem 0 3rem;
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-header p {
    color: #aaa;
    font-size: 1.2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.pricing-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    transition: transform 0.2s;
}

.pricing-card:hover {
    border-color: #555;
    transform: translateY(-8px);
}

.pricing-card .plan-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.pricing-card .price small {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.pricing-card ul {
    list-style: none;
    color: #bbb;
    margin: 2rem 0;
}

.pricing-card li {
    margin-bottom: 0.8rem;
}

.pricing-card li i {
    color: white;
    margin-right: 0.7rem;
    font-size: 0.9rem;
}

.pricing-card .btn {
    width: 100%;
    padding: 1rem;
    border-radius: 60px;
    text-align: center;
}

.pro {
    background: #1c1c1c;
    border-color: #4f4f4f;
}

/* 响应式调整 */
@media (max-width: 1000px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .membership-cta { flex-direction: column; text-align: center; gap: 2rem; }
}

@media (max-width: 700px) {
    .navbar { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .nav-links { flex-wrap: wrap; justify-content: center; width: 100%; }
    .navbar-left { margin-right: 0; width: 100%; }
    .logo-tagline { 
        white-space: normal;    /* 小屏幕允许换行 */
        font-size: 0.6rem; 
    }
    .hero-content h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .page-header { flex-direction: column; align-items: start; gap: 1rem; }
}
