/* ========================================
   吉柿 JISHI — Design System
   Philosophy: Crimson Reverie
   红色为魂，留白为骨，光影为韵
   ======================================== */

/* ---------- Design Tokens ---------- */
:root {
    --color-primary: #ff5b27;
    --color-primary-dark: #e8461a;
    --color-primary-light: #ff8a5e;
    --color-primary-soft: #fff2ec;
    --color-ink: #1a1a2e;
    --color-ink-soft: #4a4a5e;
    --color-mist: #8a8a9e;
    --color-cloud: #f5f5f7;
    --color-paper: #fbfbfb;
    --color-white: #ffffff;
    --color-line: rgba(0, 0, 0, 0.06);

    --font-sans: "Avenir", -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Microsoft YaHei", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-display: "Avenir", "PingFang SC", "Microsoft YaHei", sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --header-h: 80px;
    --container: 1200px;
    --radius: 4px;
    --radius-lg: 12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul { list-style: none; }

img {
    border: none;
    max-width: 100%;
    display: block;
}

html {
    background: var(--color-white);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    color: var(--color-ink);
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    background: var(--color-paper);
    min-width: 1200px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

/* ---------- Animations ---------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-24px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatX {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(24px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Header ---------- */
.header {
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--header-h);
    border-bottom: 1px solid var(--color-line);
    transition: box-shadow 0.3s var(--ease-out);
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.logo img {
    width: auto;
    height: 33px;
    display: block;
    transition: transform 0.3s var(--ease-out);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-ink);
    margin-left: 64px;
    position: relative;
    transition: color 0.3s var(--ease-out);
    line-height: var(--header-h);
    letter-spacing: 0.5px;
}

.nav a:hover {
    color: var(--color-primary);
}

.nav a.active {
    color: var(--color-primary);
}

.nav a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 24px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: navUnderline 0.4s var(--ease-out);
}

@keyframes navUnderline {
    from { width: 0; }
    to { width: 24px; }
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Footer ---------- */
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    background: var(--color-cloud);
    flex-direction: column;
    gap: 8px;
}

