@charset "utf-8";
/*
    Theme Name: tofai
    Theme URI: 
    Author: 阿叶
    Author URI: 
    Description:
    Version: 0.0.1
*/



/* 全局重置与基础样式（移动端默认样式，760px以下） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 核心容器 - to前缀 */
.to-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部导航 - to前缀 */
.to-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid #fef2f7;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 99;
}

.to-header .to-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.to-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.to-logo_icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3377, #f01d5c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    overflow: hidden;
}

.to-logo_text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f01d5c;
}

.to-nav {
    display: none; /* 移动端隐藏导航 */
    gap: 2rem;
}

.to-nav_link {
    color: #4b5563;
    font-weight: 500;
}

.to-nav_link:hover {
    color: #f01d5c;
}

.to-hamburger {
    font-size: 1.5rem;
    color: #4b5563;
    cursor: pointer;
}

/* 英雄区域 - to前缀 */
.to-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(to bottom right, #fff0f6 0%, #ffffff 100%);
    text-align: center;
}

.to-hero_title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.to-hero_title--highlight {
    color: #f01d5c;
}

.to-hero_subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.to-hero_desc {
    font-size: 1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.to-hero_tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.to-hero_tag {
    padding: 0.5rem 1.2rem;
    background: #fef2f7;
    border-radius: 2rem;
    font-size: 0.85rem;
    color: #d10a4a;
    font-weight: 500;
}

.to-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.to-btn--primary {
    background: #f01d5c;
    color: #ffffff;
}

.to-btn--primary:hover {
    background: #d10a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 29, 92, 0.3);
}

/* 应用截图区域 - to前缀 */
.to-screenshots {
    padding: 4rem 0;
}

.to-screenshots_title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.to-screenshots_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 移动端2列 */
    gap: 1.5rem;
}

.to-screenshot_item {
    position: relative;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.to-screenshot_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.to-screenshot_img {
    width: 100%;
    height: auto;
}

/* 特色功能区域 - to前缀 */
.to-features {
    padding: 4rem 0;
    background: #fefefe;
}

.to-features_title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.to-features_grid {
    display: grid;
    grid-template-columns: 1fr; /* 移动端1列 */
    gap: 2rem;
}

.to-feature_card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.to-feature_card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.to-feature_icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #fef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f01d5c;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.to-feature_title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.to-feature_desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
}

/* 用户评价区域 - to前缀 */
.to-testimonials {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, #fafafa 0%, #fef2f7 100%);
}

.to-testimonials_title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.to-testimonials_grid {
    display: grid;
    grid-template-columns: 1fr; /* 移动端1列 */
    gap: 2rem;
}

.to-testimonial_card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.to-testimonial_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.to-testimonial_quote {
    font-size: 2rem;
    color: #fef2f7;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    opacity: 0.8;
}

.to-testimonial_content {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.8;
    margin: 1rem 0;
}

.to-testimonial_user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.to-testimonial_avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd6e0, #ff3377);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
}

.to-testimonial_name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.to-testimonial_rating {
    color: #ffd700;
    margin-top: 0.2rem;
    font-size: 0.85rem;
}
.to-testimonial_time {
    color: #999;
    font-size: 13px;
}

/* 页脚区域 - to前缀 */
.to-footer {
    padding: 4rem 0 2rem;
    background: #111827;
    color: #9ca3af;
}

.to-footer_top {
    display: flex;
    flex-direction: column; /* 移动端纵向排列 */
    gap: 3rem;
    margin-bottom: 3rem;
}

.to-footer_logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.to-footer_logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.to-footer_desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.to-footer_links {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 移动端2列 */
    gap: 2rem;
}

.to-footer_link-group {
    margin-bottom: 1rem;
}

.to-footer_link-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.to-footer_link-list {
    list-style: none;
}

.to-footer_link-item {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.to-footer_link-item a:hover {
    color: #f01d5c;
}

.to-footer_bottom {
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
    text-align: center;
    font-size: 0.85rem;
}
.to-footer_bottom p {
    margin: 6px 0;
    font-size: 12px;
}

@media (min-width: 760px) {
    .to-nav {
        display: flex;
    }

    .to-hamburger {
        display: none; 
    }

    .to-hero_title {
        font-size: 3rem;
    }

    .to-screenshots_grid {
        grid-template-columns: repeat(4, 1fr); /* PC端4列 */
    }

    .to-features_grid {
        grid-template-columns: repeat(4, 1fr); /* PC端4列 */
    }

    .to-testimonials_grid {
        grid-template-columns: repeat(3, 1fr); /* PC端3列 */
    }

    .to-footer_top {
        flex-direction: row; /* PC端横向排列 */
        justify-content: space-between;
    }

    .to-footer_logo-area {
        width: 40%;
    }

    .to-footer_links {
        grid-template-columns: repeat(3, 1fr); /* PC端3列 */
        width: 55%;
    }

    .to-hero {
        padding: 7rem 0 6rem;
    }

    .to-screenshots, .to-features {
        padding: 6rem 0;
    }

    .to-testimonials {
        padding: 6rem 0;
    }
}