:root {
    --primary-color: #FF5A00;
    --primary-dark: #E64A00;
    --primary-light: #FF7A33;
    --primary-lighter: #FF6A23;

    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #2d2d2d;
    --text-light: #657786;
    --text-muted: #999999;

    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #fafbfc;
    --bg-quaternary: #f8f9fa;
    --bg-form: #f8f8f8;
    --bg-disabled: #9ca3af;

    --border-light: rgba(0, 0, 0, 0.03);
    --border-medium: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.1);
    --border-accent: rgba(255, 90, 0, 0.2);
    --border-card: #e1e8ed;
    --border-separator: #f7f9fa;

    --error-color: #dc3545;
    --error-light: #e55563;
    --warning-color: #ffc107;
    --warning-light: #ffcd39;
    --warning-text: #856404;
    --success-color: #28a745;
    --success-light: #34ce57;
    --purple-color: #6610f2;
    --purple-light: #7c3aed;

    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 8px 32px rgba(255, 90, 0, 0.25);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-family-compact: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    --section-padding: 60px;
    --section-padding-tablet: 40px;
    --section-padding-mobile: 24px;
    --container-max-width: 1400px;

    --font-hero-xl: 4.5rem;
    --font-hero-lg: 4rem;
    --font-hero-md: 3.5rem;
    --font-hero-sm: 3rem;
    --font-hero-xs: 2.5rem;

    --font-title-xl: 3.5rem;
    --font-title-lg: 3rem;
    --font-title-md: 2.5rem;

    --transition-fast: 0.3s cubic-bezier(0.2, 0, 0, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-elastic: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-primary-hover: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-lighter) 100%);
    --gradient-text: linear-gradient(135deg, var(--text-primary) 5%, var(--primary-color) 95%);
}

/* 防闪烁预加载样式已移除 - 避免影响认证页面显示 */

/* 关键路径CSS - 立即应用字体和基础样式 (已与原有body样式合并) */

.hero-cta {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    letter-spacing: -0.06em;
}

/* Logo样式覆盖 - 使用与signin页面相同的悬停效果 (已合并到原有.logo-link样式中) */

/* 防闪烁样式 - 仅在页面加载完成后启用过渡效果 */
.page-loaded .google-signup-btn {
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-loaded .header-login-btn {
    transition: all 0.3s ease;
}

.page-loaded .main-nav a {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loaded .cta-button {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loaded .feature-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loaded .platform-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loaded .pricing-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-weight: 400;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section[id] {
    scroll-margin-top: 88px;
}

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    padding: 24px var(--section-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    height: 88px;
    box-shadow: var(--shadow-light);
    box-sizing: border-box;
}

header h1 {
    color: var(--text-primary);
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.04em;
    font-family: var(--font-family-compact);
    min-width: 140px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    line-height: 1;
}

header h1 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-tertiary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    letter-spacing: -0.01em;
    font-family: var(--font-family-compact);
    white-space: nowrap;
}

.main-nav a:hover {
    background-color: rgba(255, 90, 0, 0.06);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    justify-content: flex-end;
}

.google-signup-btn {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-light);
    letter-spacing: -0.01em;
    font-family: var(--font-family-compact);
}

.google-signup-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--border-accent);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.google-signup-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.google-signup-btn i.fa-chrome {
    color: #4285F4; /* Chrome blue color */
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.google-signup-btn:hover svg {
    transform: scale(1.1);
}

.google-signup-btn:hover i.fa-chrome {
    transform: scale(1.1);
}

/* Loading state - using higher specificity instead of !important */
.header-actions .google-signup-btn.loading,
.google-signup-btn.loading {
    background-color: var(--bg-disabled);
    border-color: var(--bg-disabled);
    color: var(--bg-primary);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    pointer-events: none;
}

.header-actions .google-signup-btn.loading:hover,
.google-signup-btn.loading:hover {
    background-color: var(--bg-disabled);
    border-color: var(--bg-disabled);
    color: var(--bg-primary);
    transform: none;
    box-shadow: none;
}
.header-login-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-accent);
    letter-spacing: -0.01em;
    font-family: var(--font-family-compact);
}

.header-login-btn:hover {
    background: var(--gradient-primary-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 90, 0, 0.4);
    scale: 1.02;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-link:hover {
    color: var(--primary-color);
}

.logo-icon {
    width: 35px;
    height: 35px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.logo-link:hover .logo-icon {
    transform: scale(1.1);
}

.logo-text {
    transition: var(--transition-fast);
}

.header-spacer {
    width: 100px;
}

main {
    padding: 0;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
}

.login-main {
    padding: 120px 40px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-section {
    min-height: 60vh;
    padding: 170px var(--section-padding) 100px;
    background: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FF5A00" opacity="0.8"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    background-size: 500px 500px;
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 120px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    text-align: left;
}

.hero-cta {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text-primary);
    letter-spacing: -0.06em;
    font-family: var(--font-family-compact);
    overflow: visible;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    padding-right: 4px;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-secondary);
    max-width: 580px;
    font-weight: 400;
    font-family: var(--font-family-compact);
}

.trial-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
    font-weight: 400;
    font-family: var(--font-family-compact);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.hero-actions .trial-text {
    text-align: left;
}

.btn {
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    font-family: var(--font-family-compact);
    box-shadow: var(--shadow-medium);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 90, 0, 0.35);
    color: white;
    scale: 1.02;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--border-accent);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.x-demo-container {
    position: relative;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    z-index: 2;
    /* 添加与 features-demo 相同的淡橙色渐变背景 */
    background: radial-gradient(circle at 50% 50%, rgba(255, 90, 0, 0.03), transparent);
    border-radius: 20px;
    padding: 40px 20px;
}

.x-post-window {
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px;
    /* 增强阴影效果，与 reddit-demo 相同 */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    /* 添加悬浮动画 */
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
}

.x-post-window:hover {
    /* 向上浮动 4px */
    transform: translateY(-4px);
    /* 增强阴影 */
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.x-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.x-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.x-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.x-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.x-avatar-icon {
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 90, 0, 0.25);
}

.x-avatar-icon i {
    color: white;
    font-size: 20px;
}

.x-user-details {
    display: flex;
    flex-direction: column;
}

.x-display-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-family-compact);
}

.x-username {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-family-compact);
}

.x-post-time {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-family-compact);
}

.x-post-content {
    margin-bottom: 16px;
    overflow: visible;
    position: relative;
}

.x-post-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-family-compact);
    clear: both;
}

.x-post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-separator);
    max-width: 300px;
}

.x-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-family-compact);
}

.x-action-btn:hover {
    color: var(--primary-color);
}

.x-action-btn i {
    font-size: 0.9rem;
}

