/* ============================
   发票智能 - Apple-Style Premium Theme
   与80端口管理系统主题一致
   ============================ */

/* === Reset & Variables === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 与80端口登录页一致 */
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --secondary: #764ba2;
    --accent: #a855f7;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #a855f7 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));

    /* 中性色 */
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #aeaeb2;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-page: #fafafa;
    --border: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.04);

    /* 间距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 100px;

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 980px;

    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 8px 32px rgba(102, 126, 234, 0.25);

    /* 动画 */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-apple: cubic-bezier(0.28, 0.11, 0.32, 1);
    --ease-smooth: cubic-bezier(0.19, 1, 0.22, 1);

    --nav-height: 64px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Inter', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}


/* === 页面加载器 === */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s var(--ease-apple), visibility 0.6s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 36px;
    height: 36px;
    border: 2.5px solid var(--bg-secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* === 滚动进度条 === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gradient-primary);
    z-index: 10001;
    transform-origin: left;
    transition: transform 0.15s linear;
    will-change: transform;
}


/* === 动态背景 === */
.ambient-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: var(--bg-page);
}

.ambient-background .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    will-change: transform;
}

.ambient-background .shape-1 {
    top: -15%;
    left: -5%;
    width: 700px;
    height: 700px;
    background: var(--primary);
    animation: ambient-float-1 30s infinite alternate var(--ease-apple);
}

.ambient-background .shape-2 {
    bottom: -15%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    animation: ambient-float-2 25s infinite alternate var(--ease-apple);
    animation-delay: -5s;
}

.ambient-background .shape-3 {
    top: 40%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: var(--accent);
    opacity: 0.22;
    animation: ambient-float-3 28s infinite alternate var(--ease-apple);
    animation-delay: -10s;
}

.ambient-shape {
    display: none;
}

@keyframes ambient-float-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 80px) scale(1.1);
    }

    100% {
        transform: translate(-60px, 120px) scale(0.95);
    }
}

@keyframes ambient-float-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-150px, -100px) scale(1.05);
    }

    100% {
        transform: translate(50px, -60px) scale(1);
    }
}

@keyframes ambient-float-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(80px, -80px) scale(1.1);
    }

    100% {
        transform: translate(-50px, 60px) scale(0.95);
    }
}


/* === 导航栏 === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.5s var(--ease-apple);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.7;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.logo span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-apple);
    display: block;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.nav-links a.active {
    color: var(--primary);
}

/* 登录/注册链接样式 */
.nav-links a[href*="login"],
.nav-links a[href*="register"] {
    font-size: 14px;
    transition: all 0.3s var(--ease-apple);
}

.nav-links a[href*="register"] {
    color: var(--primary);
    font-weight: 600;
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 9px 20px !important;
    border-radius: var(--radius-full) !important;
    box-shadow: var(--shadow-glow) !important;
    margin-left: 8px;
    transition: all 0.4s var(--ease-apple) !important;
}

.nav-cta:hover {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.35) !important;
    filter: brightness(1.05);
}


/* === 主容器 === */
.main-wrapper {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--nav-height));
}


/* === Hero 区域 === */
.hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: visible;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-left {
    flex: 1;
    max-width: 560px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

h1 {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-apple) 0.2s forwards;
}

h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-apple) 0.4s forwards;
}

.cta-group {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-apple) 0.6s forwards;
}


/* === 按钮 === */
.btn {
    padding: 13px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s var(--ease-apple);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.06);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-lg {
    padding: 16px 36px !important;
    font-size: 17px !important;
}

/* 按钮涟漪 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-anim 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* === Hero 插图 === */
.hero-illustration-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.badge-1 {
    top: 12%;
    right: -8%;
    animation: badge-float 4s ease-in-out infinite;
}

