/* Cotton Candy Vending Machine Page Styles */

/* 全局容器样式 */
body .site-content,
body #content,
body .entry-content,
body .page,
body .ast-container,
body .page-content {
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .ast-container {
    max-width: 100vw !important;
    padding: 0 !important;
}

#primary {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* 棉花糖机器页面主容器 */
.cotton-candy-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Hero Section 样式 */
.cotton-candy-hero {
    width: 100%;
    background: linear-gradient(135deg, #fdf4f5 0%, #f8e8ea 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cotton-candy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1.5;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-tag {
    background: linear-gradient(135deg, #ed64a6 0%, #d53f8c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #ed64a6 0%, #d53f8c 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 100, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 100, 166, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #d53f8c;
    padding: 15px 30px;
    border: 2px solid #d53f8c;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #d53f8c;
    color: white;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);*/
}

/* 产品系列区域 */
.cotton-candy-series {
    padding: 100px 0;
    background: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ed64a6 0%, #d53f8c 100%);
    border-radius: 2px;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.series-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.series-card.featured {
    border: 3px solid #ed64a6;
}

.series-card.featured::before {
    content: 'recommend';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ed64a6 0%, #d53f8c 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.series-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.series-image {
    height: 250px;
    overflow: hidden;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.series-card:hover .series-image img {
    transform: scale(1.1);
}

.series-content {
    padding: 30px;
}

.series-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.series-subtitle {
    color: #718096;
    font-size: 16px;
    margin-bottom: 20px;
}

.series-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.series-features li {
    padding: 5px 0;
    color: #4a5568;
    position: relative;
    padding-left: 20px;
}

.series-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ed64a6;
    font-weight: bold;
}

.series-btn {
    background: linear-gradient(135deg, #ed64a6 0%, #d53f8c 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.series-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 100, 166, 0.3);
}

/* Features Section */
.cotton-candy-features {
    padding: 100px 0;
    background: #f7fafc;
}

.cotton-candy-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 1200px) {
    .cotton-candy-features .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* Video Demo Section */
.cotton-candy-video {
    padding: 100px 0;
    background: white;
}

.video-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.video-wrapper {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.play-button svg {
    pointer-events: none;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
}

.close-video {
    color: white;
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close-video:hover {
    color: #ed64a6;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-description {
    flex: 1;
}

.video-description h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.video-description p {
    color: #718096;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.video-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.highlight-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.highlight-item p {
    color: #718096;
    margin: 0;
}

/* Applications Section */
.cotton-candy-applications {
    padding: 100px 0;
    background: #f7fafc;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.application-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.application-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.application-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin: 20px 20px 10px 20px;
}

.application-card p {
    color: #718096;
    margin: 0 20px 20px 20px;
    line-height: 1.5;
}

/* Contact Section */
.cotton-candy-contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Contact Info Marketing Styles */
.contact-highlight {
    text-align: center;
    margin-bottom: 30px;
}

.highlight-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.contact-highlight h3 {
    font-size: 2.2rem;
    margin-bottom: 0;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    line-height: 1.2;
}

.value-proposition {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-pitch {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.urgency-text {
    color: #ffd700;
    font-weight: bold;
}

.benefits-list {
    display: grid;
    gap: 15px;
    margin: 25px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.cta-text {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
    padding: 20px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 237, 78, 0.2));
    border-radius: 15px;
    border: 2px solid #ffd700;
}

.cotton-candy-contact .section-title {
    color: white;
}

.cotton-candy-contact .section-title::after {
    background: white;
}

/* FAQ Section */
.cotton-candy-faq {
    padding: 100px 0;
    background: #f7fafc;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    flex: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #ed64a6;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
    padding-top: 10px;
}

/* About Us Section */
.cotton-candy-about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-highlight h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 18px;
    color: #ed64a6;
    font-weight: 600;
    margin-bottom: 30px;
}

.about-text > p {
    font-size: 16px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 40px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f7fafc;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #ed64a6;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.company-values {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-icon {
    font-size: 24px;
    min-width: 40px;
    text-align: center;
}

.value-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.value-item p {
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Customer Reviews Section */
.cotton-candy-reviews {
    padding: 100px 0;
    background: #f7fafc;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.reviewer-info p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.review-rating .stars {
    font-size: 16px;
    color: #ffd700;
}

.review-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Certifications Section */
.cotton-candy-certifications {
    padding: 100px 0;
    background: white;
}

.certifications-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.certifications-text {
    flex: 1;
}

.certifications-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.certifications-text > p {
    font-size: 16px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 40px;
}

.certification-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cert-icon {
    font-size: 20px;
    color: #10b981;
    min-width: 25px;
}

.cert-feature h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.cert-feature p {
    color: #718096;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.certifications-badges {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.cert-badge {
    background: #f7fafc;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    border-color: #ed64a6;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(237, 100, 166, 0.15);
}

.badge-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.cert-badge h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.cert-badge p {
    font-size: 12px;
    color: #718096;
    margin: 0;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-feature .feature-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    margin-top: 5px;
}

.contact-feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.contact-feature p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

.contact-form {
    flex: 1;
    background: rgba(0,0,0,.02);
    padding: 5px;
    border-radius: 20px;
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);*/
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .video-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .cotton-candy-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cotton-candy-series,
    .cotton-candy-features,
    .cotton-candy-video,
    .cotton-candy-applications,
    .cotton-candy-contact {
        padding: 60px 0;
    }
    
    .series-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-thumbnail {
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .about-content,
    .certifications-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-badges {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .about-highlight h3 {
        font-size: 28px;
    }
    
    .certifications-text h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .about-highlight h3 {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}
