/* 苹果设计风格 - FeelFlow 官网样式 */

/* CSS Variables - 苹果设计系统颜色 */
:root {
    --color-primary: #007AFF;
    --color-primary-dark: #0051D5;
    --color-secondary: #5856D6;
    --color-success: #34C759;
    --color-warning: #FF9500;
    --color-danger: #FF3B30;
    
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F5F5F7;
    --color-bg-tertiary: #FAFAFA;
    
    --color-text: #1D1D1F;
    --color-text-secondary: #6E6E73;
    --color-text-tertiary: #86868B;
    
    --color-border: #D2D2D7;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --color-primary: #0A84FF;
    --color-primary-dark: #0051D5;
    --color-secondary: #5E5CE6;
    --color-success: #30D158;
    --color-warning: #FF9F0A;
    --color-danger: #FF453A;
    
    --color-bg: #000000;
    --color-bg-secondary: #1C1C1E;
    --color-bg-tertiary: #2C2C2E;
    
    --color-text: #FFFFFF;
    --color-text-secondary: #EBEBF5;
    --color-text-tertiary: #AEAEB2;
    
    --color-border: #38383A;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .nav {
    background: rgba(0, 0, 0, 0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-logo {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Theme Toggle Button */
.nav-actions {
    display: flex !important;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.theme-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    padding: 0;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--color-bg-tertiary);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.theme-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 20px;
    line-height: 1;
    user-select: none;
}

[data-theme="dark"] .theme-icon {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(80px + var(--spacing-2xl)) var(--spacing-lg) var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--spacing-2xl);
}

.hero-container {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-rating .stars {
    font-size: var(--font-size-lg);
    letter-spacing: 2px;
}

.hero-rating .rating-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-border);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.6s both;
}

/* iPhone 17 Pro Max Mockup - 完全真实还原 */
.iphone-17-pro-max {
    width: 430px;
    height: 932px;
    position: relative;
    margin: 0 auto;
    /* 使用真实的 iPhone 阴影 */
    filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.9)) 
            drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}

.phone-frame {
    width: 100%;
    height: 100%;
    /* 真实的钛金属深空黑色 */
    background: #1C1C1E;
    border-radius: 65px;
    padding: 10px;
    position: relative;
    overflow: visible;
    /* 真实的边框效果 */
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 40px 100px rgba(0, 0, 0, 0.88),
        0 15px 50px rgba(0, 0, 0, 0.8),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.025),
        inset 0 1px 3px rgba(255, 255, 255, 0.05),
        inset 0 -1px 3px rgba(0, 0, 0, 0.5);
}

/* 钛金属质感 - 简化但更真实 */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 65px;
    background: 
        radial-gradient(ellipse 180% 80% at 50% 0%, 
            rgba(255, 255, 255, 0.06) 0%, 
            rgba(255, 255, 255, 0.03) 25%,
            transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* Side Buttons - 真实按钮设计 */
.volume-buttons {
    position: absolute;
    left: -3px;
    top: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 11;
}

.volume-up,
.volume-down {
    width: 3px;
    height: 28px;
    background: #0D0D0E;
    border-radius: 1.5px 0 0 1.5px;
    box-shadow: 
        inset 1px 0 1px rgba(255, 255, 255, 0.04),
        1px 0 3px rgba(0, 0, 0, 0.8);
}

.power-button {
    position: absolute;
    right: -3px;
    top: 180px;
    width: 3px;
    height: 46px;
    background: #0D0D0E;
    border-radius: 0 1.5px 1.5px 0;
    box-shadow: 
        inset -1px 0 1px rgba(255, 255, 255, 0.04),
        -1px 0 3px rgba(0, 0, 0, 0.8);
    z-index: 11;
}

/* Dynamic Island - 完全真实 */
.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    background: #000000;
    border-radius: 19px;
    z-index: 1001;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.95),
        inset 0 1px 1px rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.island-camera {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 60%,
        transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 55px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.9);
    z-index: 2;
}

.phone-screen.dark-mode {
    background: #000000;
    color: #FFFFFF;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 8px;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    height: 54px;
    margin-top: 20px;
}

.status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* 信号强度图标 - 苹果原生样式 */
.signal-icon {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 11px;
}

.signal-bar {
    width: 2.5px;
    background: #FFFFFF;
    border-radius: 0.5px;
}

.signal-bar:nth-child(1) {
    height: 3px;
}

