/* 方案定制页面专用样式 */

/* ============================================
   Hero区域
   ============================================ */
.custom-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1b2a 100%);
}

.custom-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(244, 162, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 58, 95, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.custom-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.custom-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(244,162,97,0.05)" stroke-width="0.5"/></svg>');
    background-size: 80px 80px;
    opacity: 0.5;
}

.custom-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 60px 0;
}

.custom-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 162, 97, 0.15);
    border: 1px solid rgba(244, 162, 97, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.custom-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
    background: linear-gradient(135deg, #ffffff 0%, #a8c5e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.custom-hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.hero-feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.custom-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.custom-hero-actions .btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-hero-actions .btn-primary:hover {
    background: #e8954f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
}

.custom-hero-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   定制流程
   ============================================ */
.custom-process {
    padding: 100px 0;
    background: var(--bg-white);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(244, 162, 97, 0.2);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #e8954f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(244, 162, 97, 0.4);
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.step-arrow {
    position: absolute;
    top: 60px;
    right: -20px;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.2rem;
    z-index: 2;
}

.process-step:last-child .step-arrow {
    display: none;
}

/* ============================================
   定制类型
   ============================================ */
.custom-types {
    padding: 100px 0;
    background: var(--bg-light);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.type-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.type-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.type-card:hover .type-icon {
    background: linear-gradient(135deg, var(--accent-color), #e8954f);
    transform: rotate(5deg) scale(1.05);
}

.type-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.type-card > p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.type-features {
    list-style: none;
    text-align: left;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--border-color);
}

.type-features li:last-child {
    border-bottom: none;
}

.type-features li i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* ============================================
   成功案例
   ============================================ */
.custom-cases {
    padding: 100px 0;
    background: var(--bg-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.case-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
}

.case-tag {
    background: var(--accent-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.case-content p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.case-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.case-meta i {
    color: var(--accent-color);
}

/* ============================================
   联系表单区域
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 40px;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-info .section-header .section-desc {
    margin: 0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #e8954f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.info-content span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 表单样式 */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-form {
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    padding-left: 45px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group > i {
    position: absolute;
    left: 15px;
    top: 42px;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group textarea {
    padding-left: 15px;
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

/* 复选框样式 */
.form-checkbox {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.75rem;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--accent-color), #e8954f);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.4);
}

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

/* ============================================
   CTA区域
   ============================================ */
.cta-section {
    background: var(--accent-color);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.big-phone {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--accent-color);
}

.cta-section .btn-primary:hover {
    background: var(--primary-color);
    color: white;
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--accent-color);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1200px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .custom-hero h1 {
        font-size: 2.8rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .contact-info .section-header {
        text-align: center;
    }
    
    .contact-info .section-header .section-desc {
        margin: 0 auto;
    }
    
    .info-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-item {
        flex: 1;
        min-width: 250px;
    }
    
    .process-timeline {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 20px);
    }
    
    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .custom-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .custom-hero h1 {
        font-size: 2rem;
    }
    
    .custom-hero-subtitle {
        font-size: 1rem;
    }
    
    .custom-hero-actions {
        flex-direction: column;
    }
    
    .custom-hero-actions .btn-primary,
    .custom-hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-list {
        flex-direction: column;
    }
    
    .info-item {
        min-width: auto;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .big-phone {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .custom-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .type-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
}
