/* ============================================================
   ✿ Sutady神秘空间 — 萌系少女风静态导航页
   设计关键词：软萌猫娘 × 樱花马卡龙 × 梦幻棉花糖
   ============================================================ */

/* ----- CSS 变量 / 配色体系 ----- */
:root {
    /* 背景 */
    --bg-main: #FFF5F0;
    --bg-card: #FFFCF9;
    --bg-card-hover: #FFF0F5;
    --bg-footer: #FFF0EB;

    /* 按钮 & 强调 */
    --btn-primary: #FFB7C5;
    --btn-hover: #FF9DB5;
    --btn-active: #FF85A8;
    --accent-green: #B5EAD7;
    --accent-purple: #E2D1F9;

    /* 文字 */
    --text-heading: #6B3C4B;
    --text-body: #8B6B7A;
    --text-muted: #B89BA5;
    --text-white: #FFFCF9;

    /* 边框 & 阴影 */
    --border-card: #FFD1DC;
    --shadow-pink: rgba(255, 183, 197, 0.25);
    --shadow-pink-deep: rgba(255, 183, 197, 0.45);
    --divider: #FFE0E8;

    /* 圆角 */
    --radius-card: 24px;
    --radius-btn: 50px;
    --radius-sm: 14px;

    /* 字体 */
    --font-heading: 'ZCOOL XiaoWei', serif;
    --font-en: 'Quicksand', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;

    /* 间距 */
    --section-gap: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    background-color: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 波尔卡圆点背景纹理 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, #FFD1DC 1.2px, transparent 1.2px),
        radial-gradient(circle at 70% 60%, #FFD1DC 1px, transparent 1px),
        radial-gradient(circle at 45% 85%, #E2D1F9 0.8px, transparent 0.8px);
    background-size: 50px 50px, 70px 70px, 55px 55px;
    opacity: 0.28;
    z-index: -1;
    pointer-events: none;
}

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

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

/* ----- 文本选择 ----- */
::selection {
    background: #FFD1DC;
    color: var(--text-heading);
}

/* ----- 容器 ----- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ----- 板块通用 ----- */
.section {
    padding: var(--section-gap) 0;
}

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

.section__emoji {
    display: inline-block;
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-heading);
    font-weight: 400;
    margin-bottom: 8px;
}

.section__subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 300;
}