.signal-bar:nth-child(2) {
    height: 5px;
}

.signal-bar:nth-child(3) {
    height: 7px;
}

.signal-bar:nth-child(4) {
    height: 9px;
}

.signal-bar:nth-child(5) {
    height: 11px;
}

/* WiFi 图标 - 苹果原生样式 */
.wifi-icon {
    display: flex;
    align-items: center;
    width: 16px;
    height: 16px;
}

.wifi-icon svg {
    width: 16px;
    height: 16px;
}

/* 电池图标 - 苹果原生样式 */
.battery-icon {
    display: flex;
    align-items: center;
    gap: 2px;
}

.battery-body {
    width: 22px;
    height: 11px;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.battery-level {
    height: 100%;
    background: #34C759;
    border-radius: 1px;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.3s ease;
}

.battery-cap {
    width: 1.5px;
    height: 5px;
    background: #FFFFFF;
    border-radius: 0 1px 1px 0;
}

/* Navigation Bar */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    height: 44px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.nav-button {
    background: #007AFF;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.nav-title {
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.nav-icon {
    background: none;
    border: none;
    font-size: 18px;
    color: #FFFFFF;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* App Content */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #000000;
}

.app-content::-webkit-scrollbar {
    width: 0;
}

/* Analysis Card */
.analysis-card {
    background: #1C1C1E;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emotion-icon {
    color: #FF3B30;
}

.category-icon {
    color: #007AFF;
}

.keyword-icon {
    color: #FF9500;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.info-item {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.info-item.secondary {
    font-size: 12px;
    color: #8E8E93;
    font-weight: 400;
}

.keyword-count {
    font-size: 14px;
    font-weight: 500;
    color: #8E8E93;
    background: #2C2C2E;
    padding: 6px 12px;
    border-radius: 12px;
}

/* Emotion Chart */
.emotion-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 160px;
    margin: 16px 0;
    gap: 6px;
    padding: 0 4px;
    position: relative;
}

.emotion-chart::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 4px 2px;
    min-height: 20px;
    position: relative;
    max-width: 40px;
}

.bar-label {
    font-size: 10px;
    color: #FFFFFF;
    margin-top: 4px;
    white-space: nowrap;
    transform: rotate(-45deg);
    transform-origin: center;
    position: absolute;
    bottom: -20px;
    width: 60px;
    text-align: center;
    left: 50%;
    margin-left: -30px;
}

.bar-value {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: absolute;
    top: -16px;
    white-space: nowrap;
}

/* Category Content */
.category-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0;
}

.donut-chart {
    flex-shrink: 0;
}

.topics-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-item {
    font-size: 12px;
    color: #8E8E93;
    padding-left: 12px;
    position: relative;
}

.topic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5856D6;
}

/* Keywords Grid */
.keywords-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.keyword-tag {
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Confidence Bar */
.confidence-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #8E8E93;
}

.confidence-value {
    font-weight: 600;
    color: #FFFFFF;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #2C2C2E;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #34C759;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-secondary);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.feature-card {
    background: var(--color-bg);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.benefit-item h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.benefit-item p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-secondary);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    align-items: start;
}

.download-info h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.requirements-list,
.steps-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.requirements-list li,
.steps-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
}

.steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.steps-list {
    counter-reset: step-counter;
}

