/* ===========================
   全局样式和变量
   =========================== */
:root {
    --primary-color: #2f6bff;
    --secondary-color: #62d7ff;
    --accent-color: #ff7a1a;
    --text-primary: #0b1220;
    --text-secondary: #475569;
    --background: #f7f9ff;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --border-color: rgba(59, 130, 246, 0.18);
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
    --glow: 0 0 28px rgba(47, 107, 255, 0.25);
    --border-radius: 18px;
    --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    font-family: 'Archivo', 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 18% 18%, rgba(47, 107, 255, 0.18), transparent 40%),
        radial-gradient(circle at 82% 10%, rgba(255, 122, 26, 0.16), transparent 45%),
        linear-gradient(rgba(47, 107, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 107, 255, 0.05) 1px, transparent 1px);
    background-size: 820px 620px, 900px 700px, 80px 80px, 80px 80px;
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
}

.glow-surface {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(47, 107, 255, 0.2);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    border-radius: 24px;
}

.glow-surface::after {
    content: "";
    position: absolute;
    inset: -18% 10% 60% 10%;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.25), transparent 65%);
    opacity: 0.7;
    pointer-events: none;
}

/* ===========================
   导航栏
   =========================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(248, 250, 255, 0.82);
    border-bottom: 1px solid rgba(47, 107, 255, 0.15);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 12px rgba(47, 107, 255, 0.35);
}

.logo-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

/* ===========================
   语言切换
   =========================== */
.language-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(47, 107, 255, 0.92);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    z-index: 1001;
    box-shadow: 0 10px 24px rgba(47, 107, 255, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.language-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(47, 107, 255, 0.35);
}

.language-select {
    border: 0;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 132px;
    cursor: pointer;
}

.language-select option {
    color: #111827;
    background: #ffffff;
}

/* ===========================
   主容器
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===========================
   Hero 区域
   =========================== */
