/* Products Page Styles */

/* =========================================
   Hero Section (Halo 鍖哄煙)
   ========================================= */
.products-hero {
    margin-top: var(--header-height);
    background: radial-gradient(circle at bottom left, rgba(235, 245, 255, 1) 0%, rgba(255, 255, 255, 1) 60%);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Prevent any horizontal overflow at the section level */
}

.hero-container {
    max-width: 1380px;
    /* Increase container max width specifically for hero section */
}

.hero-content {
    display: grid;
    /* Override base 1fr 1fr to single overlapping cell */
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
}

/* --- Hero Text Group --- */
.hero-text-wrap {
    /* Fill the single grid cell entirely */
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 10;
    pointer-events: none;
    /* Allow clicks to pass through transparent part to the right */
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-buttons,
.hero-stats {
    pointer-events: auto;
    /* Re-enable clicks for actual text/buttons */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 122, 255, 0.08);
    /* 鍋忚摑鑹茬殑杞昏儗鏅?*/
    border-radius: 100px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
    white-space: nowrap;
    /* Do not wrap titles */
}

.hero-title-gradient {
    background: linear-gradient(90deg, #007aff, #00c6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* --- Hero Buttons --- */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    /* Do not wrap buttons */
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: var(--color-accent);
    color: white;
    border: none;
}

.hero-buttons .btn-primary:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.2);
}

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.65);
    color: var(--color-text);
    border: 1px solid #e2e8f0;
}

.hero-buttons .btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--color-primary);
}

/* --- Stats Area --- */
.hero-separator {
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    /* Do not wrap stats data */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-unit {
    font-size: 16px;
    font-weight: 600;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-light);
    margin-top: 4px;
    font-weight: 500;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 120px;
    line-height: 1.4;
}

/* --- Hero Visual --- */
.hero-visual {
    /* Fill the single grid cell entirely */
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.hero-image-container {
    width: 700px;
    /* Force image size */
    flex: 0 0 700px;
    max-width: none;
    margin: 0;
    position: relative;
    pointer-events: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.06));
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    animation: float 5s ease-in-out infinite;
}

.hero-floating-card-1 {
    top: -30%;
    left: 10%;
    animation-delay: 0s;
}

.hero-floating-card-2 {
    bottom: 20%;
    right: 0px;
    /* Keep safely inside */
    animation-delay: 2.5s;
}

.floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-icon.speed {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.floating-icon.precision {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.floating-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.floating-text h4 .unit {
    font-size: 13px;
    font-weight: 600;
}

.floating-text p {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 1024px) {
    .products-hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Reset Overlapping Elements */
    .hero-text-wrap {
        display: contents;
    }

    .hero-visual {
        display: block;
        pointer-events: auto;
        width: 100%;
        height: auto;
        order: 4;
    }

    .hero-badge {
        order: 1;
    }

    .hero-title {
        order: 2;
    }

    .hero-subtitle {
        order: 3;
    }

    .hero-stats {
        order: 5;
    }

    .hero-separator {
        order: 6;
    }

    .hero-buttons {
        order: 7;
    }

    .hero-image-container {
        width: 100%;
        flex: none;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Reset typography and wraps */
    .hero-title {
        white-space: normal;
    }

    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-floating-card {
        transform: scale(0.9);
    }

    .hero-floating-card-1 {
        left: 0;
        top: 0;
    }

    .hero-floating-card-2 {
        right: 0;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .hero-buttons .btn-primary {
        flex: 1 1 100%;
        width: 100%;
    }

    .hero-buttons .btn-outline {
        flex: 1 1 0;
        padding: 12px 4px;
        font-size: 13px;
        white-space: nowrap;
    }

    .hero-stats {
        gap: clamp(8px, 2vw, 20px);
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
    }

    .hero-stats .stat-value {
        font-size: clamp(20px, 6vw, 32px);
    }

    .hero-stats .stat-unit {
        font-size: clamp(12px, 3vw, 16px);
    }

    .hero-stats .stat-label {
        font-size: clamp(10px, 2.8vw, 14px);
    }

    .hero-floating-card {
        display: none;
    }
}

/* =========================================
   Features Section
   ========================================= */
.features {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-header h2 .accent {
    color: var(--color-accent);
}

.section-header p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 231, 190, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #46c19b;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 122, 255, 0.05);
    color: var(--color-text-light);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Video Section
   ========================================= */
.video-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.video-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.video-tab {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: var(--color-text-light);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.video-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.video-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(99, 231, 190, 0.3);
}

.video-container {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-wrapper {
    width: 100%;
    background: #000;
}

.video-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }

    .video-tabs {
        gap: clamp(4px, 2vw, 16px);
        margin-bottom: 24px;
        flex-wrap: wrap;
    }

    .video-tab {
        padding: clamp(6px, 1.5vw, 10px) clamp(10px, 2.5vw, 24px);
        font-size: clamp(10px, 3.5vw, 16px);
        white-space: nowrap;
    }
}

/* =========================================
   Comparison Section
   ========================================= */
.comparison {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
    /* Usually slightly off-white */
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.comparison-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.comparison-card.automated {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(99, 231, 190, 0.3);
    /* green-ish color from --color-accent */
}

.comparison-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.traditional .comparison-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    /* red */
}

.automated .comparison-icon {
    background: rgba(99, 231, 190, 0.15);
    /* accent */
    color: #22c55e;
    /* green */
}

.comparison-icon svg {
    width: 32px;
    height: 32px;
}

.comparison-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-primary);
    text-align: center;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 16px;
    color: var(--color-text-light);
}

.comparison-card li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.automated li svg {
    color: #22c55e;
    /* override generic stroke with green */
    stroke: #22c55e;
}

@media (max-width: 768px) {
    .comparison {
        padding: 60px 0;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================================
   Specs Section
   ========================================= */
.specs {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.specs-table {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.specs-table th {
    background-color: var(--color-bg-secondary);
    color: var(--color-primary);
    font-weight: 700;
    text-align: left;
    padding: 20px 24px;
    font-size: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.specs-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--color-text);
    font-size: 15px;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--color-primary);
    width: 35%;
}

.specs-table tr:hover td {
    background-color: rgba(99, 231, 190, 0.05);
    /* very light accent */
}

.compatibility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compat-tag {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .specs {
        padding: 60px 0;
    }

    .specs-table th {
        padding: 16px;
    }

    .specs-table td {
        padding: 16px;
    }

    .spec-label {
        width: 40%;
    }
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg) 0%, rgba(99, 231, 190, 0.05) 100%);
    border-top: 1px solid #e2e8f0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.cta-section p {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.btn-accent {
    background: linear-gradient(135deg, #ff9d2e 0%, #ff5b00 100%);
    color: white !important;
    border: none;
    padding: 16px 48px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 91, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 91, 0, 0.3);
    background: linear-gradient(135deg, #ffad4a 0%, #ff6e1a 100%);
}

.price-display {
    font-size: 64px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    gap: 8px;
}

.price-display .currency {
    font-size: inherit;
    margin-top: 0;
    margin-right: 0;
}

.warranty-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pcta-refund {
    display: none;
}

html[lang="zh-CN"] .pcta-refund {
    display: flex;
}

.warranty-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 15px;
    font-weight: 500;
}

.warranty-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-accent);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .price-display {
        font-size: 48px;
    }

    .price-display .currency {
        font-size: inherit;
        margin-top: 0;
    }

    .warranty-info {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 24px;
        justify-content: center;
        margin-top: 40px;
    }

    .pcta-refund {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* 确保非 zh-CN 时始终隐藏，使用更高的优先级 */
html:not([lang="zh-CN"]) .pcta-refund {
    display: none !important;
}

/* =========================================
   Structure Section (Frameless Minimalist Style)
   ========================================= */
.structure-section {
    padding: 140px 0;
    background-color: var(--color-bg);
}

.structure-header {
    text-align: center;
    margin-bottom: 100px;
}

.structure-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.structure-header p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.apple-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.apple-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    transition: none;
}

.apple-card:hover {
    transform: none;
    box-shadow: none;
}

/* Alternate direction for rows */
.apple-card:nth-child(even) {
    flex-direction: row-reverse;
}

.main-card {
    min-height: auto;
}

.sub-card {
    min-height: auto;
}

.apple-card .card-content {
    padding: 0;
    flex: 1;
    max-width: 480px;
}

.apple-card h3 {
    font-size: 30px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.apple-card p {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    color: #86868b;
}

.card-image-wrap {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    position: relative;
    overflow: visible;
}

.card-image-wrap img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apple-card:hover img {
    transform: scale(1.05);
}

.str-note {
    position: absolute;
    bottom: -30px;
    right: 0;
    font-size: 13px;
    color: #b5b5b9;
}

/* Remove sub-grid layout since we are going for a more linear flow */
.apple-sub-grid {
    display: contents;
}



@media (max-width: 768px) {
    .structure-section {
        padding: 80px 0;
    }

    .apple-grid {
        gap: 80px;
        padding: 0 24px;
    }

    .apple-card,
    .apple-card:nth-child(even) {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .structure-header h2 {
        font-size: 30px;
    }

    .apple-card h3 {
        font-size: 28px;
    }

    .apple-card p {
        font-size: 18px;
    }

    .apple-card .card-content {
        max-width: 100%;
    }

    .card-image-wrap img {
        max-width: 100%;
    }
}

/* Floating images for Row 5 */
.row5-special {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px;
    /* Add space for floats */
}

.row5-special .main-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    z-index: 1;
}

.row5-special .floating-img {
    width: 44%; /* 220px/500px = 44% */
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 4px solid #fff;
    position: absolute;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: floating-sub 6s ease-in-out infinite;
}

.float-tl {
    top: 4%;  /* 20px/500px */
    left: 4%;
}

.float-br {
    bottom: 20%; /* 100px/500px */
    right: 10%;  /* 50px/500px */
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    animation-delay: -3s !important;
}

@keyframes floating-sub {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.apple-card:hover .float-tl {
    transform: translate(-15px, -15px) scale(1.05);
}

.apple-card:hover .float-br {
    transform: translate(15px, 15px) scale(1.05);
}

@media (max-width: 768px) {
    .row5-special {
        padding: 40px; /* Reduced padding on mobile */
    }


    .float-tl {
        top: 0;
        left: 0;
    }

    .float-br {
        bottom: 15%;
        right: 0;
    }
}

/* =========================================
   购买弹窗 (Buy Modal)
   ========================================= */

/* 遮罩层：全屏半透明背景，初始隐藏 */
.buy-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 遮罩层激活状态 */
.buy-modal-overlay.active {
    display: flex;
}

/* 弹窗卡片 */
.buy-modal {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* 弹窗入场动画 */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.82) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 顶部时钟图标区域 */
.buy-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 231, 190, 0.15), rgba(99, 231, 190, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(99, 231, 190, 0.4);
}

.buy-modal-icon svg {
    width: 36px;
    height: 36px;
    stroke: #2bb58a;
    stroke-width: 1.8;
}

/* 关闭按钮（右上角 ×） */
.buy-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.buy-modal-close:hover {
    color: #1e293b;
    background: #f1f5f9;
}

/* 标题 */
.buy-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

/* 正文消息 */
.buy-modal-msg {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* 确认按钮 */
.buy-modal-btn {
    display: inline-block;
    padding: 13px 40px;
    background: linear-gradient(135deg, #63e7be, #46c19b);
    color: #030914;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(99, 231, 190, 0.4);
}

.buy-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 231, 190, 0.55);
}

.buy-modal-btn:active {
    transform: translateY(0);
}

/* CTA 购买按钮保持原有外观 */
.cta-section .btn-accent {
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: inherit;
}

/* 响应式：小屏适配 */
@media (max-width: 480px) {
    .buy-modal {
        padding: 40px 24px 32px;
        border-radius: 16px;
    }

    .buy-modal-title {
        font-size: 19px;
    }

    .buy-modal-msg {
        font-size: 15px;
    }
}