/* ========================================
   PinLoveBird - 首页专用样式
   对角线非对称布局
   ======================================== */

/* Hero Section - 对角线分割布局 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--color-white) 50%, var(--color-light-green) 50%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, transparent 45%, rgba(236, 64, 122, 0.05) 55%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-light-pink);
    color: var(--color-deep-pink);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-deep-green), var(--color-deep-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.hero-image:hover {
    transform: rotateY(0) rotateX(0);
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--color-deep-green);
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--color-deep-pink);
    bottom: 20%;
    left: 5%;
}

/* Services Section - 对角线卡片布局 */
.services {
    padding: 120px 0;
    background: var(--color-white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-medium-green), var(--color-medium-pink));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-light-green), var(--color-light-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-light-pink) 0%, var(--color-light-green) 100%);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-deep-green), var(--color-deep-pink));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 20px;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--color-white);
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-light-green), var(--color-light-pink));
    border-radius: var(--border-radius-lg);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 42px;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image-wrapper {
        order: 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(135deg, var(--color-white) 60%, var(--color-light-green) 60%);
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 50px 30px;
    }
    
    .cta h2 {
        font-size: 32px;
    }
}
