/* Hero V2 Styles - Premium Promo (Professional Edition) */
:root {
    --gold-primary: #b48b38;
    --gold-light: #f9f3e5;
    --promo-red: #d11a2a; /* Deep, authoritative red */
    --promo-red-light: #fef2f2;
    --premium-dark: #111827;
    --premium-gray: #4b5563;
}

.hero-v2 {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fdfbf7 0%, #ffffff 50%, #fff1f2 100%);
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Background Elements */
.hero-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-v2-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(209, 26, 42, 0.03) 0%, transparent 60%);
    border-radius: 50%;
}

.hero-v2-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2394a3b8" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,197.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-v2-globe-grid {
    position: absolute;
    top: -15%;
    right: -5%;
    width: 55%;
    height: 110%;
    background-image: 
        linear-gradient(rgba(180, 139, 56, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(209, 26, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(1000px) rotateX(15deg) rotateY(-10deg) rotateZ(-5deg);
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

/* Container */
.hero-v2 .container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 60px 24px;
}

/* Left Content */
.hero-v2-content {
    flex: 1;
    max-width: 580px;
    z-index: 20;
}

.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    background: var(--promo-red-light);
    color: var(--promo-red);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(209, 26, 42, 0.1);
}

.hero-v2-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--promo-red);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 2px rgba(209, 26, 42, 0.2);
}

.hero-v2-title {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--premium-dark);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-v2-title span {
    color: var(--promo-red);
    position: relative;
    display: inline-block;
}

.hero-v2-subtitle {
    font-size: 1.8rem;
    color: var(--premium-dark);
    margin-bottom: 32px;
    font-weight: 500;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.hero-v2-price {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 4.2rem; /* 从4.8rem减小到4.2rem */
    color: var(--promo-red);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
}

/* Removed ::before pseudo-element to avoid duplicate currency symbol - symbol is now in data */

.hero-v2-features {
    list-style: none;
    margin-bottom: 48px;
}

.hero-v2-features li {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    color: var(--premium-gray);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-v2-features li i {
    color: var(--promo-red);
    margin-right: 16px;
    font-size: 1.25rem;
}

/* CTA: Professional Button */
.hero-v2-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--promo-red);
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 18px 48px;
    border-radius: 4px; /* Slightly rounded for professional look */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(209, 26, 42, 0.3);
}

.hero-v2-cta:hover {
    background-color: #9f1239;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 26, 42, 0.4);
}

/* Right Visual */
.hero-v2-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    height: 600px;
    perspective: 1500px;
    top: 40px;
}

.visual-composition {
    position: relative;
    width: 420px;
    height: 520px;
    transform-style: preserve-3d;
    transform: rotateY(-12deg) rotateX(5deg);
    transition: transform 0.5s ease-out;
}

/* Document Image Wrapper */
.v-doc-image-wrapper {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 340px;
    height: auto;
    z-index: 5;
    background: white;
    padding: 12px;
    /* Clean, crisp shadow */
    box-shadow: 
        0 20px 40px -10px rgba(0,0,0,0.15),
        0 0 0 1px rgba(0,0,0,0.05);
    border-radius: 2px;
    transform: rotate(-3deg);
}

/* Backing paper */
.v-doc-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    z-index: -1;
    transform: rotate(4deg);
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.v-doc-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Seal Overlay */
.v-seal-overlay {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 110px;
    height: 110px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='46' stroke='%23d11a2a' stroke-width='2' fill='none'/%3E%3Ccircle cx='50' cy='50' r='40' stroke='%23d11a2a' stroke-width='0.5' fill='none'/%3E%3Cpath d='M20 50 Q50 20 80 50' stroke='%23d11a2a' stroke-width='1' fill='none'/%3E%3Cpath d='M20 50 Q50 80 80 50' stroke='%23d11a2a' stroke-width='1' fill='none'/%3E%3Ctext x='50' y='54' font-family='Times New Roman, serif' font-size='10' fill='%23d11a2a' text-anchor='middle' font-weight='bold' letter-spacing='1'%3EAPOSTILLE%3C/text%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.9;
    transform: rotate(-10deg);
    mix-blend-mode: multiply;
}

/* Price Badge - Standard Promo Label Style */
.v-price-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 20;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: none;
    outline: none;
    background: transparent;
}