.badge-2 {
    bottom: 22%;
    left: -8%;
    animation: badge-float 5s ease-in-out infinite;
    animation-delay: -1.5s;
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* === 合作伙伴 === */
.partners-section {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: var(--space-xl) 0;
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    opacity: 0.35;
    transition: opacity 0.5s;
}

.partners-track:hover {
    opacity: 0.55;
}

.partner-logo {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* === Section 标题 === */
.section-title {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-apple);
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* === 效率对比板块 === */
.efficiency-section {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}

.comparison-card {
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.comparison-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.comp-item {
    background: var(--bg-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.5s var(--ease-smooth);
    position: relative;
}

.comp-item:hover {
    transform: translateY(-4px);
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.15);
}

.comp-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-row {
    margin-bottom: var(--space-md);
}

.comp-row:last-child {
    margin-bottom: 0;
}

.comp-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comp-val {
    font-weight: 600;
    color: var(--text-primary);
}

.comp-progress-bg {
    height: 6px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
    overflow: hidden;
}

.comp-progress-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 1.8s var(--ease-smooth);
}

.efficiency-section.fade-in .fill-manual {
    width: var(--target-width);
}

.efficiency-section.fade-in .fill-ai {
    width: var(--target-width);
}

.fill-manual {
    background: #d1d1d6;
    opacity: 0.5;
}

.fill-ai {
    background: var(--gradient-primary);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.3);
    position: relative;
}

.fill-ai::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

.metric-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.badge-bad {
    background: rgba(255, 59, 48, 0.08);
    color: #FF3B30;
}

.badge-good {
    background: rgba(52, 199, 89, 0.08);
    color: #34C759;
}


/* === 核心指标 === */
.performance-stats {
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-apple) 0.8s forwards;
}

.stat {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-apple);
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.15);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}


/* === 六大核心亮点 === */
.highlights {
    padding: var(--space-3xl) var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-block {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    transition: all 0.5s var(--ease-apple);
    position: relative;
    overflow: hidden;
}

.highlight-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s;
}

.highlight-block:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.12);
}

.highlight-block:hover::before {
    opacity: 1;
}

.highlight-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.highlight-number {
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.highlight-title-area h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.highlight-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.highlight-content {
    padding-left: 56px;
}

/* 格式表格 */
.format-table {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.format-row {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s;
    gap: 8px;
}

.format-row:last-child {
    border-bottom: none;
}

.format-row:not(.format-header-row):hover {
    background: var(--gradient-subtle);
}

.format-header-row {
    background: var(--bg-secondary);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.format-col-type {
    font-size: 14px;
}

.format-col-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.format-col-method {
    font-size: 13px;
}

.format-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.badge-green {
    background: rgba(52, 199, 89, 0.08);
    color: #34C759;
}

.badge-yellow {
    background: rgba(255, 184, 0, 0.08);
    color: #E6A700;
}

.badge-blue {
    background: rgba(0, 122, 255, 0.08);
    color: #007AFF;
}

/* AI 功能网格 */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.ai-feature-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-apple);
}

.ai-feature-item:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    border-color: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.ai-feature-icon {
    font-size: 28px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-feature-text strong {
    font-size: 15px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.ai-feature-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 三种报销模式 */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.mode-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    transition: all 0.5s var(--ease-apple);
}

.mode-card:hover {
    transform: translateY(-4px);
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.15);
}

.mode-card.featured-mode {
    border-color: rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
}

.mode-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.mode-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.mode-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mode-card li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.mode-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* 智能导出 */
.export-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.export-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-apple);
}

.export-item:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.export-icon {
    font-size: 28px;
    min-width: 36px;
}

.export-item strong {
    font-size: 15px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.export-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 发票存档标签 */
.archive-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.archive-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-apple);
}

.archive-tag:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.archive-tag span {
    font-size: 18px;
}

/* 局域网共享 */
.share-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.share-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-apple);
}

.share-item:hover {
    transform: translateY(-4px);
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.15);
}

.share-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.share-item strong {
    font-size: 15px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.share-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 企业级安全 */
.security-section {
    padding: var(--space-3xl) 0;
    background: var(--gradient-subtle);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.security-item {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s var(--ease-apple);
}

.security-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.security-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.security-item strong {
    font-size: 16px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.security-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


/* === Final CTA === */
.final-cta {
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-xl);
    margin: var(--space-3xl) var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.06), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(118, 75, 162, 0.06), transparent 60%);
    animation: cta-glow 8s ease-in-out infinite alternate;
}

