/* MEYINSOR Stage12D-R3 restored and extracted from shop/about/story.php. */
/* ========== CSS 变量系统 ========== */
:root {
    /* 颜色系统 */
    --primary-color: #000000;
    --secondary-color: #d4af37;
    --secondary-light: #faf5e9;
    --secondary-dark: #b8941c;
    --accent-color: #8b7355;
    
    /* 文字颜色 */
    --text-primary: #111111;
    --text-secondary: #444444;
    --text-light: #666666;
    --text-on-dark: #ffffff;
    
    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #fefefe;
    --bg-dark: #1a1a1a;
    
    /* 边框与阴影 */
    --border-color: #eaeaea;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* 间距系统 */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 过渡动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    color: var(--text-secondary);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-weight: 400;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 顶部英雄区 ========== */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 480px;
    max-height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero-bg {
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.6) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: var(--space-xl);
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--text-on-dark);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    margin: var(--space-lg) auto;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.hero-slogan {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 300;
    margin-top: var(--space-lg);
    font-style: italic;
    letter-spacing: 1px;
}

/* ========== 面包屑导航 ========== */
.hero-breadcrumb {
    margin-top: var(--space-xl);
    text-align: center;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    list-style: none;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.4);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
}

.breadcrumb-nav li {
    position: relative;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: var(--space-xs) 0;
    display: flex;
    align-items: center;
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-nav li:not(:last-child) {
    margin-right: var(--space-lg);
    padding-right: var(--space-lg);
}

.breadcrumb-nav li:not(:last-child):after {
    content: '›';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.breadcrumb-nav li:last-child {
    color: var(--secondary-color);
    font-weight: 500;
}

/* ========== 主内容区 ========== */
.page-content {
    max-width: 1300px;
    margin: var(--space-3xl) auto;
    position: relative;
}

/* ========== 品牌故事区块 ========== */
.story-section {
    margin-bottom: var(--space-3xl);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.story-block:nth-child(even) .story-text {
    order: 2;
}

.story-block:nth-child(even) .story-image {
    order: 1;
}

.story-text {
}

.story-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform var(--transition-normal);
}

.story-image:hover {
    transform: scale(1.02);
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* ========== 故事标题样式 ========== */
.story-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    padding-left: var(--space-lg);
}

.story-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, 
        var(--secondary-color), 
        var(--secondary-dark));
    border-radius: var(--radius-sm);
}

.title-number {
    display: inline-block;
    font-size: 1rem;
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    margin-right: var(--space-sm);
    font-weight: 500;
}

.story-title-icon {
    color: var(--secondary-color);
    margin-right: var(--space-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

/* ========== 故事内容样式 ========== */
.story-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.story-content p {
    margin-bottom: var(--space-md);
}

.story-content .highlight {
    color: var(--secondary-dark);
    font-weight: 500;
    background: rgba(212, 175, 55, 0.1);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.story-content .quote {
    font-style: italic;
    color: var(--text-light);
    border-left: 3px solid var(--secondary-color);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* ========== 故事特色网格 ========== */
.story-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-item {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== 创始人宣言区块 ========== */
.founder-declaration {
    background: linear-gradient(135deg, 
        rgb(26 26 26 / 52%) 0%, 
        rgba(45, 45, 45, 0.98) 100%),
        url(https://res.cloudinary.com/dvftfitzq/image/upload/v1774861725/05_hyk5gs.png);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
    color: var(--text-on-dark);
}

.founder-declaration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, 
        var(--secondary-color), 
        var(--secondary-dark));
}

.founder-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.founder-quote {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-weight: 300;
    font-style: italic;
}

.founder-quote::before,
.founder-quote::after {
    content: '"';
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
}

.founder-signature {
    margin-top: var(--space-xl);
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
}

.founder-signature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        var(--secondary-color), 
        transparent);
}

.founder-signature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        var(--secondary-color), 
        transparent);
}

