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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Page Styles ===== */
.page-header {
    padding: 5rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 1rem,
        rgba(255, 255, 255, 0.03) 1rem,
        rgba(255, 255, 255, 0.03) 2rem
    );
    animation: float 20s linear infinite;
    pointer-events: none;
}

/* 添加悬浮装饰元素 */
.page-header .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.page-header .floating-elements::before,
.page-header .floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatElement 15s ease-in-out infinite;
}

.page-header .floating-elements::before {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 10%;
    animation-delay: -5s;
}

.page-header .floating-elements::after {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 15%;
    animation-delay: -10s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-description {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: descriptionFadeIn 1s ease-out 0.2s both;
}

@keyframes descriptionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* ===== Responsive Page Styles ===== */
@media (max-width: 1024px) {
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .page-description {
        font-size: 1.3rem;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3.5rem 0 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .page-description {
        font-size: 1.2rem;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
        letter-spacing: -0.01em;
    }
    
    .page-description {
        font-size: 1.1rem;
        max-width: 95%;
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #64748b;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.btn-secondary {
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.btn-secondary:hover {
    background: rgba(26, 115, 232, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

.btn-outline {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1a73e8;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, #1a73e8, #4285f4, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a73e8;
    text-decoration: none;
}

.nav-brand .logo-icons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.nav-brand .logo-icons i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.nav-brand .logo-icons .fa-star {
    color: #fbbf24;
    animation: twinkle 2s ease-in-out infinite;
}

.nav-brand .logo-icons .fa-share-alt {
    color: #1a73e8;
    margin-left: -0.3rem;
    transform: rotate(10deg);
}

.nav-brand:hover .logo-icons .fa-star {
    transform: scale(1.1);
}

.nav-brand:hover .logo-icons .fa-share-alt {
    transform: rotate(20deg) scale(1.05);
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.nav-brand i {
    font-size: 1.5rem;
}

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

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1a73e8;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #64748b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Main Content ===== */
.main {
    margin-top: 80px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a73e8' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== Tools Controls ===== */
.tools-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.625rem 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background: rgba(255, 255, 255, 0.9);
    color: #64748b;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-tab:hover::before {
    left: 100%;
}

.category-tab:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
    background: rgba(255, 255, 255, 1);
}

.category-tab.active {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
    transform: translateY(-1px);
}

.category-tab.active::before {
    display: none;
}

/* ===== Search Section ===== */
.search-section {
    margin-bottom: 0;
}

.search-box {
    position: relative;
    max-width: none;
    margin: 0;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 1;
    transition: all 0.3s ease;
}

.search-box input {
    width: 100%;
    padding: 1.125rem 1.125rem 1.125rem 3.25rem;
    border: 2px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.search-box input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1), 0 8px 25px rgba(26, 115, 232, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.search-box input:focus + .search-clear,
.search-box input:not(:placeholder-shown) + .search-clear {
    opacity: 1;
    visibility: visible;
}

.search-clear {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.search-clear:hover {
    background: rgba(226, 232, 240, 0.6);
    color: #1a73e8;
    transform: translateY(-50%) scale(1.1);
}

/* ===== Search Section ===== */
.search-section {
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: none;
}

.search-clear:hover {
    background: #f1f5f9;
    color: #1a73e8;
}

.search-clear.show {
    display: block;
}

/* ===== Tools Grid ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ===== Original Tools Section ===== */
.original-tools {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.original-tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1a73e8, transparent);
}

.original-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.original-tool-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.original-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1a73e8, #4285f4, #34a853);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.original-tool-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #1a73e8;
}

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

.original-tool-card .tool-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(66, 133, 244, 0.1));
    color: #1a73e8;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.original-tool-card .tool-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(66, 133, 244, 0.05));
    border-radius: 16px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.original-tool-card:hover .tool-icon::before {
    transform: scale(1);
}

.original-tool-card .tool-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.original-tool-card .tool-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(66, 133, 244, 0.1));
    color: #1a73e8;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.2);
    transition: all 0.3s ease;
}

.original-tool-card:hover .feature-tag {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.15), rgba(66, 133, 244, 0.15));
    border-color: rgba(26, 115, 232, 0.3);
}

.tool-actions {
    margin-top: auto;
}

.tools-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tools-stats .stat-item {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tools-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #4285f4, #34a853);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tools-stats .stat-item:hover::before {
    opacity: 1;
}

.tools-stats .stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(26, 115, 232, 0.2);
}

.tools-stats .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a73e8;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.tools-stats .stat-label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== Blog Controls ===== */
.blog-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Blog stats share the same styling as tools stats */
.blog-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-stats .stat-item {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.blog-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #4285f4, #34a853);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-stats .stat-item:hover::before {
    opacity: 1;
}

.blog-stats .stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(26, 115, 232, 0.2);
}

.blog-stats .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a73e8;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.blog-stats .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #1a73e8;
}

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