.hero {
    padding: 5rem 0 3rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 3.6vw, 3.6rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 16px 30px rgba(47, 107, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(47, 107, 255, 0.35);
}

.btn-ghost {
    border: 1px solid rgba(47, 107, 255, 0.3);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
    border-color: rgba(47, 107, 255, 0.6);
    transform: translateY(-2px);
}

.hero-meta {
    margin-top: 2.5rem;
    display: flex;
    gap: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.meta-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.meta-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-content {
    padding: 1.8rem 2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(47, 107, 255, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    position: relative;
}

.hero-content::after {
    content: "";
    position: absolute;
    inset: -20% 10% 60% 10%;
    background: radial-gradient(circle, rgba(98, 215, 255, 0.3), transparent 65%);
    opacity: 0.8;
    pointer-events: none;
}

.visual-shell {
    position: relative;
    width: min(440px, 90%);
    height: 360px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(47, 107, 255, 0.25);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.visual-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(47, 107, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 107, 255, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.6;
}

.visual-glow {
    position: absolute;
    inset: -40% 20% 20% -20%;
    background: radial-gradient(circle, rgba(98, 215, 255, 0.4), transparent 60%);
    filter: blur(18px);
}

.visual-cards {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.visual-card {
    height: 52px;
    border-radius: 14px;
    background: rgba(47, 107, 255, 0.16);
    border: 1px solid rgba(47, 107, 255, 0.2);
    box-shadow: 0 10px 20px rgba(47, 107, 255, 0.12);
}

.visual-card:nth-child(2) {
    width: 75%;
    align-self: flex-end;
    background: rgba(255, 122, 26, 0.18);
    border-color: rgba(255, 122, 26, 0.3);
}

.visual-card:nth-child(3) {
    width: 60%;
}

/* ===========================
   重磅推荐区块
   =========================== */
.featured-section {
    padding: 0.8rem 0 1.2rem;
}

.featured-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.8rem;
    padding: 1.8rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(47, 107, 255, 0.24);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.featured-shell::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -70px;
    top: -70px;
    background: radial-gradient(circle, rgba(98, 215, 255, 0.3), transparent 68%);
    pointer-events: none;
}

.featured-content {
    position: relative;
    z-index: 1;
}

.featured-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
}

.featured-content h2 {
    margin-top: 0.55rem;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.featured-app-name {
    margin-top: 0.2rem;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.featured-tagline {
    margin-top: 0.6rem;
    color: #1f2937;
    font-weight: 500;
}

.featured-summary {
    margin-top: 0.65rem;
    color: var(--text-secondary);
    max-width: 60ch;
}

.featured-actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.featured-points {
    margin-top: 1.3rem;
}

.featured-points h4 {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
}

.featured-points ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.featured-points li {
    position: relative;
    padding-left: 1.3rem;
    font-size: 0.96rem;
    color: #1f2937;
}

.featured-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
}

.featured-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-shell {
    width: min(420px, 100%);
    min-height: 220px;
    border-radius: 20px;
    border: 1px solid rgba(47, 107, 255, 0.24);
    background: linear-gradient(145deg, rgba(47, 107, 255, 0.12), rgba(255, 122, 26, 0.08));
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.16);
}

.featured-image-shell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   应用卡片网格
   =========================== */
.apps-section {
    padding: 2rem 0 4rem;
}

.section-head {
    display: grid;
    gap: 0.8rem;
    max-width: 720px;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--secondary-color);
    font-weight: 600;
}

.section-description {
    color: var(--text-secondary);
}

.seo-panel {
    margin-top: 1.6rem;
    padding: 1.5rem 1.8rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(47, 107, 255, 0.28);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    color: var(--text-secondary);
}

.seo-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.seo-panel p {
    color: #1f2937;
}

.aeo-panel {
    margin-top: 1.1rem;
    padding: 1.3rem 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 122, 26, 0.25);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.aeo-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #111827;
}

.aeo-panel p {
    color: #374151;
}

.aeo-panel ul {
    margin-top: 0.8rem;
    margin-left: 1.2rem;
    color: #1f2937;
    display: grid;
    gap: 0.45rem;
}

.aeo-link {
    margin-top: 0.9rem;
    display: inline-flex;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
}

.aeo-link:hover {
    text-decoration: underline;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(47, 107, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.6rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.app-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(120deg, rgba(47, 107, 255, 0.15), transparent 60%);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.app-card:hover .app-icon {
    box-shadow: 0 16px 30px rgba(47, 107, 255, 0.22);
}

.app-card:hover::before {
    opacity: 1;
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.app-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.app-card-info {
    flex: 1;
}

.app-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.app-card .category {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.app-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.4rem;
}

.app-card .category {
    color: rgba(71, 85, 105, 0.9);
}

/* ===========================
   应用详情页
   =========================== */
.app-detail {
    padding: 2rem 0 4rem;
}

.app-hero {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid rgba(47, 107, 255, 0.2);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 3rem;
}

.app-hero-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 65%);
    filter: blur(10px);
}

.app-header {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.app-detail .app-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    flex-shrink: 0;
}

.app-header-info h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.app-header-info .category {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
}

.app-header-info .tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 1rem 0 1.5rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 16px 30px rgba(47, 107, 255, 0.25);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(47, 107, 255, 0.32);
}

/* ===========================
   截图展示
   =========================== */
.screenshots {
    margin: 3rem 0;
}

.screenshots h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.screenshot {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(47, 107, 255, 0.12);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   功能列表
   =========================== */
.features, .description {
    margin: 3rem 0;
}

.features h2, .description h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.description p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.features ul {
    list-style: none;
}

.features li {
    padding: 1rem 1rem 1rem 2.5rem;
    margin-bottom: 0.75rem;
    background: rgba(47, 107, 255, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    position: relative;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===========================
   对比说明
   =========================== */
.comparison {
    margin: 3rem 0;
}

.comparison h2 {
    font-size: 1.6rem;
}

.comparison-intro {
    margin-top: 0.7rem;
    color: var(--text-secondary);
    max-width: 72ch;
}

.comparison-table-wrap {
    margin-top: 1rem;
    border-radius: 16px;
    overflow: auto;
    border: 1px solid rgba(47, 107, 255, 0.22);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 740px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(47, 107, 255, 0.14);
}

.comparison-table th {
    background: rgba(47, 107, 255, 0.08);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table td:nth-child(2) {
    color: #065f46;
}

.comparison-table td:nth-child(3) {
    color: #7c2d12;
}

/* ===========================
   工作流和 FAQ
   =========================== */
.workflow,
.faq {
    margin: 3rem 0;
}

.workflow h2,
.faq h2,
.home-faq h3 {
    font-size: 1.6rem;
}

.workflow-intro,
.faq-intro {
    margin-top: 0.7rem;
    color: var(--text-secondary);
    max-width: 72ch;
}

.workflow-list {
    margin-top: 1rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.workflow-list li {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(47, 107, 255, 0.2);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-soft);
}

.workflow-list h3 {
    font-size: 1rem;
}

.workflow-list p {
    margin-top: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.faq-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(47, 107, 255, 0.22);
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #111827;
}

.faq-item p {
    margin-top: 0.6rem;
    color: var(--text-secondary);
}

/* ===========================
   页脚
   =========================== */
footer {
    background: rgba(15, 23, 42, 0.03);
    border-top: 1px solid rgba(47, 107, 255, 0.15);
    padding: 3.5rem 2rem 2.5rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.contact-text {
    color: #1f2937;
    font-size: 0.9rem;
}

.contact-links {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-link {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.contact-divider {
    color: rgba(15, 23, 42, 0.6);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(47, 107, 255, 0.15);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===========================
   内容页面（隐私政策等）
   =========================== */
.content-page {
    max-width: 880px;
    margin: 2.5rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    border: 1px solid rgba(47, 107, 255, 0.15);
    box-shadow: var(--shadow-soft);
}

.content-page h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.content-page h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-info {
    background: rgba(47, 107, 255, 0.08);
    padding: 1.8rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 1px solid rgba(47, 107, 255, 0.15);
}

.contact-info h2 {
    margin-top: 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ===========================
   响应式设计
   =========================== */
@media (max-width: 900px) {
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .app-header {
        flex-direction: column;
        text-align: center;
    }

    .featured-shell {
        grid-template-columns: 1fr;
    }

    .workflow-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        padding: 0 1.5rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .screenshots-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }

    .screenshot {
        min-width: 220px;
        scroll-snap-align: start;
    }

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

    .language-switch {
        top: 10px;
        right: 10px;
    }

    .language-select {
        font-size: 0.8rem;
        min-width: 118px;
    }
}

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

    .hero {
        padding: 3rem 0 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-icon {
        width: 64px;
        height: 64px;
    }

    .app-detail .app-icon {
        width: 100px;
        height: 100px;
    }

    .content-page {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===========================
   加载状态
   =========================== */
.loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.loading:after {
    content: "...";
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: ".";
    }
    40% {
        content: "..";
    }
    60%, 100% {
        content: "...";
    }
}

/* SEO 和可访问性辅助类 */

/* 屏幕阅读器专用文本（对视力障碍用户友好，也利于SEO） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 跳转到主内容链接（键盘导航友好） */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}

/* 面包屑导航样式 */
nav[aria-label="Breadcrumb"] {
    padding: 1rem 0;
    font-size: 0.9rem;
}

nav[aria-label="Breadcrumb"] a {
    color: var(--primary-color);
    text-decoration: none;
}

nav[aria-label="Breadcrumb"] a:hover {
    text-decoration: underline;
}

/* 技术信息列表样式 */
.tech-info {
    margin: 3rem 0;
}

.tech-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.tech-info dt {
    font-weight: 600;
    color: var(--text-primary);
}

.tech-info dd {
    color: var(--text-secondary);
    margin: 0;
}

/* 评分显示 */
.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 图片说明文字 */
figcaption {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

/* 语义化标签样式优化 */
article {
    background: transparent;
}

main {
    min-height: 60vh;
}

/* 响应式图片 */
img {
    max-width: 100%;
    height: auto;
}

/* 打印样式（SEO 友好） */
@media print {
    header nav,
    .download-button,
    footer {
        display: none;
    }

    .app-detail {
        max-width: 100%;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}
