/* style.css - Shohin Kensaku 宣传页样式 */
/* 重置与基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius: 1rem;
    --radius-sm: 0.5rem;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 头部 */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

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

.lang-switch {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    cursor: pointer;
    color: var(--gray-600);
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

.lang-btn.active {
    background-color: var(--primary);
    color: white;
}

/* Hero 区域 */
.hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #eef2ff 100%);
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.demo-search {
    display: flex;
    align-items: center;
    max-width: 550px;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 3rem;
    box-shadow: var(--shadow-lg);
    padding: 0.25rem 0.25rem 0.25rem 1.25rem;
    border: 1px solid var(--gray-200);
}

.demo-search-icon {
    color: var(--gray-400);
}

.demo-search-input {
    flex: 1;
    padding: 0.9rem 1rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.demo-search-btn {
    background-color: var(--primary);
    border: none;
    color: white;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.demo-search-btn:disabled {
    background-color: var(--gray-300);
    cursor: not-allowed;
}

.hero-buttons {
    margin: 1rem 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.trust-badge {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.trust-badge i {
    color: var(--primary);
    margin-right: 0.3rem;
}

/* 功能卡片 */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--gray-600);
    line-height: 1.5;
}

/* 平台区域 */
.platforms {
    background-color: var(--gray-50);
    padding: 3rem 0;
    text-align: center;
}

.platform-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-top: 1.5rem;
}

.platform-icons span {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-icons i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* CTA 区域 */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: white;
}

.cta-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.cta-input {
    flex: 2;
    min-width: 250px;
    padding: 0.9rem 1.5rem;
    border-radius: 3rem;
    border: none;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.cta-input:focus {
    box-shadow: 0 0 0 2px var(--accent);
}

.form-note {
    font-size: 0.75rem;
    margin-top: 1rem;
    opacity: 0.7;
    width: 100%;
}

/* 页脚 */
.footer {
    background-color: var(--gray-900);
    color: #9ca3af;
    padding: 3rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
}

.footer-tagline {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    font-weight: normal;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-copyright {
    font-size: 0.75rem;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .cta-input, .btn-secondary {
        width: 100%;
    }
    .form-group {
        flex-direction: column;
    }
    .lang-switch {
        gap: 0.2rem;
    }
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}