/* ----- 🎀 CSS猫耳 ----- */
.cat-ears {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    gap: 52px;
    animation: ear-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cat-ear {
    width: 56px;
    height: 78px;
    background: linear-gradient(180deg, #FFB7C5 0%, #FF9DB5 100%);
    clip-path: polygon(50% 0%, 15% 100%, 85% 100%);
    border-radius: 35% 35% 10% 10% / 50% 50% 10% 10%;
    position: relative;
    box-shadow: 0 4px 16px var(--shadow-pink);
}

.cat-ear--left {
    transform: rotate(-8deg);
}

.cat-ear--right {
    transform: rotate(8deg);
}

.cat-ear__inner {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    background: linear-gradient(180deg, #FFF0F0 0%, #FFE0E8 100%);
    clip-path: polygon(50% 5%, 22% 95%, 78% 95%);
    border-radius: 30% 30% 10% 10% / 45% 45% 10% 10%;
}

@keyframes ear-bounce {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-60px) scale(0.5);
    }
    60% {
        opacity: 1;
        transform: translateX(-50%) translateY(6px) scale(1.06);
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* ----- 🐈 CSS猫尾巴 ----- */
.cat-tail {
    position: fixed;
    bottom: 0;
    right: 32px;
    z-index: 999;
    pointer-events: none;
    width: 22px;
    height: 110px;
    background: linear-gradient(180deg, #FFB7C5 0%, #FF9DB5 60%, #FF85A8 100%);
    border-radius: 55% 55% 28% 28% / 18% 18% 15% 15%;
    transform-origin: bottom center;
    transform: rotate(var(--tail-rotate, 0deg));
    box-shadow: 0 2px 12px var(--shadow-pink);
}

.cat-tail::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 24px;
    background: #FFB7C5;
    border-radius: 50%;
}

/* ----- ✦ 浮动四角星 ----- */
.floating-stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    display: block;
    color: #FFB7C5;
    opacity: 0;
    animation: float-star var(--dur, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.star--1 { top: 12%; left: 8%; font-size: 22px; --dur: 3.4s; --delay: 0s; }
.star--2 { top: 18%; right: 12%; font-size: 18px; --dur: 4.2s; --delay: 0.6s; }
.star--3 { top: 55%; left: 5%; font-size: 16px; --dur: 3.8s; --delay: 1.2s; }
.star--4 { top: 65%; right: 8%; font-size: 20px; --dur: 3.1s; --delay: 0.3s; }
.star--5 { top: 28%; left: 16%; font-size: 14px; --dur: 4.6s; --delay: 1.8s; }
.star--6 { top: 75%; right: 18%; font-size: 15px; --dur: 3.6s; --delay: 0.9s; }

@keyframes float-star {
    0%, 100% {
        opacity: 0.35;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        opacity: 0.7;
        transform: translateY(-14px) rotate(6deg) scale(1.1);
    }
    50% {
        opacity: 0.4;
        transform: translateY(-6px) rotate(-3deg) scale(0.95);
    }
    75% {
        opacity: 0.65;
        transform: translateY(-18px) rotate(4deg) scale(1.05);
    }
}

/* ====== 🎀 HERO 区 ====== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__sub-emoji--top {
    display: inline-block;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 12px;
    animation: fadeInUp 0.6s 0.15s ease both;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--text-heading);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 4px;
}

.hero__title-line {
    display: block;
    animation: fadeInUp 0.6s ease both;
}
.hero__title-line:nth-child(1) { animation-delay: 0.25s; }
.hero__title-line:nth-child(2) { animation-delay: 0.40s; }
.hero__title-line:nth-child(3) { animation-delay: 0.55s; }

.hero__title-line--brand {
    font-size: 48px;
    background: linear-gradient(135deg, #FF9DB5, #E2A9C8, #FFB7C5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__kaomoji {
    font-size: 22px;
    color: var(--text-muted);
    margin: 8px 0 16px;
    letter-spacing: 3px;
    animation: fadeInUp 0.6s 0.7s ease both;
}

.hero__desc {
    font-size: 17px;
    color: var(--text-body);
    font-weight: 400;
    animation: fadeInUp 0.6s 0.85s ease both;
}

.hero__desc-secondary {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 2px;
    animation: fadeInUp 0.6s 1s ease both;
}

.hero__desc-tertiary {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    animation: fadeInUp 0.6s 1.1s ease both;
}

.hero__scroll-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 36px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
    animation: fadeInUp 0.6s 1.3s ease both, bounce-hint 2s ease-in-out 2s infinite;
}

.hero__scroll-btn:hover {
    color: var(--btn-primary);
    transform: translateY(4px);
}

.hero__scroll-icon {
    width: 20px;
    height: 20px;
}

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

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

/* ====== 🌸 导航胶囊栏 ====== */
.nav {
    position: sticky;
    top: 16px;
    z-index: 100;
    padding: 0 16px;
    animation: fadeInUp 0.6s 1.5s ease both;
}

.nav__inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 245, 240, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid #FFE0E8;
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 24px var(--shadow-pink);
    flex-wrap: wrap;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    background: var(--bg-card);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    cursor: pointer;
}

.nav__link:hover {
    border-color: var(--border-card);
    transform: scale(1.04);
    box-shadow: 0 2px 12px var(--shadow-pink);
}

.nav__link.active {
    background: var(--btn-primary);
    color: var(--text-white);
    border-color: var(--btn-primary);
    box-shadow: 0 4px 16px rgba(255, 183, 197, 0.4);
}

.nav__icon {
    font-size: 16px;
}

.nav__text {
    font-size: 13px;
}

/* ====== 🌊 波浪分隔线 ====== */
.wave-divider {
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-divider--reverse {
    transform: rotate(180deg);
}

/* ====== 🃏 卡片通用样式 ====== */
.card {
    background: var(--bg-card);
    border: 2px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: 0 4px 20px var(--shadow-pink);
    padding: 28px;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px var(--shadow-pink-deep);
    border-color: #FFB7C5;
    background: var(--bg-card-hover);
}

.card__badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--btn-primary);
    color: var(--text-white);
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.card__paw {
    position: absolute;
    top: 2px;
    right: 8px;
    font-size: 22px;
    opacity: 0.45;
    transform: rotate(15deg);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.card:hover .card__paw {
    opacity: 0.75;
    transform: rotate(5deg) scale(1.1);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-heading);
    font-weight: 400;
    margin-bottom: 8px;
}

.card__desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 300;
}

/* ====== 📦 关于这只梯子 ====== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.about__grid--single {
    grid-template-columns: 1fr;
}

.about-card__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.about-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--divider);
}

.about-card__row:last-child {
    border-bottom: none;
}

.about-card__label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.about-card__value {
    font-size: 15px;
    color: var(--text-body);
    font-weight: 500;
    text-align: right;
}

.about-card__value--online {
    color: #5BAA8C;
}

.about-card__screenshot {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1.5px solid var(--divider);
}

.about-card__screenshot img {
    width: 100%;
    object-fit: cover;
}

.about-card--full {
    grid-column: 1 / -1;
}

.about-card__screenshot--full {
    margin-top: 8px;
}

.about-card__screenshot--full .placeholder-img,
.about-card__screenshot--full img {
    width: 100%;
}

/* 图片占位 */
.placeholder-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    background: linear-gradient(135deg, #FFF5F0, #FFF0F5);
    border: 2px dashed var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    gap: 6px;
    padding: 24px;
    transition: border-color 0.3s, background 0.3s;
}

.placeholder-img:hover {
    border-color: #FFB7C5;
    background: #FFF0F5;
}

.placeholder-img--full {
    min-height: 380px;
    padding: 40px;
}

.placeholder-img__icon {
    font-size: 36px;
    opacity: 0.6;
}

.placeholder-img--full .placeholder-img__icon {
    font-size: 56px;
}

.placeholder-img__text {
    font-size: 14px;
    font-weight: 500;
}

.placeholder-img--full .placeholder-img__text {
    font-size: 18px;
}

.placeholder-img__hint {
    font-size: 12px;
    opacity: 0.65;
}

/* ====== 📱 客户端下载 ====== */
.download__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.download-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-card__icon {
    font-size: 48px;
    margin-bottom: 4px;
}

.download-card__emoji {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.download-card__name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-heading);
    font-family: var(--font-en);
}

.download-card__version {
    font-size: 13px;
    color: var(--text-muted);
}

.download-card__hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.download-card--unavailable {
    opacity: 0.75;
}

.download-card--unavailable .download-card__emoji {
    font-size: 13px;
}

/* ====== 📖 图文教程 ====== */
.tutorial__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* ----- 订阅链接块 ----- */
.tutorial-card--sub {
    grid-column: 1 / -1;
}

.sub-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.sub-link {
    background: linear-gradient(135deg, #FFF5F0, #FFF0F5);
    border: 1.5px solid var(--divider);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.sub-link:hover {
    border-color: #FFB7C5;
    box-shadow: 0 4px 16px var(--shadow-pink);
    transform: translateY(-2px);
}

.sub-link__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-heading);
}

.sub-link__icon {
    font-size: 16px;
}

.sub-link__label {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-heading);
}