/* Platform Support Info */
.platform-support-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.platform-support-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
    font-family: var(--font-family-compact);
}

.platform-icons {
    display: flex;
    gap: 14px;
    align-items: center;
}

.platform-icons i,
.platform-icons .x-icon {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    opacity: 0.8;
}

.platform-icons .x-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.platform-icons i:hover,
.platform-icons .x-icon:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-2px);
    cursor: pointer;
}

/* Platform Feedback Section */
.platform-feedback {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.feedback-link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    font-weight: 500;
    font-family: var(--font-family-compact);
}

.feedback-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.2s ease;
}

.feedback-link:hover {
    color: var(--text-primary);
}

.feedback-link:hover::after {
    width: 100%;
}

.analysis-container {
    float: left;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    line-height: 1.6;
    position: relative;
    z-index: 10;
    min-height: 32px;  /* 固定最小高度，防止按钮/标签切换时布局跳动 */
}

/* Hero Tooltip - "Try it!" bubble */
.hero-tooltip {
    position: absolute;
    left: -90px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    z-index: 10;
    animation: heroTooltipPulse 1.5s ease-in-out infinite;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-tooltip.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Arrow pointing to the button */
.hero-tooltip-arrow {
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #e5e5e5;
    z-index: 3;
}

.hero-tooltip-arrow::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 2px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid white;
}

/* Pulse animation - subtle scale effect */
@keyframes heroTooltipPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.08);
    }
}

.analysis-btn {
    background: #E67E22;  /* 与 features 区域一致的橙色 */
    color: white;
    border: none;
    border-radius: 12px;  /* 与 features 区域一致的圆角 */
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-family-compact);
    cursor: pointer;
    transition: all 0.2s ease;  /* 更快的过渡 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);  /* 与 features 区域一致的阴影 */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    vertical-align: baseline;
}

.analysis-btn:hover {
    background: #D35400;  /* 与 features 区域一致的 hover 颜色 */
    transform: translateY(-1px) scale(1.02);  /* 添加轻微缩放效果 */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);  /* 与 features 区域一致的 hover 阴影 */
}

.analysis-btn i {
    font-size: 0.7rem;
}

.analysis-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fallacy-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
    z-index: 10;
}

.fallacy-tag-inline {
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-family-compact);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    opacity: 0.9;
    position: relative;
    line-height: 1.4;
    vertical-align: baseline;
}

.fallacy-tag-inline:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.fallacy-tag-inline.anecdotal {
    background: linear-gradient(135deg, var(--error-color) 0%, var(--error-light) 100%);
}

.fallacy-tag-inline.personal-experience {
    background: linear-gradient(135deg, var(--warning-color) 0%, var(--warning-light) 100%);
    color: var(--warning-text);
}

.fallacy-tag-inline.cherry-picking {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-light) 100%);
}

.fallacy-tag-inline.ad-hominem {
    background: linear-gradient(135deg, var(--purple-color) 0%, var(--purple-light) 100%);
}

.highlight-anecdotal {
    background: linear-gradient(180deg, transparent 60%, rgba(220, 53, 69, 0.3) 60%);
    border-bottom: 2px solid var(--error-color);
    border-radius: 2px;
}

.highlight-personal-experience {
    background: linear-gradient(180deg, transparent 60%, rgba(255, 193, 7, 0.3) 60%);
    border-bottom: 2px solid var(--warning-color);
    border-radius: 2px;
}

.highlight-cherry-picking {
    background: linear-gradient(180deg, transparent 60%, rgba(40, 167, 69, 0.3) 60%);
    border-bottom: 2px solid var(--success-color);
    border-radius: 2px;
}

.highlight-ad-hominem {
    background: linear-gradient(180deg, transparent 60%, rgba(102, 16, 242, 0.3) 60%);
    border-bottom: 2px solid var(--purple-color);
    border-radius: 2px;
}

.typewriter-cursor {
    font-weight: 400;
    animation: blink 1.2s infinite;
    color: #000000 !important;
    margin-left: 2px;
    display: inline-block;
    font-size: 0.9em;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
}

@keyframes blink {
    0%, 45% {
        opacity: 1;
    }
    50%, 95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#typewriter-text {
    display: inline-block;
    min-width: 0;
    text-align: left;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 90, 0, 0.1) 25%, rgba(255, 90, 0, 0.2) 50%, rgba(255, 90, 0, 0.1) 75%, transparent 100%);
    margin: 40px auto;
    width: 60%;
    max-width: 400px;
}

.accent-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    border-radius: 50%;
    display: inline-block;
    margin: 0 12px;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #FF5A00 50%, transparent 100%);
    border-radius: 28px 28px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator .scroll-text {
    font-size: 0.85rem;
    color: #666666;
    font-weight: 500;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: 0.02em;
}

.scroll-indicator .scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid #FF5A00;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    background: transparent;
}

.scroll-indicator .scroll-mouse::before {
    content: '';
    width: 2px;
    height: 8px;
    background: #FF5A00;
    border-radius: 1px;
    position: absolute;
    top: 6px;
    animation: scrollWheel 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }
    50% {
        opacity: 1;
        top: 12px;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}

.features-section {
    padding: 30px 60px;
    background: #ffffff;
}

.features-content {
    max-width: 1400px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 15px;
}

.features-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.05em;
    font-family: 'Inter', system-ui, sans-serif;
}

.features-description {
    font-size: 1.3rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Inter', system-ui, sans-serif;
}

.features-interactive {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: stretch;
    margin-top: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: block;
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feature-item:hover,
.feature-item.active {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 90, 0, 0.2);
}

.feature-item.active {
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.02) 0%, rgba(255, 122, 51, 0.01) 100%);
    border-color: #FF5A00;
}

.feature-content {
    width: 100%;
}

.feature-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    font-family: var(--font-family-compact);
    transition: var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-item.active .feature-name {
    color: var(--primary-color);
}

.feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-family: var(--font-family-compact);
    margin: 0;
}

.features-demo {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(255, 90, 0, 0.03), transparent);
    border-radius: 20px;
    overflow: visible;
    min-height: 400px;
    height: 100%;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    padding: 40px 20px;
}

.demo-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: visible;
}

.demo-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    overflow: visible;
}

.demo-content.active {
    opacity: 1;
    pointer-events: auto;
}

.demo-placeholder {
    text-align: center;
    padding: 24px;
}

.demo-placeholder i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.demo-placeholder p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-family: var(--font-family-compact);
}

.demo-placeholder small {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: var(--font-family-compact);
}