/* ========== 品牌使命区块 ========== */
.brand-mission {
    background: linear-gradient(135deg, 
        var(--secondary-light) 0%, 
        rgba(250, 245, 233, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-3xl) 0;
    text-align: center;
}

.mission-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.mission-statement {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.mission-principles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.principle {
    background: var(--bg-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--secondary-dark);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.principle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========== CTA 行动号召区 ========== */
.cta-section {
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #2d2d2d 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--text-on-dark);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-2xl);
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        var(--secondary-dark) 100%);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: transform var(--transition-normal);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-width: 260px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.cta-btn i {
    margin-left: var(--space-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-on-dark);
    box-shadow: none;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .page-content {
        padding: 0 var(--space-lg);
    }
    
    .story-block {
        gap: var(--space-xl);
    }
}

@media (max-width: 992px) {
    .story-block {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .story-block .story-text,
    .story-block .story-image {
        order: initial !important;
    }
    
    .story-image {
        height: 400px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .story-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* ========== 仅修改移动端样式 ========== */
@media (max-width: 768px) {
    :root {
        --space-lg: 20px;
        --space-xl: 32px;
        --space-2xl: 48px;
        --space-3xl: 64px;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    /* 仅移动端调整页面内容容器 */
    .page-content {
        max-width: 100%;
        padding: 0 16px; /* 与导航栏相同的padding */
        margin: var(--space-2xl) auto;
    }
    
    /* 仅移动端调整区块内边距 */
    .story-block {
        margin-bottom: var(--space-xl);
    }
    
    .story-title {
        font-size: 1.75rem;
        padding-left: var(--space-md);
    }
    
    .story-content {
        font-size: 1.0625rem;
        line-height: 1.7;
    }
    
    /* 仅移动端调整故事特色网格 */
    .story-features {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* 仅移动端调整特色项 */
    .feature-item {
        padding: var(--space-md);
    }
    
    /* 仅移动端调整创始人宣言 */
    .founder-declaration {
        padding: var(--space-xl) var(--space-md);
        margin: var(--space-xl) 0;
    }
    
    .founder-quote {
        font-size: 1.25rem;
    }
    
    /* 仅移动端调整品牌使命 */
    .brand-mission {
        padding: var(--space-xl) var(--space-md);
        margin: var(--space-xl) 0;
    }
    
    /* 仅移动端调整使命原则 */
    .mission-principles {
        flex-direction: column;
        align-items: center;
    }
    
    .principle {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .cta-btn {
        min-width: 100%;
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
    
    /* 仅移动端调整面包屑导航 */
    .breadcrumb-nav {
        font-size: 14px;
        padding: var(--space-xs) var(--space-md);
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .breadcrumb-nav li:not(:last-child) {
        margin-right: var(--space-sm);
        padding-right: var(--space-sm);
    }
    
    /* 仅移动端调整故事图片高度 */
    .story-image {
        height: 350px;
    }
    
    /* 仅移动端调整CTA区 */
    .cta-section {
        padding: var(--space-xl) var(--space-md);
        margin: var(--space-2xl) auto;
        border-radius: var(--radius-lg);
    }
}

/* ========== 超小屏幕额外调整 ========== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-slogan {
        font-size: 1.25rem;
    }
    
    .story-title {
        font-size: 1.5rem;
    }
    
    /* 仅在超小屏幕调整故事图片高度 */
    .story-image {
        height: 280px;
    }
    
    .founder-quote {
        font-size: 1.125rem;
    }
    
    /* 仅在超小屏幕调整面包屑导航为垂直布局 */
    .breadcrumb-nav {
        flex-direction: column;
        gap: var(--space-xs);
        align-items: center;
        text-align: center;
    }
    
    .breadcrumb-nav li:not(:last-child) {
        margin-right: 0;
        padding-right: 0;
        margin-bottom: var(--space-xs);
        padding-bottom: var(--space-xs);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .breadcrumb-nav li:not(:last-child):after {
        display: none;
    }
    
    .cta-btn {
        padding: var(--space-md);
    }
}

/* ========== PC端保持原样（不添加额外样式） ========== */

/* ========== 打印样式 ========== */
@media print {
    .hero-section,
    .cta-section,
    .founder-declaration,
    .story-image,
    .breadcrumb-nav {
        display: none;
    }
    
    .story-block {
        grid-template-columns: 1fr;
        page-break-inside: avoid;
    }
    
    .story-title {
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
}
