/* ============================================================
   Social.Web — Home Page Styles
   ============================================================
   依赖：tokens.css + site.css（通用组件 .team-card / .price-card /
        .compare-table / .faq-list / .final-cta 都在 site.css）
   范围：仅首页专属
        Hero / Stats / Features / AI Section / How It Works /
        Solo / Logo Wall / Mission / Platform Showcase
   ============================================================ */

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: var(--space-16) 0 var(--space-12);
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .hero { min-height: auto; padding: var(--space-12) 0; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass-strong);
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.85); }
}

.hero h1 {
    line-height: 1.05;
    margin-bottom: var(--space-5);
}

.hero .hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.hero-trust {
    display: flex;
    gap: var(--space-5);
    align-items: center;
    color: var(--text-faint);
    font-size: .85rem;
    flex-wrap: wrap;
}
.hero-trust i { color: var(--accent); margin-right: 6px; }

/* Hero 产品截图 mock */
.hero-visual {
    position: relative;
    perspective: 1500px;
}
.hero-mockup {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-glass-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotateY(-6deg) rotateX(3deg);
    transition: transform .4s var(--ease);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.hero-mockup:hover { transform: rotateY(-3deg) rotateX(1deg); }
.hero-mockup-header {
    background: var(--bg-elev-2);
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-glass);
}
.hero-mockup-header span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--border-glass-strong);
}
.hero-mockup-header span:first-child { background: #ff5f57; }
.hero-mockup-header span:nth-child(2) { background: #febc2e; }
.hero-mockup-header span:nth-child(3) { background: #28c840; }
.hero-mockup-body {
    padding: var(--space-5);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-4);
    height: 100%;
}
.hero-mockup-sidebar {
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
}
.hero-mockup-sidebar .item {
    height: 10px;
    background: var(--border-glass);
    border-radius: 2px;
    margin-bottom: 10px;
}
.hero-mockup-sidebar .item.active { background: var(--accent); width: 70%; }
.hero-mockup-main {
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
}
.hero-mockup-main .block {
    background: var(--border-glass);
    border-radius: 4px;
    margin-bottom: 8px;
    height: 14px;
}
.hero-mockup-main .block.tall { height: 80px; background: var(--bg-elev-2); }

/* Hero 浮动平台徽章 */
.platform-badges {
    position: absolute;
    bottom: -32px;
    right: -32px;
    display: flex;
    gap: var(--space-2);
    z-index: 2;
}
.platform-badges .pb {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-glass-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow);
    animation: float 4s var(--ease) infinite;
}
.platform-badges .pb:nth-child(2) { animation-delay: .3s; }
.platform-badges .pb:nth-child(3) { animation-delay: .6s; }
.platform-badges .pb:nth-child(4) { animation-delay: .9s; }
.platform-badges .pb:nth-child(5) { animation-delay: 1.2s; }
.platform-badges .pb:nth-child(6) { animation-delay: 1.5s; }

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

/* 6 平台官方品牌色（Hero 浮动徽章 + Platform Showcase 共用）*/
.pb-facebook,  .platform-card.is-facebook  .platform-icon { color: #1877f2; }
.pb-instagram, .platform-card.is-instagram .platform-icon { color: #e1306c; }
.pb-x,         .platform-card.is-x         .platform-icon { color: var(--text); }
.pb-youtube,   .platform-card.is-youtube   .platform-icon { color: #ff0000; }
.pb-tiktok,    .platform-card.is-tiktok    .platform-icon { color: #69c9d0; }
.pb-linkedin,  .platform-card.is-linkedin  .platform-icon { color: #0a66c2; }

/* ---------- Stats Strip ---------- */

.stats-strip {
    padding: var(--space-8) 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, .15);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-5);
    text-align: center;
}
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item .stat-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-item .stat-label {
    color: var(--text-faint);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

/* ---------- Features Grid ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
}
.feature-card h3 { margin-bottom: var(--space-2); font-size: 1.15rem; }
.feature-card p { font-size: .92rem; }

/* ---------- Platform Showcase（6 大支持平台板块）---------- */

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
@media (max-width: 900px) { .platforms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .platforms-grid { grid-template-columns: 1fr; } }

.platform-card {
    position: relative;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    overflow: hidden;
    transition: all .3s var(--ease);
    cursor: default;
}
.platform-card::before {
    /* 顶部彩条用平台官方色，hover 显现 */
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: currentColor;
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.platform-card.is-facebook::before  { color: #1877f2; }
.platform-card.is-instagram::before { color: #e1306c; }
.platform-card.is-x::before         { color: var(--text); }
.platform-card.is-youtube::before   { color: #ff0000; }
.platform-card.is-tiktok::before    { color: #69c9d0; }
.platform-card.is-linkedin::before  { color: #0a66c2; }
.platform-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-strong);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.platform-card:hover::before { opacity: 1; }

.platform-card .platform-head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.platform-card .platform-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    transition: transform .3s var(--ease);
}
.platform-card:hover .platform-icon {
    transform: scale(1.15) rotate(-6deg);
}
.platform-card .platform-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.platform-card .platform-tagline {
    font-size: .82rem;
    color: var(--text-faint);
    margin-top: 2px;
}
.platform-card p {
    font-size: .92rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    line-height: 1.6;
}
.platform-card .platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-3);
}
.platform-card .platform-features li {
    font-size: .76rem;
    padding: 4px 10px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    border-radius: 999px;
    color: var(--text-muted);
}

/* ---------- Mission Section（替代原 Team 板块）---------- */

.mission-section {
    text-align: center;
    padding: var(--space-12) 0;
    position: relative;
}
.mission-section .mission-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
}
.mission-section .mission-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.mission-section .mission-title .text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mission-section .mission-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto var(--space-8);
}
.mission-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
@media (max-width: 900px) { .mission-pillars { grid-template-columns: 1fr; } }
.mission-pillar {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all .25s var(--ease);
}
.mission-pillar:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.mission-pillar i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: var(--space-3);
    display: block;
}
.mission-pillar h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-2);
}
.mission-pillar p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- AI Section ---------- */

.ai-section {
    position: relative;
    padding: var(--space-16) 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(6, 182, 212, .12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(167, 139, 250, .1) 0%, transparent 50%);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin: var(--space-12) 0;
}
.ai-section .section-header h2 .text-gradient {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}
@media (max-width: 768px) {
    .ai-grid { grid-template-columns: 1fr; }
}
.ai-card .card-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    box-shadow: 0 0 32px rgba(6, 182, 212, .35);
}

/* ---------- How It Works ---------- */

.howit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    position: relative;
}
@media (max-width: 900px) {
    .howit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .howit-grid { grid-template-columns: 1fr; }
}
.howit-step {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    position: relative;
}
.howit-step .step-num {
    font-size: 2.4rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-3);
}
.howit-step h3 { font-size: 1rem; margin-bottom: var(--space-2); }
.howit-step p { font-size: .88rem; }

/* ---------- One Person = One Team ---------- */

.solo-section { text-align: center; }
.solo-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .solo-comparison { grid-template-columns: 1fr; }
    .solo-arrow { transform: rotate(90deg); }
}
.solo-side {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}
.solo-side.before { opacity: .65; }
.solo-side.after { border-color: var(--accent); box-shadow: 0 0 24px rgba(255, 107, 107, .15); }
.solo-side .big {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-3);
}
.solo-side .label { color: var(--text-muted); font-size: .92rem; }
.solo-side ul { margin-top: var(--space-4); text-align: left; }
.solo-side ul li {
    color: var(--text-muted);
    font-size: .88rem;
    padding: 4px 0;
    border-bottom: 1px dashed var(--border-glass);
}
.solo-arrow { font-size: 2rem; color: var(--accent); }

/* ---------- Logo Wall ---------- */

.logo-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
    align-items: center;
    opacity: .55;
}
@media (max-width: 1024px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-wall .logo-item {
    height: 40px;
    background: var(--text-faint);
    -webkit-mask: linear-gradient(135deg, transparent 0, black 50%, transparent 100%);
    mask: linear-gradient(135deg, transparent 0, black 50%, transparent 100%);
    border-radius: var(--radius-sm);
}