.sub-link__body {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 10px 10px;
}

.sub-link__url {
    flex: 1;
    display: block;
    padding: 8px 12px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 11px;
    color: var(--text-body);
    background: var(--bg-card);
    border: 1.5px solid var(--divider);
    border-right: none;
    border-radius: 10px 0 0 10px;
    word-break: break-all;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.sub-link__copy {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    background: var(--btn-primary);
    color: var(--text-white);
    border: 1.5px solid var(--btn-primary);
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
}

.sub-link__copy:hover {
    background: var(--btn-hover);
    border-color: var(--btn-hover);
    transform: scale(1.08);
}

.sub-link__copy:active {
    background: var(--btn-active);
    transform: scale(0.94);
}

.sub-link__copy.copied {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.sub-links__hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ----- 📷 翻页轮播图 ----- */
.carousel {
    margin-top: 8px;
}

.carousel__viewport {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--divider);
    background: #FFF5F0;
}

.carousel__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 100%;
    position: relative;
    aspect-ratio: 16 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #FFF5F0;
}

.carousel__slide-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: var(--btn-primary);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-en);
    padding: 3px 10px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(255, 183, 197, 0.3);
}

.carousel__slide .placeholder-img--carousel {
    width: 100%;
    height: 100%;
    min-height: unset;
    border-radius: 0;
    border: none;
}

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}

.carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-card);
    color: var(--btn-primary);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel__btn:hover {
    background: var(--btn-primary);
    color: var(--text-white);
    border-color: var(--btn-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--shadow-pink);
}

.carousel__btn:active {
    transform: scale(0.94);
}

.carousel__btn span {
    line-height: 1;
}

.carousel__pager {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    min-width: 48px;
    text-align: center;
}

/* ----- 全宽教程卡片 ----- */
.tutorial-card--wide {
    grid-column: 1 / -1;
}

.tutorial-card--wide .carousel__slide {
    aspect-ratio: 16 / 9;
}

.tutorial-card--wide .carousel__slide img {
    object-fit: contain;
}

/* iOS空状态 */
.tutorial-card--empty {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
}

.tutorial-card__empty-emoji {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.tutorial-card__empty-text {
    font-size: 24px;
    color: var(--text-heading);
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.tutorial-card__empty-hint {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}

/* ====== ❓ FAQ 手风琴 ====== */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 0;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
    color: var(--text-body);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s;
}

.faq-item__trigger:hover {
    color: var(--text-heading);
}

.faq-item__paw {
    font-size: 18px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}

.faq-item--open .faq-item__paw {
    opacity: 1;
    transform: scale(1.2);
}

.faq-item__q {
    flex: 1;
    font-weight: 500;
    color: var(--text-heading);
    font-size: 15px;
}

.faq-item__arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.4s ease;
}

.faq-item--open .faq-item__arrow {
    transform: rotate(180deg);
    color: var(--btn-primary);
}

.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item--open .faq-item__body {
    max-height: 400px;
}

.faq-item__a {
    display: flex;
    gap: 8px;
    padding: 0 24px 20px 54px;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
}

.faq-item__a-label {
    font-weight: 700;
    color: var(--btn-primary);
    flex-shrink: 0;
}

.faq-item__a p {
    margin-bottom: 6px;
}

.faq-item__a p:last-child {
    margin-bottom: 0;
}

.faq-item__a strong {
    color: var(--text-heading);
    font-weight: 500;
}

/* ====== 💖 投喂与合租 ====== */
.support-card {
    max-width: 780px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFF5F0 40%, #FFFCF9 100%);
    border: 2.5px dashed #FFB7C5;
    border-radius: var(--radius-card);
    padding: 38px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(255, 183, 197, 0.2);
}

.support-card:hover {
    border-color: #FF9DB5;
    box-shadow: 0 6px 30px rgba(255, 157, 181, 0.3);
}

.support-card__headline {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.6;
}

.support-card__sub {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 26px;
    line-height: 1.7;
}

.support-card__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 540px;
}

.support-card__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-sm);
    border: 1px solid var(--divider);
    text-align: left;
    transition: background 0.3s, transform 0.3s;
}

.support-card__item:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(4px);
}

.support-card__dot {
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 1px;
}

.support-card__item strong {
    color: #FF85A8;
    font-weight: 600;
}

.support-card__footer-note {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto;
    padding-top: 6px;
}

/* ====== 📬 联系Sutady ====== */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-card__icon {
    font-size: 36px;
    margin-bottom: 2px;
}

.contact-card__name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-heading);
    font-weight: 400;
}

.contact-card__value {
    font-size: 13px;
    color: var(--text-muted);
    word-break: break-all;
    font-family: var(--font-en);
}

/* ====== ⚠️ 免责声明 + 页脚 ====== */
.footer {
    background: var(--bg-footer);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.footer__disclaimer {
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 32px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    border: 2px solid var(--divider);
    box-shadow: 0 2px 12px var(--shadow-pink);
}

.footer__disclaimer-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-heading);
    margin-bottom: 18px;
    font-weight: 400;
}

