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

:root {
    /* 品牌渐变取自 App 图标：蓝 → 橙 → 粉 → 紫 */
    --naro-gradient: linear-gradient(120deg, #7fd3e8 0%, #f5b971 33%, #f47ba0 66%, #c3a6e0 100%);
    --naro-accent: #f47ba0;
    --naro-accent-2: #f5b971;
    --naro-accent-3: #c3a6e0;
    --bg-deep: #0a0a0c;
    --bg-soft: #131317;
    --text-main: #f2f2f5;
    --text-muted: #a1a1aa;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
    background: var(--bg-deep);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(25px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.nav-icon {
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--naro-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--naro-gradient);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 首屏 */
.hero {
    padding: 140px 0 90px;
    background: var(--bg-deep);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

/* 背景光晕，呼应图标的柔和渐变 */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 90%;
    background: radial-gradient(circle, rgba(127, 211, 232, 0.18) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    right: -10%;
    width: 75%;
    height: 100%;
    background: radial-gradient(circle, rgba(244, 123, 160, 0.2) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--naro-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin: 36px 0 46px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--naro-gradient);
    color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(244, 123, 160, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 123, 160, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.btn i {
    margin-right: 10px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    background: var(--naro-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 平台徽章 */
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.platform-badge i {
    font-size: 1rem;
    color: var(--naro-accent-3);
}

/* 首屏卡片扇形展开 */
.card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 620px;
    margin: 0 0 0 auto;
    perspective: 1000px;
}

.card {
    position: absolute;
    width: 280px;
    height: 540px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform-origin: center bottom;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.card-1 {
    left: 55%;
    bottom: 0;
    transform: translateX(-50%) rotate(-14deg) translateX(-110px) translateY(-30px);
    z-index: 1;
}

.card-2 {
    left: 55%;
    bottom: 0;
    transform: translateX(-50%) rotate(-5deg) translateX(-38px) translateY(-18px);
    z-index: 2;
}

.card-3 {
    left: 55%;
    bottom: 0;
    transform: translateX(-50%) rotate(5deg) translateX(38px) translateY(-18px);
    z-index: 3;
}

.card-4 {
    left: 55%;
    bottom: 0;
    transform: translateX(-50%) rotate(14deg) translateX(110px) translateY(-30px);
    z-index: 4;
}

/* 小标签 */
.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
    background: var(--naro-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow--center {
    display: block;
}

/* 通用区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.section-subtitle--left {
    margin: 0 0 30px;
    max-width: none;
}

/* Explore / Shorts 图文区块 */
.explore,
.shorts,
.why-naro {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.explore {
    background: var(--bg-soft);
}

.shorts {
    background: var(--bg-deep);
}

.why-naro {
    background: var(--bg-soft);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.why-feature i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--naro-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 1.05rem;
}

.why-image {
    display: flex;
    justify-content: center;
}

/* 手机外框 */
.phone-frame {
    position: relative;
    width: 100%;
    max-width: 320px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s ease;
}

.phone-frame::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: var(--naro-gradient);
    opacity: 0.18;
    filter: blur(50px);
    z-index: -1;
}

.phone-frame:hover {
    transform: translateY(-8px);
}

.phone-frame img {
    width: 100%;
    display: block;
}

/* 功能卡片 */
.features {
    padding: 100px 0;
    background: var(--bg-deep);
}

.features--photo {
    background: var(--bg-soft);
}

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

.features-grid--plain {
    grid-template-columns: repeat(4, 1fr);
}

.features--photo .features-grid--plain {
    grid-template-columns: repeat(5, 1fr);
}

.feature-card {
    padding: 38px 26px;
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(244, 123, 160, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.feature-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.feature-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: var(--naro-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 1.7rem;
    color: #1a1a1a;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 应用截图画廊 */
.app-gallery {
    padding: 100px 0;
    background: var(--bg-deep);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    border-color: rgba(244, 123, 160, 0.35);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.85;
}

/* 四大能力展示 */
.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 380px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.showcase-item:hover {
    background: var(--naro-gradient);
    border-color: transparent;
}

.showcase-item i {
    font-size: 1.6rem;
    color: var(--naro-accent);
    transition: color 0.3s ease;
    width: 32px;
    text-align: center;
}

.showcase-item:hover i,
.showcase-item:hover span {
    color: #1a1a1a;
}

.showcase-item span {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: var(--bg-deep);
    color: var(--text-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(195, 166, 224, 0.16) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

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

.download-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.download-subtitle {
    font-size: 1.2rem;
    margin-bottom: 46px;
    color: var(--text-muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 34px;
    background: var(--naro-gradient);
    border-radius: 16px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(244, 123, 160, 0.25);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(244, 123, 160, 0.35);
}

.download-btn i {
    font-size: 2.4rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-subtitle {
    font-size: 0.88rem;
    opacity: 0.75;
}

.download-info {
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.95rem;
    text-align: left;
    padding: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.legal-links {
    margin-top: 24px;
    text-align: center;
}

.legal-links a {
    color: var(--naro-accent);
    text-decoration: none;
    margin: 0 10px;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: var(--bg-soft);
    text-align: center;
}

.contact-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 18px;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--naro-accent);
}

.contact-item span,
.contact-item a {
    font-size: 1.05rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--naro-accent);
    text-decoration: underline;
}

/* 页脚 */
.footer {
    padding: 60px 0;
    background: var(--bg-deep);
    color: var(--text-main);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    max-width: 640px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 18px;
}

.footer-icon {
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-text {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 26px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--naro-accent);
}

.footer-copy {
    font-size: 0.88rem;
    color: rgba(161, 161, 170, 0.6);
}

/* 响应式 */
@media (max-width: 1024px) {
    .features-grid--plain,
    .features--photo .features-grid--plain {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 110px 0 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 28px;
    }

    .stat {
        text-align: center;
    }

    .card-stack {
        max-width: 360px;
        height: 460px;
        margin: 0 auto;
    }

    .card {
        width: 200px;
        height: 380px;
    }

    .card-1 {
        transform: translateX(-50%) rotate(-12deg) translateX(-80px) translateY(-20px);
    }

    .card-2 {
        transform: translateX(-50%) rotate(-4deg) translateX(-28px) translateY(-14px);
    }

    .card-3 {
        transform: translateX(-50%) rotate(4deg) translateX(28px) translateY(-14px);
    }

    .card-4 {
        transform: translateX(-50%) rotate(12deg) translateX(80px) translateY(-20px);
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* 移动端统一图在下、文字在上 */
    .why-content--reverse .why-image {
        order: 2;
    }

    .why-content--reverse .why-text {
        order: 1;
    }

    .why-text {
        text-align: center;
    }

    .why-feature {
        text-align: left;
    }

    .feature-showcase {
        max-width: 100%;
    }

    .features-grid--plain,
    .features--photo .features-grid--plain {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .section-title,
    .download-title {
        font-size: 2rem;
    }

    .why-title,
    .contact-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .card-stack {
        max-width: 300px;
        height: 400px;
    }

    .card {
        width: 170px;
        height: 320px;
    }

    .card-1 {
        transform: translateX(-50%) rotate(-10deg) translateX(-58px) translateY(-14px);
    }

    .card-2 {
        transform: translateX(-50%) rotate(-3deg) translateX(-20px) translateY(-10px);
    }

    .card-3 {
        transform: translateX(-50%) rotate(3deg) translateX(20px) translateY(-10px);
    }

    .card-4 {
        transform: translateX(-50%) rotate(10deg) translateX(58px) translateY(-14px);
    }

    .gallery-grid,
    .features-grid--plain,
    .features--photo .features-grid--plain {
        grid-template-columns: 1fr;
    }

    .features,
    .explore,
    .shorts,
    .why-naro,
    .app-gallery,
    .download,
    .contact {
        padding: 60px 0;
    }

    .download-info {
        padding: 22px 18px;
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f5b971, #f47ba0, #c3a6e0);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f47ba0, #c3a6e0);
}
