:root {
    --primary-blue: #3b82f6;
    --primary-cyan: #06b6d4;
    --primary-indigo: #6366f1;
    --accent-blue: #0ea5e9;
    --light-blue: #dbeafe;
    --lighter-blue: #eff6ff;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gradient-1: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    --gradient-2: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-blue) 50%, var(--primary-cyan) 100%);
    --gradient-3: linear-gradient(180deg, var(--lighter-blue) 0%, var(--white) 100%);
    --gradient-hero: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #ffffff 100%);
    --shadow-sm: 0 1px 2px rgba(59, 130, 246, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(59, 130, 246, 0.1), 0 10px 10px -5px rgba(59, 130, 246, 0.04);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', Malgun Gothic, Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition-base);
	padding:15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 2s ease-in-out infinite;
}

.logo-icon img {
	width:100%;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0,170,255,0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(111,205,252,0.6)); }
}

.logo-text {
    font-weight: bold;
    font-size: 24px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    position: relative;
}

.nav-link {
    padding: 10px 18px;
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 17px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: var(--lighter-blue);
}

.nav-link.active {
    color: var(--primary-blue);
}

.nav-links .active {
	background: var(--lighter-blue);
}

.nav-cta {
    background: var(--gradient-1);
    color: var(--white) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--gradient-2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
    transition: var(--transition-base);
    opacity: 0;
}

.nav-link.active ~ .nav-indicator,
.nav-links:hover .nav-indicator {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-600);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger-line:nth-child(2) {
    margin: 6px 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.lang-selector {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 6px;
	background: #eff6ff;
}
.lang-toggle:hover {
	background:#dbeafe;
}

.lang-icon {
	display: flex;
    width: 18px;
    height: 18px;
	justify-content: center;
	align-items: center;
}
.lang-icon img {
	width:90%;
}

.lang-arrow {
    transition: var(--transition-base);
	width: 9px;  
    height: 9px;  
    border-style: solid;  
    border-width: 1px 1px 0 0;  
    border-color: #ababab;  
    -webkit-transform-origin: 75% 25%;  
    -webkit-transform: rotateZ(45deg);  
    -webkit-transition: 100ms ease-in .1s;  
    transition: 100ms ease-in .1s;
	margin-top: 5px;
}

.lang-selector.open .lang-arrow {
    transform: rotate(135deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    list-style: none;
    min-width: 140px;
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    z-index: 100;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition-base);
}

.lang-dropdown li:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lang-dropdown li:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.lang-dropdown li:hover {
    background: var(--lighter-blue);
    color: var(--primary-blue);
}

.lang-dropdown li.active {
    color: var(--primary-blue);
    background: var(--lighter-blue);
    font-weight: 500;
}

.nav-right {
	display:flex;
	justify-content: center;
	align-items: center;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content:space-between;
    gap: 80px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 520px;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--light-blue);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 36px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-highlight {
    position: relative;
    overflow: visible;
    animation: highlightPulse 2s infinite;
}

.btn-highlight::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-1);
    border-radius: calc(var(--radius-lg) + 3px);
    z-index: -1;
    opacity: 0.5;
    animation: glowPulse 2s infinite;
}

@keyframes highlightPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--lighter-blue);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-visual {
    flex-shrink: 0;
}

.photo-showcase {
    display: flex;
    align-items: center;
    gap: 24px;
}
.photo-showcase img {
	width:100%;
	border-radius: 20px;
}

.photo-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.photo-inner {
    width: 140px;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.photo-placeholder.before {
    background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%);
}

.photo-placeholder.after {
    background: #438edb;
}

.person-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 140px;
    background: linear-gradient(180deg, #64748b 0%, #475569 100%);
    border-radius: 40px 40px 0 0;
}

.photo-placeholder.after .person-silhouette {
    background: linear-gradient(180deg, #475569 0%, #334155 100%);
}

.photo-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.photo-arrow {
    width: 48px;
    height: 24px;
}

.section {
    padding: 100px 24px;
    position: relative;
}

.section-size {
	background:url(../images/bg_a.jpg) no-repeat center right;
	background-size: auto 100%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 24px;
    background: var(--lighter-blue);
    color: var(--primary-blue);
    font-size: 16px;
    font-weight:100;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
}

.section-bg {
    background: var(--gradient-3);
}

.background-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.color-selector-wrapper {
    display: flex;
    justify-content: center;
	width:100%;
}

.demo-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 40px;
	width:100%;
	justify-content: space-around;
}

.demo-header {
    margin-bottom: 0;
}

.demo-title {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 20px;
    display: block;
    margin-bottom: 16px;
}

.color-palette {
    display: flex;
    gap: 20px;
}

