/* =========================================
   WowSticker 全站样式表 (2.0 Luxury Upgrade)
   Design: Deep Forest Green & Matte Gold
   Target: Perfume & High-end Brands
   ========================================= */

/* 1. 引入高级字体 (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased; /* 让字体在Mac上更清晰 */
}

:root {
    /* --- 核心配色方案 (Old Money Aesthetic) --- */
    --primary-color: #0F3D3E;      /* 深森林绿/午夜绿 - 核心品牌色 */
    --primary-light: #1A5254;      /* 稍亮的绿色，用于悬停 */
    --secondary-color: #C6A87C;    /* 哑光香槟金 - 强调色 */
    --secondary-hover: #B09265;    /* 深金色 */
    
    /* --- 文字与背景 --- */
    --text-dark: #1A1A1A;          /* 近黑色，比纯黑柔和 */
    --text-grey: #666666;          /* 高级灰 */
    --bg-light: #F9F9F9;           /* 米白色背景，代替纯白 */
    --white: #FFFFFF;              /* 纯白，用于卡片 */
    
    /* --- 质感元素 --- */
    --shadow-soft: 0 10px 30px rgba(15, 61, 62, 0.08); /* 柔和的高级阴影 */
    --shadow-hover: 0 15px 40px rgba(15, 61, 62, 0.15);
    --border-radius: 8px;          /* 统一圆角 */
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; /* 正文使用现代无衬线体 */
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* 标题通用样式 - 使用衬线体 */
h1, h2, h3, h4, h5, h6, .logo, .section-title {
    font-family: 'Playfair Display', serif; /* 衬线体，营造奢华感 */
}

/* ===== 按钮组件 (新增) ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px; /* 轻微圆角，更商务 */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}

/* 金色实心按钮 (Start Now) */
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 168, 124, 0.4);
}

/* 白色描边按钮 (More Options) */
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05); /* 极淡的阴影 */
    z-index: 1000;
    padding: 15px 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px; /* 增加间距 */
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    text-transform: uppercase; /* 大写更具高级感 */
    letter-spacing: 1px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* ===== 轮播图与 Hero 区域 ===== */
.banner-container {
    margin-top: 70px;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primary-color); /* 背景改为深绿 */
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 650px; /* 稍微增高，显得大气 */
}

/* 遮罩层：让文字更清晰 */
.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 61, 62, 0.4); /* 深绿色半透明遮罩 */
    z-index: 1;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Banner 1：双版本切换 */
.banner-slide-1 .desktop-img { display: block; }
.banner-slide-1 .mobile-img { display: none; }

/* Banner 2：双焦点 */
.banner-slide-2 img {
    object-position: center center;
    transition: transform 0.3s ease;
}

/* 轮播控制按钮 */
.banner-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.banner-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
    border-color: var(--secondary-color);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3); /* 细边框，更精致 */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.banner-arrow:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

/* ===== 计算器与表单样式 (新增 - 针对截图中的计算器) ===== */
/* 假设计算器被包裹在类似 .calculator-form 的容器中 */
input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-color); /* 聚焦时变成金色 */
    box-shadow: 0 0 0 3px rgba(198, 168, 124, 0.1);
}

/* 计算器卡片容器样式 */
.calculator-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--secondary-color); /* 顶部金色装饰线 */
}

/* ===== 产品九宫格 ===== */
.products-section {
    max-width: 1200px;
    margin: 100px auto; /* 增加上下间距 */
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 42px; /* 字体加大 */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -1px;
}

/* 副标题装饰 */
.section-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 60px;
    display: block;
}

.section-title::after {
    display: none; /* 移除旧的下划线 */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* 增加卡片间距 */
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.03); /* 极细微的边框 */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 300px; /* 图片更高，展示细节 */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05); /* 悬停时图片微放大 */
}

.product-info {
    padding: 25px;
    text-align: center; /* 文字居中，更有画廊感 */
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 产品徽章改为简约线条风格 */
.product-badge {
    display: inline-block;
    color: var(--secondary-color);
    padding: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--secondary-color);
}

/* ===== 信任徽章与风控区 (Banner Update) ===== */
.trust-section {
    background-color: var(--primary-color); /* 纯色深绿背景 */
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.trust-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex; /* 改为Flex布局 */
    justify-content: space-around; /* 分散对齐 */
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-block {
    flex: 1;
    min-width: 300px;
    background: rgba(255,255,255,0.05); /* 微透明背景 */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.trust-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.trust-desc {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.8;
    color: #e0e0e0;
}

.trust-button {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 10px 30px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.trust-button:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===== 页脚 ===== */
.footer {
    background: #0a292a; /* 比主色更深的绿色 */
    color: var(--white);
    padding: 80px 20px 30px;
    border-top: 4px solid var(--secondary-color); /* 顶部金色分割线 */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px; /* 悬停时轻微右移 */
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-soft);
        justify-content: flex-start;
    }
    
    .nav-menu.active { left: 0; }
    
    /* 轮播图调整 */
    .banner-slider { height: 500px; }
    
    .banner-slide-1 .desktop-img { display: none; }
    .banner-slide-1 .mobile-img { display: block; }
    
    .banner-slide-2 img {
        width: 166%;
        max-width: none;
        margin-left: -33%;
    }
    
    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .banner-arrow.prev { left: 10px; }
    .banner-arrow.next { right: 10px; }
    
    /* 产品网格 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title { font-size: 32px; }
    
    /* 页脚 */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .trust-content { flex-direction: column; }
}

/* 平板优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-slider { height: 550px; }
    .banner-slide-2 img { width: 125%; margin-left: -12.5%; }
}

/* ===== 实用工具类 ===== */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 新增：Trust & Risk 图片卡片样式 (请添加到 main.css 底部) ===== */

/* 让卡片看起来像“相框” */
.trust-block {
    flex: 1;
    min-width: 300px;
    background: rgba(255,255,255,0.05); /* 半透明高级感 */
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden; /* 关键：防止图片超出圆角 */
    padding: 0; /* 清除内边距，让图片贴边 */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 悬停效果：卡片上浮 + 边框变金 */
.trust-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    border-color: var(--secondary-color);
}

/* 图片容器：固定高度 */
.trust-img-wrapper {
    width: 100%;
    height: 220px; /* 控制图片显示高度 */
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--secondary-color); /* 图片和文字中间的金色分割线 */
}

/* 图片本体 */
.trust-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图片铺满且不变形 */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 悬停时图片缓慢放大 */
.trust-block:hover .trust-img {
    transform: scale(1.08);
}

/* 下方文字区域 */
.trust-text-content {
    padding: 30px 25px;
    text-align: center;
}

/* 调整原有标题间距 */
.trust-title {
    margin-bottom: 15px;
    color: var(--secondary-color); /* 强制金色标题 */
}