/* ========================================
   尧图网站定制 - 首页专用样式
   ======================================== */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.9) 0%, rgba(26, 60, 110, 0.9) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(244, 164, 96, 0.3) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section - Circular Layout */
.services-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, #fff 0%, var(--light-cream) 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    justify-items: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.service-circle-wrapper:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: start;
    align-self: start;
}

.service-circle-wrapper:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    justify-self: center;
}

.service-circle-wrapper:nth-child(3) {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    justify-self: end;
    align-self: start;
}

.service-circle-wrapper:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    justify-self: start;
    align-self: end;
}

.service-circle-wrapper:nth-child(5) {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
    justify-self: end;
    align-self: end;
}

/* Features Section */
.features-section {
    padding: 6rem 5%;
    background: var(--gradient-primary);
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--tibetan-yellow);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--tibetan-yellow);
}

.feature-text {
    line-height: 1.7;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--tibetan-yellow) 0%, #FFD700 100%);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--dark-brown);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-circle-wrapper {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: center !important;
        align-self: center !important;
    }

    .circle-large {
        width: 280px;
        height: 280px;
    }

    .circle-medium {
        width: 240px;
        height: 240px;
    }

    .circle-small {
        width: 200px;
        height: 200px;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}