/* ===== Reddit Demo Styles ===== */
.reddit-demo {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 650px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reddit-demo:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.reddit-post {
    margin-bottom: 16px;
    overflow: visible;
    position: relative;
}

.reddit-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.reddit-subreddit {
    font-weight: 700;
    color: #1A1A1B;
}

.reddit-meta {
    color: #7c7c7c;
}

.reddit-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1A1A1B;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.reddit-body {
    font-size: 0.95rem;
    color: #1A1A1B;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.reddit-actions {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #7c7c7c;
    margin-top: 8px;
}

/* Reddit Comment */
.reddit-comment {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    border-left: 2px solid #E0E0E0;
}

.reddit-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.reddit-username {
    font-weight: 600;
    color: #1A1A1B;
}

.reddit-time {
    color: #7c7c7c;
}

.reddit-comment-text {
    font-size: 0.9rem;
    color: #1A1A1B;
    line-height: 1.5;
    margin: 0;
}

/* Logicat Analysis Button - Real Style */
.logicat-analysis-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    background-color: #E67E22;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    margin: 8px 0;
    min-height: 20px;
    line-height: 1;
}

.logicat-analysis-btn:hover {
    background-color: #D35400;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.logicat-analysis-btn .icon {
    margin-right: 4px;
    font-style: normal;
}

.logicat-analysis-btn-small {
    margin-bottom: 8px;
}

/* Logicat Analysis Results */
.logicat-results {
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    position: relative;
}

.logicat-result-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    overflow: visible;
    position: relative;
}

.logicat-result-item.fallacies-list {
    gap: 6px;
}

/* Logicat Tags - Real Style */
.logicat-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: default;
    transition: transform 0.1s ease;
    min-height: 20px;
    line-height: 1;
    box-sizing: border-box;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.logicat-tag:hover {
    transform: scale(1.05);
}

/* Tag tooltip */
.logicat-tag[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    white-space: normal;
    max-width: 250px;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    line-height: 1.4;
    font-weight: 400;
    text-shadow: none;
}

.logicat-tag[data-tooltip]::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    border: 6px solid transparent;
    border-bottom-color: #1f2937;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.logicat-tag[data-tooltip]:hover::after,
.logicat-tag[data-tooltip]:hover::before {
    opacity: 1;
}

.logicat-tag-summary {
    background-color: #6b7280;
}

.logicat-tag-fallacy {
    background-color: #ef4444;
}

.logicat-tag-type-1 {
    background-color: #ef4444;
}

.logicat-tag-type-2 {
    background-color: #8b5cf6;
}

.logicat-tag-type-3 {
    background-color: #ec4899;
}

.logicat-summary-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Text Highlighting - Real Style */
.logicat-highlight {
    text-decoration: underline;
    text-decoration-color: #9ca3af;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-skip-ink: none;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.logicat-highlight[data-fallacy="Ad Hominem"] {
    text-decoration-color: #ef4444;
}

.logicat-highlight[data-fallacy="False Dilemma"] {
    text-decoration-color: #3b82f6;
}

.logicat-highlight[data-fallacy="Hasty Generalization"] {
    text-decoration-color: #8b5cf6;
}

/* Hover tooltip for highlights */
.logicat-highlight-hover {
    position: relative;
    z-index: 1;
}

.logicat-highlight-hover:hover {
    z-index: 10000;
}

.logicat-highlight-hover::after {
    content: attr(data-fallacy) ": " attr(data-explanation);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    white-space: normal;
    max-width: 250px;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    line-height: 1.4;
}

.logicat-highlight-hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    border: 6px solid transparent;
    border-bottom-color: #1f2937;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.logicat-highlight-hover:hover::after,
.logicat-highlight-hover:hover::before {
    opacity: 1;
}

/* Hero area highlights */
.logicat-highlight-hero {
    text-decoration: underline;
    text-decoration-color: #8b5cf6;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-skip-ink: none;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.logicat-highlight-hero:hover {
    z-index: 10000;
}

.logicat-highlight-cherry {
    text-decoration-color: #ec4899;
}

.logicat-highlight-adhom {
    text-decoration-color: #ef4444;
}

.logicat-highlight-hero::after {
    content: attr(data-fallacy) ": " attr(data-explanation);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    white-space: normal;
    max-width: 250px;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    line-height: 1.4;
}

.logicat-highlight-hero::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    border: 6px solid transparent;
    border-bottom-color: #1f2937;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.logicat-highlight-hero:hover::after,
.logicat-highlight-hero:hover::before {
    opacity: 1;
}

.plain-text {
    /* No special styling, just plain text */
}

/* Tooltip - Legacy (not used anymore) */
.logicat-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.logicat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}

.reddit-post:hover .logicat-tooltip {
    opacity: 1;
}

.tooltip-header {
    font-weight: 600;
    margin-bottom: 4px;
}

.tooltip-content {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Language Selection Demo - Simplified */
.language-demo-container {
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
}

.language-header {
    text-align: center;
    margin-bottom: 24px;
}

.language-header h3 {
    font-size: 1.4rem;
    color: #1A1A1B;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.language-subtitle {
    font-size: 0.95rem;
    color: #7c7c7c;
    margin: 0;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.language-item {
    padding: 12px 16px;
    background: #F8F9FA;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    color: #1A1A1B;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.language-item:hover {
    background: #E8E9EA;
    border-color: #E67E22;
    transform: translateY(-2px);
}

/* Legacy language styles - no longer used */
.language-trigger-btn {
    padding: 8px 16px;
    background-color: #E67E22;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-trigger-btn:hover {
    background-color: #D35400;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.language-modal {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #E0E0E0;
}

.language-modal-header {
    margin-bottom: 16px;
}

.language-modal-header h4 {
    font-size: 1.1rem;
    color: #1A1A1B;
    margin: 0;
}

.language-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.language-option:hover {
    background: #F0F0F0;
}

.language-option input[type="radio"] {
    cursor: pointer;
}

.language-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #E67E22;
}

.language-option span {
    font-size: 0.9rem;
    color: #1A1A1B;
}

.language-confirm-btn {
    width: 100%;
    padding: 10px;
    background-color: #E67E22;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-confirm-btn:hover {
    background-color: #D35400;
    transform: translateY(-1px);
}

/* Responsive adjustments for Reddit demos */
@media (max-width: 1200px) {
    .reddit-demo {
        padding: 16px;
    }

    .language-options {
        grid-template-columns: 1fr;
    }
}

.platforms-section {
    padding: 40px 60px;
    background: #fafbfc;
    text-align: center;
}

.platforms-content {
    max-width: 1400px;
    margin: 0 auto;
}

.platforms-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.05em;
    font-family: 'Inter', system-ui, sans-serif;
}