.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(66, 133, 244, 0.1));
    color: #1a73e8;
    flex-shrink: 0;
}

.tool-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.tool-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tool-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tool-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tool-rating .stars {
    color: #fbbf24;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

/* ===== Blog Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #1a73e8;
}

.featured-card {
    position: relative;
    border: 2px solid #FFA500;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFA500, #FF8C00, #FFA500);
    border-radius: 18px;
    z-index: -1;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.blog-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.1'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20s-20-8.954-20-20 8.954-20 20-20 20 8.954 20 20zm-2 0c0-9.941-8.059-18-18-18s-18 8.059-18 18 8.059 18 18 18 18-8.059 18-18z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #FFA500;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    align-self: flex-start;
}

/* 分类主题色 */
.blog-category.category-news {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

.blog-category.category-tutorial {
    background: rgba(78, 205, 196, 0.1);
    color: #4ECDC4;
}

.blog-category.category-review {
    background: rgba(93, 95, 239, 0.1);
    color: #5D5FEF;
}

.blog-category.category-best-practices {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a202c;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #718096;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a73e8;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #0d47a1;
}
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.4;
}

.blog-excerpt {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #64748b;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== Newsletter ===== */
.newsletter {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.newsletter-form {
    min-width: 400px;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    background: white;
}

.form-group button {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Footer ===== */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 1rem;
}

.footer-brand .logo-icons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.footer-brand .logo-icons i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-brand .logo-icons .fa-star {
    color: #fbbf24;
    animation: twinkle 3s ease-in-out infinite;
}

.footer-brand .logo-icons .fa-share-alt {
    color: #1a73e8;
    margin-left: -0.3rem;
    transform: rotate(10deg);
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1a73e8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1a73e8;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .tools-controls,
    .blog-controls {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .category-tabs {
        justify-content: center;
    }
    
    .tools-stats,
    .blog-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-form {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px var(--shadow);
        flex-direction: column;
        padding: 1.5rem 1rem;
        z-index: 100;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        margin-bottom: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .tools-controls,
    .blog-controls {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .search-box input {
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
        font-size: 0.875rem;
    }
    
    .search-box i {
        left: 1rem;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .tools-stats,
    .blog-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8125rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .category-tab {
        flex-shrink: 0;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .original-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .original-tool-card {
        padding: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .tools-grid,
    .original-tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .original-tool-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tool-card {
        padding: 1.25rem;
    }
    
    .tool-name {
        font-size: 1.125rem;
    }
    
    .tool-description {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-bottom {
        font-size: 0.875rem;
    }
    
    /* 提高移动端点击目标大小 */
    .category-tab {
        min-height: 40px;
        display: flex;
        align-items: center;
    }
    
    .tool-tag,
    .feature-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    /* 防止文本在小屏幕上过大 */
    .hero-title .gradient-text {
        display: block;
        font-size: 2rem;
    }
    
    /* 移动端触摸友好设计 */
    .nav-link {
        padding: 0.75rem 0;
        font-size: 1rem;
    }
    
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}
        padding: 3rem 0;
    }
    
    .tool-card,
    .blog-content {
        padding: 1.5rem;
    }
    
    .newsletter {
        padding: 3rem 0;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card,
.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

.tool-card:nth-child(even) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(even) {
    animation-delay: 0.1s;
}

/* ===== Loading States ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== 加载指示器样式 ===== */
.loader-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #1a73e8;
    animation: spin 1s ease-in-out infinite;
}

body[data-theme="dark"] .loader-indicator {
    background: rgba(15, 23, 42, 0.9);
    color: #94a3b8;
}

body[data-theme="dark"] .spinner {
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: #60a5fa;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* ===== Theme Toggle Styles ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border: 1px solid rgba(26, 115, 232, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: rgba(26, 115, 232, 0.2);
    transform: rotate(15deg) scale(1.05);
}

.theme-toggle i {
    transition: all 0.3s ease;
}

/* ===== Dark Mode Variables ===== */
:root {
    /* Light mode colors */
    --bg-color: #f8fafc;
    --text-color: #333;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(226, 232, 240, 0.8);
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --input-bg: #ffffff;
    --secondary-text: #64748b;
}

[data-theme="dark"] {
    /* Dark mode colors */
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --border-color: rgba(71, 85, 105, 0.3);
    --card-bg: #1e293b;
    --shadow: rgba(0, 0, 0, 0.3);
    --input-bg: #1e293b;
    --secondary-text: #94a3b8;
}

/* ===== Dark Mode Styles ===== */
body[data-theme="dark"] {
    background-color: var(--bg-color);
    color: var(--text-color);
}

body[data-theme="dark"] .navbar {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
}

body[data-theme="dark"] .nav-brand {
    color: #60a5fa;
}

body[data-theme="dark"] .nav-link {
    color: var(--secondary-text);
}

body[data-theme="dark"] .nav-link:hover,
body[data-theme="dark"] .nav-link.active {
    color: #60a5fa;
}

body[data-theme="dark"] .nav-toggle span {
    background: var(--secondary-text);
}

body[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="dark"] .hero::before {
    opacity: 0.1;
}

body[data-theme="dark"] .hero-description {
    color: var(--secondary-text);
}

body[data-theme="dark"] .stat-item {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--border-color);
}

body[data-theme="dark"] .stat-label {
    color: var(--secondary-text);
}

body[data-theme="dark"] .original-tools {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="dark"] .original-tool-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
}

body[data-theme="dark"] .original-tool-card .tool-name {
    color: #e2e8f0;
}

body[data-theme="dark"] .original-tool-card .tool-description {
    color: var(--secondary-text);
}

body[data-theme="dark"] .tools-stats .stat-item {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
}

body[data-theme="dark"] .category-tab {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--secondary-text);
}

body[data-theme="dark"] .category-tab:hover {
    border-color: #60a5fa;
    color: #60a5fa;
}

body[data-theme="dark"] .category-tab.active {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border-color: transparent;
}

body[data-theme="dark"] .search-box input {
    background: var(--input-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

body[data-theme="dark"] .search-box i {
    color: var(--secondary-text);
}

body[data-theme="dark"] .btn-outline {
    background: transparent;
    color: var(--secondary-text);
    border-color: var(--border-color);
}

body[data-theme="dark"] .btn-outline:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: #60a5fa;
    color: #60a5fa;
}

body[data-theme="dark"] .footer {
    background: #0f172a;
    border-top: 1px solid var(--border-color);
}

body[data-theme="dark"] .footer-brand {
    color: #60a5fa;
}

body[data-theme="dark"] .footer-description {
    color: #94a3b8;
}

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

body[data-theme="dark"] .footer-link:hover {
    color: #60a5fa;
}

body[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text);
}

body[data-theme="dark"] .theme-toggle {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

body[data-theme="dark"] .theme-toggle:hover {
    background: rgba(96, 165, 250, 0.2);
}

/* ===== Help Section Styles ===== */
.help-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.help-content {
    max-width: 900px;
    margin: 0 auto;
}

.help-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.help-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.help-tab:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

.help-tab.active {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.help-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.help-panel.active {
    display: block;
}

.help-panel h3 {
    color: #1e293b;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Step styles */
.help-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h4 {
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Tool styles */
.help-tool {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.help-tool:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #1a73e8;
}

.tool-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(66, 133, 244, 0.1));
    color: #1a73e8;
    border-radius: 12px;
    flex-shrink: 0;
}

.tool-info {
    flex: 1;
}

.tool-info h4 {
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.tool-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.tool-info p:last-child {
    margin-bottom: 0;
}

.tip {
    background: rgba(26, 115, 232, 0.08);
    border-left: 3px solid #1a73e8;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-style: italic;
    color: #1e293b;
}

/* FAQ styles */
.help-faq {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #1a73e8;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    color: #1a73e8;
    font-size: 1.1rem;
}

.faq-question h4 {
    flex: 1;
    color: #1e293b;
    font-size: 1.1rem;
    margin: 0;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 3.5rem;
    color: #64748b;
    line-height: 1.6;
}

/* Dark mode help section styles */
body[data-theme="dark"] .help-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="dark"] .help-tab {
    background: #1e293b;
    border-color: var(--border-color);
    color: var(--secondary-text);
}

body[data-theme="dark"] .help-tab:hover {
    border-color: #60a5fa;
    color: #60a5fa;
}

body[data-theme="dark"] .help-panel h3 {
    color: #e2e8f0;
    border-bottom-color: var(--border-color);
}

body[data-theme="dark"] .help-step {
    background: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

body[data-theme="dark"] .step-content h4 {
    color: #e2e8f0;
}

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

body[data-theme="dark"] .help-tool {
    background: #1e293b;
    border-color: var(--border-color);
}

body[data-theme="dark"] .help-tool:hover {
    border-color: #60a5fa;
}

body[data-theme="dark"] .tool-info h4 {
    color: #e2e8f0;
}

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

body[data-theme="dark"] .tool-icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
    color: #60a5fa;
}

body[data-theme="dark"] .tip {
    background: rgba(96, 165, 250, 0.08);
    border-left-color: #60a5fa;
    color: #e2e8f0;
}

body[data-theme="dark"] .faq-item {
    background: #1e293b;
    border-color: var(--border-color);
}

body[data-theme="dark"] .faq-question {
    background: #1e293b;
}

body[data-theme="dark"] .faq-question:hover {
    background: #0f172a;
}

body[data-theme="dark"] .faq-question i {
    color: #60a5fa;
}

body[data-theme="dark"] .faq-question h4 {
    color: #e2e8f0;
}

body[data-theme="dark"] .faq-answer {
    color: var(--secondary-text);
}