/* 苹果风格主题 CSS */

/* ===== 基础样式 ===== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #c41e3a;
    --text-color: #ffffff;
    --secondary-text-color: rgba(255, 255, 255, 0.8);
    --tertiary-text-color: rgba(255, 255, 255, 0.6);
    --background-color: #000000;
    --card-background: rgba(30, 30, 30, 0.7);
    --card-hover-background: rgba(40, 40, 40, 0.7);
    --apple-blur: blur(20px);
    --apple-transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    --apple-transition-fast: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    --smooth-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

html, body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== 排版样式 ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0;
}

p {
    font-weight: 400;
    line-height: 1.6;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--apple-transition-fast);
}

/* ===== 页面结构 ===== */
.section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 30px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* ===== 导航栏 ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    background-color: rgba(0, 0, 0, 0.8);
    transition: var(--apple-transition);
}

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

.logo {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    opacity: 0.8;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: var(--apple-transition-fast);
}

.nav-links li a:hover,
.nav-links li a.active {
    opacity: 1;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* ===== 首页视频 ===== */
.hero-section {
    height: 100vh;
    padding: 0;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 80px;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.5px;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--secondary-text-color);
    animation: fadeInUp 1.5s ease-out 1s forwards, bounce 2s ease-in-out 2.5s infinite;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 12px;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== 品牌哲思 ===== */
.philosophy-intro, 
.product-intro,
.custom-intro,
.sustainability-intro, 
.verify-intro,
.membership-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.philosophy-intro p,
.product-intro p,
.custom-intro p,
.sustainability-intro p,
.verify-intro p,
.membership-intro p {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--secondary-text-color);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-text p {
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary-text-color);
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

.philosophy-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--smooth-shadow);
    height: auto;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.philosophy-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.parallax-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.philosophy-image:hover .parallax-image {
    transform: scale(1.05);
}

/* ===== 产品宇宙 ===== */
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.product-image {
    position: relative;
    overflow: hidden;
   /* border-radius: 12px;
    box-shadow: var(--smooth-shadow);
    transform: perspective(1000px) rotateY(5deg);
    transition: var(--apple-transition);*/
}

/* 非移动设备上的产品图片样式 */
@media (min-width: 769px) {
    .product-image {
        transform: perspective(1000px) rotateY(5deg);
        transition: var(--apple-transition);
    }
    
    .product-image:hover {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .product-image:hover .parallax-image {
        transform: scale(1.05);
    }
}

/* 移动设备上的产品图片样式 */
@media (max-width: 768px) {
    .product-image {
        transform: none !important;
    }
    
    .product-image .parallax-image {
        transform: none !important;
    }
}

.product-title-container {
    margin-bottom: 30px;
}

.product-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 500;
}

.product-description {
    margin-bottom: 40px;
}

.product-description p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--secondary-text-color);
}

.product-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 14px;
    color: var(--tertiary-text-color);
    margin-bottom: 5px;
}

.detail-value {
    font-size: 16px;
    font-weight: 500;
}

/* ===== 风土定制表单 ===== */
.custom-content {
    max-width: 700px;
    margin: 0 auto;
}

.custom-form-container {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    box-shadow: var(--smooth-shadow);
    transition: var(--apple-transition);
}

.custom-form-container:hover {
    background-color: var(--card-hover-background);
}

.form {
    display: grid;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    transition: var(--apple-transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.form-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--apple-transition-fast);
}

.form-group input:focus ~ .form-focus-border,
.form-group textarea:focus ~ .form-focus-border {
    width: 100%;
}

.textarea-group {
    height: 150px;
}

.form-group textarea {
    height: 100%;
    resize: none;
}

.button {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--apple-transition-fast);
    position: relative;
    overflow: hidden;
}

.primary-button {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(196, 30, 58, 0.3);
}

.primary-button:active {
    transform: translateY(0);
}

.secondary-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.button:hover::before {
    left: 100%;
}

/* ===== 可持续之路 ===== */
.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sustainability-card {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    box-shadow: var(--smooth-shadow);
    transition: var(--apple-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sustainability-card:hover {
    transform: translateY(-10px);
    background-color: var(--card-hover-background);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--accent-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(196, 30, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-text-color);
    margin-bottom: 24px;
}

.donation-counter {
    margin-top: auto;
}

.counter-wrap {
    font-size: 48px;
    font-weight: 600;
    background: linear-gradient(45deg, var(--accent-color), #ff5b79);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.counter-text {
    font-size: 14px;
    color: var(--tertiary-text-color);
}

.foundation-goals {
    list-style: none;
    margin-top: 24px;
    width: 100%;
    text-align: left;
}

.foundation-goals li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--secondary-text-color);
}

.foundation-goals li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 24px;
    line-height: 1;
}

/* ===== 防伪验真 ===== */
.verify-content {
    max-width: 700px;
    margin: 0 auto;
}

