/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.navbar-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
}

/* 全局超链接样式 */
a {
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0066cc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.action-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #0088ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* 英雄区域样式 */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #87ceeb 0%, #e0f6ff 50%, #ffe4e1 100%);
    opacity: 1;
    z-index: -1;
}

/* 云朵动画 */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 0;
    animation: float 30s linear infinite;
}

.cloud-1 {
    top: 20%;
    left: -10%;
    width: 100px;
    height: 50px;
    animation-delay: 0s;
}

.cloud-2 {
    top: 40%;
    left: -10%;
    width: 150px;
    height: 70px;
    animation-delay: 10s;
}

.cloud-3 {
    top: 60%;
    left: -10%;
    width: 120px;
    height: 60px;
    animation-delay: 20s;
}

@keyframes float {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(1500px);
    }
}

/* 太阳动画 */
.sun {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
    z-index: 0;
    animation: sunPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 70px rgba(255, 215, 0, 0.8);
    }
}

/* 星星背景 */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 4px;
    height: 4px;
    animation-delay: 0s;
}

.star:nth-child(2) {
    top: 60%;
    left: 30%;
    width: 3px;
    height: 3px;
    animation-delay: 1s;
}

.star:nth-child(3) {
    top: 40%;
    left: 70%;
    width: 5px;
    height: 5px;
    animation-delay: 2s;
}

.star:nth-child(4) {
    top: 80%;
    left: 50%;
    width: 2px;
    height: 2px;
    animation-delay: 0.5s;
}

.star:nth-child(5) {
    top: 30%;
    left: 90%;
    width: 3px;
    height: 3px;
    animation-delay: 1.5s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.domain-header {
    margin-bottom: 30px;
}

.domain-name {
    font-size: 48px;
    font-weight: 700;
    color: #0066cc;
    margin: 0;
    background: linear-gradient(135deg, #0066cc, #0088ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.domain-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, #0066cc, #0088ff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, #0055aa, #0077ee);
}

.secondary-btn {
    background: white;
    color: #0066cc;
    border: 2px solid #0066cc;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    background: #f8f9fa;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0066cc, #0088ff);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* 关于域名部分 */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.value-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 25px;
    font-weight: 500;
    color: #0066cc;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.value-icon {
    font-size: 18px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.domain-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.domain-image:hover {
    transform: scale(1.02);
}

/* 域名特性部分 */
.features-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066cc, #0088ff);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
}

/* 应用场景部分 */
.applications-section {
    padding: 100px 0;
    background: white;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.application-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0088ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.application-card:hover::before {
    transform: scaleX(1);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
}

.application-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.application-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.application-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
}

/* 联系购买部分 */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
}

.info-icon {
    font-size: 20px;
    color: #0066cc;
}

.office-image {
    margin-top: 40px;
}

.office-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(0, 102, 204, 0.1);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 滑动发送样式 */
.slide-container {
    margin-top: 10px;
}

.slide-track {
    position: relative;
    height: 50px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.slide-button {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc, #0088ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
}

.slide-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.slide-button.slided {
    left: calc(100% - 45px);
    background: linear-gradient(135deg, #00cc66, #00aa55);
}

.slide-track.slided {
    background: rgba(0, 204, 102, 0.1);
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: rgba(0, 102, 204, 0.8);
    user-select: none;
    transition: all 0.3s ease;
}

.slide-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.slide-button.slided .slide-icon {
    transform: rotate(180deg);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0066cc, #0088ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0055aa, #0077ee);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #0066cc, #0088ff);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #0088ff);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, #0055aa, #0077ee);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .navbar-actions {
        display: none;
    }

    .hero-content {
        padding: 0 20px;
    }

    .domain-name {
        font-size: 36px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* 动画效果 */
.about-section,
.features-section,
.applications-section,
.contact-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-section.fade-in,
.features-section.fade-in,
.applications-section.fade-in,
.contact-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0066cc, #0088ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0055aa, #0077ee);
}

/* 选择文本样式 */
::selection {
    background: rgba(0, 102, 204, 0.2);
    color: #0066cc;
}

/* 输入框占位符样式 */
::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-style: italic;
}

/* 错误提示样式 */
.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

/* 成功提示样式 */
.success-message {
    color: #00cc66;
    font-size: 14px;
    margin-top: 10px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-message.show {
    opacity: 1;
}

/* 输入框错误状态 */
.form-group.error input,
.form-group.error textarea {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

/* 输入框成功状态 */
.form-group.success input,
.form-group.success textarea {
    border-color: #00cc66;
    box-shadow: 0 0 0 3px rgba(0, 204, 102, 0.1);
}

/* 加载动画 */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 按钮禁用状态 */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* 图片懒加载 */
img {
    transition: opacity 0.3s ease;
}

img.lazy {
    opacity: 0;
}

img.lazy.loaded {
    opacity: 1;
}

/* 无障碍访问 */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .navbar {
        background: white;
        border-bottom: 2px solid #0066cc;
    }

    .nav-link {
        color: #000;
    }

    .hero-title,
    .section-title {
        color: #000;
    }

    .feature-card,
    .application-card {
        border: 2px solid #0066cc;
    }
}