.platforms-description {
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Inter', system-ui, sans-serif;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.platform-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.platform-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 90, 0, 0.15);
}

.platform-icon {
    font-size: 2.25rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    border-radius: 20px;
    color: white;
    margin-bottom: 8px;
    box-shadow: 0 8px 28px rgba(255, 90, 0, 0.25);
}

.platform-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.toggle-switch {
    position: relative;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 4px;
    display: flex;
    align-items: center;
    border: 2px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    user-select: none;
    overflow: hidden;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    border-radius: 46px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
    z-index: 1;
}

.toggle-option {
    position: relative;
    padding: 12px 28px 12px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #666666;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    z-index: 2;
    cursor: pointer;
    border-radius: 46px;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.toggle-option.active {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.toggle-switch:hover {
    border-color: rgba(255, 90, 0, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.toggle-switch.yearly .toggle-slider {
    transform: translateX(calc(100% + 0px));
}

.billing-discount {
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.25);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .billing-toggle {
        gap: 12px;
        margin: 15px 0 20px 0;
    }

    .toggle-option {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .billing-discount {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
.pricing-section {
    padding: 40px 60px;
    background: #ffffff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pricing Loading Spinner */
.pricing-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.pricing-loader .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #FF5A00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.pricing-content {
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.05em;
    font-family: 'Inter', system-ui, sans-serif;
}

.pricing-description {
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Inter', system-ui, sans-serif;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: #FF5A00;
    transform: scale(1.0);
    box-shadow: 0 24px 80px rgba(255, 90, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.0) translateY(-12px);
}

.plan-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.35);
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    font-family: 'Inter', system-ui, sans-serif;
}

.plan-intro {
    color: #666666;
    font-size: 0.95rem; 
    margin: 0;
    line-height: 1.6;
    font-family: 'Inter', system-ui, sans-serif;
}

.plan-price {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FF5A00;
    font-family: 'Inter', system-ui, sans-serif;
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.04em;
    font-family: 'Inter', system-ui, sans-serif;
}

.price-period {
    font-size: 0.95rem;
    color: #666666;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Yearly Total Price Display */
.yearly-total-price {
    margin-top: -12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yearly-billed {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    font-family: 'Inter', system-ui, sans-serif;
}

.yearly-savings {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex: 1;
}

.plan-features li {
    padding: 10px 0;
    color: #1a1a1a;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', system-ui, sans-serif;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: #FF5A00;
    font-size: 0.8rem;
    width: 14px;
}

/* Tooltip for credits info */
.plan-features .tooltip {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #FF5A00;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: -8px;
    position: relative;
}

.plan-features .tooltip[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

.plan-features .tooltip[data-tip]::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 5px solid transparent;
    border-top-color: #1f2937;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1001;
}

.plan-features .tooltip:hover::after,
.plan-features .tooltip:hover::before {
    opacity: 1;
}

.plan-button {
    width: 100%;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.plan-button.btn-primary {
    background: #FF5A00;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 90, 0, 0.2);
}

.plan-button.btn-primary:hover {
    background: #E64A00;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 90, 0, 0.3);
}

.plan-button.btn-secondary {
    background: transparent;
    color: #FF5A00;
    border: 1px solid #FF5A00;
}

.plan-button.btn-secondary:hover {
    background: #FF5A00;
    color: white;
}

/* Disabled state for plan buttons */
.plan-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.plan-button.btn-primary.disabled {
    background: #cccccc;
    color: #666666;
    box-shadow: none;
}

.plan-button.btn-secondary.disabled {
    background: #f5f5f5;
    color: #999999;
    border-color: #dddddd;
}

.faq-section {
    padding: 40px 60px;
    background: #fafbfc;
}

.faq-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: flex-start;
}

.faq-left {
    position: static;
    top: 140px;
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-family: 'Inter', system-ui, sans-serif;
}

.faq-right {
    width: 100%;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.4;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: rgba(255, 90, 0, 0.03);
}

.faq-item[open] .faq-question {
    background: rgba(255, 90, 0, 0.05);
    color: #FF5A00;
}

.faq-icon {
    font-size: 1.25rem;
    color: #FF5A00;
    transition: transform 0.15s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 12px 32px 24px;
    background: #ffffff;
}

.faq-answer p {
    margin: 0;
    color: #666666;
    line-height: 1.6;
    font-size: 1.05rem;
    font-family: 'Inter', system-ui, sans-serif;
}

section {
    margin-bottom: 0;
}

.auth-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    margin-top: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-form h3 {
    text-align: center;
    margin-bottom: 32px;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.google-btn {
    width: 100%;
    padding: 16px 20px;
    background: #FF5A00;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.2);
}

.google-btn:hover {
    background: #E64A00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.3);
}

.google-icon {
    margin-right: 12px;
    font-weight: bold;
    background: white;
    color: #FF5A00;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 32px 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.divider span {
    background: #ffffff;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    background: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #FF5A00;
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1);
}

/* Password input with toggle visibility button */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #FF5A00;
}

.toggle-password i {
    font-size: 1rem;
}

/* Spinner for loading states */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 90, 0, 0.1);
    border-top-color: #FF5A00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.auth-btn {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.auth-btn.primary {
    background: #FF5A00;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.2);
}

.auth-btn.primary:hover {
    background: #E64A00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.3);
}

.auth-btn.secondary {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-btn.secondary:hover {
    background: #f8f8f8;
}

.forgot-password {
    text-align: center;
    margin-top: 16px;
}

.user-profile {
    text-align: center;
}

.welcome-message h3 {
    color: #FF5A00;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.welcome-message p {
    color: #666666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.user-actions {
    display: flex;
    justify-content: center;
}

.nickname-section {
    margin: 24px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 16px;
    text-align: left;
}

.nickname-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nickname-display label {
    font-weight: 600;
    color: #1a1a1a;
}

.nickname-display span {
    flex: 1;
    color: #666666;
    font-style: italic;
}

.nickname-edit {
    margin-top: 16px;
}

.nickname-edit .form-group {
    margin-bottom: 16px;
}

.nickname-edit .help-text {
    display: block;
    color: #666666;
    font-size: 0.75rem;
    margin-top: 4px;
}

.nickname-edit .form-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    font-size: 0.875rem;
}

.message.success {
    background: rgba(255, 90, 0, 0.1);
    color: #E64A00;
    border: 1px solid rgba(255, 90, 0, 0.2);
}

.message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.message.info {
    background: rgba(255, 90, 0, 0.05);
    color: #FF5A00;
    border: 1px solid rgba(255, 90, 0, 0.1);
}

.final-cta-section {
    min-height: 60vh;
    padding: 60px 60px;
    background: #ffffff;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FF5A00" opacity="0.8"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    background-size: 500px 500px;
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -0.05em;
    font-family: 'Inter', system-ui, sans-serif;
}

.final-cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #666666;
    font-weight: 400;
    font-family: 'Inter', system-ui, sans-serif;
}

.final-cta-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', system-ui, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    margin-bottom: 8px;
    width: fit-content;
}

.footer-logo .logo-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}

