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

/* 全局变量 */
:root {
    /* 印度国旗启发的颜色 */
    --saffron: #FF9933; /* 橙色 - 印度国旗顶部 */
    --white: #FFFFFF;   /* 白色 - 印度国旗中部 */
    --green: #138808;   /* 绿色 - 印度国旗底部 */
    --blue: #0000CD;    /* 蓝色 - Ashoka Chakra */
    
    /* 其他颜色 */
    --primary: #FF5733;
    --accent: #FFD700;
    --dark: #333333;
    --light-bg: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    
    /* 字体 */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Hind', sans-serif;
    
    /* 效果 */
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

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

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--saffron);
}

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

ul {
    list-style: none;
}

/* 实用工具 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.accent {
    color: var(--primary);
}

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

.section-header h2 {
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--saffron), var(--green));
}

.section-header p {
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    outline: none;
}

.primary-btn {
    background: linear-gradient(135deg, var(--saffron), var(--primary));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
    color: white;
}

.outline-btn {
    background-color: transparent;
    border: 2px solid var(--saffron);
    color: var(--saffron);
}

.outline-btn:hover {
    background-color: var(--saffron);
    color: white;
}

.cta-btn {
    background-color: var(--white);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

/* 头部样式 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.logo-svg {
    margin-right: 0.75rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 2000;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    position: absolute;
    left: 0;
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-toggle span:nth-child(3) {
    top: 20px;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav ul li a {
    color: var(--dark);
    font-weight: 500;
    font-family: var(--font-primary);
    position: relative;
    padding: 0.5rem 0;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--saffron);
    left: 0;
    bottom: 0;
    transition: var(--transition);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--saffron), var(--primary));
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(255, 153, 51, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.nav-cta::after {
    display: none !important;
}

/* 英雄区域 */
.hero {
    padding-top: 6rem;
    position: relative;
    background-image: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.1));
}

.hero-content {
    padding: 5rem 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 540px;
}

.hero-stats {
    display: flex;
    align-items: center;
    margin: 1.5rem 0 2rem;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    max-width: fit-content;
    box-shadow: var(--shadow);
}

.star-rating {
    display: flex;
    margin-right: 1rem;
}

.star {
    width: 20px;
    height: 20px;
    margin-right: 2px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-decoration {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.decoration {
    width: 100%;
    height: auto;
}

.hero-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* 特性部分 */
.features {
    padding: 5rem 0;
    background-color: var(--light-bg);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--saffron);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.badge {
    background-color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
    font-weight: 500;
    font-family: var(--font-primary);
}

.badge span {
    color: var(--saffron);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* 工作原理部分 */
.how-it-works {
    padding: 5rem 0;
    background-color: white;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.step-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    height: calc(100% - 25px);
    width: 2px;
    background: linear-gradient(to bottom, var(--saffron), transparent);
}

.step-item:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--saffron), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
    position: relative;
    z-index: 1;
}

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

.cta-banner {
    background: linear-gradient(135deg, var(--saffron), var(--primary));
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* FAQ 部分 */
.faq-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

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

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

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

/* 关键词部分 */
.keywords {
    padding: 3rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.keyword {
    padding: 0.5rem 1rem;
    background-color: var(--light-gray);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray);
    transition: var(--transition);
}

.keyword:hover {
    background-color: var(--saffron);
    color: white;
    transform: translateY(-3px);
}

/* 页脚 */
.site-footer {
    background: linear-gradient(to right, #333, #222);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-brand {
    max-width: 400px;
}

.footer-brand h3 {
    color: var(--white);
    margin: 1rem 0;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--saffron), var(--primary));
}

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

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

.footer-column ul li a:hover {
    color: var(--saffron);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-stats {
        margin: 1.5rem auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1500;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav ul li {
        margin: 0 0 1.5rem;
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        margin: 0 0 1rem;
    }
    
    .step-item::after {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-banner {
        padding: 2rem 1rem;
    }
    
    .cta-banner h3 {
        font-size: 1.5rem;
    }
}