.verify-form-container {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    box-shadow: var(--smooth-shadow);
    transition: var(--apple-transition);
}

.verify-form-container:hover {
    background-color: var(--card-hover-background);
}

.verify-instruction {
    margin-bottom: 24px;
    color: var(--secondary-text-color);
}

.verify-form {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.verify-form input {
    flex: 1;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    transition: var(--apple-transition-fast);
}

.verify-form input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.verify-result {
    min-height: 60px;
    padding: 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    opacity: 0;
}

.verify-example {
    margin-top: 16px;
}

.verify-note {
    font-size: 14px;
    color: var(--tertiary-text-color);
    text-align: center;
}

/* ===== 鹿逸会 ===== */
.membership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.membership-benefits {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    box-shadow: var(--smooth-shadow);
    transition: var(--apple-transition);
}

.membership-benefits:hover {
    transform: translateY(-10px);
    background-color: var(--card-hover-background);
}

.benefits-title {
    font-size: 28px;
    margin-bottom: 32px;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list li i {
    font-size: 24px;
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(196, 30, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.benefit-info p {
    font-size: 14px;
    color: var(--secondary-text-color);
}

.membership-form-container {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    box-shadow: var(--smooth-shadow);
    transition: var(--apple-transition);
}

.membership-form-container:hover {
    background-color: var(--card-hover-background);
}

/* ===== 页脚 ===== */
.footer {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    padding: 80px 0 32px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-container {
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 64px;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo .logo {
    margin-bottom: 0px;
}

.tagline {
    font-size: 14px;
    color: var(--secondary-text-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
}

.footer-links-column h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    color: var(--tertiary-text-color);
    font-weight: 600;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 16px;
}

.footer-links-column a {
    /*font-size: 14px;*/
    color: var(--text-color);
}

.footer-links-column a:hover {
    color: var(--text-color);
}


.footer-links-column i {
    margin-right: 8px;
    width: 16px;
    color: var(--tertiary-text-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--tertiary-text-color);
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: var(--tertiary-text-color);
    font-size: 20px;
    transition: var(--apple-transition-fast);
}

.social-links a:hover {
    color: var(--text-color);
}

/* ===== 成功消息样式 ===== */
.success-message {
    text-align: center;
    padding: 30px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 12px;
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
}

.success-message i {
    font-size: 40px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.success-message p {
    color: var(--secondary-text-color);
}

/* ===== 加载动画 ===== */
@keyframes progressRing {
    0% {
        stroke-dashoffset: 251.2;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.progress-ring {
    animation: progressRing 2s ease-out forwards;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .philosophy-content,
    .product-content,
    .sustainability-content,
    .membership-content {
        gap: 40px;
    }
    
    .philosophy-intro p,
    .product-intro p,
    .custom-intro p,
    .sustainability-intro p,
    .verify-intro p,
    .membership-intro p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .philosophy-content,
    .product-content,
    .sustainability-content,
    .membership-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .philosophy-intro,
    .product-intro,
    .custom-intro,
    .sustainability-intro,
    .verify-intro,
    .membership-intro {
        margin-bottom: 40px;
    }
    
    .philosophy-image {
        width: 100%;
        max-width: 100%;
        text-align: center;
        transform: none !important;
        order: -1;
        margin-bottom: 20px;
    }
    
    .philosophy-image img {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .philosophy-content {
        gap: 40px;
    }
    
    .sustainability-card{
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .custom-form-container,
    .verify-form-container,
    .membership-benefits,
    .membership-form-container,
    .sustainability-card {
        padding: 25px;
    }
    
    .verify-form {
        flex-direction: column;
    }
    
    .counter-wrap {
        font-size: 36px;
    }
    
    .benefits-list li {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
}

/* ===== AOS设置覆盖 ===== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}
.floatimg{
    color: #fff;
}

/* 产品轮播图样式 */
.product-image-carousel {
    width: 100%;
    max-width: 600px; /* 控制最大宽度 */
    overflow: hidden;
    box-shadow: var(--smooth-shadow);
    border-radius: 0; /* 移除圆角 */
    height: auto;
    margin: 0 auto; /* 居中显示 */
}

.product-image-carousel .swiper-slide {
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-carousel .swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-image-carousel .swiper-pagination {
    bottom: 15px;
    z-index: 10;
}

.product-image-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0.5;
}

.product-image-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* 非移动设备上的产品轮播图样式 */
@media (min-width: 769px) {
    .product-image-carousel {
        transform: perspective(1000px) rotateY(5deg);
        transition: var(--apple-transition);
    }
    
    .product-image-carousel:hover {
        transform: perspective(1000px) rotateY(0deg);
    }
}

/* 移动设备上的产品轮播图样式 */
@media (max-width: 768px) {
    .product-image-carousel {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .product-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-image-carousel .swiper-slide img {
        max-width: 100%;
        height: auto;
    }
}