/* WiFi密码查看器官方网站样式表 - 科技绿主题 */
:root {
    --primary: #00d084;
    --secondary: #00a8e8;
    --dark: #0a1929;
    --darker: #061220;
    --light: #e6f7ff;
    --accent: #00ff88;
    --text-gray: #8892b0;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 208, 132, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    background: rgba(6, 18, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 208, 132, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: "📶";
    -webkit-text-fill-color: initial;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* 下拉菜单 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 25, 41, 0.98);
    border: 1px solid rgba(0, 208, 132, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown a:hover {
    background: rgba(0, 208, 132, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
}

/* 主要内容区 */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero区域 */
.hero {
    padding: 6rem 2rem 4rem;
    background: radial-gradient(ellipse at top, rgba(0, 208, 132, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    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="1" fill="%2300d084" opacity="0.3"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.5;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-text .highlight {
    color: var(--primary);
    font-weight: 600;
}

/* 软件展示图 */
.software-showcase {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 208, 132, 0.3);
    border: 1px solid rgba(0, 208, 132, 0.3);
    background: rgba(0, 208, 132, 0.05);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.2) 0%, rgba(0, 168, 232, 0.2) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    border: 2px dashed rgba(0, 208, 132, 0.5);
}

.placeholder-img::before {
    content: "🖼️";
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 下载按钮组 */
.download-section {
    margin-top: 2rem;
}

.version-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.version-tab {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 208, 132, 0.1);
    border: 1px solid rgba(0, 208, 132, 0.3);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.version-tab.active,
.version-tab:hover {
    background: var(--primary);
    color: var(--darker);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--darker);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
    border: none;
    cursor: pointer;
    width: 100%;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
}

.download-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.download-btn.secondary:hover {
    background: rgba(0, 208, 132, 0.1);
}

/* 内容区块 */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* 特性卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(10, 25, 41, 0.6);
    border: 1px solid rgba(0, 208, 132, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 208, 132, 0.5);
    box-shadow: var(--shadow);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(10, 25, 41, 0.8);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 208, 132, 0.1);
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .current {
    color: var(--white);
}

/* 内容页布局 */
.content-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-menu {
    background: rgba(10, 25, 41, 0.6);
    border: 1px solid rgba(0, 208, 132, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(0, 208, 132, 0.1);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: calc(1rem - 3px);
}

.content-area {
    background: rgba(10, 25, 41, 0.4);
    border: 1px solid rgba(0, 208, 132, 0.1);
    border-radius: 16px;
    padding: 3rem;
}

.content-area h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.content-area h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.content-area p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.content-area a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
}

.content-area a:hover {
    border-bottom-style: solid;
}

/* 免责声明 */
.disclaimer-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.disclaimer-box h3 {
    color: #ffc107;
    margin-bottom: 1rem;
}

.disclaimer-box ul {
    margin-left: 1.5rem;
    color: var(--text-gray);
}

.disclaimer-box li {
    margin-bottom: 0.5rem;
}

/* 下载选项卡 */
.download-options {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background: rgba(10, 25, 41, 0.6);
    border: 1px solid rgba(0, 208, 132, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.download-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.download-card .version-info {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.cloud-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cloud-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 208, 132, 0.1);
    border: 1px solid rgba(0, 208, 132, 0.3);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 600;
}

.cloud-btn:hover {
    background: var(--primary);
    color: var(--darker);
    transform: translateY(-2px);
}

.cloud-btn .icon {
    font-size: 1.5rem;
}

/* FAQ样式 */
.faq-item {
    background: rgba(10, 25, 41, 0.6);
    border: 1px solid rgba(0, 208, 132, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 208, 132, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 页脚 */
footer {
    background: rgba(6, 18, 32, 0.98);
    border-top: 1px solid rgba(0, 208, 132, 0.1);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 208, 132, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(6, 18, 32, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        background: rgba(0, 208, 132, 0.05);
        margin-top: 0.5rem;
    }

    .nav-item:hover .dropdown {
        display: block;
        transform: none;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        order: 2;
    }

    .cloud-buttons {
        grid-template-columns: 1fr;
    }

    .version-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 2rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .content-area {
        padding: 1.5rem;
    }

    .download-card {
        padding: 1.5rem;
    }
}

/* SEO优化辅助 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* 关键词高亮 */
.keyword-highlight {
    color: var(--primary);
    font-weight: 600;
}

/* 内链优化 */
.internal-links {
    background: rgba(0, 208, 132, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.internal-links h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.internal-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.internal-links a {
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.internal-links a::before {
    content: '→';
    color: var(--primary);
}

.internal-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* 结构化数据标记辅助 */
.schema-markup {
    display: none;
}
