/* ========== CSS Variables & Reset ========== */
:root {
    --bg-dark: #1a1f3a;
    --bg-section: #1e2445;
    --bg-card: #252b50;
    --bg-card-hover: #2d3460;
    --primary: #5B7FFF;
    --primary-light: #7B9AFF;
    --secondary: #4A9EF7;
    --accent-orange: #FF8C42;
    --accent-green: #4ADE80;
    --accent-blue: #42A5F5;
    --accent-red: #FF6B6B;
    --text-white: #FFFFFF;
    --text-gray: #B0B8D0;
    --text-dark: #1A1A2E;
    --border-color: rgba(91, 127, 255, 0.18);
    --gradient-primary: linear-gradient(135deg, #5B7FFF, #4A9EF7);
    --gradient-warm: linear-gradient(135deg, #FF8C42, #FF6B6B);
    --gradient-hero: linear-gradient(135deg, #FF6B9D, #5B7FFF);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(91, 127, 255, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --nav-height: 72px;
    --container-max: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(ellipse at 20% 0%, rgba(91, 127, 255, 0.08) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 100%, rgba(74, 158, 247, 0.06) 0%, transparent 50%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(26, 31, 58, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(91, 127, 255, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 31, 58, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon svg {
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    padding: 8px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    background: var(--gradient-primary);
    transition: var(--transition);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(123, 97, 255, 0.4);
}

.btn-register {
    padding: 8px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    transition: var(--transition);
}

.btn-register:hover {
    background: rgba(123, 97, 255, 0.1);
    transform: translateY(-1px);
}

.nav-auth-mobile { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 24px 40px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(91, 127, 255, 0.1) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(74, 158, 247, 0.06) 0%, transparent 60%),
                var(--bg-dark);
}

.hero-container {
    max-width: var(--container-max);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #A0A0FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-gray);
    opacity: 0.8;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    background: var(--gradient-hero);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(123, 97, 255, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 97, 255, 0.5);
}

.btn-download.large {
    padding: 18px 48px;
    font-size: 1.15rem;
}

.btn-learn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    transition: var(--transition);
}

.btn-learn:hover {
    background: rgba(123, 97, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 4px;
}

/* TV Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tv-frame {
    width: 100%;
    max-width: 520px;
    position: relative;
}

.tv-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #1a1a3e, #0d0d2b);
    border-radius: 12px;
    border: 3px solid #2a2a4a;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(123, 97, 255, 0.1);
}

.tv-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.tv-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
}

.tv-logo {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-white);
    opacity: 0.9;
}

.tv-icons {
    display: flex;
    gap: 8px;
    font-size: 0.7rem;
    opacity: 0.7;
}

.tv-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.tv-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.tv-date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.tv-weather {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.tv-apps {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    justify-content: center;
}

.tv-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    min-width: 50px;
}

.tv-app-item.add-app {
    background: rgba(255, 255, 255, 0.05);
}

.tv-app-item.market,
.tv-app-item.all-apps {
    background: rgba(123, 97, 255, 0.3);
}

.plus {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.app-icon {
    font-size: 1rem;
}

.app-label {
    font-size: 0.5rem;
    color: var(--text-gray);
    white-space: nowrap;
}

.tv-stand {
    width: 40%;
    height: 12px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #2a2a4a, #1a1a3e);
    border-radius: 0 0 8px 8px;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.8rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-gray);
    border-bottom: 2px solid var(--text-gray);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== Sections Common ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-tag.orange {
    background: rgba(255, 140, 66, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.section-tag.green {
    background: rgba(74, 222, 128, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.section-tag.blue {
    background: rgba(66, 165, 245, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(66, 165, 245, 0.3);
}

.section-tag.purple {
    background: rgba(123, 97, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(123, 97, 255, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.highlight-green {
    color: var(--accent-green);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Visual Config Section ========== */
.section-visual {
    background: var(--bg-section);
}

.visual-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.backend-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: stretch;
}

.backend-frame {
    align-self: center;
    background: #eef2ff;
    border: 1px solid rgba(123, 154, 255, 0.35);
    box-shadow: 0 22px 56px rgba(7, 12, 37, 0.35), 0 0 0 8px rgba(91, 127, 255, 0.05);
}

.backend-frame-bar {
    height: 52px;
    padding: 0 18px;
    background: linear-gradient(100deg, #f8faff, #e5ebff);
    color: #27345e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(91, 127, 255, 0.16);
    font-size: 0.82rem;
    font-weight: 600;
}

.frame-brand,
.frame-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.frame-mark {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--gradient-primary);
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 800;
}

.frame-status {
    color: #278357;
    font-size: 0.75rem;
}

.frame-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39c77a;
    box-shadow: 0 0 0 4px rgba(57, 199, 122, 0.14);
}

.backend-frame > img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
}

.backend-info {
    display: flex;
    flex-direction: column;
    padding: 36px;
    background: linear-gradient(150deg, rgba(48, 58, 105, 0.96), rgba(32, 39, 76, 0.96));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: var(--radius-xl);
    color: #9eb4ff;
    background: rgba(123, 154, 255, 0.13);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.backend-info h3 {
    margin-top: 16px;
    font-size: 1.9rem;
    line-height: 1.35;
}

.backend-info > p {
    margin-top: 12px;
    color: var(--text-gray);
    font-size: 0.94rem;
    line-height: 1.8;
}

.backend-capabilities {
    display: grid;
    gap: 4px;
    margin-top: 22px;
}

.backend-capability {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(176, 184, 208, 0.12);
}

.backend-capability:last-child {
    border-bottom: 0;
}

.capability-num {
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.backend-capability strong,
.backend-capability small {
    display: block;
}

.backend-capability strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.backend-capability small {
    margin-top: 2px;
    color: var(--text-gray);
    font-size: 0.78rem;
}

.backend-previews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}

.backend-previews img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(176, 184, 208, 0.15);
}

.device-mockup {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.device-screen {
    background: #1a1a2e;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid #2a2a4a;
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: #111128;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mockup-content {
    display: flex;
    min-height: 200px;
}

.mockup-content.simple {
    padding: 16px;
    min-height: 160px;
}

.mockup-sidebar {
    width: 50px;
    background: #111128;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    height: 6px;
    background: #2a2a4a;
    border-radius: 3px;
}

.sidebar-item.active {
    background: var(--primary);
}

.mockup-main {
    flex: 1;
    padding: 12px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mock-tile {
    aspect-ratio: 4/3;
    border-radius: 6px;
    transition: var(--transition);
}

.mock-tile:hover {
    opacity: 0.8;
}

.mock-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mock-sm-tile {
    aspect-ratio: 4/3;
    background: #2a2a4a;
    border-radius: 6px;
}

/* ========== Themes Section ========== */
.section-themes {
    background: var(--bg-dark);
}

.theme-bento {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(185px, 1fr));
    gap: 16px;
}

.theme-card {
    position: relative;
    isolation: isolate;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: var(--transition);
}

.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(123, 154, 255, 0.8);
}

.theme-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.theme-card:hover > img {
    transform: scale(1.045);
}

.theme-feature-card {
    grid-row: span 2;
    min-height: 386px;
}

.theme-side-card {
    min-height: 185px;
}

.theme-cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(13, 18, 47, 0.62) 0%, rgba(13, 18, 47, 0.16) 62%, rgba(13, 18, 47, 0.04) 100%), linear-gradient(0deg, rgba(13, 18, 47, 0.68) 0%, transparent 58%);
}

.theme-side-card .theme-cover {
    background: linear-gradient(90deg, rgba(13, 18, 47, 0.55), rgba(13, 18, 47, 0.08)), linear-gradient(0deg, rgba(13, 18, 47, 0.74), transparent 66%);
}

.theme-card-copy {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 26px;
    left: 28px;
}

.theme-card-copy > span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
}

