/* ==========================================
   星黎AI伴侣官网样式 - 全新设计
   ========================================== */

:root {
    --bg: #FDF8F3;
    --bg-2: #FFF5ED;
    --surface: #FFFFFF;
    --surface-2: rgba(255, 255, 255, 0.72);
    --text: #1D1D1F;
    --text-2: #4A4A4C;
    --text-3: #8A8A8C;
    --accent: #E85D75;
    --accent-2: #F4A261;
    --accent-3: #2A9D8F;
    --accent-dark: #C73E5B;
    --border: rgba(29, 29, 31, 0.08);
    --border-2: rgba(29, 29, 31, 0.16);
    --shadow-sm: 0 2px 8px rgba(29, 29, 31, 0.04);
    --shadow-md: 0 12px 32px -12px rgba(29, 29, 31, 0.12);
    --shadow-lg: 0 32px 64px -20px rgba(232, 93, 117, 0.22);
    --shadow-xl: 0 48px 96px -24px rgba(29, 29, 31, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --font: 'Noto Sans SC', 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* 噪点纹理 */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* 公告栏 */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 0.75rem 1rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.announcement-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    position: relative;
    padding-right: 2rem;
    flex-wrap: wrap;
}

.announcement-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.announcement-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* 头部导航 */
.site-header {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 999;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.announcement-bar.hidden ~ .site-header {
    top: 0;
}

.site-header.scrolled {
    background: rgba(253, 248, 243, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(29, 29, 31, 0.04), 0 12px 32px -16px rgba(29, 29, 31, 0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 9px;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:not(.cta)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:not(.cta):hover::after {
    width: 100%;
}

.nav-link.cta {
    background: var(--text);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-link.cta:hover {
    transform: translateY(-2px);
    background: var(--accent);
    box-shadow: 0 8px 20px -6px rgba(232, 93, 117, 0.4);
}

.nav-link.cta::after {
    display: none;
}

/* 移动端菜单 */
.menu-trigger {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 1001;
    border-radius: 12px;
    transition: background 0.2s;
}

.menu-trigger:hover {
    background: rgba(29, 29, 31, 0.04);
}

.menu-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.menu-trigger.active .menu-line:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-trigger.active .menu-line:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(253, 248, 243, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding-top: 80px;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s, transform 0.2s;
    padding: 0.5rem;
}

.mobile-link:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.mobile-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white !important;
    padding: 1rem 2.5rem !important;
    border-radius: 100px;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
}

/* Hero */
.hero {
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 1.5rem 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -120px;
    animation: float-glow 14s ease-in-out infinite;
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: var(--accent-2);
    bottom: -120px;
    left: -100px;
    animation: float-glow 12s ease-in-out infinite reverse;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-3);
    top: 45%;
    left: 30%;
    opacity: 0.3;
    animation: float-glow 16s ease-in-out infinite;
}

.mesh {
    position: absolute;
    inset: 0;
    opacity: 0.8;
}

.mesh svg {
    width: 100%;
    height: 100%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 600px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232, 93, 117, 0.08);
    border: 1px solid rgba(232, 93, 117, 0.15);
    color: var(--accent-dark);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    width: fit-content;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 2.25rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 16px 40px -12px rgba(232, 93, 117, 0.45);
}

.button-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 24px 56px -16px rgba(232, 93, 117, 0.55);
}

.button-glow::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent), var(--accent-dark));
    border-radius: 100px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(16px);
    animation: glow-pulse 2.5s ease-in-out infinite;
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-2);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    background: rgba(232, 93, 117, 0.04);
}

.button-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.button-main {
    font-size: 1.05rem;
    font-weight: 700;
}

.button-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 400;
}

.hero-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--accent-2);
}

.social-proof {
    font-size: 0.875rem;
    color: var(--text-3);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1200px;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1D1D1F 0%, #2C2C2E 100%);
    border-radius: 44px;
    padding: 14px;
    box-shadow: 0 60px 100px -30px rgba(29, 29, 31, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: rotateY(-12deg) rotateX(6deg) rotateZ(-2deg);
    animation: phone-float 7s ease-in-out infinite;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 26px;
    background: #1D1D1F;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FFF8F5 0%, #FFFFFF 100%);
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-ui {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.85);
    padding-top: 2.25rem;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    position: relative;
    flex-shrink: 0;
}

.chat-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    background: #2A9D8F;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-meta {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text);
}

