/**
 * inme 官网样式表
 * 基于原始设计，采用现代化的响应式设计
 */

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

:root {
    /* 颜色变量 */
    --primary: #ec4899;
    --primary-dark: #db2777;
    --gradient: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
    --gradient-soft: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fafafa;
    --bg-lighter: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ========== 导航栏 ========== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
    height: 64px;
    display: flex;
    align-items: center;
}

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

.logo-link {
    text-decoration: none;
    display: flex;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 5px;
}

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

.logo-image {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
    display: block;
    vertical-align: middle;
}

.logo a:hover .logo-image {
    opacity: 0.7;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ========== 按钮样式 ========== */
.btn {
    padding: 1.1rem 3rem;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(244, 114, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 114, 182, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.platform-info {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========== 特性区域 ========== */
.features {
    margin-top: 80px;
    padding: 8rem 2rem;
    background: var(--bg-light);
}

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

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    max-width: 1280px;
    margin: 0 auto;
}

.feature-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
    padding: 0;
}

.feature-card:nth-child(even) {
    direction: rtl;
}

.feature-card:nth-child(even) > * {
    direction: ltr;
}

.feature-content {
    padding: 0;
}

.feature-card h3 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1.2rem;
    margin: 0;
    max-width: 520px;
}

.feature-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 100%;
    max-width: 380px;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ========== 页脚 ========== */
footer {
    background: #1f2937;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

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

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

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

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .features {
        padding: 4rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .feature-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .feature-card:nth-child(even) {
        direction: ltr;
    }

    .feature-card h3 {
        font-size: 1.8rem;
    }

    .feature-card p {
        font-size: 1rem;
    }

    .phone-mockup {
        max-width: 300px;
    }

    .features-grid {
        gap: 5rem;
    }

    .btn {
        width: 100%;
        max-width: 100%;
    }

    .cta-buttons {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem 0;
    }

    nav {
        padding: 0 1rem;
    }

    .logo-image {
        height: 32px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .features-grid {
        gap: 4rem;
    }
}

/* ========== 动画 ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeIn 0.6s ease-out;
}

/* ========== 打印样式 ========== */
@media print {
    header,
    footer,
    .cta-buttons {
        display: none;
    }

    body {
        color: black;
        background: white;
    }
}