@keyframes popIn {
    0% { transform: scale(0) rotate(-15deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.pb-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 使用PNG图片作为背景 */
    background-image: url('../assets/images/discount-badge-bg.png');
    background-size: cover; /* 覆盖整个容器，保持比例 */
    background-repeat: no-repeat;
    background-position: center center;
    /* 设置容器尺寸 - 根据图片实际比例调整 */
    width: 110px;
    height: 130px;
    min-width: 110px;
    min-height: 130px;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    /* 移除所有边框和阴影 */
    box-shadow: none;
    transform: rotate(-5deg);
    /* 保持动画效果 */
}

.pb-label {
    position: relative;
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    font-family: 'PingFang SC', 'Microsoft YaHei', 'SimHei', sans-serif;
    white-space: nowrap;
    z-index: 2;
    margin-top: -15px; /* 向上偏移，使文字在火焰区域 */
    transform: rotate(5deg); /* 反向旋转，使文字保持水平 */
    /* 文字居中叠加在背景图片上 */
}

/* Ribbon Tag - "Max Discount" - Using PNG Image */
.v-ribbon-tag {
    position: absolute;
    bottom: 50px;
    left: -70px; /* Moved further left for visual balance */
    /* 使用PNG图片作为背景 */
    background-image: url('../assets/images/ribbon-badge-bg.png');
    background-size: 100% 100%; /* 完全填充容器 */
    background-repeat: no-repeat;
    background-position: center center;
    /* 设置容器尺寸 */
    width: 200px;
    height: 160px;
    min-width: 200px;
    min-height: 160px;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(5deg) translateZ(20px); /* 3D lift */
    box-shadow: none; /* 移除阴影，避免白框效果 */
    z-index: 25;
    background-color: transparent; /* 确保背景透明 */
}

/* Text Content */
.ribbon-content {
    display: flex;
    flex-direction: column;
    line-height: 1;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    transform: rotate(-3deg) translateY(-8px); /* 稍微向右下倾斜，并向上移动 */
}

.rt-small {
    font-size: 1.1rem;
    color: #64748b; /* Slate 500 */
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.rt-large {
    font-size: 2.8rem;
    color: #dc2626; /* Red 600 */
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 1px 3px rgba(255,255,255,0.5);
}


/* Pen - Sleek Matte Black */
.v-pen {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 170px;
    height: 14px;
    background: #1e293b;
    border-radius: 2px;
    transform: rotate(-40deg);
    transform-origin: bottom right; /* Rotate from end to keep it in place */
    box-shadow: 8px 12px 24px rgba(0,0,0,0.25);
    z-index: 30;
}

/* Metal Grip Section */
.v-pen::before {
    content: '';
    position: absolute;
    left: -20px; /* Extend further out */
    top: 0;
    width: 20px;
    height: 14px;
    background: linear-gradient(90deg, #64748b 0%, #cbd5e1 50%, #64748b 100%); /* Metallic cylinder effect */
    border-radius: 1px 0 0 1px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); /* Inner shadow for depth */
}

/* Pen Tip (The Nib) */
.v-pen::after {
    content: '';
    position: absolute;
    left: -36px; /* Position tip relative to grip */
    top: 1px;
    width: 0;
    height: 0;
    /* Sharper triangle for the tip */
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    /* Much darker steel color for visibility against white paper */
    border-right: 18px solid #475569; 
    /* Gold tip accent using filter/shadow hack */
    filter: drop-shadow(-1px 1px 0px #b45309) drop-shadow(-2px 2px 3px rgba(0,0,0,0.3));
}

/* Extra Detail: Gold Ring between body and grip */
.v-pen-ring {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 14px;
    background: linear-gradient(to bottom, #d97706, #fcd34d, #d97706);
    z-index: 31;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-v2 {
        height: auto;
        min-height: auto;
        padding: 80px 0;
    }
    .hero-v2 .container {
        flex-direction: column-reverse;
        padding-top: 20px;
    }
    .hero-v2-content {
        max-width: 100%;
        margin-top: 60px;
        text-align: center;
    }
    .hero-v2-subtitle {
        justify-content: center;
    }
    .hero-v2-features {
        display: inline-block;
        text-align: left;
    }
    .hero-v2-visual {
        justify-content: center;
        height: 500px;
        width: 100%;
        top: 0;
    }
    .visual-composition {
        width: 340px;
        height: 420px;
        transform: rotateY(0);
    }
    .v-doc-image-wrapper {
        width: 300px;
        left: 20px;
    }
    .v-price-badge {
        right: -10px;
        top: -20px;
    }
}

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
    .hero-v2 {
        padding: 30px 0 40px;
    }
    
    .hero-v2 .container {
        padding: 0 16px;
    }
    
    .hero-v2-content {
        margin-top: 40px;
        padding: 0 10px;
    }
    
    .hero-v2-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }
    
    .hero-v2-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .hero-v2-subtitle {
        font-size: 1.4rem;
        margin-bottom: 24px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .hero-v2-price {
        font-size: 3rem;
        letter-spacing: -1px;
    }
    
    .hero-v2-features {
        margin-bottom: 32px;
    }
    
    .hero-v2-features li {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .hero-v2-features li i {
        font-size: 1.1rem;
        margin-right: 12px;
    }
    
    .hero-v2-cta {
        font-size: 1rem;
        padding: 14px 36px;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-v2-visual {
        height: 400px;
        margin-top: 20px;
    }
    
    .visual-composition {
        width: 280px;
        height: 360px;
        transform: rotateY(0) rotateX(0);
    }
    
    .v-doc-image-wrapper {
        width: 250px;
        left: 15px;
        top: 15px;
        padding: 10px;
    }
    
    .v-price-badge {
        right: -5px;
        top: -15px;
        transform: scale(0.85);
    }
    
    .pb-content {
        width: 94px;
        height: 111px;
        min-width: 94px;
        min-height: 111px;
    }
    
    .pb-label {
        font-size: 1.4rem;
        letter-spacing: 3px;
        margin-top: -12px;
    }
    
    .v-ribbon-tag {
        width: 160px;
        height: 128px;
        min-width: 160px;
        min-height: 128px;
        bottom: 30px;
        left: -50px;
        transform: rotate(5deg) translateZ(20px) scale(0.8);
    }
    
    .rt-small {
        font-size: 0.9rem;
    }
    
    .rt-large {
        font-size: 2.2rem;
    }
    
    .v-pen {
        width: 140px;
        height: 12px;
        bottom: -5px;
        right: -10px;
    }
    
    .v-pen::before {
        width: 16px;
        height: 12px;
        left: -16px;
    }
    
    .v-pen::after {
        left: -30px;
        border-right-width: 15px;
        border-top-width: 5px;
        border-bottom-width: 5px;
    }
    
    .v-seal-overlay {
        width: 90px;
        height: 90px;
        bottom: 40px;
        right: 40px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-v2 {
        padding: 25px 0 30px;
    }
    
    .hero-v2-content {
        margin-top: 30px;
        padding: 0;
    }
    
    .hero-v2-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
        margin-bottom: 12px;
    }
    
    .hero-v2-title {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .hero-v2-subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .hero-v2-price {
        font-size: 2.5rem;
    }
    
    .hero-v2-features {
        margin-bottom: 24px;
    }
    
    .hero-v2-features li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .hero-v2-features li i {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .hero-v2-cta {
        font-size: 0.95rem;
        padding: 12px 32px;
        max-width: 100%;
    }
    
    .hero-v2-visual {
        height: 320px;
        margin-top: 15px;
    }
    
    .visual-composition {
        width: 240px;
        height: 300px;
    }
    
    .v-doc-image-wrapper {
        width: 220px;
        left: 10px;
        top: 10px;
        padding: 8px;
    }
    
    .v-price-badge {
        right: 0;
        top: -10px;
        transform: scale(0.75);
    }
    
    .pb-content {
        width: 83px;
        height: 98px;
        min-width: 83px;
        min-height: 98px;
    }
    
    .pb-label {
        font-size: 1.2rem;
        letter-spacing: 2px;
        margin-top: -10px;
    }
    
    .v-ribbon-tag {
        width: 140px;
        height: 112px;
        min-width: 140px;
        min-height: 112px;
        bottom: 20px;
        left: -40px;
        transform: rotate(5deg) translateZ(20px) scale(0.7);
    }
    
    .rt-small {
        font-size: 0.8rem;
    }
    
    .rt-large {
        font-size: 1.9rem;
    }
    
    .v-pen {
        width: 120px;
        height: 10px;
        bottom: -8px;
        right: -15px;
    }
    
    .v-pen::before {
        width: 14px;
        height: 10px;
        left: -14px;
    }
    
    .v-pen::after {
        left: -26px;
        border-right-width: 12px;
        border-top-width: 4px;
        border-bottom-width: 4px;
    }
    
    .v-seal-overlay {
        width: 75px;
        height: 75px;
        bottom: 30px;
        right: 30px;
    }
    
    /* 隐藏一些装饰元素以节省空间 */
    .hero-v2-globe-grid {
        opacity: 0.3;
    }
}
