/* ============================================================
   talai - 柔和深空风格（基于现有类名）
   背景：深空紫灰，比纯黑更柔和透气
   配色：粉色 #ff2d75 + 紫色 #a855f7
   所有类名与 HTML 完全匹配，布局不变
   ============================================================ */

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #100d20;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #100d20;
    color: #f0edf5;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: default;
    min-height: 100vh;
    background: linear-gradient(180deg, #100d20 0%, #15102a 34%, #110e22 68%, #0d0a1a 100%);
    isolation: isolate;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ============================================================
   背景层（宇宙极光柔和版）
   ============================================================ */
body::before {
    content: "";
    position: fixed;
    inset: -18%;
    pointer-events: none;
    background:
        radial-gradient(ellipse 38% 32% at 14% 12%, rgba(255, 45, 117, .20), transparent 72%),
        radial-gradient(ellipse 34% 30% at 84% 28%, rgba(168, 85, 247, .16), transparent 72%),
        radial-gradient(ellipse 38% 32% at 48% 80%, rgba(45, 137, 255, .05), transparent 74%),
        radial-gradient(ellipse 25% 22% at 70% 92%, rgba(155, 75, 255, .08), transparent 75%);
    filter: blur(12px);
    z-index: -3;
    animation: aurora 18s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, .15) .55px, transparent .8px);
    background-size: 72px 72px, 72px 72px, 5px 5px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 70%);
    opacity: .30;
    z-index: -2;
}

/* ===== 背景网格 ===== */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(168, 85, 247, .015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* ============================================================
   动画关键帧
   ============================================================ */
@keyframes aurora {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate3d(2%, 1%, 0) scale(1.06) rotate(2deg);
    }
    100% {
        transform: translate3d(-1%, 3%, 0) scale(1.02) rotate(-2deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%,
    100% {
        border-color: transparent;
    }
    50% {
        border-color: #ff2d75;
    }
}

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

@keyframes rippleAnim {
    from {
        transform: scale(0);
        opacity: 0.6;
    }
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.06);
    }
}

@keyframes textGlow {
    to {
        background-position: 200% center;
    }
}

@keyframes buttonShine {
    0%,
    55% {
        transform: translateX(-120%);
    }
    90%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes ring {
    to {
        transform: rotate(360deg);
    }
}

.anim-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }
}


/* ============================================================
   鼠标跟随光晕
   ============================================================ */
.glow-cursor {
    position: fixed;
    top: -300px;
    left: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 45, 117, .03) 0%, rgba(168, 85, 247, .03) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.15s ease-out, opacity 0.3s ease;
    will-change: transform;
}

main,
header,
footer {
    position: relative;
    z-index: 1;
}


/* ===== Hero 背景光晕 ===== */
#hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(168, 85, 247, .04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(255, 45, 117, .015) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, .02) 0%, transparent 40%),
        transparent;
}

.hero-glow-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 45, 117, .025) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 5s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, .035) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 7s ease-in-out infinite reverse;
}


/* ============================================================
   导航栏
   ============================================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(16, 13, 32, .70);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, .04);
    transition: box-shadow 0.3s;
}

#header.scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}

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

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: #bab7ce;
    font-size: 0.92rem;
    transition: .25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(168, 85, 247, .4), #ff2d75);
    transition: .25s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff2d75, #a855f7);
    color: #fff !important;
    font-weight: 600;
    transition: .25s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 45, 117, .04);
}

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

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(255, 45, 117, .12);
    background: linear-gradient(135deg, #ff6b9d, #ff2d75) !important;
    color: #fff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .3s;
    transform-origin: center;
}


/* ============================================================
   Hero
   ============================================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff6b9d;
    background: rgba(255, 45, 117, .04);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid rgba(168, 85, 247, .04);
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 6px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #ff2d75, #a855f7, #ff6b9d);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulseGlow 4s ease-in-out infinite;
}

.hero-sub-headline {
    font-size: 1.15rem;
    color: #aaa7bf;
    font-weight: 300;
    margin: 14px 0 28px;
    line-height: 1.8;
    max-width: 520px;
}

.hero-sub-headline .typing-wrapper {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #ff2d75;
    animation: typewriter 2.4s steps(22) 0.6s forwards, blink 0.8s step-end infinite;
    width: 0;
    max-width: fit-content;
    vertical-align: bottom;
    color: #ff2d75;
    font-weight: 500;
}


/* ===== Hero 按钮 ===== */
.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: center;
    margin-top: 4px;
    width: 100%;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.98rem;
    text-align: center;
}

@media (max-width: 640px) {
    .hero-actions {
        gap: 10px;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 12px 12px;
        font-size: 0.82rem;
        flex: 1 1 0;
    }
}

@media (max-width: 400px) {
    .hero-actions {
        gap: 8px;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 10px 6px;
        font-size: 0.7rem;
        flex: 1 1 0;
    }
}

@media (max-width: 340px) {
    .hero-actions {
        flex-wrap: wrap;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        flex: 1 1 100%;
        padding: 12px 0;
        font-size: 0.85rem;
    }
}