.chat-status {
    font-size: 0.75rem;
    color: var(--text-3);
}

.chat-body {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.msg {
    display: flex;
    max-width: 82%;
    animation: message-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.msg:nth-child(1) { animation-delay: 0.6s; }
.msg:nth-child(2) { animation-delay: 1.6s; }
.msg:nth-child(3) { animation-delay: 2.6s; }

.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; }

.msg-bubble {
    padding: 0.75rem 1rem;
    border-radius: 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.msg.bot .msg-bubble {
    background: white;
    border: 1px solid rgba(232, 93, 117, 0.12);
    color: var(--text);
    border-bottom-left-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(29, 29, 31, 0.04);
}

.msg.user .msg-bubble {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.msg-typing {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 1.25rem;
    border: 1px solid rgba(232, 93, 117, 0.12);
    border-bottom-left-radius: 0.25rem;
    width: fit-content;
    animation: message-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 3.6s;
    opacity: 0;
}

.msg-typing span {
    width: 6px;
    height: 6px;
    background: var(--accent-2);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }

.chat-input {
    padding: 0.75rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.input-bar {
    flex: 1;
    height: 38px;
    background: rgba(29, 29, 31, 0.04);
    border-radius: 100px;
}

.send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    flex-shrink: 0;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-1 {
    top: 30px;
    right: -20px;
    animation: float-card 6s ease-in-out infinite;
}

.card-2 {
    bottom: 80px;
    left: -20px;
    color: var(--accent);
    animation: float-card 7s ease-in-out infinite reverse;
}

.pulse-ring {
    width: 8px;
    height: 8px;
    background: var(--accent-3);
    border-radius: 50%;
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-3);
    opacity: 0.4;
    animation: pulse-ring 2s ease-out infinite;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-3);
    font-size: 0.75rem;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scroll-down 1.5s ease-in-out infinite;
}

/* Section Common */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.light .section-title,
.section-header.light .section-lead {
    color: rgba(255, 255, 255, 0.95);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.15;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* Features */
.features {
    padding: 120px 0;
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(232, 93, 117, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-highlight {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(232, 93, 117, 0.08), rgba(244, 162, 97, 0.08));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: transform 0.4s, background 0.4s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(232, 93, 117, 0.12), rgba(244, 162, 97, 0.12));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.75;
}

/* How to use */
.how-to-use {
    padding: 120px 0;
    background: linear-gradient(135deg, #1D1D1F 0%, #2C2C2E 100%);
    position: relative;
    overflow: hidden;
}

.how-to-use::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(232, 93, 117, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(244, 162, 97, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.step {
    flex: 1;
    max-width: 340px;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform 0.4s;
}

.step:hover {
    transform: translateY(-6px);
}

.step-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    pointer-events: none;
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(232, 93, 117, 0.12);
    color: var(--accent-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.875rem;
}

.step p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
}

.step-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(232, 93, 117, 0.5), rgba(255, 255, 255, 0.1));
    align-self: center;
    position: relative;
    border-radius: 2px;
}

.step-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}

/* FAQ */
.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 93, 117, 0.12);
}

.faq-item.active {
    border-color: rgba(232, 93, 117, 0.2);
    box-shadow: 0 16px 40px -16px rgba(232, 93, 117, 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question span:first-child {
    padding-right: 1rem;
    line-height: 1.5;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(232, 93, 117, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: background 0.3s, transform 0.3s;
}

.faq-toggle span {
    position: absolute;
    width: 12px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.3s, background 0.3s;
}

.faq-toggle span:nth-child(2) {
    transform: rotate(90deg);
}

.faq-item.active .faq-toggle {
    background: var(--accent);
    transform: rotate(0deg);
}

.faq-item.active .faq-toggle span {
    background: white;
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-2);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--text);
    color: white;
    padding: 80px 1.5rem 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    text-align: center;
}

.footer-brand .brand {
    color: white;
    margin-bottom: 1rem;
    justify-content: center;
}

.footer-brand .brand-mark {
    width: 28px;
    height: 28px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.footer-icp a:hover {
    color: var(--accent-2);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    max-width: 600px;
    margin: 0 auto !important;
    line-height: 1.6;
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0);
}

/* Stagger */
.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 100ms; }
.feature-card:nth-child(3) { transition-delay: 200ms; }
.feature-card:nth-child(4) { transition-delay: 300ms; }
.feature-card:nth-child(5) { transition-delay: 400ms; }
.feature-card:nth-child(6) { transition-delay: 500ms; }
.feature-card:nth-child(7) { transition-delay: 600ms; }
.feature-card:nth-child(8) { transition-delay: 700ms; }