.footer a,
.footer span {
    color: var(--color-mist);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.footer a:hover {
    color: var(--color-primary);
}

/* ---------- Buttons ---------- */
.btn-store {
    height: 52px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.btn-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-store img {
    width: 36px;
    height: auto;
}

.btn-store .text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.btn-store .t1 {
    font-size: 11px;
    line-height: 1;
    margin-bottom: 3px;
    opacity: 0.7;
}

.btn-store .t2 {
    font-size: 17px;
    line-height: 1;
    font-weight: 600;
}

.btn-store.ios {
    background: var(--color-white);
}

.btn-store.ios .t1 { color: var(--color-mist); }
.btn-store.ios .t2 { color: var(--color-ink); }

.btn-store.android {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-store.android .t1,
.btn-store.android .t2 { color: var(--color-white); }

/* ========================================
   HOMEPAGE
   ======================================== */

.home {
    padding-top: var(--header-h);
}

/* ---------- Hero Banner ---------- */
.hero {
    height: calc(100vh - var(--header-h));
    min-height: 600px;
    max-height: 760px;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    z-index: 1;
}

.hero-inner {
    width: var(--container);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.hero-left {
    z-index: 5;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 8px;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 48px;
    letter-spacing: 4px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-right {
    flex: 1;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-mascot {
    position: absolute;
    right: -60px;
    bottom: 0;
    width: 680px;
    height: auto;
    max-width: none;
    animation: floatSlow 5s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) { width: 25px; height: 25px; left: 5%; top: 15%; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 30px; height: 30px; left: 45%; top: 25%; animation-delay: 1s; }
.hero-particle:nth-child(3) { width: 46px; height: 46px; left: 85%; top: 20%; animation-delay: 2s; }
.hero-particle:nth-child(4) { width: 36px; height: 36px; left: 90%; top: 50%; animation-delay: 0.5s; }
.hero-particle:nth-child(5) { width: 40px; height: 40px; left: 70%; top: 75%; animation-delay: 1.5s; }
.hero-particle:nth-child(6) { width: 30px; height: 30px; left: 25%; top: 85%; animation-delay: 2.5s; }
.hero-particle:nth-child(7) { width: 20px; height: 20px; left: 65%; top: 50%; animation-delay: 0.5s; }

.hero-scroll {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 32px;
    z-index: 5;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
    animation: floatSlow 2s ease-in-out infinite;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.4);
    margin: 8px auto 0;
}

/* ---------- Section Title ---------- */
.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title .cn {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-title .cn::before,
.section-title .cn::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.section-title .en {
    font-size: 13px;
    color: var(--color-mist);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* ---------- Categories ---------- */
.categories {
    padding: 100px 0 120px;
}

.category-grid {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 0;
}

.category-card {
    flex: 1;
    height: 580px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: var(--color-cloud);
}

.category-card .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
    z-index: 1;
}

.category-card:hover .bg-img {
    transform: scale(1.08);
}

.category-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    transition: opacity 0.4s var(--ease-out);
}

.category-card .content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 4;
    padding: 56px 0 0 36px;
    box-sizing: border-box;
}

.category-card .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.category-card .name {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px;
}

.category-card .name-en {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1px;
}

.category-card .plus {
    position: absolute;
    left: 36px;
    bottom: 36px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 300;
    transition: all 0.4s var(--ease-out);
}

.category-card:hover .plus {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    transform: rotate(90deg) scale(1.1);
}

.category-card .reveal-layer {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    z-index: 3;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.category-card:hover .reveal-layer {
    transform: translateY(0);
}

.category-card .reveal-text {
    color: var(--color-white);
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out) 0.2s;
}

.category-card:hover .reveal-text {
    opacity: 1;
}

/* ---------- Brand Promise ---------- */
.promise {
    height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promise::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary-light) url('../images/box_bg.webp') no-repeat center;
    background-size: cover;
    transition: transform 2.0s var(--ease-out);
    z-index: 0;
}

.promise:hover::before {
    transform: scale(1.18);
}

.promise::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 114, 30, 0.534) 0%, rgba(255, 91, 39, 0.85) 100%);
    z-index: 1;
}

.promise-inner {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.promise-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.promise-sub {
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 40px;
    opacity: 0.85;
    text-transform: uppercase;
}

.promise p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 8px;
}

/* ---------- App Showcase ---------- */
.showcase {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAAGgCAIAAACPBBYxAAABkklEQVR42u3PAQ0AIAgAMKQMoeifQ2Kw6d/g53bF6zI+ICkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKbllAA5oBMGpEp67AAAAAElFTkSuQmCC) repeat-x 0 100%;
    background-size: auto 208px;
}

.showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 320px;
    background: var(--color-primary);
    z-index: 0;
}

.showcase-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 1300px;
    height: 785px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.showcase-phones {
    padding-top: 54px;
}

.showcase-phones img {
    width: 574px;
    height: auto;
    -webkit-animation: floatAnimation-1a67c274 3s infinite;
    animation: floatAnimation-1a67c274 3s infinite;
    border: none;
    overflow-clip-margin: content-box;
    overflow: clip;
}

.showcase-content {
    padding-top: 230px;
    margin-left: 118px;
}