@keyframes cta-glow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, -20px);
    }
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: var(--space-lg);
    position: relative;
}


/* === 下载 === */
.download {
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
}

.version-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: var(--space-xl);
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: color 0.3s;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--primary);
}

.version-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--bg-secondary);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.toggle-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.version-toggle.active {
    background: var(--primary);
}

.version-toggle.active .toggle-handle {
    transform: translateX(24px);
}

.download-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.download-card-container {
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.download-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s var(--ease-apple);
    transform-style: preserve-3d;
}

.download-card-container.is-demo .download-card-inner {
    transform: rotateY(180deg);
}

.download-card-front,
.download-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-apple);
}

.download-card-front:hover,
.download-card-back:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: var(--shadow-lg);
}

.download-card-back {
    transform: rotateY(180deg);
    background: var(--gradient-subtle);
}

.demo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(118, 75, 162, 0.1);
    color: var(--secondary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.official-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(52, 199, 89, 0.08);
    color: #34C759;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.platform-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    opacity: 0.7;
    transition: all 0.4s var(--ease-apple);
}

.download-card-front:hover .platform-icon,
.download-card-back:hover .platform-icon {
    transform: translateY(-4px) scale(1.05);
    opacity: 1;
}

.download-card-front h3,
.download-card-back h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.download-card-front .version,
.download-card-back .version {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}


/* === 工作流程 === */
.steps-section {
    padding: var(--space-3xl) 0;
}

.steps-layout {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-lg);
}

.steps-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    bottom: 50px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.2) 20%, rgba(102, 126, 234, 0.2) 80%, transparent);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    border: 1px solid transparent;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border-color: var(--border);
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 2;
    transition: transform 0.4s var(--ease-spring);
}

.step-item:hover .step-number {
    transform: scale(1.1);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.step-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.steps-visual {
    flex: 1.3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lottie-container {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 0.9;
    position: relative;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.06));
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary), transparent);
    filter: blur(80px);
    opacity: 0.12;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* === 产品展示 === */
.product-showcase {
    padding: var(--space-3xl) var(--space-lg);
}

.showcase-layout {
    max-width: 1100px;
    margin: var(--space-xl) auto 0;
    display: flex;
    gap: var(--space-xl);
    align-items: stretch;
}

.showcase-video,
.showcase-screenshots {
    flex: 1;
}

.video-container,
.screenshot-container {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    transition: all 0.4s var(--ease-apple);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container:hover,
.screenshot-container:hover {
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-secondary);
}

.showcase-screenshots {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.screenshots-carousel {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.screenshots-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.screenshot-slide {
    display: none;
    animation: fadeIn 0.5s ease;
    height: 100%;
}

.screenshot-slide.active {
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    opacity: 0.3;
}

.dot:hover {
    opacity: 0.6;
}

.dot.active {
    background: var(--primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}


/* === 用户评价 === */
.testimonials {
    padding: var(--space-3xl) var(--space-lg);
    overflow: hidden;
}

.testimonials-carousel {
    max-width: 1200px;
    margin: var(--space-xl) auto 0;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: var(--space-lg);
    animation: testimonials-scroll 50s linear infinite;
    width: fit-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes testimonials-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 380px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.4s var(--ease-apple);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.12);
}

.stars {
    color: #FFB800;
    font-size: 16px;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    min-height: 100px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-title {
    font-size: 12px;
    color: var(--text-secondary);
}


/* === FAQ === */
.faq-section {
    padding: var(--space-3xl) var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s var(--ease-apple);
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.15);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question::before {
    content: "Q";
    color: var(--primary);
    background: rgba(102, 126, 234, 0.08);
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 38px;
}


/* === 版本对比 / 定价 === */
.pricing {
    padding: var(--space-3xl) var(--space-lg);
}

.pricing-grid {
    max-width: 1100px;
    margin: var(--space-xl) auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-apple);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.3);
}

.pricing-card.pro {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), rgba(102, 126, 234, 0.03));
}