.theme-card-copy h3 {
    font-size: 1.55rem;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.theme-card-copy p {
    max-width: 350px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.7;
}

.theme-side-card .theme-card-copy {
    right: 22px;
    bottom: 20px;
    left: 22px;
}

.theme-side-card .theme-card-copy h3 {
    font-size: 1.2rem;
}

.theme-strip {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(37, 43, 80, 0.62);
}

.theme-strip-title {
    flex: 0 0 148px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.theme-strip-title strong {
    font-size: 0.95rem;
}

.theme-strip-title span {
    color: var(--text-gray);
    font-size: 0.76rem;
}

.theme-thumbnails {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.theme-thumbnails img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(176, 184, 208, 0.12);
    opacity: 0.78;
    transition: var(--transition);
}

.theme-thumbnails img:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

.theme-preview {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.theme-tile {
    aspect-ratio: 1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.theme-tile:hover {
    transform: scale(1.05);
}

.theme-tile label {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.theme-info {
    padding: 20px;
}

.theme-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.theme-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ========== Tools Section ========== */
.section-tools {
    background: var(--bg-section);
}

/* 首页 ADB 教程引导横幅 */
.guide-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(91, 127, 255, 0.16), rgba(74, 158, 247, 0.07));
    border: 1px solid rgba(123, 154, 255, 0.28);
    transition: var(--transition);
}

.guide-banner:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.guide-banner-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.guide-banner-copy {
    flex: 1;
    min-width: 0;
}

.guide-banner-copy strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.guide-banner-copy > span {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.6;
}

.guide-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    background: var(--gradient-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.guide-banner:hover .guide-banner-btn {
    box-shadow: 0 4px 16px rgba(91, 127, 255, 0.35);
}


.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tool-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== Highlights Section ========== */
.section-highlights {
    background: var(--bg-dark);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-green);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.highlight-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== Learning Section ========== */
.section-learning {
    background: var(--bg-section);
}

.learning-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.learning-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.learning-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.feature-dot.blue {
    background: var(--accent-blue);
}

.learning-features h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.learning-features p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.learning-visual {
    display: flex;
    justify-content: center;
}

.learning-tablet {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(91, 127, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.learning-tablet .theme-real-img img {
    aspect-ratio: 16/9;
}

/* ========== Member Section ========== */
.section-member {
    background: var(--bg-dark);
}

.member-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.member-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.member-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ========== Server Section ========== */
.section-server {
    background: radial-gradient(ellipse at 85% 15%, rgba(74, 222, 128, 0.05) 0%, transparent 55%), var(--bg-section);
}

.server-lead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(91, 127, 255, 0.16), rgba(74, 158, 247, 0.08));
    border: 1px solid rgba(123, 154, 255, 0.28);
}

.server-lead-copy strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.server-lead-copy p {
    margin-top: 6px;
    color: var(--text-gray);
    font-size: 0.92rem;
    max-width: 560px;
}

.server-lead-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    background: var(--gradient-primary);
    white-space: nowrap;
    transition: var(--transition);
}

.server-lead-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 127, 255, 0.35);
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.server-card {
    grid-column: span 2;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.server-card-wide {
    grid-column: span 3;
}

.server-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.server-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.server-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.server-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== System Section ========== */
.section-system {
    background: var(--bg-section);
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.system-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.system-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.system-icon {
    margin-bottom: 20px;
}

.system-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.system-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== Device Compatibility ========== */
.section-devices {
    background: var(--bg-dark);
}

.device-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.device-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.device-item:hover .device-icon-large {
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.device-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.device-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ========== About Section ========== */
.section-about {
    background: var(--bg-section);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-intro {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.about-stats-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-stat {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-stat:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.about-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ========== Contact Section ========== */
/* Style moved to real image styles section above */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-placeholder span {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.qr-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.contact-card:hover .qr-image {
    transform: translateY(-2px);
    border-color: var(--primary);
}

@media (max-width: 480px) {
    .qr-image { width: 128px; height: 128px; }
}

.contact-card > p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ========== CTA Section ========== */
.section-cta {
    background: var(--bg-dark);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 32px;
}

/* ========== Footer ========== */
.footer {
    background: #0e1228;
    border-top: 1px solid rgba(91, 127, 255, 0.08);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-white);
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.6;
}

.footer-icp {
    margin-top: 6px;
}

.footer-icp a {
    color: var(--text-gray);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-icp a:hover {
    color: var(--primary-light);
    opacity: 1;
}

/* ========== Real Image Styles ========== */
.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.footer .logo-img {
    width: 32px;
    height: 32px;
}

.hero-tv-real {
    width: 100%;
    max-width: 560px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(91, 127, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(91, 127, 255, 0.08);
}

.hero-tv-real img {
    width: 100%;
    display: block;
}

.backend-real {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(91, 127, 255, 0.15);
    box-shadow: var(--shadow-card);
}

.backend-real img {
    width: 100%;
    display: block;
}

.theme-real-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.theme-real-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.theme-real-img:hover img {
    transform: scale(1.03);
}

.theme-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 0 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.theme-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.theme-scroll-container::-webkit-scrollbar-track {
    background: rgba(91, 127, 255, 0.08);
    border-radius: 3px;
}

.theme-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.theme-scroll-item {
    min-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: var(--transition);
}

.theme-scroll-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.theme-scroll-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.theme-scroll-item .theme-scroll-label {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
}

.platform-real {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.platform-real img {
    width: 100%;
    display: block;
}

.platform-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.member-stat-real {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.member-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.member-stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.member-stat-card .stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-light);
    display: block;
}

.member-stat-card .stat-val.green {
    color: var(--accent-green);
}

.member-stat-card .stat-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 6px;
}

.section-contact {
    background: linear-gradient(135deg, #1a1f45 0%, #162040 100%);
}

@media (max-width: 768px) {
    .theme-scroll-item { min-width: 280px; }
    .platform-gallery { grid-template-columns: 1fr; }
    .member-stat-real { grid-template-columns: repeat(2, 1fr); }
    .member-stat-card .stat-val { font-size: 1.3rem; }
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(123, 97, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.6);
}

/* ========== Animations ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive - Tablet ========== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content { order: 1; }
    .hero-visual { order: 2; }

    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-badge { margin: 0 auto 20px; }

    .hero-title { font-size: 2.8rem; }

    .backend-showcase {
        grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.85fr);
        gap: 22px;
    }

    .backend-info {
        padding: 28px;
    }

    .backend-info h3 {
        font-size: 1.6rem;
    }

    .theme-feature-card {
        min-height: 350px;
    }

    .server-lead {
        flex-wrap: wrap;
        padding: 24px 26px;
    }

    .server-card { padding: 26px 20px; }
    .server-icon { width: 50px; height: 50px; margin-bottom: 14px; }

    .guide-banner {
        flex-wrap: wrap;
        gap: 16px;
        padding: 22px 24px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .learning-content {
        text-align: center;
    }

    .learning-content .section-title,
    .learning-content .section-subtitle {
        text-align: center !important;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title { font-size: 2rem; }
}

/* ========== Responsive - Mobile ========== */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 31, 58, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-auth { display: none; }

    .nav-auth-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .btn-login-mobile {
        padding: 12px 40px;
        border-radius: var(--radius-xl);
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-white);
        background: var(--gradient-primary);
        text-align: center;
    }

    .btn-register-mobile {
        padding: 12px 40px;
        border-radius: var(--radius-xl);
        font-size: 1rem;
        font-weight: 500;
        color: var(--primary);
        border: 1.5px solid var(--primary);
        text-align: center;
    }

    .nav-toggle { display: flex; }

    .hero {
        padding-top: calc(var(--nav-height) + 20px);
        min-height: auto;
    }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-download, .btn-learn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-scroll-indicator { display: none; }

    .tv-frame { max-width: 340px; }
    .tv-time { font-size: 1.8rem; }

    .section { padding: 60px 0; }
    .section-title { font-size: 1.75rem; }
    .section-header { margin-bottom: 40px; }

    .backend-showcase {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .backend-info {
        padding: 24px;
    }

    .backend-frame-bar {
        height: 46px;
        padding: 0 14px;
    }

    .backend-frame > img {
        aspect-ratio: 16 / 10;
    }

    .theme-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .theme-feature-card,
    .theme-side-card {
        grid-row: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .theme-feature-card {
        aspect-ratio: 16 / 10;
    }

    .theme-card-copy {
        right: 22px;
        bottom: 20px;
        left: 22px;
    }

    .theme-card-copy h3 {
        font-size: 1.3rem;
    }

    .theme-card-copy p {
        display: none;
    }

    .theme-strip {
        display: block;
        margin-top: 12px;
        padding: 16px;
    }

    .theme-strip-title {
        margin-bottom: 12px;
    }

    .theme-thumbnails {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 3px;
        -webkit-overflow-scrolling: touch;
    }

    .theme-thumbnails img {
        flex: 0 0 136px;
    }

    .tools-grid { grid-template-columns: 1fr; }
    .highlights-grid { grid-template-columns: 1fr; }
    .system-grid { grid-template-columns: 1fr; }
    .member-cards { grid-template-columns: 1fr; }
    .device-showcase { grid-template-columns: 1fr; gap: 24px; }
    .contact-cards { grid-template-columns: 1fr; }

    .server-lead {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 24px;
    }

    .server-lead-copy strong { font-size: 1.1rem; }

    .server-lead-btn {
        width: 100%;
        justify-content: center;
    }

    .guide-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 22px;
        margin-top: 36px;
    }

    .guide-banner-copy strong { font-size: 1.05rem; }

    .guide-banner-btn {
        width: 100%;
        justify-content: center;
    }

    .server-grid { grid-template-columns: 1fr; gap: 14px; }

    .server-card,
    .server-card-wide {
        grid-column: 1 / -1;
        padding: 24px 20px;
    }

    .about-stats-panel { grid-template-columns: repeat(2, 1fr); }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-content h2 { font-size: 1.6rem; }

    .btn-download.large {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .stat-num { font-size: 1.2rem; }
    .hero-stats { gap: 16px; }

    .backend-info h3 { font-size: 1.4rem; }
    .backend-capability { gap: 8px; }
    .backend-capability small { font-size: 0.74rem; }
    .frame-brand { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
    .frame-status { font-size: 0; gap: 0; }

    .theme-card-copy > span { margin-bottom: 5px; }
    .theme-card-copy h3,
    .theme-side-card .theme-card-copy h3 { font-size: 1.1rem; }
    .theme-thumbnails img { flex-basis: 118px; }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats-panel { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about-stat { padding: 20px 12px; }
    .about-stat-num { font-size: 1.4rem; }
}