.color-option {
    width: 86px;
    height: 86px;
    border-radius: var(--radius-md);
    background: var(--color);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
	box-shadow: 0 0 6px rgba(0,0,0,.2);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.color-option.custom {
    background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
}

.color-name {
    font-size: 14px;
    color: var(--gray-600);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 10px;
    border-radius: 5px;
}

.demo-preview {
    display: flex;
    justify-content: center;
}

.preview-frame {
    width: 300px;
    height: 300px;
    background: #438edb;
    border-radius:30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}
.preview-frame img {
	width:100%;
}

.preview-person {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 120px;
    background: linear-gradient(180deg, #475569 0%, #334155 100%);
    border-radius: 35px 35px 0 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.feature-card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-blue);
}

.feature-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--lighter-blue);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-icon img {
    width: 70%;
}

.feature-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.feature-card-desc {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
}

.retouch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.retouch-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.retouch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-blue);
}

.card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

.card-icon img {
    width: 90%;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
}
.card_vs {
	width:100%;
}
.card_vs img {
	width:100%;
	border-radius: 20px;
}

.card-slider {
    margin-top: 16px;
	display: none;
}

.slider-label {
    font-size: 15px;
    color: var(--gray-400);
    display: block;
    margin-bottom: 8px;
}

.slider-track {
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    position: relative;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill);
    background: var(--gradient-1);
    border-radius: 3px;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    left: var(--pos);
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.size-tabs-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.size-tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 16px;
	justify-content: center;
	align-items: center;
}

.size-tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
}

.size-tab-btn:hover {
    color: var(--primary-blue);
    background: var(--lighter-blue);
}

.size-tab-btn.active {
    background: var(--gradient-1);
    color: var(--white);
}

.size-tabs-content {
    min-height: 280px;
}

.size-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.size-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.size-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.size-card:hover {
    background: var(--lighter-blue);
    border-color: var(--light-blue);
}

.size-card.active {
    background: var(--lighter-blue);
    border-color: var(--primary-blue);
}

.size-card-preview {
    width: 100px;
    height: 136px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
	overflow: hidden;
}

.size-card-preview span {
    width:100%;
	height:100%;
}
.size-card-preview span img {
	width:100%;
	border-radius: 20px;
}

.size-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.size-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
}

.size-card-dimension {
    font-size: 16px;
    color: var(--gray-400);
}