.footer__disclaimer-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer__disclaimer-body p:last-child {
    margin-bottom: 0;
}

.footer__bottom {
    text-align: center;
}

.footer__kaomoji {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 3px;
}

.footer__text {
    font-size: 14px;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 4px;
}

.footer__text--sub {
    font-size: 12px;
    color: var(--text-muted);
}

.footer__copyright {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ====== 🌸 樱花飘落 ====== */
.sakura-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.sakura {
    position: absolute;
    top: -40px;
    display: block;
    font-size: var(--s, 18px);
    opacity: 0;
    animation: sakura-fall var(--dur, 8s) linear infinite;
    animation-delay: var(--delay, 0s);
    left: var(--x, 10%);
}

.sakura--1  { --x: 5%;  --dur: 7.2s; --delay: 0s;   --s: 16px; }
.sakura--2  { --x: 14%; --dur: 9.4s; --delay: 1.2s; --s: 20px; }
.sakura--3  { --x: 22%; --dur: 7.8s; --delay: 2.6s; --s: 14px; }
.sakura--4  { --x: 30%; --dur: 10.2s;--delay: 0.5s; --s: 22px; }
.sakura--5  { --x: 38%; --dur: 8.6s; --delay: 3.1s; --s: 18px; }
.sakura--6  { --x: 46%; --dur: 6.8s; --delay: 1.8s; --s: 15px; }
.sakura--7  { --x: 55%; --dur: 9.0s; --delay: 4.2s; --s: 19px; }
.sakura--8  { --x: 64%; --dur: 7.4s; --delay: 0.8s; --s: 17px; }
.sakura--9  { --x: 72%; --dur: 8.8s; --delay: 2.2s; --s: 21px; }
.sakura--10 { --x: 80%; --dur: 10.5s;--delay: 3.6s; --s: 16px; }
.sakura--11 { --x: 88%; --dur: 7.0s; --delay: 1.5s; --s: 18px; }
.sakura--12 { --x: 95%; --dur: 9.6s; --delay: 4.8s; --s: 20px; }

@keyframes sakura-fall {
    0% {
        opacity: 0;
        transform: translateY(-40px) translateX(0) rotate(0deg);
    }
    5% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.5;
        transform: translateY(50vh) translateX(40px) rotate(180deg);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(105vh) translateX(-20px) rotate(360deg);
    }
}

/* ====== 🔘 按钮样式 ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--btn-primary);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(255, 183, 197, 0.35);
}

.btn--primary:hover {
    background: var(--btn-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 157, 181, 0.45);
}

.btn--primary:active {
    background: var(--btn-active);
    transform: scale(0.97);
}

.btn--secondary {
    background: var(--bg-card);
    color: var(--btn-primary);
    border: 2px solid var(--border-card);
}

.btn--secondary:hover {
    background: var(--btn-primary);
    color: var(--text-white);
    border-color: var(--btn-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--shadow-pink);
}

.btn--disabled {
    background: #F5E8EC;
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* ====== ✨ 滚动淡入 ====== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* 交错延迟 */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ====== 滚动条美化 ====== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--border-card);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--btn-primary);
}

/* ================================================================
   📐 响应式断点
   ================================================================ */

