/* --- 全局样式和变量 --- */
:root {
    --primary-color: #FF47A3; /* 亮粉色 - 充满活力的主色 */
    --secondary-color: #00C2FF; /* 电光蓝 - 用于点缀 */
    --dark-color: #12182B; /* 深蓝黑 - 背景色 */
    --light-color: #FFFFFF; /* 白色 - 文字和亮部 */
    --text-color: #D3D3D3; /* 浅灰色 - 普通段落文字 */
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--light-color);
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
}

/* --- 导航栏 --- */
.navbar {
    background: var(--dark-color);
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Press Start 2P', cursive; /* 像素游戏风格字体 */
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
}
.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.navbar nav ul li {
    margin-left: 25px;
}
.navbar nav a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}
.navbar nav a:hover {
    color: var(--primary-color);
}

/* --- 按钮样式 --- */
.cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.cta-button:hover {
    transform: translateY(-3px);
    background-color: #ff2a95;
}
.secondary-button {
    background-color: transparent;
    color: var(--light-color);
    padding: 10px 28px;
    border: 2px solid var(--light-color);
    border-radius: 50px;
    text-decoration: none;
    margin-left: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.secondary-button:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* --- 各个区域的样式 --- */
section {
    padding: 80px 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(18, 24, 43, 0.8), rgba(18, 24, 43, 0.8)), url('https://via.placeholder.com/1500x800.png?text=Bright+Kids+Cafe+Background') no-repeat center center/cover;
    padding: 120px 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.2;
}
.hero-section .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Feature Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.feature-item {
    background: #1a2138;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

/* How It Works Section */
.how-it-works-section {
    background-color: #1a2138;
}
.steps-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 40px;
    margin-top: 60px;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
}

/* Machines Section */
.machines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.machine-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
.machine-card h4 {
    text-align: center;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1a2138 0%, #12182B 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 71, 163, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.contact-image {
    position: relative;
}

.contact-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-badge {
    background: linear-gradient(135deg, var(--primary-color), #ff2a95);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 71, 163, 0.3);
}

.success-badge h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.success-badge p {
    margin: 0;
    font-size: 1rem;
    color: var(--light-color);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--light-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form input {
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 71, 163, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.submit-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 简单的响应式调整 */
@media (max-width: 768px) {
    .navbar .container { flex-direction: column; }
    .navbar nav ul { margin-top: 15px; }
    .hero-section h1 { font-size: 2.5rem; }
    .steps-container { flex-direction: column; }
    .machines-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .contact-image { order: 2; }
    .contact-form-wrapper { order: 1; }
}

/* Footer */
.footer {
    background-color: #1a2138;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

/* Service Request Page */
.service-request-page {
    padding: 80px 0;
    min-height: 100vh;
}

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

.service-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.service-info {
    position: sticky;
    top: 100px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 71, 163, 0.2);
}

.info-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.service-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-form select {
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-form select option {
    background: var(--dark-color);
    color: var(--light-color);
}

.service-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 71, 163, 0.1);
}

.service-form textarea {
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.service-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.service-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 71, 163, 0.1);
}

@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-info {
        position: static;
    }
    
    .info-card {
        display: inline-block;
        width: calc(50% - 10px);
        margin-right: 20px;
        vertical-align: top;
    }
    
    .info-card:nth-child(2n) {
        margin-right: 0;
    }
    
    .service-info img {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-header h1 {
        font-size: 2rem;
    }
    
    .info-card {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