.custom-panel {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 240px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-btn {
    padding: 14px 24px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    margin-top: 8px;
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.custom-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-frame {
    width: 300px;
    height: 350px;
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.custom-label {
    font-size: 16px;
    color: var(--gray-400);
}

.custom-photo {
    width: 100px;
    height: 120px;
    background: var(--gradient-1);
    border-radius: 10px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.custom-photo img {
	width:100%;
}

.custom-dimension {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-600);
}

.editor-flow {
    display: flex;
    align-items: center;
    justify-content:space-between;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding: 10px 0;
}

.flow-item {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    width: 240px;
    transition: var(--transition-base);
	box-shadow:0 0 10px rgba(0,0,0,.06);
}

.flow-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-blue);
}

.flow-number {
    font-size: 20px;
    font-weight: 100;
    color: var(--primary-cyan);
    margin-bottom: 12px;
}

.flow-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 16px;
    background: var(--lighter-blue);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-icon img {
    width: 66%;
}

.flow-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.flow-desc {
    font-size: 16px;
    color: var(--gray-400);
}

.flow-connector {
    width: 60px;
    height: 60px;
}

.flow-connector img {
    width: 100%;
}

.editor-features {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.editor-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrap img {
    width: 70%;
}

.editor-feature span {
    font-weight: 500;
    color: var(--gray-700);
	font-size:18px;
}

.section-download {
    background: var(--gradient-2);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.section-download .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-download .section-title {
    color: var(--white);
}

.section-download .section-desc {
    color: rgba(255, 255, 255, 0.8);
	margin-bottom: 30px;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-info {
    max-width: 480px;
}

.download-buttons {
	display: flex;
	flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition-base);
	justify-content: space-between;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.btn-left {
	display:flex;
	gap:20px;
}

.btn-down {
	width:56px;
	height:56px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.btn-down img {
	width:70%;
}

.btn-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon img {
    width: 100%;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
}

.btn-platform {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

.download-qr {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 8px;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--gray-800) 50%, transparent 50%),
        linear-gradient(var(--gray-800) 50%, transparent 50%);
    background-size: 10px 10px;
    border-radius: 4px;
}

.qr-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.download-visual {
	width:660px;
    display: flex;
    justify-content: center;
	align-items: center;
}

.device-mockup {
    width: 660px;
}
.device-mockup img {
	width:100%;
	border-radius: 20px;
}

.device-frame {
    width: 280px;
    height: 560px;
    background: var(--gray-800);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    transform: rotateY(-10deg);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
}

.screen-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: var(--gradient-1);
}

.app-logo {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--primary-blue);
}

.app-name {
    font-weight: 600;
    color: var(--white);
    font-size: 16px;
}

.app-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.preview-photo {
    width: 120px;
    height: 160px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.app-toolbar {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.tool-item {
    width: 40px;
    height: 40px;
    background: var(--gray-200);
    border-radius: var(--radius-md);
}

.tool-item.active {
    background: var(--gradient-1);
}

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 24px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    color: var(--primary-blue);
}

.footer-brand .logo-text {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.link-group a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition-base);
}

.link-group a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 13px;
}

.footer-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lang-label {
    color: var(--gray-500);
    font-size: 13px;
}

.lang-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.lang-item {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.lang-item:hover {
    color: var(--white);
    background: var(--gray-800);
}

.lang-item.active {
    color: var(--white);
    background: var(--primary-blue);
}

.footer-copyright {
    display: block;
    color: var(--gray-500);
}

.section-languages {
    background: var(--gradient-3);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.language-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    cursor: pointer;
}

.language-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.language-card.more {
    background: var(--lighter-blue);
    border-style: dashed;
}

.language-card.more:hover {
    background: var(--light-blue);
}

.lang-flag {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1;
	font-weight: 100;
}

.lang-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.lang-region {
    font-size: 14px;
    color: var(--gray-400);
}

.show-more-languages {
    display: none;
}

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top img {
	width:70%;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 48px;
    }

    .hero-visual {
        display: block;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .background-content {
        gap: 32px;
    }

    .demo-card {
        flex-direction: column;
        gap: 24px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .retouch-grid {
        grid-template-columns: 1fr;
    }

    .panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-panel {
        flex-direction: column;
        gap: 32px;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-info {
        max-width: 100%;
    }

    .download-buttons {
        max-width: 400px;
        margin: 0 auto 32px;
    }

    .download-qr {
        justify-content: center;
    }

    .download-visual {
        margin-top: 40px;
    }

    .languages-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {
	.navbar {
		padding:15px 20px;
	}
    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(100vh - 40px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 20px 20px 40px 20px !important;
        gap: 25px !important;
        visibility: hidden;
        opacity: 0;
        z-index: 999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transition: visibility 0.3s ease, opacity 0.3s ease !important;
    }

    .nav-links.open {
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .nav-cta {
        margin-left: 0;
		width:100%;
		display: block;
    }

    .lang-selector {
        width: 100%;
        flex-shrink: 0;
    }

    .lang-toggle {
        width: 100%;
        justify-content: center;
		min-width: 200px;
    }

    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin-top: 8px;
        display: none;
    }

    .mobile-only {
        display: block;
		width:100%;
    }

    .desktop-only {
        display: none;
    }

    .lang-selector {
        width: 100%;
    }

    .lang-toggle {
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin-top: 8px;
        display: none;
        max-height: 200px;
        overflow-y: auto;
    }

    .lang-selector.open .lang-dropdown {
        display: block;
    }

    .hero {
        padding: 140px 20px 60px;
    }

    .section {
        padding: 60px 20px;
    }

    .size-tabs-header, .editor-features {
		display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
    }
	.editor-feature {
		flex-direction:column;
	}

    .size-tab-btn {
        padding: 10px 16px;
        font-size: 16px;
    }
	
	.download-content {
		display:flex;
		flex-direction: column;
		gap:0px;
	}
	
	.color-palette {
		gap:15px;
	}
	.retouch-card {
		padding:20px;
	}
	.color-option, .card-icon {
		width:56px;
		height:56px;
	}
	.card-icon {
		margin-bottom:0px;
	}
	
	.size-tabs-wrapper {
		padding:20px;
	}

    .panel-grid {
        grid-template-columns: 1fr;
    }

    .languages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .language-card {
        padding: 12px 8px;
    }
    
    .language-card:nth-child(n+10) {
        display: none;
    }
    
    .languages-grid.expanded .language-card:nth-child(n+10) {
        display: block;
    }
    
    .lang-flag {
        font-size: 24px;
    }
    
    .lang-name {
        font-size: 12px;
    }
    
    .lang-region {
        font-size: 10px;
    }
    
    .show-more-languages {
        display: block;
        margin: 20px auto 0;
        padding: 10px 28px;
        background: var(--gradient-1);
        color: var(--white);
        border: none;
        border-radius: var(--radius-md);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition-base);
    }
    
    .show-more-languages:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }

    .editor-flow {
        flex-direction: column;
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .flow-connector {
        transform: rotate(90deg);
    }

    .editor-features {
        flex-direction: column;
        gap: 24px;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
		margin-bottom: 10px;
    }
	.footer-bottom {
		padding-top:15px;
	}

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
		justify-content: space-between;
    }

    .size-list {
        grid-template-columns: 1fr;
    }
	.device-mockup, .download-visual {
		width:100%; 
	}
	.download-visual {
		margin-top:0;
	}
	.footer {
		padding:25px;
	}
	.footer-brand {
		max-width:100%;
	}
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .download-buttons {
        grid-template-columns: 1fr;
    }

    .device-frame {
        width: 220px;
        height: 440px;
    }
}