.step:nth-child(1) { transition-delay: 0ms; }
.step:nth-child(3) { transition-delay: 150ms; }
.step:nth-child(5) { transition-delay: 300ms; }

.faq-item:nth-child(1) { transition-delay: 0ms; }
.faq-item:nth-child(2) { transition-delay: 100ms; }
.faq-item:nth-child(3) { transition-delay: 200ms; }
.faq-item:nth-child(4) { transition-delay: 300ms; }
.faq-item:nth-child(5) { transition-delay: 400ms; }
.faq-item:nth-child(6) { transition-delay: 500ms; }
.faq-item:nth-child(7) { transition-delay: 600ms; }
.faq-item:nth-child(8) { transition-delay: 700ms; }

/* Keyframes */
@keyframes float-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.98); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes phone-float {
    0%, 100% { transform: rotateY(-12deg) rotateX(6deg) rotateZ(-2deg) translateY(0); }
    50% { transform: rotateY(-12deg) rotateX(6deg) rotateZ(-2deg) translateY(-18px); }
}

@keyframes message-pop {
    0% { opacity: 0; transform: translateY(12px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes scroll-down {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

@keyframes orb-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero-copy {
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-tag,
    .hero-actions,
    .hero-social {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-visual {
        order: -1;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }

    .floating-card {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-highlight {
        grid-row: span 1;
        grid-column: span 2;
    }

    .feature-card:nth-child(8) {
        grid-column: span 2;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step {
        max-width: 100%;
        width: 100%;
    }

    .step-line {
        width: 2px;
        height: 50px;
        background: linear-gradient(180deg, rgba(232, 93, 117, 0.5), rgba(255, 255, 255, 0.1));
    }

    .step-line::after {
        right: 50%;
        top: 100%;
        transform: translate(50%, -100%) rotate(135deg);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-trigger {
        display: flex;
    }

    .header-inner {
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 120px 1rem 80px;
        min-height: auto;
    }

    .hero-inner {
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 9vw, 3.5rem);
        line-height: 1.1;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.875rem;
    }

    .button {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .button-primary,
    .button-secondary {
        justify-content: center;
    }

    .hero-social {
        flex-direction: column;
        gap: 0.5rem;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
        border-radius: 36px;
        padding: 12px;
    }

    .phone-notch {
        width: 90px;
        height: 22px;
        border-radius: 0 0 14px 14px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    .chat-header {
        padding-top: 1.75rem;
    }

    .chat-body {
        padding: 1rem;
        gap: 0.75rem;
    }

    .msg-bubble {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }

    .hero-scroll {
        display: none;
    }

    .features,
    .how-to-use,
    .faq {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-highlight {
        grid-column: span 1;
    }

    .feature-card:nth-child(8) {
        grid-column: span 1;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .step-icon {
        width: 64px;
        height: 64px;
    }

    .step h3 {
        font-size: 1.125rem;
    }

    .step p {
        font-size: 0.9rem;
    }



    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-answer-inner {
        padding: 0 1.25rem 1.25rem;
    }

    .footer-inner {
        padding-bottom: 40px;
    }

    .footer-bottom {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .announcement-inner {
        font-size: 0.75rem;
        padding-right: 2rem;
        gap: 0.5rem;
    }

    .announcement-close {
        width: 28px;
        height: 28px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .mobile-link {
        font-size: 1.5rem;
    }

    .mobile-cta {
        font-size: 1.125rem;
        padding: 0.875rem 2rem !important;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-column h4 {
        margin-bottom: 0.75rem;
    }

    .footer-column a {
        margin-bottom: 0.5rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
