/* 字体导入 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* 导航栏样式 */
.navbar {
    background-color: rgba(248, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(248, 247, 244, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #C5A47E;
}

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

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #C5A47E;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #C5A47E;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 移动端响应式 */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(248, 247, 244, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
}

/* 导航链接活跃状态 */
.nav-link.active {
    color: #C5A47E;
    font-weight: 500;
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Examples页面样式 */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #666666;
    margin-bottom: 0;
}

.cta-banner {
    background: linear-gradient(135deg, #C5A47E 0%, #B8956A 100%);
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.cta-banner p {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.cta-link {
    color: white;
    font-weight: 500;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cta-link:hover {
    opacity: 0.8;
}

.category-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    border: 2px solid #E5E5E5;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: #333333;
    color: white;
    border-color: #333333;
}

.vow-category {
    max-width: 900px;
    margin: 0 auto;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
    text-align: center;
}

.category-description {
    font-size: 1rem;
    color: #666666;
    text-align: center;
    margin-bottom: 40px;
}

.vow-example {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.vow-example:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vow-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 20px;
    font-style: italic;
}

.vow-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.use-case {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 500;
}

.copy-btn-small {
    background: #F8F7F4;
    border: 1px solid #C5A47E;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #C5A47E;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.copy-btn-small:hover {
    background: #C5A47E;
    color: white;
}

.bottom-cta {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
}

.bottom-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.bottom-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #C5A47E;
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #B8956A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 164, 126, 0.4);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
    }
    
    .vow-example {
        padding: 20px;
    }
    
    .vow-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .bottom-cta {
        padding: 30px 20px;
    }
    
    .bottom-cta h3 {
        font-size: 1.6rem;
    }
}

/* About页面样式 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 24px;
    text-align: center;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
}

.benefits-list {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
}

.benefit-check {
    font-size: 1.2rem;
    margin-right: 16px;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.trust-item {
    background: linear-gradient(135deg, #F8F7F4 0%, #F0EFE9 100%);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E5E5E5;
}

.trust-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.trust-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* About页面移动端适配 */
@media screen and (max-width: 768px) {
    .about-section {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-check {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* FAQ页面样式 */
.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 50px;
}

.faq-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.faq-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #C5A47E;
    border-radius: 2px;
}

.faq-item {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: #C5A47E;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #F8F7F4;
}

.faq-question h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #C5A47E;
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* FAQ页面移动端适配 */
@media screen and (max-width: 768px) {
    .faq-section {
        margin-bottom: 30px;
    }
    
    .faq-section-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 18px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 15px;
    }
    
    .faq-answer p {
        padding: 0 18px 18px;
        font-size: 0.95rem;
    }
}

/* Resources页面样式 */
.resources-content {
    max-width: 1000px;
    margin: 0 auto;
}

.resource-article {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

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

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

.resource-list {
    margin-left: 20px;
    line-height: 1.8;
}

.resource-list li {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 12px;
}

.resource-list strong {
    color: #333333;
    font-weight: 600;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.style-card {
    background: #F8F7F4;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #E5E5E5;
}

.style-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.style-card p {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

.structure-guide {
    margin-top: 24px;
}

.structure-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 24px;
    background: white;
    border: 2px solid #F0F0F0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.structure-step:hover {
    border-color: #C5A47E;
    box-shadow: 0 2px 10px rgba(197, 164, 126, 0.1);
}

.step-number {
    background: #C5A47E;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.step-content em {
    font-size: 0.9rem;
    color: #888888;
    font-style: italic;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.tip-card {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tip-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tip-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.tip-card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.mistakes-list {
    margin-top: 30px;
}

.mistake-item {
    background: #FFF8F5;
    border: 1px solid #FFE4D6;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.mistake-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #D2691E;
    margin-bottom: 12px;
}

.mistake-item p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.prompt-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.prompt-card {
    background: linear-gradient(135deg, #F8F7F4 0%, #F0EFE9 100%);
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.prompt-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.prompt-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.prompt-card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Resources页面移动端适配 */
@media screen and (max-width: 768px) {
    .resource-article {
        padding: 24px;
        margin-bottom: 24px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .section-heading {
        font-size: 1.4rem;
    }
    
    .style-grid,
    .tips-grid,
    .prompt-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .structure-step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .tip-card,
    .prompt-card,
    .mistake-item {
        padding: 20px;
    }
}

/* 法律页面样式 (Privacy & Terms) */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F0F0F0;
}

.legal-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    margin: 24px 0 12px 0;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 16px;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 8px;
}

.legal-section strong {
    color: #333333;
    font-weight: 600;
}

.legal-section a {
    color: #C5A47E;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.legal-section a:hover {
    opacity: 0.8;
}

/* 法律页面移动端适配 */
@media screen and (max-width: 768px) {
    .legal-content {
        padding: 24px;
        margin: 0 20px;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
    
    .legal-section ul {
        margin-left: 20px;
    }
}

/* 页脚样式 */
.footer {
    background: #333333;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-text {
    font-size: 0.85rem;
    color: #CCCCCC;
    margin: 0;
}

/* 页脚移动端适配 */
@media screen and (max-width: 768px) {
    .footer-links {
        gap: 20px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F7F4;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    background-image: url('public/texture.png');
    background-repeat: repeat;
}

/* 容器布局 */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 40px; /* 顶部留出导航栏空间 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 页面标题样式 */
.header {
    margin-bottom: 60px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666666;
    margin-bottom: 0;
}

/* 灵感启发模块 */
.inspiration-module {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(197, 164, 126, 0.2);
}

.inspiration-prompt {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 24px;
    font-weight: 400;
}

.question-display {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ask-another-btn {
    background: transparent;
    color: #333333;
    border: 2px solid #333333;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.ask-another-btn:hover {
    background: #333333;
    color: white;
    transform: translateY(-2px);
}

/* 用户输入区 */
.input-section {
    width: 100%;
    max-width: 600px;
    margin-bottom: 32px;
}

.user-input {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    resize: vertical;
    background: white;
    transition: border-color 0.3s ease;
}

.user-input:focus {
    outline: none;
    border-color: #C5A47E;
    box-shadow: 0 0 0 3px rgba(197, 164, 126, 0.1);
}

/* 生成按钮 - 核心动作，使用品牌金色 */
.generate-btn {
    background: #C5A47E;
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(197, 164, 126, 0.2);
}

.generate-btn:hover:not(:disabled) {
    background: #B8956F;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(197, 164, 126, 0.4);
}

.generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 结果展示模块 */
.result-module {
    width: 100%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: none;
}

.result-module.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.result-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    position: relative;
    border: 1px solid rgba(197, 164, 126, 0.2);
}

.copy-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #666666;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #F5F5F5;
    color: #333333;
}

.vow-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    text-align: left;
    white-space: pre-wrap;
}

/* CTA模块 */
.cta-module {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: 2px solid transparent;
}

.copy-text-btn {
    background: #333333;
    color: white;
}

.copy-text-btn:hover {
    background: #222222;
    transform: translateY(-2px);
}

.upgrade-btn {
    background: transparent;
    color: #C5A47E;
    border: 2px solid #C5A47E;
}

.upgrade-btn:hover {
    background: #C5A47E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 164, 126, 0.3);
}

/* 反馈模块 */
.feedback-section {
    margin-top: 24px;
    text-align: center;
}

.feedback-title {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #666666;
}

.feedback-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.feedback-btn {
    background: transparent;
    border: 2px solid #CCCCCC;
    border-radius: 50px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CCCCCC;
}

.feedback-btn:hover {
    border-color: #C5A47E;
    color: #C5A47E;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(197, 164, 126, 0.2);
}

.feedback-btn.selected {
    border-color: #C5A47E;
    color: #C5A47E;
    background: rgba(197, 164, 126, 0.1);
}

.feedback-message {
    display: none;
    color: #4CAF50;
    font-weight: 500;
    margin-top: 12px;
}

.feedback-input-section {
    display: none;
    margin-top: 16px;
}

.feedback-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
}

.feedback-submit {
    background: #C5A47E;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-submit:hover {
    background: #B8956F;
}

/* 错误提示 */
.error-message {
    display: none;
    color: #E57373;
    font-size: 0.95rem;
    margin-top: 12px;
    padding: 12px;
    background: #FFEBEE;
    border-radius: 8px;
    border: 1px solid #FFCDD2;
    width: 100%;
    max-width: 600px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .inspiration-module {
        padding: 24px;
    }
    
    .question-display {
        font-size: 1.1rem;
        min-height: 50px;
    }
    
    .result-card {
        padding: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .inspiration-module {
        padding: 20px;
    }
    
    .generate-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
} 

/* style.css */

/* Toast Notification Styles */
.toast {
    visibility: hidden; /* 默认隐藏 */
    min-width: 200px;
    background-color: #333; /* 深灰色背景 */
    color: #fff; /* 白色文字 */
    text-align: center;
    border-radius: 8px; /* 圆角 */
    padding: 16px;
    position: fixed; /* 固定在屏幕上 */
    z-index: 100; /* 确保在最上层 */
    bottom: 30px; /* 距离底部30px */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 精确水平居中 */
    opacity: 0;
    transition: visibility 0.5s, opacity 0.5s, transform 0.5s; /* 平滑过渡动画 */
}

/* 显示Toast时的样式 */
.toast.show {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -10px); /* 向上移动一点，增加动感 */
}

/* 可以为不同类型的Toast添加不同颜色 */
.toast.success {
    background-color: #4CAF50; /* 绿色代表成功 */
}

.toast.error {
    background-color: #f44336; /* 红色代表失败 */
}