/* ========== 全局重置与基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background: 
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 255, 122, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(27, 226, 163, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 80% 60%, rgba(0, 217, 176, 0.05) 0%, transparent 60%),
        #0a0a0a;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 100px,
            rgba(255, 255, 255, 0.012) 100px,
            rgba(255, 255, 255, 0.012) 101px
        );
    pointer-events: none;
    z-index: 0;
}

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

/* 所有图片随容器自适应缩放，防止溢出 */
img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ========== 顶部导航 ========== */
.header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 52px;
    background-color: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    height: 28px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 80px;
    flex: 1;
}

.nav-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #3BFF7A;
}

.publish-btn {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.publish-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ========== 主内容区 ========== */
.main {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0;
}

.hero {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 60px 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: calc(100vh - 52px - 220px);
}

/* ========== 左侧品牌区 ========== */
.hero-left {
    flex: 0 0 auto;
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.brand-logo-img {
    width: 156px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(59, 255, 122, 0.3));
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.brand-name {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.brand-slogan {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 6px;
    font-weight: 400;
}

/* ========== 下载按钮 ========== */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: #ffffff;
    color: #0a0a0a;
    width: 100%;
}

.primary-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-icon {
    flex-shrink: 0;
}

.mobile-buttons {
    display: flex;
    gap: 14px;
    width: 100%;
}

.secondary-btn {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(59, 255, 122, 0.35);
}

.extra-links {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.extra-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: color 0.2s ease;
}

.extra-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.arrow {
    font-size: 14px;
    font-weight: 300;
}

/* ========== 右侧设备展示 ========== */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 760px;
}

.devices-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 手机 ========== */
.phone {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 小程序二维码卡片（点击按钮后替换手机展示区） */
.qr-card {
    width: 320px;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 34px 28px 28px;
    background: linear-gradient(180deg, #3a5240 0%, #2c4032 40%, #23332a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.75),
        0 18px 40px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.qr-img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.qr-caption {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    text-align: center;
}

.phone-frame {
    width: 350px;
    height: 720px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 52px;
    padding: 14px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.75),
        0 18px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 30px;
    background: #0d0d0d;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-status-bar {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

.phone-content {
    flex: 1;
    background: linear-gradient(180deg, #3a5240 0%, #2c4032 40%, #23332a 100%);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    color: #ffffff;
}

/* 图片轮播：001.png / 002.png，每 3 秒自动切换，平滑淡入淡出 */
.slideshow {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 36px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow-fade 12s ease-in-out infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 6s;
}

@keyframes slideshow-fade {
    0%   { opacity: 0; }
    25%  { opacity: 1; }
    50%  { opacity: 1; }
    75%  { opacity: 0; }
    100% { opacity: 0; }
}

.phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
    margin-top: 2px;
}

.menu-icon, .phone-search {
    opacity: 0.95;
}

.phone-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.phone-cover-wrap {
    width: 100%;
    margin-top: 14px;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    position: relative;
}

.phone-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-cover-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 60%;
    background: rgba(255, 255, 255, 0.25);
}

.phone-track-info {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 4px;
}

.phone-lyric-line {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.phone-track-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.phone-artist-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.explicit-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

.phone-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 8px 14px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.action-btn:hover {
    opacity: 0.95;
}

.action-btn svg {
    opacity: 0.95;
}

.action-btn:nth-child(1) svg {
    color: #ff6b6b;
}

.phone-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
    margin-top: 6px;
}

.progress-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
}

.phone-controls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: auto;
    padding: 12px 14px 6px;
}

.p-btn {
    background: transparent;
    color: #ffffff;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.p-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.p-btn.big-btn {
    padding: 14px;
    background: rgba(255, 255, 255, 0.14);
}

.p-btn.big-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.phone-bottom-bar {
    width: 42%;
    height: 5px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 3px;
    margin: 10px auto 2px;
}

/* ========== 页脚 ========== */
.footer {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 30px 40px 40px;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.copyright, .icp-info, .licenses, .friend-links {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 3px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: rgba(59, 255, 122, 0.8);
}

.icp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0.7;
}

.friend-links {
    word-break: break-all;
}

/* ========== 响应式 ========== */
@media (max-width: 1440px) {
    .hero {
        padding: 80px 40px 120px;
    }

    .hero-right {
        min-height: 700px;
    }

    .devices-wrapper {
        max-width: 440px;
        height: 700px;
    }

    .phone-frame {
        width: 320px;
        height: 660px;
        border-radius: 48px;
        padding: 12px;
    }

    .phone-notch {
        width: 100px;
        height: 28px;
    }

    .phone-status-bar {
        height: 40px;
        padding: 0 22px;
        font-size: 13px;
    }

    .phone-content {
        padding: 0;
        border-radius: 34px;
    }

    .phone-track-name {
        font-size: 20px;
    }

    .phone-actions {
        padding: 18px 6px 12px;
    }

    .phone-controls {
        padding: 10px 12px 4px;
    }
}

@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        padding: 60px 30px 100px;
        text-align: center;
        gap: 48px;
    }

    .hero-left {
        width: 100%;
        max-width: 420px;
        align-items: center;
    }

    .brand {
        align-items: center;
    }

    .hero-right {
        width: 100%;
        min-height: 720px;
    }

    .devices-wrapper {
        max-width: 460px;
        height: 720px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

    /* 移动端扩大「商户登录」点击区域 */
    .publish-btn {
        padding: 8px 18px;
    }

    .hero {
        padding: 40px 20px 80px;
        min-height: auto;
        gap: 40px;
    }

    .brand-name {
        font-size: 36px;
    }

    .brand-slogan {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .hero-right {
        min-height: 620px;
    }

    .devices-wrapper {
        max-width: 360px;
        height: 620px;
    }

    .phone-frame {
        width: 280px;
        height: 580px;
        border-radius: 42px;
        padding: 11px;
    }

    .phone-notch {
        width: 88px;
        height: 26px;
        top: 11px;
    }

    .phone-status-bar {
        height: 36px;
        padding: 0 20px;
        font-size: 12px;
    }

    .phone-content {
        padding: 0;
        border-radius: 30px;
    }

    .phone-header {
        padding: 6px 2px;
    }

    .phone-title {
        font-size: 13px;
    }

    .phone-cover-wrap {
        margin-top: 10px;
        border-radius: 12px;
    }

    .phone-track-info {
        margin-top: 18px;
        gap: 5px;
    }

    .phone-lyric-line {
        font-size: 11px;
    }

    .phone-track-name {
        font-size: 17px;
    }

    .phone-artist-name {
        font-size: 11px;
    }

    .phone-actions {
        padding: 16px 4px 10px;
    }

    .action-btn {
        gap: 4px;
        font-size: 10px;
    }

    .phone-progress {
        gap: 8px;
    }

    .progress-time {
        font-size: 10px;
    }

    .phone-controls {
        padding: 8px 10px 2px;
    }

    .footer {
        padding: 20px 16px 30px;
    }

    .copyright, .icp-info, .licenses, .friend-links {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-right {
        min-height: 520px;
    }

    .devices-wrapper {
        max-width: 300px;
        height: 520px;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
        border-radius: 36px;
        padding: 10px;
    }

    .phone-notch {
        width: 72px;
        height: 22px;
        top: 10px;
    }

    .phone-status-bar {
        height: 32px;
        padding: 0 16px;
        font-size: 11px;
    }

    .phone-content {
        padding: 0;
        border-radius: 26px;
    }

    .phone-header {
        padding: 4px 0;
    }

    .phone-header svg {
        width: 18px !important;
        height: 18px !important;
    }

    .phone-title {
        font-size: 12px;
    }

    .phone-cover-wrap {
        margin-top: 8px;
        border-radius: 10px;
    }

    .phone-track-info {
        margin-top: 14px;
        gap: 4px;
    }

    .phone-lyric-line {
        font-size: 10px;
    }

    .phone-track-name {
        font-size: 15px;
    }

    .phone-artist-name {
        font-size: 10px;
    }

    .explicit-tag {
        font-size: 9px;
        padding: 1px 5px;
    }

    .phone-actions {
        padding: 14px 2px 8px;
    }

    .action-btn {
        gap: 3px;
        font-size: 9px;
    }

    .action-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    .phone-progress {
        gap: 6px;
        margin-top: 4px;
    }

    .progress-time {
        font-size: 9px;
    }

    .progress-bar {
        height: 2px;
    }

    .phone-controls {
        padding: 6px 8px 2px;
    }

    .p-btn {
        padding: 6px;
    }

    .p-btn svg {
        width: 22px !important;
        height: 22px !important;
    }

    .p-btn.big-btn {
        padding: 10px;
    }

    .p-btn.big-btn svg {
        width: 28px !important;
        height: 28px !important;
    }

    .phone-bottom-bar {
        margin-top: 8px;
    }
}

/* ========== 超窄屏（≤400px，覆盖 320px 等小屏手机） ========== */
@media (max-width: 400px) {
    .header-inner {
        padding: 0 12px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero {
        padding: 28px 16px 64px;
        gap: 36px;
    }

    .hero-left {
        gap: 36px;
    }

    .brand-name {
        font-size: 30px;
        letter-spacing: 1px;
    }

    /* 收窄字距，避免副标语在 320px 屏幕上溢出 */
    .brand-slogan {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .download-btn {
        font-size: 14px;
        padding: 13px 16px;
    }

    .mobile-buttons {
        gap: 10px;
    }

    /* 二维码卡片在小屏上收缩边距 */
    .qr-card {
        padding: 24px 18px 20px;
        gap: 14px;
    }

    .qr-img {
        width: 180px;
    }

    .footer {
        padding: 18px 12px 26px;
    }
}