.pricing-card.pro:hover {
    box-shadow: 0 16px 48px rgba(168, 85, 247, 0.2);
}

.plan-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    animation: badge-float 2s ease-in-out infinite;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.price {
    font-size: 40px;
    font-weight: 700;
    margin: var(--space-md) 0;
    letter-spacing: -1.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s var(--ease-apple);
}

.pricing-card:hover .price {
    transform: scale(1.03);
}

.price-period {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
    -webkit-text-fill-color: var(--text-secondary);
}

.features-list {
    list-style: none;
    margin: var(--space-lg) 0;
    border-top: 1px solid var(--border);
    padding-top: var(--space-md);
}

.features-list li {
    padding: 7px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* 不再使用默认的 ::before 符号，由子类控制 */
.features-list li::before {
    content: none;
}

/* 包含的功能 - 实心圆点 */
.features-list li.feature-included::before {
    content: "•";
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 16px;
    min-width: 16px;
    text-align: center;
}

/* 排除的功能 - 红色叉号 */
.features-list li.feature-excluded {
    color: var(--text-tertiary);
}

.features-list li.feature-excluded::before {
    content: "✗";
    color: #FF3B30;
    font-weight: 700;
    font-size: 13px;
    min-width: 16px;
    text-align: center;
}

.features-list li.feature-excluded:hover {
    color: var(--text-secondary);
}

/* 已确认功能 - 绿色对勾 */
.features-list li.feature-check {
    color: var(--text-primary);
    font-weight: 500;
}

.features-list li.feature-check::before {
    content: "✓";
    color: #34C759;
    font-weight: 700;
    font-size: 14px;
    min-width: 16px;
    text-align: center;
}


/* === Footer === */
.premium-footer {
    background: var(--bg-secondary);
    padding: var(--space-2xl) 0 var(--space-xl);
    border-top: 1px solid var(--border);
    margin-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: 0 auto var(--space-2xl);
    max-width: 900px;
}

.footer-links {
    text-align: center;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.copyright {
    font-size: 13px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: var(--space-lg);
}

.social-links span {
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.social-links span:hover {
    color: var(--primary);
}


/* === 侧边信任模块 === */
.trust-section {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    pointer-events: none;
}

.trust-flex {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
    pointer-events: auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 72px;
    height: 72px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s var(--ease-smooth);
    cursor: default;
}

.trust-item:hover {
    transform: translateX(-6px);
    background: white;
    box-shadow: var(--shadow-sm);
    border-color: rgba(102, 126, 234, 0.2);
}

.trust-icon {
    font-size: 22px;
}

.trust-text {
    font-size: 9px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
}


/* === 动画 === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s var(--ease-apple) forwards;
}

/* Scroll reveal items */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* === 响应式 === */
@media (max-width: 1100px) {
    .steps-layout {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .steps-visual {
        width: 100%;
        order: -1;
    }

    .lottie-container {
        max-width: 100%;
    }

    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 1000px) {
    .trust-section {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: var(--space-xl) auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .trust-flex {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-item {
        width: 100px;
        height: 80px;
    }
}

@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-layout {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .ai-features-grid {
        grid-template-columns: 1fr;
    }

    .export-features {
        grid-template-columns: 1fr;
    }

    .share-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-content {
        padding-left: 0;
    }

    .format-row {
        grid-template-columns: 80px 1fr;
    }

    .format-col-method {
        grid-column: 1 / -1;
    }

    .format-header-row .format-col-method {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    h1 {
        text-align: center;
    }

    .hero-layout {
        flex-direction: column;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .stat-number {
        font-size: 28px;
    }

    .comparison-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .step-item {
        padding: var(--space-md);
    }

    .btn:active {
        transform: scale(0.96);
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 16px;
        --space-xl: 28px;
        --space-2xl: 48px;
        --space-3xl: 72px;
    }

    h1 {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .stat {
        padding: var(--space-md);
    }

    .stat-number {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}