﻿ :root {
            --primary: #2563eb;
            --secondary: #10b981;
            --accent: #f59e0b;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --border: #e2e8f0;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f8f9fa;
            color: #334155;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 头部样式 */
        header {
            background: linear-gradient(135deg, var(--primary), #1e40af);
            color: white;
            padding: 15px 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 28px;
        }
        
        .top-nav {
            display: flex;
            align-items: center;
        }
        
        .top-nav a {
            color: white;
            text-decoration: none;
            margin-left: 20px;
            font-size: 14px;
            transition: opacity 0.3s;
            display: flex;
            align-items: center;
            white-space: nowrap;
        }
        
        .top-nav a i {
            margin-right: 5px;
        }
        
        .top-nav a:hover {
            opacity: 0.8;
        }
        
        /* 登录框样式 */
        .login-container {
            position: relative;
            display: inline-block;
            margin-left: 20px;
        }
        
        .login-toggle {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .login-toggle:hover {
            background: rgba(255, 255, 255, 0.25);
        }
        
        .login-toggle i {
            margin-right: 5px;
        }
        
        .login-box {
            display: none;
            position: absolute;
            top: 40px;
            right: 0;
            width: 300px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            padding: 20px;
            z-index: 102;
        }
        
        .login-box.active {
            display: block;
        }
        
        .login-box h3 {
            color: var(--dark);
            margin-bottom: 20px;
            text-align: center;
            font-size: 18px;
        }
        
        .login-form input {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 15px;
            border: 1px solid var(--border);
            border-radius: 5px;
            font-size: 14px;
        }
        
        .login-form input:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        .login-form button {
            width: 100%;
            padding: 12px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
        }
        
        .login-form button:hover {
            background: #1e40af;
        }
        
        .login-links {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            font-size: 13px;
        }
        
        .login-links a {
            color: var(--primary);
            text-decoration: none;
        }
        
        .login-links a:hover {
            text-decoration: underline;
        }
        
        .main-nav {
            display: flex;
            justify-content: center;
            margin-top: 15px;
            flex-wrap: wrap;
        }
        
        .main-nav a {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            margin: 0 5px;
            border-radius: 5px;
            transition: background 0.3s;
            font-size: 15px;
            display: flex;
            align-items: center;
        }
        
        .main-nav a i {
            margin-right: 8px;
            font-size: 18px;
            transition: transform 0.3s;
        }
        
        .main-nav a:hover, .main-nav a.active {
            background: rgba(255,255,255,0.1);
        }
        
        .main-nav a:hover i {
            transform: scale(1.2);
        }
        
        /* 主横幅样式 */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/banner20250917.png') no-repeat center center/cover;
            color: white;
            padding: 80px 0;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }
        
        .price-tags {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .price-tag {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            padding: 15px 25px;
            border-radius: 10px;
            min-width: 180px;
        }
        
        .price-tag .amount {
            font-size: 2rem;
            font-weight: bold;
            color: var(--accent);
            display: block;
        }
        
        .btn {
            display: inline-block;
            background: var(--secondary);
            color: white;
            padding: 14px 30px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            transition: transform 0.3s, background 0.3s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .btn:hover {
            transform: translateY(-3px);
            background: #0da271;
        }
        
        /* 域名搜索样式 */
        .domain-search {
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            margin-bottom: 40px;
        }
        
        .domain-search h2 {
            text-align: center;
            margin-bottom: 25px;
            color: var(--dark);
            font-size: 28px;
        }
        
        .search-box {
            display: flex;
            max-width: 700px;
            margin: 0 auto 20px;
            
        }
        
        .domain-prefix {
            padding: 16px 12px;
            background: #f1f5f9;
            border: 2px solid var(--primary);
            border-right: none;
            border-radius: 8px 0 0 8px;
            font-size: 16px;
        }
        
        .search-input {
            flex: 1;
            padding: 16px 20px;
            border: 2px solid var(--primary);
            border-left: none;
            border-right: none;
            font-size: 16px;
            outline: none;
        }
        
        .search-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 30px;
            border-radius: 0 8px 8px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
            font-size: 16px;
        }

        
        .search-btn:hover {
            background: #1e40af;
        }
        
        .domain-extensions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 20px;
            gap: 10px;
        }
        
        .extension-checkbox {
            display: flex;
            align-items: center;
            background: var(--light);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .extension-checkbox:hover {
            background: #e2e8f0;
        }
        
        .extension-checkbox input {
            margin-right: 8px;
        }
        
        /* 产品展示样式 */
        .products {
            margin: 50px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
            color: var(--dark);
            position: relative;
            padding-bottom: 15px;
            font-size: 32px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.06);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
        }
        
        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .product-header {
            background: linear-gradient(135deg, var(--primary), #1e40af);
            color: white;
            padding: 25px;
            text-align: center;
        }
        
        .product-price {
            font-size: 28px;
            font-weight: bold;
            margin: 15px 0;
        }
        
        .product-price span {
            font-size: 16px;
            font-weight: normal;
            opacity: 0.9;
        }
        
        .product-body {
            padding: 25px;
            flex-grow: 1;
        }
        
        .product-features {
            list-style: none;
            margin-bottom: 25px;
            padding: 0;
        }
        
        .product-features li {
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
        }
        
        .product-features li:last-child {
            border-bottom: none;
        }
        
        .product-features i {
            color: var(--secondary);
            margin-right: 12px;
            font-size: 18px;
        }
        
        .product-footer {
            padding: 0 25px 25px;
            text-align: center;
        }
        
        /* 特色服务样式 */
        .services {
            background: var(--light);
            padding: 60px 0;
            margin: 50px 0;
        }
        
        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background: white;
            padding: 35px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 8px 20px rgba(0,0,0,0.06);
            transition: transform 0.3s;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
        }
        
        .service-icon {
            font-size: 48px;
            color: var(--primary);
            margin-bottom: 25px;
        }
        
        .service-card h3 {
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        /* 新闻公告样式 */
        .news-section {
            padding: 60px 0;
            background: white;
        }
        
        .news-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        .news-column {
            background: var(--light);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--primary);
        }
        
        .news-header h3 {
            color: var(--dark);
            font-size: 22px;
            display: flex;
            align-items: center;
        }
        
        .news-header h3 i {
            margin-right: 10px;
            color: var(--primary);
        }
        
        .news-more {
            color: var(--primary);
            text-decoration: none;
            font-size: 14px;
        }
        
        .news-more:hover {
            text-decoration: underline;
        }
        
        .news-list {
            list-style: none;
        }
        
        .news-item {
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }
        
        .news-item:last-child {
            border-bottom: none;
        }
        
        .news-item a {
            display: flex;
            justify-content: space-between;
            color: var(--dark);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .news-item a:hover {
            color: var(--primary);
        }
        
        .news-title {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .news-date {
            color: var(--gray);
            font-size: 14px;
            margin-left: 15px;
            white-space: nowrap;
        }
        
        /* 页脚样式 */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 20px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 12px;
            font-size: 20px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: color 0.3s;
            display: flex;
            align-items: center;
        }
        
        .footer-links a i {
            margin-right: 10px;
            font-size: 14px;
        }
        
        .footer-links a:hover {
            color: var(--primary);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 14px;
            color: #94a3b8;
        }
        
        .footer-bottom a {
            color: inherit;
            text-decoration: none;
        }
        
        .footer-bottom a:visited {
            color: inherit;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .top-nav {
                margin-top: 15px;
                flex-wrap: wrap;
                width: 100%;
            }
            
            .top-nav a {
                margin: 5px 10px 5px 0;
            }
            
            .login-container {
                margin: 10px 0;
            }
            
            .login-box {
                right: auto;
                left: 0;
            }
            
            .news-container {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .main-nav {
                flex-wrap: wrap;
            }
            
            .main-nav a {
                margin: 5px;
                padding: 8px 15px;
                font-size: 14px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .price-tags {
                flex-direction: column;
                align-items: center;
            }
            
            .search-box {
                flex-direction: column;
            }
            
            .domain-prefix {
                border-radius: 8px 8px 0 0;
                border-right: 2px solid var(--primary);
                border-bottom: none;
                text-align: center;
            }
            
            .search-input {
                border-radius: 0;
                border: 2px solid var(--primary);
                border-top: none;
            }
            
            .search-btn {
                border-radius: 0 0 8px 8px;
                padding: 16px;
            }
            
            .section-title {
                font-size: 28px;
            }
            
            .login-box {
                width: 280px;
            }
        }
        
        @media (max-width: 480px) {
            .top-nav a {
                font-size: 13px;
                margin-left: 10px;
            }
            
            .login-toggle {
                padding: 6px 12px;
                font-size: 13px;
            }
            
            .login-box {
                width: 250px;
                right: 0;
                left: auto;
            }
            
            .main-nav a i {
                font-size: 16px;
                margin-right: 5px;
            }
        }