.showcase-title {
    color: var(--color-primary);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.showcase-desc {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    width: 490px;
    font-size: 20px;
    color: #545454;
    margin-bottom: 96px;

}

.showcase-stats-img {
    width: 540px;
    height: auto;
    margin-left: -20px;
    border: none;
    overflow-clip-margin: content-box;
    overflow: clip;
}

/* Stats */
.stats {
    width: var(--container);
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s var(--ease-out);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-num {
    color: var(--color-white);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-num .plus-sign {
    font-size: 22px;
}

.stat-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    filter: brightness(0) invert(1);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    letter-spacing: 1px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about {
    padding-top: calc(var(--header-h) + 50px);
    background: var(--color-paper);
    position: relative;
    overflow: hidden;
}

.about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.about-hero img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 84px;
}

.about-bg-shape {
    height: 400px;
    background: var(--color-primary-soft);
    border-radius: 0 80px 80px 0;
    position: absolute;
    left: 0;
    top: 280px;
    right: 45%;
    z-index: 1;
}

.about-main {
    display: flex;
    align-items: center;
    padding-bottom: 80px;
    width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-visual {
    flex: 0 0 580px;
}

.about-visual img {
    width: 100%;
    animation: floatX 4s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
}

.about-text {
    flex: 1;
    padding-left: 120px;
}

.about-text img {
    width: 240px;
    height: auto;
    margin-bottom: 32px;
}

.about-text p {
    color: var(--color-ink);
    font-size: 19px;
    font-weight: 300;
    line-height: 1.8;
}

.about-cta {
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/about_btm_bg.svg') no-repeat right;
    background-size: auto 100%;
    opacity: 0.5;
}

.about-cta-inner {
    width: 1000px;
    height: 280px;
    margin: 0 auto;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact {
    padding-top: calc(var(--header-h) + 50px);
    background: var(--color-paper);
    position: relative;
    overflow: hidden;
}

.contact-hero {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 5;
}

.contact-hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--color-ink);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 8px;
    font-family: var(--font-display);
    position: relative;
    display: inline-block;
}

.contact-hero-title::after {
    content: '';
    position: absolute;
    right: -32px;
    top: 8px;
    width: 24px;
    height: 24px;
    border: 6px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
}

.contact-hero-sub {
    font-size: 18px;
    color: var(--color-mist);
    letter-spacing: 6px;
    font-weight: 400;
}

.contact-bg-red {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    top: -100px;
    width: 32%;
    max-width: 500px;
    background: var(--color-primary);
}

.contact-main {
    position: relative;
    z-index: 3;
    width: var(--container);
    margin: 0 auto;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-title-img {
    width: auto;
    height: 99px;
    margin-bottom: 80px;
}

.contact-item {
    text-align: left;
    margin-bottom: 40px;
}

.contact-label {
    color: var(--color-mist);
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.contact-value {
    color: var(--color-ink);
    font-size: 20px;
    font-weight: 600;
}

.contact-value a {
    color: var(--color-ink);
    transition: color 0.3s var(--ease-out);
}

.contact-value a:hover {
    color: var(--color-primary);
}

.contact-tel {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.contact-tel .tel-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: 2px;
    font-family: var(--font-display);
}

.contact-tel .tel-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-top: 4px;
}

.contact-tel .tel-label {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 2px;
}

.contact-tel .tel-time {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: 1px;
}

.contact-pic {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    width: 70%;
    max-width: 900px;
    height: auto;
    opacity: 0.9;
}

/* ========================================
   DOWNLOAD PAGE
   ======================================== */

.download {
    padding-top: calc(var(--header-h) + 50px);
    background: var(--color-paper);
    position: relative;
}

.download-hero {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.download-hero img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 84px;
}

.download-main {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0;
}

.download-left {
    flex: 0 0 460px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-title {
    width: auto;
    height: 120px;
    margin-bottom: 60px;
}

.download-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.download-right {
    flex: 1;
    padding-top: 40px;
    padding-left: 40px;
}

.download-right img {
    width: 100%;
    max-width: 680px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
}

.download-bottom {
    height: 360px;
    background: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    z-index: 1;
    margin-top: -280px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.download-bottom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/btm_down.svg') repeat-x 0 100%;
    background-size: auto 200px;
    opacity: 0.4;
}

/* ========================================
   RESPONSIVE — Tablet
   ======================================== */

@media screen and (max-width: 1200px) {
    body {
        min-width: 100%;
    }

    .header {
        padding: 0 30px;
        height: 70px;
    }

    :root {
        --header-h: 70px;
    }

    .nav a {
        margin-left: 48px;
        line-height: 70px;
    }

    .hero {
        height: calc(100vh - 70px);
        min-height: 500px;
    }

    .hero-brand {
        font-size: 64px;
        letter-spacing: 4px;
    }

    .hero-mascot {
        width: 440px;
        right: -30px;
    }

    .hero-inner {
        width: 100%;
        padding: 0 30px;
        box-sizing: border-box;
    }

    .category-grid {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .category-card {
        flex: 1 1 45%;
        height: 400px;
        min-width: 280px;
    }

    .promise {
        height: 400px;
    }

    .promise-title {
        font-size: 28px;
    }

    .stats {
        width: 100%;
        padding: 0 30px;
        box-sizing: border-box;
    }

    .about-main {
        width: 100%;
        flex-direction: column;
        padding: 0 30px 60px;
    }

    .about-visual {
        flex: none;
    }

    .about-visual img {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text {
        padding-left: 0;
        padding-top: 40px;
        text-align: center;
    }

    .about-text img {
        margin: 0 auto 24px;
    }

    .about-cta-inner {
        width: 100%;
        padding: 0 30px;
        font-size: 32px;
    }

    .contact-main {
        width: 100%;
        padding: 0 30px 100px;
        box-sizing: border-box;
    }

    .download-main {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 40px 30px;
    }

    .download-left {
        flex: none;
        align-items: center;
    }

    .download-right {
        padding-left: 0;
        padding-top: 40px;
    }

    .download-right img {
        max-width: 400px;
    }
}

/* ========================================
   RESPONSIVE — Mobile
   ======================================== */

@media screen and (max-width: 768px) {
    .header {
        padding: 0 20px;
        height: 56px;
    }

    :root {
        --header-h: 56px;
    }

    .logo img {
        height: 24px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        padding: 16px 0 24px;
        border-top: 1px solid var(--color-line);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        margin-left: 0;
        font-size: 15px;
        padding: 14px 24px;
        line-height: 1.5;
    }

    .nav a.active::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: 480px;
        padding: 60px 0;
    }

    .hero-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-brand {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .hero-btns {
        flex-direction: row;
        justify-content: center;
    }

    .btn-store {
        height: 44px;
        padding: 0 12px;
    }

    .btn-store .t2 {
        font-size: 14px;
    }

    .hero-right {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .categories {
        padding: 60px 0 80px;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .section-title .cn {
        font-size: 24px;
    }

    .category-grid {
        flex-direction: column;
        gap: 16px;
    }

    .category-card {
        height: 280px;
        min-width: 100%;
    }

    .category-card .content {
        padding: 32px 0 0 24px;
    }

    .promise {
        height: 320px;
    }

    .promise-title {
        font-size: 22px;
    }

    .promise p {
        font-size: 14px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 48px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-num {
        font-size: 28px;
    }

    .about {
        padding-top: 100px;
    }

    .about-hero img,
    .contact-hero img,
    .download-hero img {
        height: 50px;
    }

    .about-bg-shape {
        display: none;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-cta-inner {
        font-size: 24px;
        height: 180px;
    }

    .contact {
        padding-top: 100px;
    }

    .contact-hero {
        margin-bottom: 40px;
    }

    .contact-hero-title {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .contact-hero-title::after {
        right: -20px;
        top: 4px;
        width: 16px;
        height: 16px;
        border-width: 4px;
    }

    .contact-hero-sub {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .contact-title-img {
        height: 60px;
        margin-bottom: 40px;
    }

    .contact-value {
        font-size: 16px;
    }

    .contact-tel .tel-number {
        font-size: 32px;
    }

    .contact-tel .tel-label {
        font-size: 14px;
    }

    .contact-tel .tel-time {
        font-size: 13px;
    }

    .contact-bg-red {
        width: 50%;
    }

    .download {
        padding-top: 100px;
    }

    .download-title {
        height: 70px;
        margin-bottom: 32px;
    }

    .download-bottom {
        height: 200px;
        margin-top: -120px;
    }
}

@media print {
    .header, .nav-toggle, .hero-scroll {
        display: none;
    }
}
