:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", serif, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 18px;
    color: #222;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.login-btn {
    background: #2563eb;
    color: #ffffff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background: #1e40af;
}

.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(90deg, #1a97ff 0%, #2d62fd 100%);
    color: var(--white);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #F7D070;
    color: #5a4000;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #f5c555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.intro {
    text-align: center;
    padding: 4rem 2rem;
}

.intro-text, .faq-subtitle {
    max-width: 1000px;
    margin: 1rem auto;
    line-height: 1.6;
    color: #486581;
}

.start-now {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.start-now h2 {
    margin-bottom: 1rem;
}

.start-now p {
    margin-bottom: 2rem;
    color: #666;
}

section {
    padding: 4rem 2rem;
    margin: 0 auto;
}

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

.feature-card {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: #486581;
}
.feature-card h3 {
    margin-bottom: 0.5rem;
    min-height: 5rem;
    color: var(--text-color);
    font-weight: normal;
    line-height: 2rem;
}

.feature-card p {
    color: #222;
    margin: 0;
    line-height: 1.5rem;
}

.pricing-page {
    padding: 8rem 0 4rem;
    text-align: center;
    margin: 0 auto;
    background: linear-gradient(90deg, #1a97ff 0%, #2d62fd 100%);
    color: var(--white);
}

.pricing-page > h1,
.pricing-page > .section-desc {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.pricing-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    align-items: stretch;
    padding: 0 2rem;
}

.pricing-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured {
    background: #f8fafc;
}

.pricing-card > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #1e293b;
}

.plan-header {
    padding: 1rem;
    margin: -2rem -2rem 2rem -2rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* 免费版样式 */
.pricing-card:not(.featured) .plan-header {
    background-color: #d7e2ff;
}

.pricing-card:not(.featured) .plan-header h3 {
    color: #3351a3;
}

/* PRO版样式 */
.pricing-card.featured .plan-header {
    background-color: #ddf5ee;
}

.pricing-card.featured .plan-header h3 {
    color: #1ca173;
}

.plan-desc {
    color: #64748b;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.price {
    margin: 1rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price .currency {
    color: #64748b;
    font-size: 1.25rem;
    font-weight: 500;
}

.price .amount {
    color: #1e293b;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
}

.price .interval {
    color: #64748b;
    font-size: 1.5rem;
    font-weight: normal;
}

.pricing-card ul {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-card li {
    margin: 0.3rem 0;
    color: #475569;
    text-align: left;
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card li::before {
    position: absolute;
    top: .4em;
    left: 0;
    display: block;
    width: 12px;
    height: 12px;
    content: '';
    border-radius: 1em;
}

/* 免费版标记样式 */
.pricing-card:not(.featured) li::before {
    background: #94a3b8;
}

/* PRO版标记样式 */
.pricing-card.featured li::before {
    background: #9ce2b6;
}

.pricing-card li strong {
    color: #1e293b;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

/* 免费版按钮样式 */
.pricing-card:not(.featured) .button {
    background: #64748b;
}

.pricing-card:not(.featured) .button:hover {
    background: #475569;
}

/* PRO版按钮样式 */
.pricing-card.featured .button {
    background: #F7D070;
    color: #5a4000;
}

.pricing-card.featured .button:hover {
    background: #f5c555;
}

.terms-note {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: 0 2rem;
}

.terms-note a {
    color: #F7D070;
    text-decoration: none;
}

.terms-note a:hover {
    color: #f5c555;
    text-decoration: none;
    border-bottom: 1px solid #f5c555;
}

footer {
    background: #212c3b;
    padding: 1rem 0;
    color: var(--white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-badges {
    margin-top: 20px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.badge-container a {
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

/* 文字链接的样式 */
.badge-container a:not(:has(img)) {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
}

.badge-container a:not(:has(img)):hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 图片链接的样式 */
.badge-container a:has(img) {
    background: transparent;
}

.badge-container a:has(img):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.badge-container img {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.badge-container img:hover {
    opacity: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .badge-container {
        gap: 12px;
        padding: 0 15px;
    }
    
    .badge-container a {
        padding: 6px 10px;
    }
    
    .badge-container img {
        height: 28px;
    }
    
    .badge-container a:not(:has(img)) {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content {
        padding: 0;
    }

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

    .hero-image {
        margin: 0 -1rem;
        border-radius: 0;
        width: calc(100% + 2rem);
    }

    .intro,
    .about-section,
    .values-section,
    .platform-features {
        padding: 3rem 1rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .feature-block {
        padding: 3rem 0;
        flex-direction: column;
    }

    .feature-block .feature-content {
        order: -1;  /* 确保内容始终在图片上方 */
    }

    .feature-block .feature-content,
    .feature-block .feature-image {
        padding: 0 1rem;
    }

    .nav-links .login-btn {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .checking {
        padding: 2rem 1rem;
    }
    
    .checking h2 {
        margin-bottom: 2rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features h2,
    .feature-grid {
        padding: 0 1rem;
    }
    
    .about-section,
    .values-section {
        padding: 3rem 1rem;
    }
    
    .feature-block .feature-content,
    .feature-block .feature-image {
        padding: 0 1rem;
    }

    nav {
        padding: 0.5rem 1rem;
    }

    .nav-links {
        display: none;  /* 在移动端先隐藏，后续可以添加汉堡菜单 */
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .pricing-card {
        margin: 0;
    }

    .pricing-card.featured {
        transform: none;
    }

    .faq {
        padding: 3rem 1rem;
    }

    .faq-list {
        margin: 1.5rem auto;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    body.about-page .hero h1 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .feature-image {
        margin: 2rem auto;
        max-width: 100%;
    }

    .checking-image {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-image {
        max-width: 90%;
    }

    .feature-image {
        max-width: 90%;
        margin: 0 auto;
    }

    .checking-image {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* 法律页面样式 */
.legal-page {
    padding: 8rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #F1F4F8;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.legal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legal-content h2 {
    margin: 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.75rem;
}

.legal-content h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* 法律页面链接样式 */
.legal-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-content a:hover {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

.legal-content a:active {
    color: #1e3a8a;
}

/* Checking section styles */
.checking {
    text-align: center;
    padding: 0rem 2rem 2rem 0;
    background: var(--white);
}

.checking-image {
    max-width: 1200px;
    margin: 0 auto;
}

.checking-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Features section styles */
.features {
    padding: 3rem 0;
    max-width: none;
    margin: 0;
    background: var(--light-bg);
    text-align: center;
}

.features h2 {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    text-align: center;
}

.feature-grid {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .features {
        padding: 3rem 0;
    }
    
    .features h2,
    .feature-grid {
        padding: 0 1rem;
    }
}

/* Platform Features 样式 */
.platform-features {
    padding: 4rem 0;
}

.platform-features-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    text-align: center;
}

.feature-block {
    display: flex;
    align-items: center;
    padding: 4rem 0;
    gap: 0;
    margin: 0;
}

.feature-block.reverse {
    flex-direction: row-reverse;
    background: #EDF4FB;
}

.feature-block .feature-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-block .feature-image {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-weight: normal;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: normal;
}

.feature-content p {
    color: #486581;
    padding: 10px 0;
    font-size: 1.1rem;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0.2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* FAQ 样式 */
.faq {
    text-align: center;
}

.faq h2 {
    margin-bottom: 1rem;
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.faq-answer p {
    color: #222;
    font-size: 1rem;
}

.faq-answer.active {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e5e7eb;
}

.icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.icon.active {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .feature-block,
    .feature-block.reverse {
        padding: 3rem 0;
        flex-direction: column;
        background: none;
    }

    .feature-block .feature-content {
        order: -1;  /* 确保内容始终在图片上方 */
    }

    .feature-block.reverse .feature-content {
        order: -1;  /* 确保反向布局时内容也在图片上方 */
    }

    .feature-block .feature-content,
    .feature-block .feature-image {
        padding: 0 1rem;
    }
}

/* About page styles */
.about-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-section > p {
    font-size: 1.2rem;
    color: #486581;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-section h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-section p {
    color: #486581;
    line-height: 1.6;
}

.values-section {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.values-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.values-section > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #486581;
    font-size: 1.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    background: #ffffff;
}

.value-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.value-card p {
    color: #486581;
}

.value-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
}

.value-card:nth-child(1) .icon {
    color: #4f46e5;
}

.value-card:nth-child(2) .icon {
    color: #16a34a;
}

.value-card:nth-child(3) .icon {
    color: #ea580c;
}

.about-section,
.values-section {
    padding: 3rem 1rem;
}

.feature-block .feature-content,
.feature-block .feature-image {
    padding: 0 1rem;
}

/* About page hero styles */
body.about-page .hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.about-page .hero-content {
    width: 100%;
    padding: 2rem 0;
}

body.about-page .hero h1 {
    font-size: 2rem;
    font-weight: normal;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-block {
        padding: 3rem 1rem;
    }

    .feature-block .feature-content,
    .feature-block .feature-image {
        padding: 0 1rem;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: #1e293b;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .login-btn {
        display: inline-block;
    }
}

/* 平板和桌面端导航样式 */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }

    .nav-links {
        display: flex !important;
        position: static;
        padding: 0;
        flex-direction: row;
        box-shadow: none;
        background: none;
    }
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    display: block;
}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

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

.error-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.error-content p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.error-actions {
    margin-top: 2rem;
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.success-content {
    max-width: 800px;
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e293b;
    white-space: nowrap;
}

.success-content p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.redirect-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.redirect-link:hover {
    text-decoration: underline;
}

/* Contact Page Styles */
.contact-page {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section {
    text-align: center;
}

.contact-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2d62fd;
}

.contact-intro {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}

.contact-form {
    flex: 2;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #2d62fd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2d62fd;
    outline: none;
    box-shadow: 0 0 0 1px rgba(45, 98, 253, 0.1);
}

.submit-btn {
    background: #2d62fd;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-family: inherit;
}

.submit-btn:hover {
    background: #1e4fd6;
}

.contact-info {
    flex: 1;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: #2d62fd;
}

.info-item p {
    margin: 0;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }

    .contact-section h1 {
        font-size: 2rem;
    }

    .contact-page {
        padding: 40px 15px;
    }
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #dcdcdc;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #333;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2d62fd;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1e4fd6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

.intro-features {
    max-width: 800px;
    margin: 2rem auto;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #f1f5f9;
}

.feature-list svg {
    width: 24px;
    height: 24px;
    color: #2d62fd;
    flex-shrink: 0;
}

.feature-list span {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-list li {
        padding: 0.75rem;
    }

    .feature-list span {
        font-size: 1rem;
    }
}

/* 年度付费卡片样式 */
.pricing-card.yearly {
    position: relative;
}

.pricing-card.yearly .plan-header {
    background-color: #fff3e0;
    position: relative;
}

.pricing-card.yearly .plan-header h3 {
    color: #f97316;
}

/* 移除年度付费卡片的特殊按钮样式 */
.pricing-card.yearly .button {
    background: #F7D070;
    color: #5a4000;
}

.pricing-card.yearly .button:hover {
    background: #f5c555;
}

.save-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #f97316;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.2);
    z-index: 1;
}

.yearly-note {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.25rem;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
} 