:root {
    --blue: #0969f6;
    --blue-dark: #0648bd;
    --cyan: #14c8d4;
    --green: #18c878;
    --orange: #ff9b26;
    --ink: #101828;
    --muted: #667085;
    --line: #e6edf7;
    --soft: #f3f8ff;
    --white: #fff;
    --shadow: 0 18px 45px rgba(15, 82, 186, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 80%; max-width: 1280px; margin: 0 auto; }
.narrow { width: 80%; max-width: 900px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(230, 237, 247, .82);
    backdrop-filter: blur(14px);
}
.site-header .container { width: 80%; max-width: 1280px; }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1.05; min-width: 142px; }
.brand strong { font-size: 30px; letter-spacing: 0; color: var(--blue); }
.brand strong span { color: var(--ink); }
.brand small { margin-top: 6px; font-size: 13px; color: #222; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 30px; flex: 1; font-weight: 700; font-size: 15px; }
.main-nav a { position: relative; padding: 28px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--blue); }
.main-nav a.active::after, .main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19px;
    height: 3px;
    border-radius: 10px;
    background: var(--blue);
}
.nav-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 26px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta, .btn.primary { color: #fff; background: linear-gradient(135deg, #0b7cff, #0556d9); box-shadow: 0 10px 22px rgba(9, 105, 246, .24); }
.btn.secondary { background: #fff; color: var(--blue); border-color: var(--line); box-shadow: 0 10px 24px rgba(15, 82, 186, .08); }
.btn.light { background: #fff; color: var(--blue); }
.btn:hover, .nav-cta:hover { transform: translateY(-2px); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
    position: relative;
    overflow: hidden;
    background: #d31220;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: transparent;
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: center; min-height: 590px; padding: 42px 0 34px; }
.hero-banner-only {
    position: relative;
    z-index: 1;
    min-height: 500px;
    padding: 0;
    display: flex;
    align-items: center;
}
.badge { display: inline-flex; padding: 8px 18px; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #0873ff, #19bed5); font-weight: 800; }
.hero h1 { margin: 18px 0 4px; font-size: clamp(38px, 5vw, 68px); line-height: 1.04; }
.hero h1 span { color: var(--blue); letter-spacing: 0; }
.hero-lead { margin: 0 0 12px; font-size: 24px; font-weight: 900; }
.hero-desc { max-width: 620px; color: var(--muted); font-size: 17px; }
.check-list { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-weight: 650; }
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    font-size: 12px;
    display: grid;
    place-items: center;
}
.hero-actions { display: flex; gap: 18px; margin: 28px 0; flex-wrap: wrap; }
.hero-actions .btn { min-width: 150px; height: 52px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 620px; }
.hero-stats div { border-left: 3px solid var(--blue); padding-left: 10px; }
.hero-stats strong { display: block; font-size: 18px; }
.hero-stats span { color: var(--muted); font-size: 13px; }

.hero-visual { position: relative; min-height: 515px; }
.hero-banner-only .hero-visual { min-height: auto; }
.hero-banner-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-banner-track {
    position: relative;
    width: 100%;
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}
.hero-banner-only .hero-banner-track { min-height: 0; }
.hero-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.hero-banner-slide.active {
    position: relative;
    display: block;
    opacity: 1;
    pointer-events: auto;
}
.hero-banner-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.hero-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 38px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.hero-banner-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.78);
    color: #d71920;
    box-shadow: 0 12px 28px rgba(120, 0, 0, .16);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}
.hero-banner-btn.prev { left: -86px; }
.hero-banner-btn.next { right: -86px; }
.hero-banner-btn:hover { background: #fff; }
.hero-banner-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}
.hero-banner-dots button.active {
    width: 26px;
    background: #fff;
}
.float-icon { position: absolute; width: 58px; filter: drop-shadow(0 18px 22px rgba(24, 83, 165, .2)); }
.float-icon.icon-chat { padding: 10px; border-radius: 16px; background: linear-gradient(135deg, #21d4fd, #0969f6); }
.icon-chat { left: 12px; top: 134px; }
.icon-image { left: 0; top: 246px; }
.icon-play { left: 22px; top: 340px; }
.icon-cart { right: 96px; bottom: 70px; width: 72px; }

.section { padding: 62px 0; }
.section.soft { background: linear-gradient(180deg, #fff 0%, #f7fbff 100%); }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title h2 { margin: 0; font-size: 30px; line-height: 1.2; }
.section-title p { margin: 8px 0 0; color: var(--muted); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform-card, .feature-card, .article-card, .list-item, .admin-panel, .login-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(30, 89, 166, .07);
}
.platform-card { display: flex; align-items: center; gap: 16px; padding: 24px; }
.platform-card img, .feature-card img { width: 48px; height: 48px; flex: 0 0 48px; }
.feature-card img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border-radius: 12px;
    background: #eef6ff;
    object-fit: contain;
}
.platform-card h3, .feature-card h3 { margin: 0 0 4px; font-size: 17px; }
.platform-card p, .feature-card p, .article-card p, .list-item p { margin: 0; color: var(--muted); font-size: 14px; }
.store-row { margin-top: 26px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; text-align: center; }
.store-row span {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 14px 8px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.25;
}
.store-row img { width: 34px; height: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.feature-card { padding: 24px 20px; min-height: 162px; }

.growth-band { padding: 70px 0; background: linear-gradient(110deg, #f1f7ff 0%, #fff 52%, #eaf5ff 100%); overflow: hidden; }
.growth-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 38px; }
.growth-grid h2 { margin: 0 0 12px; font-size: 34px; line-height: 1.25; }
.growth-grid p { color: var(--muted); max-width: 480px; }
.compact { gap: 8px; }
.target-wrap { position: relative; min-height: 300px; }
.target {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 18%, var(--blue) 19% 29%, #dceeff 30% 48%, #fff 49% 58%, #cfe5ff 59%);
    box-shadow: var(--shadow);
}
.target::after {
    content: "";
    position: absolute;
    left: 54%;
    top: -18px;
    width: 18px;
    height: 170px;
    border-radius: 18px;
    background: linear-gradient(180deg, #79d9ff, var(--blue));
    transform: rotate(42deg);
    transform-origin: bottom;
}
.target-wrap span { position: absolute; padding: 14px 20px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 800; color: #315272; }
.target-wrap span:nth-child(2) { left: 64px; top: 18px; }
.target-wrap span:nth-child(3) { left: 22px; bottom: 48px; }
.target-wrap span:nth-child(4) { right: 36px; top: 52px; }
.target-wrap span:nth-child(5) { right: 94px; bottom: 34px; }

.screenshot-section {
    padding: 68px 0 72px;
    background: #fff;
    overflow: hidden;
}
.phone-carousel { position: relative; overflow: visible; }
.screenshot-section .phone-carousel { width: 85%; max-width: 1360px; }
.phone-viewport { overflow: hidden; }
.phone-scroll {
    display: flex;
    gap: 24px;
    align-items: center;
    overflow-x: auto;
    padding: 38px 0 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}
.phone-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.phone-scroll::-webkit-scrollbar { display: none; }
.phone-frame {
    flex: 0 0 calc((100% - 96px) / 5);
    max-width: none;
    margin: 0;
    scroll-snap-align: center;
    text-align: center;
}
.phone-shell {
    position: relative;
    overflow: visible;
    aspect-ratio: 547 / 1139;
    background: transparent;
    filter: drop-shadow(0 20px 32px rgba(12, 32, 68, .16));
}
.phone-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: url("/assets/images/phone-frame.png") center / 100% 100% no-repeat;
}
.phone-screen {
    position: absolute;
    inset: 1.8% 3.7% 1.6%;
    z-index: 1;
    overflow: hidden;
    border-radius: 8.4% / 4.1%;
    background: #fff;
}
.phone-speaker { display: none; }
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.phone-frame figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}
.phone-scroll-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--blue);
    box-shadow: var(--shadow);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}
.phone-scroll-btn.prev { left: -58px; }
.phone-scroll-btn.next { right: -58px; }
.phone-scroll-btn:hover { background: var(--blue); color: #fff; }

.plugin-section { background: linear-gradient(180deg, #fff 0%, #f7fbff 100%); }
.plugin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.plugin-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 132px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 68, 136, .07);
    color: inherit;
}
.plugin-card:hover { transform: translateY(-3px); border-color: rgba(18, 117, 255, .35); }
.plugin-card img {
    width: 78px;
    height: 78px;
    padding: 10px;
    border-radius: 18px;
    background: #eef6ff;
    object-fit: contain;
    flex: 0 0 78px;
}
.plugin-card h3 { margin: 4px 0 8px; font-size: 18px; }
.plugin-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.template-section { background: #fff; overflow: hidden; }
.template-carousel { position: relative; overflow: visible; width: 85%; max-width: 1360px; }
.template-viewport { overflow: hidden; }
.template-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 0 14px;
    scrollbar-width: none;
}
.template-scroll::-webkit-scrollbar { display: none; }
.template-card {
    flex: 0 0 calc((100% - 88px) / 5);
    min-width: 190px;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 68, 136, .07);
    color: inherit;
    overflow: hidden;
}
.template-card:hover { transform: translateY(-3px); border-color: rgba(18, 117, 255, .35); }
.template-phone {
    padding: 10px 10px 0;
    background: linear-gradient(180deg, #f8fbff, #fff);
}
.template-phone .phone-shell {
    width: 100%;
    aspect-ratio: 420 / 860;
    filter: none;
}
.template-phone .phone-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eef6ff;
}
.template-info { padding: 14px 14px 16px; }
.template-card h3 { margin: 0 0 6px; font-size: 16px; }
.template-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card a { display: block; padding: 24px; min-height: 190px; }
.article-card span, .list-item time, .page-hero span, .admin-title span { color: var(--blue); font-weight: 800; font-size: 13px; text-transform: uppercase; }
.article-card h3 { margin: 12px 0 10px; font-size: 20px; line-height: 1.35; }
.center-actions { margin-top: 28px; text-align: center; }
.license-band { padding: 46px 0; background: linear-gradient(135deg, #057bff, #004bcc); color: #fff; }
.license-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.license-inner h2 { margin: 0; font-size: 30px; }
.license-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; min-width: 520px; }
.license-points span { padding: 18px 14px; border-radius: 8px; background: rgba(255,255,255,.12); text-align: center; font-weight: 800; }

.page-hero { padding: 76px 0; background: linear-gradient(110deg, #0677ff, #0156d6); color: #fff; text-align: center; }
.page-hero h1 { margin: 8px 0; font-size: 42px; }
.page-hero span, .page-hero h1, .page-hero p { color: #fff; }
.page-hero p { margin: 0 auto; max-width: 650px; }
.article-list { display: grid; gap: 18px; }
.list-item a { display: grid; grid-template-columns: 120px 1fr 120px; align-items: center; gap: 20px; padding: 26px; }
.list-item h2 { margin: 0; font-size: 22px; }
.list-item span { color: var(--blue); font-weight: 800; text-align: right; }
.empty-state { padding: 50px; text-align: center; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }
.article-detail { padding: 54px 0 76px; }
.breadcrumb { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--blue); }
.article-detail header time { color: var(--blue); font-weight: 800; }
.article-detail h1 { margin: 10px 0; font-size: 40px; line-height: 1.22; }
.article-detail header p { color: var(--muted); font-size: 18px; }
.article-cover { width: 100%; border-radius: 8px; margin: 30px 0; }
.rich-content { font-size: 17px; color: #263445; }
.rich-content img { height: auto; border-radius: 8px; margin: 18px 0; }
.rich-content h2, .rich-content h3 { line-height: 1.28; margin-top: 32px; }
.rich-content a { color: var(--blue); text-decoration: underline; }

.site-footer { background: #08182f; color: #d7e4f5; padding: 48px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
.footer-brand strong span { color: #fff; }
.footer-brand small { color: #d7e4f5; }
.site-footer h3 { color: #fff; margin: 0 0 14px; }
.site-footer a { display: block; margin: 8px 0; color: #d7e4f5; }
.footer-button { display: inline-flex !important; padding: 9px 16px; border-radius: 8px; background: var(--blue); color: #fff !important; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #a9bdd8; }

.admin-login-page { min-height: 100vh; background: linear-gradient(135deg, #f1f7ff, #fff); }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 100%); padding: 34px; }
.login-card h1 { margin: 28px 0 18px; }
.login-card label, .article-form label { display: grid; gap: 8px; margin-bottom: 18px; font-weight: 800; }
input, textarea, select {
    width: 100%;
    border: 1px solid #d7e2f0;
    border-radius: 8px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}
textarea { resize: vertical; }
.alert { padding: 12px 14px; border-radius: 8px; background: #fff1f0; color: #b42318; margin-bottom: 16px; }
.success { padding: 12px 14px; border-radius: 8px; background: #ecfdf3; color: #067647; margin-bottom: 16px; font-weight: 800; }
.admin-page { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #f6f9fd; }
.admin-sidebar { padding: 28px 22px; background: #fff; border-right: 1px solid var(--line); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; }
.admin-sidebar nav { display: grid; gap: 8px; margin-top: 34px; }
.admin-sidebar nav a { padding: 12px 14px; border-radius: 8px; font-weight: 800; color: var(--muted); }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { color: var(--blue); background: #eef6ff; }
.admin-main { padding: 34px; min-width: 0; }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-title h1 { margin: 2px 0 0; }
.admin-panel { padding: 24px; }
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
}
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.admin-table th, .admin-table td { text-align: left; padding: 15px; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--muted); font-size: 13px; }
.status { display: inline-flex; padding: 4px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; background: #f2f4f7; color: #475467; }
.status.published { background: #ecfdf3; color: #067647; }
.actions { display: flex; align-items: center; gap: 12px; }
.actions a { color: var(--blue); font-weight: 800; }
.actions form { margin: 0; }
.actions button { border: 0; background: transparent; color: #b42318; font: inherit; font-weight: 800; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ueditor-fallback { min-height: 360px; }
.admin-thumb {
    width: 58px;
    height: 78px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #f8fbff;
}
.admin-banner-thumb {
    width: 140px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #f8fbff;
}
.form-preview-icon {
    width: 70px;
    height: 70px;
    padding: 10px;
    margin: -6px 0 18px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
}
.phone-thumb { border-radius: 14px; }
.screenshot-preview {
    width: 180px;
    max-width: 100%;
    padding: 8px;
    margin: 4px 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.screenshot-preview img {
    width: 100%;
    border-radius: 6px;
}
.banner-preview {
    width: min(520px, 100%);
    padding: 8px;
    margin: 4px 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.banner-preview img {
    width: 100%;
    border-radius: 6px;
}
.pagination {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.pagination a {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}
.pagination a.active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}
.pagination a.disabled {
    pointer-events: none;
    opacity: .45;
}
.form-footer { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.inline-radio { display: inline-flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 7px !important; margin: 0 !important; }
.inline-radio input { width: auto; }

@media (max-width: 980px) {
    .nav-wrap { min-height: 68px; justify-content: space-between; }
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        padding: 14px;
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 12px; }
    .main-nav a::after { display: none; }
    .nav-cta { display: none; }
    .hero-grid, .growth-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 360px; }
    .hero-banner-only .hero-visual { min-height: auto; }
    .hero-banner-only .hero-banner-track { min-height: 260px; }
    .platform-grid, .feature-grid, .article-grid, .plugin-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .store-row { grid-template-columns: repeat(4, 1fr); }
    .license-inner { display: grid; }
    .license-points { min-width: 0; grid-template-columns: repeat(2, 1fr); }
    .phone-scroll { padding-left: 0; padding-right: 0; }
    .phone-frame { flex-basis: 190px; }
    .phone-scroll-btn.prev { left: -16px; }
    .phone-scroll-btn.next { right: -16px; }
    .template-card { flex-basis: calc((100% - 44px) / 3); }
    .list-item a { grid-template-columns: 1fr; }
    .list-item span { text-align: left; }
    .admin-page { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .admin-sidebar nav { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
}

@media (max-width: 640px) {
    .container, .narrow { width: calc(100% - 24px); max-width: none; }
    .brand strong { font-size: 24px; }
    .hero-grid { min-height: auto; padding-top: 28px; }
    .hero-banner-only { min-height: 420px; padding: 0; }
    .hero h1 { font-size: 40px; }
    .hero-lead { font-size: 20px; }
    .hero-stats, .platform-grid, .feature-grid, .article-grid, .plugin-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 220px; width: 100%; }
    .hero-banner-track { min-height: 190px; }
    .store-row { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 44px 0; }
    .screenshot-section { padding: 48px 0 52px; }
    .phone-scroll { padding: 24px 12px 18px; gap: 16px; }
    .phone-frame { flex-basis: 58vw; }
    .template-carousel { width: calc(100% - 24px); }
    .template-scroll { gap: 16px; }
    .template-card { flex-basis: 68vw; min-width: 210px; }
    .phone-scroll-btn { display: none; }
    .section-title h2, .growth-grid h2, .license-inner h2 { font-size: 26px; }
    .target-wrap { transform: scale(.82); transform-origin: center; }
    .license-points { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .page-hero { padding: 54px 0; }
    .page-hero h1, .article-detail h1 { font-size: 32px; }
    .admin-main { padding: 18px; }
    .admin-sidebar nav { grid-template-columns: 1fr 1fr; }
    .admin-title { align-items: flex-start; flex-direction: column; }
}