.btn-primary {
    border-radius: 50px;
    background: linear-gradient(135deg, #ff2d75, #a855f7);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: .25s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 45, 117, .04);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(255, 45, 117, .12);
    background: linear-gradient(135deg, #ff6b9d, #ff2d75);
}

.btn-secondary {
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .04);
    font-weight: 500;
    color: #fff;
    transition: .25s;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    border-color: #ff2d75;
    color: #ff2d75;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, .02);
}


/* ===== Persona Badge ===== */
.persona-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .01);
    border: 1px solid rgba(168, 85, 247, .04);
    font-size: 0.85rem;
    color: #aaa7bf;
    transition: .25s;
    cursor: default;
}

.persona-badge:hover {
    border-color: rgba(255, 45, 117, .06);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2d75, #a855f7);
    animation: float 2.4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 45, 117, .08);
}

.persona-badge strong {
    color: #fff;
    font-weight: 600;
}

.badge-sep {
    color: #6f6c82;
}


/* ===== Hero 数据统计 ===== */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .02);
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #ff6b9d, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: #686280;
}

@media (max-width: 640px) {
    .hero-stats {
        gap: 24px;
        justify-content: center;
    }
    .stat-item {
        text-align: center;
    }
}

@media (max-width: 400px) {
    .hero-stats {
        gap: 16px;
    }
    .stat-number {
        font-size: 1.3rem;
    }
}


/* ============================================================
   对话预览卡片
   ============================================================ */
.chat-preview {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, .01);
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, .04);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
    overflow: hidden;
    padding: 24px 24px 20px;
    transition: box-shadow 0.4s ease, transform 0.1s ease, border-color 0.3s;
    transform-style: preserve-3d;
    will-change: transform;
    animation: ring 3s ease-in-out infinite;
}

.chat-preview:hover {
    border-color: rgba(255, 45, 117, .06);
    box-shadow: 0 0 60px rgba(168, 85, 247, .02);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .02);
    margin-bottom: 16px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 45, 117, .04), rgba(168, 85, 247, .04));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1.5px solid rgba(168, 85, 247, .04);
}

.chat-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-status {
    font-size: 0.75rem;
    color: #686280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 88%;
}

.chat-message.ai {
    background: rgba(255, 255, 255, .015);
    color: #f0edf5;
    border-bottom-left-radius: 4px;
    margin-right: auto;
}

.chat-message.user {
    background: linear-gradient(135deg, #ff2d75, #a855f7);
    color: #fff;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0 2px;
    color: #686280;
    font-size: 0.8rem;
}

.chat-typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #686280;
    animation: float 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}


/* ============================================================
   通用 Section
   ============================================================ */
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ff6b9d;
    background: rgba(255, 45, 117, .02);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(168, 85, 247, .03);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-header h2 .accent {
    background: linear-gradient(135deg, #ff2d75, #a855f7, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: #89859c;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-desc {
    margin: 0 auto;
}


/* ============================================================
   产品介绍
   ============================================================ */
#services {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(168, 85, 247, .02) 0%, transparent 60%),
        transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: rgba(255, 255, 255, .01);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .015);
    transition: box-shadow 0.4s, transform 0.4s, border-color 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, .06);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-card:hover img {
    transform: scale(1.03);
}

.service-body {
    padding: 22px 24px 26px;
}

.service-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-body p {
    color: #89859c;
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.6;
}

.service-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(255, 45, 117, .02);
    color: #ff6b9d;
    border: 1px solid rgba(168, 85, 247, .03);
}


/* ============================================================
   核心能力
   ============================================================ */
#features {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, .02) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 45, 117, .01) 0%, transparent 40%),
        transparent;
}

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

.feature-card {
    padding: 32px 24px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .015);
    background: rgba(255, 255, 255, .01);
    transition: border-color 0.3s, box-shadow 0.4s, transform 0.4s;
    text-align: center;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, .06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    color: #89859c;
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.6;
}


/* ============================================================
   Persona
   ============================================================ */
#persona {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(168, 85, 247, .02) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 45, 117, .01) 0%, transparent 40%),
        rgba(13, 10, 26, .30);
    border-top: 1px solid rgba(168, 85, 247, .02);
    border-bottom: 1px solid rgba(168, 85, 247, .02);
}

.persona-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.persona-content .persona-block {
    display: flex;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .01);
    border: 1px solid rgba(255, 255, 255, .015);
    margin-bottom: 16px;
    transition: border-color 0.3s, box-shadow 0.4s, transform 0.3s;
}

.persona-content .persona-block:hover {
    border-color: rgba(168, 85, 247, .06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
    transform: translateX(4px);
}

.p-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    text-align: center;
}

.p-text h4 {
    font-weight: 600;
    font-size: 0.98rem;
    margin-bottom: 2px;
}

.p-text p {
    color: #89859c;
    font-weight: 300;
    font-size: 0.9rem;
}

.persona-visual {
    display: flex;
    justify-content: center;
}

.p-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, .01);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .015);
    padding: 32px 28px 28px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.4s ease, border-color 0.3s;
}