/* Desktop-S: 992px - 1199px */
@media (max-width: 1199px) {
    .container {
        max-width: 920px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__title-line--brand {
        font-size: 42px;
    }

    .section__title {
        font-size: 28px;
    }

    .about__grid {
        gap: 20px;
    }

    .download__grid {
        gap: 20px;
    }

    .tutorial__grid {
        gap: 20px;
    }

    .contact__grid {
        gap: 16px;
    }

    .sub-links {
        gap: 10px;
    }
}

/* Tablet: 768px - 991px */
@media (max-width: 991px) {
    :root {
        --section-gap: 56px;
    }

    .container {
        max-width: 720px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .download__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .tutorial__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .nav__inner {
        gap: 6px;
        padding: 8px 12px;
    }

    .nav__link {
        padding: 8px 14px;
    }

    .cat-ear {
        width: 44px;
        height: 62px;
    }

    .cat-ear__inner {
        width: 22px;
        height: 34px;
    }

    .cat-ears {
        gap: 38px;
    }
}

/* Mobile-L: 576px - 767px */
@media (max-width: 767px) {
    :root {
        --section-gap: 44px;
    }

    .container {
        max-width: 100%;
        padding: 0 18px;
    }

    .hero {
        min-height: 75vh;
        padding: 60px 16px 30px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__title-line--brand {
        font-size: 32px;
    }

    .hero__kaomoji {
        font-size: 18px;
    }

    .hero__desc {
        font-size: 15px;
    }

    .section__title {
        font-size: 24px;
    }

    /* 全部单列 */
    .about__grid {
        grid-template-columns: 1fr;
    }

    .sub-links {
        grid-template-columns: 1fr;
    }

    .download__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .tutorial__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .faq__list {
        max-width: 100%;
    }

    .faq-item__trigger {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-item__q {
        font-size: 14px;
    }

    .faq-item__a {
        padding: 0 18px 16px 46px;
        font-size: 13px;
    }

    .footer__disclaimer {
        padding: 24px 18px;
    }

    .support-card {
        padding: 24px 20px;
    }

    .support-card__headline {
        font-size: 18px;
    }

    .support-card__list {
        max-width: 100%;
    }

    .nav__inner {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 8px 14px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav__inner::-webkit-scrollbar {
        display: none;
    }

    .nav__link {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 13px;
    }

    .cat-ear {
        width: 36px;
        height: 50px;
    }

    .cat-ear__inner {
        width: 18px;
        height: 26px;
    }

    .cat-ears {
        gap: 28px;
    }

    .cat-tail {
        right: 12px;
        width: 16px;
        height: 80px;
    }

    .carousel__slide {
        aspect-ratio: 16 / 12;
    }

    .card {
        padding: 20px;
    }

    .card__title {
        font-size: 20px;
    }
}

/* Mobile-S: < 576px */
@media (max-width: 575px) {
    :root {
        --section-gap: 36px;
    }

    .container {
        padding: 0 12px;
    }

    .hero {
        min-height: 65vh;
        padding: 50px 12px 24px;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__title-line--brand {
        font-size: 26px;
    }

    .hero__kaomoji {
        font-size: 15px;
    }

    .hero__desc {
        font-size: 13px;
    }

    .hero__desc-secondary,
    .hero__desc-tertiary {
        font-size: 12px;
    }

    .section__title {
        font-size: 22px;
    }

    .section__subtitle {
        font-size: 14px;
    }

    .nav__inner {
        gap: 4px;
        padding: 6px 8px;
        border-radius: 28px;
    }

    .nav__link {
        padding: 6px 10px;
        gap: 3px;
    }

    .nav__icon {
        font-size: 13px;
    }

    .nav__text {
        font-size: 11px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .sub-links {
        grid-template-columns: 1fr;
    }

    .sub-link__url {
        font-size: 10px;
    }

    .cat-ear {
        width: 28px;
        height: 40px;
    }

    .cat-ear__inner {
        width: 14px;
        height: 20px;
    }

    .cat-ears {
        gap: 20px;
    }

    .cat-tail {
        right: 6px;
        width: 12px;
        height: 60px;
    }

    .cat-tail::after {
        width: 10px;
        height: 16px;
        top: -6px;
    }

    .card {
        padding: 16px;
        border-radius: 18px;
    }

    .card__title {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .faq-item__trigger {
        padding: 12px 14px;
    }

    .faq-item__a {
        padding: 0 14px 14px 36px;
    }

    .footer {
        padding: 40px 0 28px;
    }

    .footer__disclaimer {
        padding: 18px 14px;
    }

    .support-card {
        padding: 20px 16px;
    }

    .support-card__headline {
        font-size: 16px;
    }

    .support-card__sub {
        font-size: 13px;
    }

    .support-card__item {
        font-size: 13px;
        padding: 10px 14px;
    }

    .support-card__footer-note {
        font-size: 12px;
    }

    .footer__disclaimer-title {
        font-size: 17px;
    }

    .footer__disclaimer-body p {
        font-size: 12px;
    }
}
