/* 
* AIpornGeneratorTH.love - Main Stylesheet
* 泰国特色设计与配色
* Colors: Red (#ED1C24), White (#FFFFFF), Navy Blue (#241D4F)
*/

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

:root {
    /* 泰国国旗色彩 */
    --thai-red: #ED1C24;
    --thai-white: #FFFFFF;
    --thai-blue: #241D4F;
    /* 辅助色彩 */
    --light-bg: #F9F9F9;
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --accent-purple: #9900CC;
    --light-red: rgba(237, 28, 36, 0.1);
    --light-blue: rgba(36, 29, 79, 0.1);
}

body {
    font-family: 'Noto Sans Thai', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--light-bg);
}

.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 排版 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--thai-blue);
    position: relative;
}

.section-title:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--thai-red), var(--thai-blue));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 头部导航 */
header {
    background: linear-gradient(135deg, var(--thai-red) 0%, var(--thai-blue) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-svg {
    margin-right: 10px;
}

h1 {
    font-size: 1.6rem;
    color: var(--light-text);
    font-weight: 800;
}

.accent-th {
    color: var(--thai-red);
    font-weight: 900;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

nav a:hover {
    color: var(--thai-red);
}

.menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background: var(--light-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    padding: 80px 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ED1C24" opacity="0.1"/></svg>'), linear-gradient(135deg, var(--light-blue) 0%, var(--light-bg) 100%);
    background-size: 20px 20px, cover;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-visual {
    flex: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--thai-blue);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.subtext {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(45deg, var(--thai-red), var(--accent-purple));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.4);
}

.btn-primary.large {
    font-size: 1.2rem;
    padding: 16px 40px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(237, 28, 36, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
    }
}

/* 特点部分 */
.features {
    padding: 80px 0;
    background: var(--thai-white);
}

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

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--thai-red);
    border-radius: 5px 0 0 5px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

/* 使用流程 */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-red) 0%, var(--light-blue) 100%);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: var(--thai-white);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--thai-red);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* FAQ部分 */
.faq {
    padding: 80px 0;
    background: var(--thai-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-bg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--thai-blue);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--light-red);
}

.arrow {
    transition: transform 0.3s;
}

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

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

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* CTA部分 */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--thai-red) 0%, var(--thai-blue) 100%);
    text-align: center;
    color: var(--light-text);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 页脚 */
footer {
    background: var(--thai-blue);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-links h3, .footer-keywords h3 {
    color: var(--thai-red);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: var(--thai-red);
}

.footer-keywords p {
    color: #aaa;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #777;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-btn {
        display: block;
        z-index: 101;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        background: var(--thai-blue);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 100;
        padding: 80px 30px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .menu-toggle:checked ~ nav {
        transform: translateX(0);
    }
    
    .menu-toggle:checked ~ .menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle:checked ~ .menu-btn span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .menu-btn span {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .btn-primary {
        width: 100%;
    }
}