.p-card:hover {
    border-color: rgba(168, 85, 247, .06);
    box-shadow: 0 0 60px rgba(168, 85, 247, .02);
}

.p-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 45, 117, .03), rgba(168, 85, 247, .03));
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border: 2px solid rgba(168, 85, 247, .03);
}

.p-card h4 {
    font-weight: 700;
    font-size: 1.1rem;
}

.p-tagline {
    color: #89859c;
    font-weight: 300;
    font-size: 0.92rem;
    margin: 4px 0 14px;
}

.p-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.p-tags span {
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(255, 45, 117, .02);
    color: #ff6b9d;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, .03);
}


/* ============================================================
   用户评价
   ============================================================ */
#testimonials {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, .02) 0%, transparent 60%),
        transparent;
    border-top: 1px solid rgba(168, 85, 247, .02);
    border-bottom: 1px solid rgba(168, 85, 247, .02);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    padding: 28px 26px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .01);
    border: 1px solid rgba(255, 255, 255, .015);
    transition: border-color 0.3s, box-shadow 0.4s, transform 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(168, 85, 247, .06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
    transform: translateY(-3px);
}

.stars {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.testimonial-card blockquote {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #f0edf5;
    font-style: normal;
}

.author {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #686280;
    font-weight: 400;
}


/* ============================================================
   FAQ
   ============================================================ */
#faq {
    background: transparent;
}

.faq-grid {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, .015);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(168, 85, 247, .04);
}

.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, .01);
    transition: color 0.3s;
    user-select: none;
}

.faq-question:hover {
    color: #ff6b9d;
}

.arrow {
    transition: transform 0.4s;
    font-size: 0.8rem;
    color: #686280;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
    color: #89859c;
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}


/* ============================================================
   CTA
   ============================================================ */
#cta {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(168, 85, 247, .025) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 45, 117, .015) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, .02) 0%, transparent 40%),
        transparent;
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, .015) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 800;
}

.cta-content h2 .accent {
    background: linear-gradient(135deg, #ff6b9d, #a855f7, #ff2d75);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    max-width: 500px;
    margin: 16px auto 34px;
    font-weight: 300;
    font-size: 1.05rem;
    color: #89859c;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-cta {
    padding: 16px 44px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff2d75, #a855f7);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .25s;
    font-family: inherit;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 45, 117, .03);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(255, 45, 117, .08);
    background: linear-gradient(135deg, #ff6b9d, #ff2d75);
}

.btn-cta-outline {
    padding: 16px 44px;
    border-radius: 50px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .04);
    color: #fff;
    font-weight: 600;
    transition: .25s;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, .01);
    border-color: rgba(168, 85, 247, .08);
    transform: translateY(-2px);
}


/* ============================================================
   Ripple 涟漪
   ============================================================ */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    transform: scale(0);
    animation: rippleAnim 0.7s ease-out forwards;
    pointer-events: none;
}

.btn-primary .ripple-effect,
.nav-cta .ripple-effect,
.btn-cta .ripple-effect {
    background: rgba(255, 255, 255, .5);
}

.btn-secondary .ripple-effect,
.btn-cta-outline .ripple-effect {
    background: rgba(168, 85, 247, .06);
}


/* ============================================================
   Footer
   ============================================================ */
#footer {
    background: rgba(9, 7, 18, .60);
    padding: 48px 0 28px;
    border-top: 1px solid rgba(168, 85, 247, .02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

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

.footer-brand .brand-logo {
    height: 28px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #686280;
    font-weight: 300;
    max-width: 300px;
    font-size: 0.92rem;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #686280;
    font-weight: 300;
    font-size: 0.88rem;
    transition: .25s;
}

.footer-col ul li a:hover {
    color: #ff6b9d;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .015);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: #686280;
    font-weight: 300;
    font-size: 0.82rem;
}

.social a {
    margin-left: 18px;
    color: #686280;
    transition: .25s;
}

.social a:hover {
    color: #ff6b9d;
}


/* ============================================================
   滚动条美化
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0d0a1a;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff2d75, #a855f7);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6b9d;
}


/* ============================================================
   响应式适配
   ============================================================ */
@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-sub-headline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .persona-badge {
        justify-content: center;
    }
    .persona-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .persona-content .persona-block {
        text-align: left;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(16, 13, 32, .97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transform: translateX(100%);
        transition: .4s;
        z-index: 999;
        padding: 40px;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links a {
        font-size: 1.1rem;
    }
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .chat-preview {
        max-width: 100%;
    }
    .glow-cursor {
        display: none;
    }
}

@media (max-width: 640px) {
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    section {
        padding: 56px 0;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-sub-headline {
        font-size: 1rem;
    }
    .p-card {
        padding: 24px 20px;
    }
    .faq-question {
        font-size: 0.9rem;
        padding: 14px 18px;
    }
    .container {
        padding: 0 16px;
    }
    .glow-cursor {
        display: none;
    }
}

@media (max-width: 400px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        flex: 1 1 100%;
        justify-content: center;
        padding: 12px 0;
        font-size: 0.85rem;
    }
    .persona-badge {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.8rem;
    }
}