/* 
 * ai-nude.makeup 网站样式
 * 专为马来西亚用户打造
 * 绿松石主题与简洁设计
 */

/* 基础样式与变量 */
:root {
    --primary-color: #34e89e;
    --secondary-color: #0f3443;
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --text-color: #2d3436;
    --text-light: #636e72;
    --light-text: #ffffff;
    --dark-bg: #0f3443;
    --light-bg: #f5f7fa;
    --hover-color: #2ed573;
    --container-width: 1200px;
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(15, 52, 67, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

img, svg {
    max-width: 100%;
}

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

section {
    padding: 80px 0;
}

.highlight-text {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    padding: 0 5px;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--primary-color);
    opacity: 0.2;
    z-index: -1;
    border-radius: 4px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

/* 按钮样式 */
.primary-button {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 52, 67, 0.25);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--dark-bg);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* 导航栏样式 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

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

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.nav-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-button:hover {
    background-color: var(--hover-color);
    color: var(--light-text);
}

/* 移动导航 */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--secondary-color);
    height: 2px;
    width: 2em;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

/* 英雄区域样式 */
.hero {
    padding: 180px 0 100px;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

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

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 特点部分样式 */
.features {
    background-color: var(--light-bg);
    position: relative;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

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

/* 使用步骤部分样式 */
.how-it-works {
    background-color: #fff;
    position: relative;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 auto 20px;
    color: white;
}

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

/* FAQ 部分样式 */
.faq {
    background-color: var(--light-bg);
    position: relative;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

/* 最终号召部分样式 */
.final-cta {
    background: var(--primary-gradient);
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 213, 115, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
    }
}

/* 页脚样式 */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

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

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

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav-toggle-label {
        display: block;
        margin-right: 1rem;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease-out;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav ul {
        display: block;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    
    nav ul li {
        margin: 0;
        padding: 1rem 0;
    }
    
    .nav-toggle:checked ~ nav {
        transform: scale(1, 1);
    }
    
    .hero {
        padding: 150px 0 70px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .feature-card, .step {
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