.footer-logo .logo-text {
    display: block;
    line-height: 1;
}

.footer-logo .logo-link:hover {
    color: #FF5A00;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 400px;
}

.footer-links-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.footer-links-left a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links-left a:hover {
    color: #FF5A00;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 60px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

@media (max-width: 1200px) {
    header {
        padding: 20px var(--section-padding-tablet);
    }

    .hero-section {
        padding: 178px var(--section-padding-tablet) 80px;
    }

    .features-section,
    .platforms-section,
    .pricing-section,
    .faq-section {
        padding: 40px var(--section-padding-tablet);
    }

    .hero-content {
        gap: 80px;
    }

    .hero-cta {
        font-size: var(--font-hero-lg);
    }

    .features-title,
    .platforms-title,
    .pricing-title,
    .faq-title {
        font-size: var(--font-title-lg);
    }

    .main-nav {
        margin-left: -60px;
    }

    .main-nav ul {
        gap: 28px;
    }

    .features-interactive {
        gap: 40px;
        margin-top: 30px;
    }

    .feature-item {
        padding: 16px;
    }

    .feature-content .feature-name {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .features-demo,
    .demo-container {
        min-height: 360px;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 18px 32px;
    }

    .hero-section {
        padding: 158px var(--section-padding-tablet) 60px;
    }

    .features-section,
    .platforms-section,
    .pricing-section,
    .faq-section {
        padding: 30px var(--section-padding-tablet);
    }

    .main-nav {
        margin-left: -40px;
    }

    .main-nav ul {
        gap: 24px;
    }

    .main-nav a {
        padding: 12px 14px;
    }

    .header-actions {
        gap: 10px;
        min-width: 240px;
    }

    .google-signup-btn,
    .header-login-btn {
        padding: 11px 16px;
        font-size: 0.85rem;
    }

    .hero-cta {
        font-size: var(--font-hero-md);
    }

    .features-title,
    .platforms-title,
    .pricing-title,
    .faq-title {
        font-size: var(--font-title-lg);
    }

    .faq-content {
        gap: 60px;
    }

    .final-cta-section {
        min-height: 55vh;
        padding: 50px var(--section-padding-tablet);
    }

    .final-cta-title {
        font-size: var(--font-title-lg);
    }

    .footer-content {
        padding: 32px var(--section-padding-tablet);
        gap: 40px;
    }

    .footer-links {
        gap: 30px;
    }

    .footer-bottom {
        padding: 16px var(--section-padding-tablet);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        position: relative;
        padding: 24px var(--section-padding-mobile);
        height: auto;
    }

    .main-nav {
        position: static;
        transform: none;
        order: 2;
    }

    .main-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav a {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .header-actions {
        order: 3;
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .google-signup-btn,
    .header-login-btn {
        font-size: 0.9rem;
        padding: 12px 20px;
        width: 200px;
        justify-content: center;
    }

    .hero-section {
        min-height: 90vh;
        padding: 100px var(--section-padding-mobile) 40px;
        background: var(--bg-primary);
    }

    .features-section,
    .platforms-section,
    .pricing-section,
    .faq-section {
        padding: 25px var(--section-padding-mobile);
    }

    .hero-cta {
        font-size: var(--font-hero-sm);
        margin-bottom: 6px;
        line-height: 1.1;
    }

    .features-title,
    .platforms-title,
    .pricing-title,
    .faq-title {
        font-size: var(--font-title-md);
    }

    .final-cta-title {
        font-size: var(--font-title-md);
        margin-bottom: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-left {
        text-align: center;
        order: 1;
    }

    .hero-description {
        font-size: 1.15rem;
        margin-bottom: 40px;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .btn {
        text-align: center;
        font-size: 1rem;
        padding: 16px 32px;
        justify-content: center;
    }

    .features-interactive {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }

    .feature-item {
        padding: 16px;
    }

    .feature-content .feature-name {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .feature-content .feature-description {
        font-size: 0.9rem;
    }

    .features-demo,
    .demo-container {
        min-height: 300px;
        margin-top: 12px;
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 32px;
        margin-top: 20px;
    }

    .platform-card {
        padding: 40px var(--section-padding-mobile);
    }

    .platform-icon {
        font-size: 2rem;
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
        max-width: 100%;
    }

    .pricing-card {
        padding: 24px 20px;
        text-align: center;
    }

    .pricing-card.featured {
        transform: none;
        scale: 1;
    }

    .plan-price {
        justify-content: center;
        margin-bottom: 18px;
    }

    .price-amount {
        font-size: 2.2rem;
    }

    .plan-features {
        margin-bottom: 20px;
        text-align: left;
    }

    .faq-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-left {
        position: static;
        text-align: center;
        margin-bottom: 0;
    }

    .final-cta-section {
        min-height: 50vh;
        padding: 40px var(--section-padding-mobile);
    }

    .final-cta-description {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .final-cta-actions {
        flex-direction: column;
        gap: 16px;
    }

    .footer-content {
        padding: 32px var(--section-padding-mobile);
        text-align: center;
    }

    .footer-left {
        align-items: center;
        text-align: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-links-left {
        justify-content: center;
    }

    .footer-bottom {
        padding: 16px var(--section-padding-mobile);
    }

    main {
        padding-top: 0;
    }

    .login-main {
        padding: var(--section-padding-mobile);
    }

    .auth-section {
        padding: 40px 28px;
    }

    .form-actions {
        flex-direction: column;
    }

    .scroll-indicator {
        bottom: 20px;
        gap: 6px;
    }

    .scroll-indicator .scroll-text {
        font-size: 0.8rem;
    }

    .scroll-indicator .scroll-mouse {
        width: 20px;
        height: 30px;
    }
}

/* ========== 认证页面样式 (从内联CSS转移) ========== */

/* Simple Header Styles - 用于signin/signup/forgot-password页面 */
.simple-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 24px 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 88px;
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.simple-header h1 {
    color: #1a1a1a;
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.04em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    min-width: 140px;
}

/* Main Container - 认证页面容器 */
.signin-container,
.signup-container,
.forgot-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 128px 20px 40px 20px;
    background-color: #ffffff;
}

.signup-container {
    padding: 140px 20px 40px 20px;
}

/* Auth Card - 认证表单卡片 */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h1,
.auth-header h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.auth-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Google Auth Button */
.google-auth-btn {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    letter-spacing: -0.01em;
    font-family: 'Inter', system-ui, sans-serif;
}

.google-auth-btn:hover {
    background: #fafafa;
    border-color: rgba(255, 90, 0, 0.2);
    color: #FF5A00;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.google-auth-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.google-auth-btn:hover svg {
    transform: scale(1.1);
}

/* Form Elements */
.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    background: #ffffff;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #FF5A00;
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1);
}

/* Auth Buttons */
.auth-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.auth-btn.primary {
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(255, 90, 0, 0.25);
}

.auth-btn.primary:hover {
    background: linear-gradient(135deg, #E64A00 0%, #FF6A23 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 90, 0, 0.35);
    color: white;
    scale: 1.02;
}

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

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.auth-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Forgot Password */
.forgot-password {
    text-align: center;
    margin-top: 14px;
}

.link-btn {
    background: none;
    border: none;
    color: #FF5A00;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Inter', system-ui, sans-serif;
}

.link-btn:hover {
    color: #e54f00;
}

/* Link Section */
.link-section {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.link-section p {
    color: #666;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.link-section a {
    color: #FF5A00;
    text-decoration: none;
    font-weight: 600;
}

.link-section a:hover {
    text-decoration: underline;
}

/* Back Link - 用于forgot-password页面 */
.back-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.back-link a {
    color: #FF5A00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.back-link a:hover {
    text-decoration: underline;
    color: #e54f00;
}

.back-link a i {
    font-size: 0.8rem;
}

/* Message */
.message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.message.success {
    background: #f0f9f0;
    color: #2d5a2d;
    border: 1px solid #b8e6b8;
}

.message.error {
    background: #fdf2f2;
    color: #7f1d1d;
    border: 1px solid #fca5a5;
}

.message.info {
    background: #f0f8ff;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ========== Profile页面特定样式 ========== */

/* Profile页面特定样式 */
.profile-container {
    min-height: 100vh;
    padding: 128px 60px 40px 60px;
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-container.loaded {
    opacity: 1;
}

/* OAuth加载状态样式 */
.oauth-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(6px);
}

.oauth-loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top: 3px solid #FF5A00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.1rem;
    color: #666;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
}

/* OAuth期间隐藏header */
.oauth-processing header {
    opacity: 0;
    pointer-events: none;
}

.profile-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.profile-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #FF5A00;
    font-size: 1.3rem;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    padding: 16px 20px;
    background: transparent;
    border-radius: 12px;
    border: none;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', system-ui, sans-serif;
}

.info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Inter', system-ui, sans-serif;
}

.info-value.placeholder {
    color: #999999;
    font-style: italic;
    font-weight: 400;
}

/* Username区域特殊样式 */
.info-item.username-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.username-content {
    flex: 1;
}

.logout-btn {
    background: #f5f5f5;
    color: #1a1a1a;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.logout-btn:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}

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

/* 使用额度进度条样式 */
.usage-progress {
    margin-top: 12px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666666;
    font-family: 'Inter', system-ui, sans-serif;
}

.progress-stats {
    font-size: 0.85rem;
    color: #999999;
    font-family: 'Inter', system-ui, sans-serif;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    border-radius: 8px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 特殊状态样式 */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
}

.status-badge.active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-badge.inactive {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.status-badge i {
    font-size: 0.7rem;
}

/* 订阅管理相关样式 */
.subscribe-btn {
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 16px rgba(255, 90, 0, 0.25);
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #E64A00 0%, #FF6A23 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.35);
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* 订阅遮挡层样式 - 用于未支付用户 */
.profile-section {
    position: relative;
}

/* 订阅信息局部加载状态 - 覆盖整个区域 */
.subscription-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 16px;
    z-index: 5;
}

.subscription-loader .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #FF5A00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* 订阅内容容器 */
.subscription-content {
    position: relative;
}

.subscription-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overlay-content {
    text-align: center;
    padding: 40px 24px;
    max-width: 400px;
}

.overlay-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.25);
}

.overlay-icon i {
    color: white;
    font-size: 28px;
}

.overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
    white-space: nowrap;
}

.overlay-description {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 28px;
    line-height: 1.5;
    font-family: 'Inter', system-ui, sans-serif;
}

.overlay-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 28px;
    text-align: left;
    display: inline-block;
}

.overlay-features li {
    font-size: 0.95rem;
    color: #333333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', system-ui, sans-serif;
}

.overlay-features li:last-child {
    margin-bottom: 0;
}

.overlay-features li i {
    color: #4CAF50;
    font-size: 16px;
    flex-shrink: 0;
}

.overlay-cta-btn {
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 20px rgba(255, 90, 0, 0.3);
    width: 100%;
    max-width: 240px;
}

.overlay-cta-btn:hover {
    background: linear-gradient(135deg, #E64A00 0%, #FF6A23 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 90, 0, 0.4);
}

.overlay-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(255, 90, 0, 0.3);
}

.plan-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.plan-selection-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Inter', system-ui, sans-serif;
}

.modal-description {
    color: #666666;
    font-size: 0.95rem;
}

.plan-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.plan-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-option:hover {
    border-color: #FF5A00;
    background: rgba(255, 90, 0, 0.02);
}

.plan-option.selected {
    border-color: #FF5A00;
    background: rgba(255, 90, 0, 0.05);
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.plan-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FF5A00;
    margin-bottom: 8px;
}

.plan-features {
    font-size: 0.9rem;
    color: #666666;
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    margin-bottom: 4px;
}

.plan-features li::before {
    content: "✓";
    color: #4CAF50;
    margin-right: 8px;
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 订阅成功模态框样式 */
.subscription-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.subscription-success-modal.show {
    display: flex;
}

.success-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    animation: slideIn 0.4s ease-out 0.1s both;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    animation: bounceIn 0.6s ease-out 0.3s both;
}

.success-icon i {
    color: white;
    font-size: 2.5rem;
}

.success-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: 'Inter', system-ui, sans-serif;
}

.success-message {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: 'Inter', system-ui, sans-serif;
}

.success-close-btn {
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    min-width: 120px;
}

.success-close-btn:hover {
    background: linear-gradient(135deg, #E64A00 0%, #FF6A23 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 0, 0.3);
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-secondary {
    background: #f5f5f5;
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-secondary:hover {
    background: #e5e5e5;
}

/* 支付处理中的覆盖层 */
.payment-processing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-processing.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.processing-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #FF5A00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

/* 旋转动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-text {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    text-align: center;
}

.processing-subtext {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 8px;
    text-align: center;
}

/* ========== 响应式设计 - 认证页面 ========== */

@media (max-width: 768px) {
    .simple-header {
        padding: 20px 20px;
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .signup-container {
        padding: 180px 20px 40px 20px;
    }

    .auth-card {
        padding: 24px;
    }

    .profile-container {
        padding: 110px 24px 40px 24px;
    }

    .profile-section {
        padding: 24px 20px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .info-grid {
        gap: 10px;
    }

    .info-item {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
        margin: 20px;
    }

    .auth-header h1,
    .auth-header h2 {
        font-size: 1.75rem;
    }

    .profile-container {
        padding: 100px 20px 40px 20px;
    }

    .profile-section {
        padding: 20px 16px;
    }

    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

/* ============================================
   Legal Pages (Terms of Service, Privacy Policy)
   ============================================ */

.legal-container {
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: var(--bg-secondary);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 48px 56px;
    box-shadow: var(--shadow-light);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-updated {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-medium);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 32px;
}

.legal-section h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 32px;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-section .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.legal-section .data-table thead {
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
}

.legal-section .data-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.legal-section .data-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.2s ease;
}

.legal-section .data-table tbody tr:last-child {
    border-bottom: none;
}

.legal-section .data-table tbody tr:hover {
    background-color: rgba(255, 90, 0, 0.05);
}

.legal-section .data-table tbody td {
    padding: 14px 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section .data-table tbody td:first-child {
    font-weight: 500;
}

.legal-back-link {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-medium);
    text-align: center;
}

.legal-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.legal-back-link a:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.legal-back-link i {
    font-size: 0.95rem;
}

/* Legal Pages - Responsive */
@media (max-width: 768px) {
    .legal-container {
        padding: 100px 16px 40px;
    }

    .legal-content {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }

    .legal-section .data-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .legal-section .data-table thead th,
    .legal-section .data-table tbody td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 90px 12px 30px;
    }

    .legal-content {
        padding: 24px 20px;
    }

    .legal-title {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.35rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   Legal Agreement Text (Auth Forms & Pricing)
   ============================================ */

/* Terms agreement text in signup form */
.terms-agreement {
    margin-top: 16px;
    padding: 0 4px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}

.terms-agreement a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.terms-agreement a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Legal notice text in signin form */
.legal-notice {
    margin-top: 16px;
    padding: 0 4px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}

.legal-notice a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-notice a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Terms link in pricing plans */
.terms-link {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.terms-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.terms-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terms-agreement,
    .legal-notice {
        font-size: 0.813rem;
    }

    .terms-link {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .terms-agreement,
    .legal-notice {
        font-size: 0.75rem;
        margin-top: 12px;
    }

    .terms-link {
        font-size: 0.7rem;
        margin-top: 6px;
    }
}

/* ========== Extension Install Prompt Bubble ========== */

/* Container - positioned relative to header-actions */
.header-actions {
    position: relative;
}

.extension-prompt {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1000;
    animation: extensionPromptFadeIn 0.4s ease-out;
}

.extension-prompt.hidden {
    display: none;
}

/* Arrow pointing up to Chrome Store button */
.extension-prompt-arrow {
    position: absolute;
    top: -7px;
    right: 150px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e5e5e5;
    z-index: 3;
}

.extension-prompt-arrow::after {
    content: '';
    position: absolute;
    top: 2px;
    left: -7px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid white;
}

/* Content container */
.extension-prompt-content {
    position: relative;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 360px;
    z-index: 2;
}

/* Icon */
.extension-prompt-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

/* Text content */
.extension-prompt-text {
    flex: 1;
}

.extension-prompt-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.extension-prompt-message {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

/* Close button */
.extension-prompt-close {
    background: #FF5A00;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Inter", system-ui, sans-serif;
    flex-shrink: 0;
    align-self: center;
}

.extension-prompt-close:hover {
    background: #E65100;
    transform: translateY(-1px);
}

.extension-prompt-close:active {
    transform: translateY(0);
}

/* Animations */
@keyframes extensionPromptFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .extension-prompt {
        right: 10px;
        left: 10px;
        top: calc(100% + 8px);
    }

    .extension-prompt-arrow {
        right: 100px;
    }

    .extension-prompt-content {
        min-width: unset;
        max-width: unset;
        padding: 14px 16px;
    }

    .extension-prompt-title {
        font-size: 0.875rem;
    }

    .extension-prompt-message {
        font-size: 0.813rem;
    }

    .extension-prompt-close {
        padding: 7px 14px;
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .extension-prompt-content {
        flex-direction: column;
        gap: 10px;
    }

    .extension-prompt-close {
        width: 100%;
        align-self: stretch;
    }

    .extension-prompt-arrow {
        right: 80px;
    }
}

/* ============================================================================
   Feedback Widget Styles
   ============================================================================ */

/* Feedback Button */
.feedback-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.2);
}

.feedback-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.3);
}

.feedback-button:active {
    transform: translateY(0);
}

.feedback-button i {
    font-size: 1.1rem;
}

/* Floating Feedback Button - 右下角悬浮 */
.feedback-floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.feedback-floating-btn:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 32px rgba(255, 90, 0, 0.4);
}

.feedback-floating-btn:active {
    transform: translateY(-2px) scale(0.98) !important;
}

.feedback-floating-btn i {
    font-size: 1.2rem;
}

.feedback-floating-btn span:not(.feedback-button-badge) {
    font-size: 0.938rem;
}

/* Feedback button - 直接显示，无动画 */
.feedback-floating-btn.show {
    pointer-events: auto !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1);
}

.feedback-button-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #dc3545;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 11px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

/* Feedback Modal */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.feedback-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.feedback-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.feedback-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-medium);
}

.feedback-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.feedback-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Archive Toggle Button */
.feedback-archive-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 未激活状态的悬浮效果 */
.feedback-archive-toggle-btn:not(.active):hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.feedback-archive-toggle-btn.active {
    background: var(--primary-color) !important;
    color: white !important;
}

/* 激活状态的悬浮效果 - 使用 --primary-dark 深橙色 */
.feedback-archive-toggle-btn.active:hover {
    background: var(--primary-dark) !important;
    color: white !important;
}

.feedback-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Views */
.feedback-view {
    animation: fadeIn 0.2s ease;
}

/* Thread List */
.feedback-threads-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.feedback-thread-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.feedback-thread-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feedback-thread-item:hover .thread-archive-btn {
    opacity: 1;
}

.feedback-thread-item.has-unread {
    border-color: var(--primary-color);
    background: rgba(255, 90, 0, 0.05);
}

/* Thread Archive Button */
.thread-archive-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    opacity: 0; /* 默认隐藏 */
    transition: all 0.2s ease;
    z-index: 10;
}

/* 活跃线程悬停时显示归档按钮 */
.feedback-thread-item:hover .thread-archive-btn[data-action="archive"] {
    opacity: 1;
}

/* 归档视图中的恢复按钮始终显示 */
.thread-archive-btn[data-action="unarchive"] {
    opacity: 1;
}

.thread-archive-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.feedback-thread-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feedback-thread-content {
    flex: 1;
    min-width: 0;
}

.feedback-thread-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.feedback-thread-type-label {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feedback-thread-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.feedback-thread-preview {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.feedback-thread-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
}

.feedback-thread-messages {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}

.feedback-unread-badge {
    padding: 4px 8px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Empty State */
.feedback-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.feedback-empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.feedback-empty-state p {
    margin: 0;
    font-size: 1rem;
}

.feedback-empty-hint {
    font-size: 0.875rem !important;
    margin-top: 8px !important;
}

/* New Feedback Button */
.feedback-new-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.feedback-new-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

/* Back Button */
.feedback-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.feedback-back-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Form */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feedback-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feedback-type-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feedback-type-btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-medium);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-type-btn:hover {
    border-color: var(--border-strong);
    background: var(--bg-tertiary);
}

.feedback-type-btn.active {
    background: rgba(255, 90, 0, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.feedback-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-medium);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.938rem;
    color: var(--text-primary);
    resize: vertical;
    transition: all 0.2s ease;
}

.feedback-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.feedback-submit-btn {
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.feedback-submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

.feedback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Thread Detail View */
.feedback-thread-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 20px;
}

.feedback-thread-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Messages */
.feedback-messages-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding: 4px;
}

.feedback-message {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
}

.feedback-message-user {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
}

.feedback-message-admin {
    align-self: flex-start;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.feedback-message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.75rem;
}

.feedback-message-sender {
    font-weight: 600;
}

.feedback-message-user .feedback-message-sender,
.feedback-message-user .feedback-message-date {
    color: rgba(255, 255, 255, 0.9);
}

.feedback-message-admin .feedback-message-sender {
    color: var(--text-primary);
}

.feedback-message-date {
    color: var(--text-secondary);
}

.feedback-message-admin .feedback-message-date {
    color: var(--text-secondary);
}

.feedback-message-content {
    font-size: 0.938rem;
    line-height: 1.5;
    word-wrap: break-word;
}

/* ============================================
   Trial Period UI Styles
   ============================================ */

/* Trial Badge */
.trial-badge {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #6B7280, #4B5563);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(75, 85, 99, 0.2);
}


/* Upgrade Trial Button */
.upgrade-trial-btn {
    margin-left: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FF5A00, #FF3D00);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(255, 90, 0, 0.3);
}

.upgrade-trial-btn:hover {
    background: linear-gradient(135deg, #FF6A10, #FF4D10);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.4);
}

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

/* End Trial Modal */
.warning-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF9500, #FF5A00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.3);
}

.warning-icon i {
    font-size: 36px;
    color: white;
}

.end-trial-message {
    text-align: left;
    margin: 24px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #FF5A00;
}

.end-trial-message p {
    margin: 0 0 16px 0;
    color: #1a1a1a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.end-trial-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.end-trial-list li {
    padding: 10px 0;
    color: #333;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.end-trial-list li i {
    color: #FF5A00;
    font-size: 1rem;
    min-width: 20px;
}

.end-trial-note {
    margin: 16px 0 0 0 !important;
    font-weight: 600;
    color: #FF5A00;
    font-size: 0.9rem;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.modal-cancel-btn,
.modal-confirm-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.modal-cancel-btn {
    background: #f5f5f5;
    color: #1a1a1a;
}

.modal-cancel-btn:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.modal-confirm-btn {
    background: linear-gradient(135deg, #FF5A00, #FF3D00);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

.modal-confirm-btn:hover {
    background: linear-gradient(135deg, #FF6A10, #FF4D10);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.4);
}

.modal-cancel-btn:active,
.modal-confirm-btn:active {
    transform: translateY(0);
}



/* Quota Warning Tooltip - 参考扩展提示样式 */
.quota-warning-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    z-index: 1000;
    animation: quotaWarningFadeIn 0.4s ease-out;
}

/* Arrow pointing down to Upgrade button */
.quota-warning-arrow {
    position: absolute;
    bottom: -7px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #e5e5e5;
    z-index: 3;
}

.quota-warning-arrow::after {
    content: '';
    position: absolute;
    top: -9px;
    left: -7px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid white;
}

/* Content container */
.quota-warning-content {
    position: relative;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 280px;
    max-width: 320px;
    z-index: 2;
}

/* Icon */
.quota-warning-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    color: #FF5A00;
}

/* Text content */
.quota-warning-text {
    flex: 1;
}

.quota-warning-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-family: "Inter", system-ui, sans-serif;
}

.quota-warning-message {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    font-family: "Inter", system-ui, sans-serif;
}

.quota-warning-message span {
    font-weight: 700;
    color: #FF5A00;
}

/* Animations */
@keyframes quotaWarningFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Review Mode Styles
   审核模式样式 - 审核通过后改 reviewMode: false 即可隐藏
   ============================================ */

/* 顶部横幅 */
.review-notice-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FF5A00 0%, #FF7A33 100%);
    color: white;
    padding: 14px 20px;
    text-align: center;
    z-index: 10000;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.2);
    animation: slideDown 0.3s ease-out;
    font-family: 'Inter', system-ui, sans-serif;
}

.review-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-banner-content i {
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

/* 为横幅腾出空间 */
body:has(.review-notice-banner) {
    padding-top: 48px;
}

body:has(.review-notice-banner) header {
    top: 48px;
}

/* Signup页面提示卡片 */
.review-signup-notice {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
    border: 2px solid #FF5A00;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.12);
    animation: fadeIn 0.4s ease-out;
}

.review-signup-notice h2 {
    color: #FF5A00;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
}

.review-signup-notice p {
    color: #555;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.6;
}

.review-signup-notice .btn {
    margin-top: 10px;
    min-width: 200px;
    background: #FF5A00;
    font-weight: 600;
}

.review-signup-notice .btn:hover {
    background: #E54F00;
    transform: translateY(-2px);
}

/* 审核模式下禁用的表单 */
form[data-review-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.3);
}

.form-disabled-text {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

/* 动画效果 */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .review-notice-banner {
        font-size: 12px;
        padding: 10px 15px;
    }

    body:has(.review-notice-banner) {
        padding-top: 44px;
    }

    body:has(.review-notice-banner) header {
        top: 44px;
    }

    .review-signup-notice {
        padding: 30px 20px;
    }

    .review-signup-notice h2 {
        font-size: 20px;
    }
}

