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

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

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

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

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

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

.navbar-logo .logo-link {
    display: block;
    text-decoration: none;
}

.navbar-logo .logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #0066cc;
    text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    transition: all 0.3s ease;
}

.navbar-logo .logo-text:hover {
    color: #0088ff;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.8);
}

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

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

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

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

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

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

.navbar-actions .action-btn:hover {
    background-color: #fff;
    color: #0066cc;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
}

/* 英雄区域样式 */
.hero-section {
    position: relative;
    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;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%230066cc" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    animation: moveStars 20s linear infinite;
}

/* 云朵动画 */
.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: 60px;
    animation-delay: 0s;
}

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

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

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

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

@keyframes moveStars {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-120px);
    }
}

/* 太阳动画 */
.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;
}

.sun::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: sunGlow 2s ease-in-out infinite alternate;
}

@keyframes sunPulse {

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

    50% {
        transform: scale(1.05);
    }
}

@keyframes sunGlow {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-content {
    text-align: center;
    color: #333;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

/* 域名头部样式 */
.domain-header {
    margin-bottom: 30px;
    position: relative;
}

.domain-name {
    font-size: 48px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
    display: inline-block;
}

.domain-badge {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-shadow: 0 0 10px rgba(0, 102, 204, 0.3);
    animation: pulse 2s infinite;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
    text-shadow: none;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.primary-btn {
    background-color: #0066cc;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
}

.primary-btn:hover {
    background-color: #0088ff;
    box-shadow: 0 0 30px rgba(0, 136, 255, 0.8);
    transform: translateY(-3px);
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

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

.section-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #0066cc;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 关于我们部分样式 */
.about-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.tech-image {
    filter: brightness(0.95) contrast(1.05);
}

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

.about-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #0066cc;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

.about-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
    background-color: rgba(255, 255, 255, 1);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #0066cc;
}

.feature-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

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

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

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid #0066cc;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    border-top-color: #0088ff;
}

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

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

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

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 应用场景部分样式 */
.applications-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.application-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    background-color: #fff;
}

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

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

.application-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们部分样式 */
.contact-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: #0066cc;
    margin-top: 5px;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: #666;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #0088ff;
    box-shadow: 0 0 15px rgba(0, 136, 255, 0.5);
    transform: translateY(-3px);
}

/* 滑动发送按钮样式 */
.slide-button-container {
    width: 100%;
}

.slide-button-text {
    font-size: 0.7rem;
    color: rgba(0, 102, 204, 0.8);
    margin-bottom: 8px;
    text-align: center;
}

.slide-button-wrapper {
    width: 100%;
}

.slide-button-track {
    width: 100%;
    height: 35px;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 17.5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.slide-button-handle {
    width: 35px;
    height: 35px;
    background: #ffffff;
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #0066cc;
}

.slide-button-handle:active {
    cursor: grabbing;
}

.slide-button-handle.slided {
    background: linear-gradient(135deg, #0066cc, #0088ff);
    color: white;
    transform: translateX(calc(100% - 35px));
}

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

/* 页脚样式 */
.footer {
    background-color: #001f3f;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-link {
    display: block;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-logo .logo-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links .link-list {
    list-style: none;
}

.footer-links .link-list li {
    margin-bottom: 10px;
}

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

.footer-links .link-list a:hover {
    color: #0088ff;
    text-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social .social-link:hover {
    color: #0088ff;
}

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

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

.back-to-top:hover {
    background-color: #0088ff;
    box-shadow: 0 8px 20px rgba(0, 136, 255, 0.5);
    transform: translateY(-5px);
}

/* 购买域名按钮样式 */
.buy-domain-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}

.buy-domain-btn .primary-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 图标样式 */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .navbar-nav .nav-list {
        gap: 20px;
    }

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

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

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

    .about-features {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

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

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

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

    .primary-btn,
    .secondary-btn {
        width: 200px;
        text-align: center;
    }

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

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

    .about-section,
    .features-section,
    .applications-section,
    .contact-section {
        padding: 80px 0;
    }

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
    }

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

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

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

    .contact-form {
        padding: 30px 20px;
    }

    .buy-domain-btn {
        right: 20px;
    }

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

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

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

::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0088ff;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 102, 204, 0.3);
    border-radius: 50%;
    border-top-color: #0066cc;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 淡入动画 */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 悬停效果 */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 错误提示样式 */
.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);
}