* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #ffd700;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 15px;
}

.nav a:hover,
.nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffd700;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    padding: 80px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Section */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1a73e8;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #0d47a1);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a73e8;
}

.card-body p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a73e8;
    color: #1a73e8;
}

.btn-outline:hover {
    background: #1a73e8;
    color: #fff;
}

/* Feature Cards */
.features {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #f0f7ff;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #1a73e8;
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

/* Software Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #1a73e8;
    color: #1a73e8;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: #1a73e8;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Detail Page */
.detail-hero {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.detail-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.detail-content {
    padding: 50px 0;
}

.detail-content .container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.detail-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 80px;
}

.detail-body {
    padding: 40px;
}

.detail-body h2 {
    color: #1a73e8;
    margin-bottom: 20px;
}

.detail-body p {
    margin-bottom: 16px;
    color: #555;
    line-height: 1.8;
}

.detail-features {
    margin: 30px 0;
}

.detail-features h3 {
    color: #1a73e8;
    margin-bottom: 15px;
}

.detail-features ul {
    list-style: none;
}

.detail-features li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    padding-left: 25px;
    position: relative;
}

.detail-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a73e8;
    font-weight: bold;
}

/* Publisher Info */
.publisher-info {
    background: #f0f7ff;
    border: 1px solid #e0ecff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.publisher-info h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0ecff;
}

.publisher-info table {
    width: 100%;
    border-collapse: collapse;
}

.publisher-info table td {
    padding: 10px 0;
    border-bottom: 1px dashed #e0ecff;
}

.publisher-info table td:first-child {
    width: 120px;
    color: #666;
    font-weight: 500;
}

.publisher-info table td:last-child {
    color: #333;
}

.publisher-info table td a {
    color: #1a73e8;
    text-decoration: none;
}

.publisher-info table td a:hover {
    text-decoration: underline;
}

/* Detail Top Row Layout */
.detail-top-row {
    display: flex;
    gap: 30px;
    padding: 0 40px;
    align-items: stretch;
}

.detail-top-row .detail-img {
    flex: 1;
    min-width: 0;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
}

.detail-top-row .publisher-info {
    flex: 0 0 340px;
    margin-top: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.detail-top-row .publisher-info h3 {
    margin-top: 0;
}

.detail-top-row .publisher-info table td:first-child {
    width: 80px;
}

@media (max-width: 768px) {
    .detail-top-row {
        flex-direction: column;
        padding: 0 20px;
    }

    .detail-top-row .detail-img {
        height: 220px;
    }

    .detail-top-row .publisher-info {
        flex: 1;
    }
}

/* Service Detail Styles */
.service-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.service-hero-tags span {
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.service-section {
    margin-top: 35px;
}

.service-section h3 {
    color: #1a73e8;
    font-size: 20px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #1a73e8;
}

.service-section h4 {
    color: #333;
    margin-bottom: 12px;
}

.service-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    background: #f8fafd;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
}

.service-item:hover {
    border-color: #1a73e8;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.1);
}

.service-item .icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.service-item h4 {
    color: #1a73e8;
    margin-bottom: 8px;
}

.service-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.service-price-box {
    background: linear-gradient(135deg, #fff9e6, #fff3e0);
    border: 2px solid #ffd54f;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin: 20px 0;
}

.service-price-box .price {
    font-size: 36px;
    color: #e53935;
    font-weight: bold;
}

.service-price-box .unit {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.service-price-box .desc {
    color: #666;
    margin-top: 8px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0ecff;
}

.timeline-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.timeline-item .dot {
    width: 35px;
    height: 35px;
    background: #1a73e8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.timeline-item .time {
    color: #1a73e8;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.timeline-item .label {
    color: #666;
    font-size: 13px;
}

.faq-list {
    list-style: none;
}

.faq-list li {
    background: #f8fafd;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
}

.faq-list .q {
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}

.faq-list .q::before {
    content: "Q";
    background: #1a73e8;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}

.faq-list .a {
    color: #555;
    padding-left: 28px;
    line-height: 1.6;
}

.highlight-box {
    background: linear-gradient(135deg, #e8f4fd, #f0f7ff);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.highlight-box h4 {
    color: #1a73e8;
    margin-bottom: 12px;
}

.highlight-list {
    list-style: none;
    padding: 0;
}

.highlight-list li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.highlight-list li::before {
    content: "★";
    color: #ffc107;
    margin-right: 10px;
    font-size: 14px;
}

.process-steps {
    counter-reset: step;
}

.process-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed #e0ecff;
    position: relative;
}

.process-step:last-child {
    border-bottom: none;
}

.process-step .step-num {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.process-step .step-content h4 {
    color: #1a73e8;
    margin-bottom: 6px;
}

.process-step .step-content p {
    color: #666;
    line-height: 1.6;
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.package-card {
    background: #fff;
    border: 2px solid #e0ecff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.package-card:hover {
    border-color: #1a73e8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
}

.package-card.featured {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5, #fff);
}

.package-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
}

.package-card h4 {
    color: #1a73e8;
    margin-bottom: 10px;
}

.package-card .price {
    font-size: 32px;
    color: #e53935;
    font-weight: bold;
    margin: 10px 0;
}

.package-card .周期 {
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
}

.package-card ul {
    list-style: none;
    text-align: left;
    margin: 15px 0;
}

.package-card ul li {
    padding: 6px 0;
    color: #555;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.package-card ul li::before {
    content: "✓";
    color: #4caf50;
    margin-right: 8px;
    font-weight: bold;
}

/* Form Pages */
.form-container {
    max-width: 500px;
    margin: 60px auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
    text-align: center;
    color: #1a73e8;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a73e8;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.form-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.form-link a {
    color: #1a73e8;
    text-decoration: none;
}

.form-link a:hover {
    text-decoration: underline;
}

/* Info Box */
.info-box {
    background: #e8f4fd;
    border-left: 4px solid #1a73e8;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.info-box h4 {
    color: #1a73e8;
    margin-bottom: 10px;
}

/* Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.price-table th {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    padding: 20px;
    text-align: left;
}

.price-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.price-table tr:hover {
    background: #f8fafd;
}

.price-table .price {
    color: #e53935;
    font-size: 20px;
    font-weight: bold;
}

/* Review Step */
.review-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.step-card {
    text-align: center;
    max-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    font-weight: bold;
}

.step-card h4 {
    color: #1a73e8;
    margin-bottom: 8px;
}

.step-card p {
    color: #666;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #1a73e8;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom .icp {
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .detail-img {
        height: 250px;
        font-size: 48px;
    }

    .detail-body {
        padding: 20px;
    }

    .form-container {
        margin: 20px;
        padding: 30px 20px;
    }
}

/* Success Message */
.success-msg {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #2e7d32;
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Service Category */
.service-category {
    margin-top: 10px;
}

.category-title {
    color: #1a73e8;
    font-size: 22px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #1a73e8;
}

/* Phone Mask Styles */
.phone-hidden {
    position: relative;
    display: inline-block;
    color: #999;
    user-select: none;
}

.phone-mask-link {
    color: #1a73e8;
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
    margin-left: 4px;
}

.phone-mask-link:hover {
    color: #1557b0;
}

.phone-real {
    color: #1a73e8;
    font-weight: 500;
}

/* Publisher Info Login State */
.publisher-phone-cell {
    position: relative;
}

.publisher-phone-cell .phone-login-prompt {
    display: inline-block;
    background: #fff3e0;
    color: #e65100;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #ffe0b2;
    transition: background 0.2s;
}

.publisher-phone-cell .phone-login-prompt:hover {
    background: #ffe0b2;
    text-decoration: underline;
}