.download-steps {
    margin-top: var(--spacing-xl);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.download-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-label {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.download-subtitle {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.feature-highlight {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.feature-highlight h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.feature-highlight p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Dark mode specific styling for feature-highlight */
[data-theme="dark"] .feature-highlight {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
    border-color: var(--color-border);
}

/* Sponsor Section */
.sponsor {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
}

.sponsor-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.sponsor-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sponsor-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.sponsor-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 12px;
    background: var(--color-bg-secondary);
}

.sponsor-icon.eth {
    background: linear-gradient(135deg, #627EEA 0%, #4F6DD3 100%);
}

.sponsor-icon.usdt {
    background: linear-gradient(135deg, #26A17B 0%, #1E8B6B 100%);
}

.sponsor-icon.wechat {
    background: linear-gradient(135deg, #07C160 0%, #06A050 100%);
}

.sponsor-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.sponsor-address {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sponsor-address code {
    background: var(--color-bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    word-break: break-all;
    color: var(--color-text);
    line-height: 1.5;
}

.copy-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.copy-btn:active {
    transform: translateY(0);
}

.sponsor-wechat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.wechat-qr {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.sponsor-wechat p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    margin: 0;
}

.sponsor-thanks {
    margin-top: var(--spacing-2xl);
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 192, 203, 0.1) 100%);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .sponsor-thanks {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 192, 203, 0.15) 100%);
}

.sponsor-thanks p {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}

/* Credits Section */
.credits-section {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-2xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.credits-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.credits-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.credit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.credit-item:hover {
    background: var(--color-bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Contact Section */
.contact {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.contact-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.contact-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.contact-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
}

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

/* Developer Section */
.developer-section {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
}

.developer-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.developer-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.developer-avatar {
    flex-shrink: 0;
    position: relative;
}

.avatar-circle,
.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--color-bg);
    transition: all 0.3s ease;
}

.avatar-image {
    display: block;
    background: var(--color-bg-secondary);
}

.avatar-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.developer-details {
    flex: 1;
}

.developer-details h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.developer-role {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.developer-social {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
    padding: var(--spacing-xs) 0;
}

.social-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

.social-icon {
    font-size: var(--font-size-lg);
    width: 24px;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--color-text);
    color: #FFFFFF;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

[data-theme="dark"] .footer {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-brand p {
    color: var(--color-text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: inherit;
}

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

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
}

[data-theme="dark"] .footer-column a {
    color: var(--color-text-secondary);
}

.footer-column a:hover {
    color: white;
}

[data-theme="dark"] .footer-column a:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--color-border);
}

.company-info {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

[data-theme="dark"] .company-info {
    color: var(--color-text-secondary);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

[data-theme="dark"] .footer-bottom p {
    color: var(--color-text-secondary);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-xs);
}

[data-theme="dark"] .footer-tagline {
    color: var(--color-text-tertiary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        padding: var(--spacing-lg);
        border-top: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    [data-theme="dark"] .nav-menu {
        background: rgba(0, 0, 0, 0.98);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-sm) 0;
        font-size: var(--font-size-base);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: calc(80px + var(--spacing-lg)) var(--spacing-lg) var(--spacing-lg);
    }

    .hero-container {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .iphone-17-pro-max {
        width: 360px;
        height: 780px;
    }

    .phone-frame {
        border-radius: 56px;
        padding: 10px;
    }

    .volume-buttons,
    .power-button {
        display: none; /* 移动端隐藏侧边按钮 */
    }

    .phone-screen {
        border-radius: 46px;
    }

    .dynamic-island {
        width: 110px;
        height: 32px;
        top: 14px;
        border-radius: 16px;
    }

    .app-content {
        padding: 12px;
    }

    .analysis-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .card-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .card-info {
        width: 100%;
        align-items: flex-start;
        margin-top: 8px;
    }

    .emotion-chart {
        height: 120px;
        gap: 4px;
    }

    .bar-label {
        font-size: 8px;
    }

    .keywords-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-methods {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .developer-info {
        flex-direction: column;
        text-align: center;
    }

    .developer-social {
        align-items: center;
    }

    .social-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .btn {
        width: 100%;
    }

    .nav-actions {
        gap: var(--spacing-sm);
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 18px;
        display: flex !important;
    }
}

/* Dark Mode Specific Styles */
[data-theme="dark"] .phone-screen.dark-mode {
    background: #1C1C1E;
}

[data-theme="dark"] .analysis-card {
    background: var(--color-bg-tertiary);
    border-color: var(--color-border);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .benefit-item,
[data-theme="dark"] .sponsor-card,
[data-theme="dark"] .contact-item {
    background: var(--color-bg-secondary);
    border-color: var(--color-border);
}

[data-theme="dark"] .footer {
    background: var(--color-bg-secondary);
    border-top-color: var(--color-border);
}

/* Ensure all text is visible in dark mode */
[data-theme="dark"] .section-title,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .feature-title,
[data-theme="dark"] .feature-description,
[data-theme="dark"] .benefit-item h3,
[data-theme="dark"] .benefit-item p,
[data-theme="dark"] .download-info h3,
[data-theme="dark"] .sponsor-header h3,
[data-theme="dark"] .contact-item h3,
[data-theme="dark"] .developer-title,
[data-theme="dark"] .developer-details h4 {
    color: var(--color-text);
}

[data-theme="dark"] .download-label,
[data-theme="dark"] .download-subtitle {
    color: #FFFFFF;
}

/* Smooth theme transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
