/* AutoClash Portal - Cyber Enhanced Theme */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&family=Orbitron:wght@700;900&display=swap');

:root {
    --primary: #00D4FF;
    --primary-dark: #0099CC;
    --primary-light: #80EBFF;
    --primary-deep: #006688;

    --accent: #00FF94;
    --accent-dark: #00CC77;
    --accent-light: #80FFC8;

    --blue: #3B82F6;
    --blue-dark: #1D4ED8;

    --emerald: #10B981;

    --red: #EF4444;
    --red-dark: #DC2626;

    --bg-primary: #080c14;
    --bg-secondary: #0f1729;
    --bg-tertiary: #1a2540;
    --bg-card: rgba(15, 23, 42, 0.85);
    --bg-card-hover: rgba(26, 37, 64, 0.92);
    --bg-glass: rgba(15, 23, 42, 0.6);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-accent: #00D4FF;

    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
    --glow-accent: 0 0 20px rgba(0, 255, 148, 0.5), 0 0 40px rgba(0, 255, 148, 0.3);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
    --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.3);

    --border-color: rgba(0, 212, 255, 0.15);
    --border-radius: 24px;
    --border-radius-sm: 14px;
    --border-radius-lg: 32px;
    --border-radius-xl: 40px;

    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shadow-button: 0 6px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
    --primary: #00D4FF;
    --primary-dark: #0099CC;
    --primary-light: #80EBFF;
    --primary-deep: #006688;

    --accent: #00FF94;
    --accent-dark: #00CC77;
    --accent-light: #80FFC8;

    --blue: #3B82F6;
    --blue-dark: #1D4ED8;

    --emerald: #10B981;

    --red: #EF4444;

    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-tertiary: #1e293b;
    --bg-card: rgba(17, 24, 39, 0.95);
    --bg-card-hover: rgba(30, 41, 59, 0.98);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-accent: #00D4FF;

    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
    --glow-accent: 0 0 20px rgba(0, 255, 148, 0.5), 0 0 40px rgba(0, 255, 148, 0.3);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
    --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.3);

    --border-color: rgba(0, 212, 255, 0.2);
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 30px;

    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --shadow-button: 0 6px 20px rgba(0, 0, 0, 0.4);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid overlay pattern */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(0, 255, 148, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(15, 15, 26, 0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--glow-primary); }
    50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 212, 255, 0.4); }
}

.logo-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--glow-primary);
    animation: pulse-glow 2s infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.lang-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 25px;
    padding: 4px;
    border: 2px solid var(--border-color);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.lang-btn:hover:not(.active) {
    color: var(--primary);
}


/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: hero-pulse 4s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.12;
    margin-bottom: 18px;
    animation: slide-up 0.8s ease-out 0.2s both;
}

@keyframes slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: glow-text 2s infinite alternate;
}

@keyframes glow-text {
    from { opacity: 0.9; }
    to { opacity: 1; }
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    animation: slide-up 0.8s ease-out 0.4s both;
    line-height: 1.7;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: slide-up 0.8s ease-out 0.6s both;
}

.hero-features {
    display: flex;
    gap: 28px;
    justify-content: flex-start;
    margin-top: 36px;
    flex-wrap: nowrap;
    animation: slide-up 0.8s ease-out 0.8s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
    white-space: nowrap;
}

.hero-feature-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 255, 148, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-bounce);
}

.hero-feature:hover .hero-feature-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 255, 148, 0.15));
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slide-up 0.8s ease-out 0.3s both;
}

.hero-image-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, rgba(0, 255, 148, 0.12) 40%, transparent 70%);
    border-radius: 20px;
    animation: hero-image-pulse 3s ease-in-out infinite;
}

@keyframes hero-image-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.1);
    object-fit: cover;
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 212, 255, 0.2);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-primary);
    box-shadow: var(--shadow-button), 0 0 20px rgba(0, 212, 255, 0.3);
    border: 3px solid var(--primary-light);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-button), var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 3px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.btn-download {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #080c14;
    box-shadow: var(--shadow-button), 0 0 30px rgba(0, 255, 148, 0.3);
    border: 2px solid var(--accent-light);
    font-size: 1.2rem;
    padding: 20px 40px;
    font-weight: 800;
    box-sizing: border-box;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-button), var(--glow-accent);
}

.btn-purple {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white;
    box-shadow: var(--shadow-button), 0 0 20px rgba(139, 92, 246, 0.3);
    border: 3px solid var(--blue-dark);
}

.btn-purple:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-button), var(--glow-blue);
}

.btn.loading .btn-text { display: none; }
.btn.loading .btn-loader { display: block; }

.btn-loader {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section:first-of-type::before {
    display: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== CARDS ==================== */
.card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--primary);
    box-shadow: var(--shadow-card), var(--glow-primary);
    background: var(--bg-card-hover);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

/* ==================== KEY RENEWAL ==================== */

.renewal-card { max-width: 600px; margin: 0 auto; border-color: var(--blue); }
.renewal-card:hover { border-color: var(--blue-dark); box-shadow: var(--shadow-card), var(--glow-blue); }
.renewal-card .card-icon { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.renewal-card .card-title { color: var(--blue-dark); }

.region-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 25px;
    background: rgba(255, 181, 71, 0.1);
    border: 2px solid rgba(255, 181, 71, 0.3);
    border-radius: var(--border-radius-sm);
    color: var(--primary);
    font-size: 0.9rem;
}
.region-notice svg { flex-shrink: 0; color: var(--primary); }

.form-group { margin-bottom: 25px; }

.form-label { display: block; font-weight: 600; margin-bottom: 10px; color: var(--text-secondary); }

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 3px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.form-input::placeholder { color: var(--text-muted); }

.input-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.link-result {
    margin-top: 25px;
    padding: 25px;
    background: rgba(34, 197, 94, 0.1);
    border: 3px solid var(--accent);
    border-radius: var(--border-radius-sm);
    animation: slide-up 0.5s ease-out;
}
.link-result.hidden { display: none; }

.link-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--accent);
}

.link-result-header h3 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.2rem; }
.link-description { color: var(--text-secondary); margin-bottom: 20px; }

.link-container { display: flex; gap: 10px; margin-bottom: 15px; }

.link-input {
    flex: 1;
    padding: 14px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--emerald);
    font-size: 0.9rem;
}

.btn-copy {
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover { background: var(--bg-tertiary); border-color: var(--primary); color: var(--primary); }

.expiry-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--blue);
    border-radius: var(--border-radius-sm);
    color: var(--blue-dark);
    margin-top: 15px;
}
.expiry-info.expired { background: rgba(239, 68, 68, 0.1); border-color: var(--red-primary); color: var(--red-primary); }
.expiry-info.hidden { display: none; }

.remaining-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
    color: var(--text-secondary);
}

/* ==================== DOWNLOAD ==================== */
#download-section {
    background: radial-gradient(ellipse at center, rgba(0, 255, 148, 0.08) 0%, transparent 70%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.download-info h3 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 2rem; margin-bottom: 20px; color: var(--accent); }

.download-features { list-style: none; margin-bottom: 30px; }

.download-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}
.download-features li:last-child { border-bottom: none; }

.download-features .icon {
    width: 30px;
    height: 30px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.system-req {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
}
.system-req h4 { color: var(--primary); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.system-req ul { list-style: none; }
.system-req li { padding: 8px 0; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }

.download-card { text-align: center; padding: 50px 30px; border-color: var(--accent); }
.download-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-card), var(--glow-accent); }

.download-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 25px;
    box-shadow: var(--glow-accent);
    animation: bounce 2s infinite;
}

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

.download-card h3 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--accent); margin-bottom: 15px; }
.download-card p { color: var(--text-secondary); margin-bottom: 25px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.info-card { text-align: center; padding: 25px; }
.info-card:hover { border-color: var(--emerald); box-shadow: var(--shadow-card), var(--glow-emerald); }

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 255, 148, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary);
    font-size: 24px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.info-card:hover .info-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 255, 148, 0.2));
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.info-title { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; color: var(--emerald); margin-bottom: 10px; }
.info-desc { color: var(--text-secondary); font-size: 0.9rem; }

/* ==================== GUIDE ==================== */
#guide-section {
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.quick-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.guide-step { padding: 30px; text-align: center; }
.guide-step:hover { border-color: var(--emerald); box-shadow: var(--shadow-card), var(--glow-emerald); }

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emerald), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: var(--glow-emerald);
}

.guide-step h4 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; color: var(--emerald); margin-bottom: 12px; font-size: 1.2rem; }
.guide-step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ==================== PRICING ==================== */
#pricing-section {
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 800px; margin: 0 auto; }

.pricing-card {
    position: relative;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.pricing-card:not(.featured) {
    border: 2px solid var(--border-color);
}

.pricing-card.featured {
    border: 2px solid transparent;
    transform: scale(1.02);
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--primary), var(--blue), var(--accent)) border-box;
    box-shadow: var(--shadow-card), 0 0 40px rgba(0, 212, 255, 0.1);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--primary), var(--blue), var(--accent));
    border-radius: var(--border-radius);
    z-index: -1;
    animation: border-glow 3s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.pricing-card.featured:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-card), var(--glow-primary);
}

.pricing-card:not(.featured):hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card), var(--glow-primary);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 25px;
    box-shadow: var(--glow-primary);
    text-transform: uppercase;
}

.pricing-badge.purple { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: white; box-shadow: var(--glow-blue); }

.pricing-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    box-shadow: var(--glow-primary);
}

.pricing-card.featured .pricing-icon { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: var(--glow-blue); }

.pricing-name { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; }
.pricing-card.featured .pricing-name { color: var(--blue-dark); }

.pricing-price { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 3rem; color: var(--text-primary); margin-bottom: 5px; }
.pricing-period { color: var(--text-muted); margin-bottom: 30px; }

.pricing-features { list-style: none; margin-bottom: 35px; text-align: left; margin-top: auto; }
.pricing-features li { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--accent); font-weight: bold; }

/* ==================== MODALS ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
    box-shadow: var(--shadow-card), var(--glow-primary);
    position: relative;
    box-sizing: border-box;
}

.download-guide-content {
    max-width: 640px;
    padding: 32px 28px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}
.modal-close:hover { color: var(--red-primary); }

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    box-shadow: var(--glow-primary);
}

.modal-title { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.modal-subtitle { color: var(--text-secondary); margin-bottom: 30px; }

.support-links { display: flex; flex-direction: column; gap: 15px; }

.support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 25px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 3px solid transparent;
}

.support-link.telegram { background: linear-gradient(135deg, #0088cc, #00aaff); color: white; }
.support-link.zalo { background: linear-gradient(135deg, #0068ff, #0088ff); color: white; }
.support-link.facebook { background: linear-gradient(135deg, #1877F2, #42a5f5); color: white; }
.support-link:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }

.download-guide-title { font-size: 1.6rem; margin-bottom: 10px; }
.download-guide-subtitle { margin-bottom: 14px; }

.download-guide-password {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 10px 16px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.download-guide-password strong { color: var(--primary); font-size: 1.2rem; }

.download-guide-gif {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 16px;
}

.download-guide-continue {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    font-size: 1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.95rem; }

.footer-title { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; color: var(--primary); margin-bottom: 20px; font-size: 1.2rem; }

.footer-links { list-style: none; padding-inline-start: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }

/* ==================== BILLS CAROUSEL ==================== */
#bills-section { background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 70%); }

.bills-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.bills-carousel { overflow: hidden; border-radius: var(--border-radius); width: 100%; max-width: 900px; }
.bills-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); gap: 20px; }

.bill-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
}

.bill-slide:hover { transform: scale(1.03); border-color: var(--primary); box-shadow: var(--glow-primary); }

.bill-slide img { width: 100%; height: 280px; object-fit: cover; display: block; transition: var(--transition); }
.bill-slide:hover img { transform: scale(1.05); }

.bill-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    pointer-events: none;
}

.bill-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.bill-slide:hover .bill-overlay { opacity: 1; }

.bill-overlay-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    transform: scale(0);
    transition: var(--transition-bounce);
}
.bill-slide:hover .bill-overlay-icon { transform: scale(1); }

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 3px solid var(--primary-light);
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    flex-shrink: 0;
    box-shadow: var(--shadow-button);
}
.carousel-btn:hover { transform: scale(1.1); box-shadow: var(--glow-primary); }
.carousel-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.carousel-indicators { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.carousel-indicator { width: 12px; height: 12px; border-radius: 50%; background: var(--border-color); border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.carousel-indicator.active { background: var(--primary); border-color: var(--primary-light); box-shadow: var(--glow-primary); transform: scale(1.2); }
.carousel-indicator:hover:not(.active) { background: rgba(0, 212, 255, 0.5); }

.bills-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }

.bills-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}
.bills-stat:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--glow-primary); }

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.stat-info { display: flex; flex-direction: column; }
.stat-number { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: 5px; }

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.image-modal.active { display: flex; opacity: 1; }

.image-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modal-zoom 0.3s ease;
}

@keyframes modal-zoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.modal-close-btn:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }

.bills-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; gap: 20px; color: var(--text-secondary); }
.bills-loading-spinner { width: 50px; height: 50px; border: 4px solid var(--border-color); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }

/* ==================== FLOATING SOCIAL ==================== */
.floating-social {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
}
.social-btn:hover { transform: scale(1.15); box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4); }

.social-btn.telegram { background: linear-gradient(135deg, #0088cc, #00aaff); }
.social-btn.telegram:hover { box-shadow: 0 6px 25px rgba(0, 136, 204, 0.5); }
.social-btn.zalo { background: linear-gradient(135deg, #0068ff, #0099ff); }
.social-btn.zalo:hover { box-shadow: 0 6px 25px rgba(0, 104, 255, 0.5); }
.social-btn.facebook { background: linear-gradient(135deg, #1877F2, #42a5f5); }
.social-btn.facebook:hover { box-shadow: 0 6px 25px rgba(24, 119, 242, 0.5); }

.social-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}
.social-btn:hover::before { opacity: 1; visibility: visible; transform: translateX(0); }

.social-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: social-pulse 2s infinite;
    z-index: -1;
}
.social-btn.telegram::after { background: rgba(0, 136, 204, 0.4); }
.social-btn.zalo::after { background: rgba(0, 104, 255, 0.4); }
.social-btn.facebook::after { background: rgba(24, 119, 242, 0.4); }

@keyframes social-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0; }
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 18px 28px;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-card);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
}
.toast.show { transform: translateX(0); }
.toast.hidden { display: none; }
.toast.success { border-color: var(--accent); background: rgba(34, 197, 94, 0.1); }
.toast.error { border-color: var(--red-primary); background: rgba(239, 68, 68, 0.1); }
.toast.warning { border-color: #F59E0B; background: rgba(245, 158, 11, 0.1); }

/* ==================== SCROLL 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); }
.slide-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(50px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr 1fr; gap: 30px; }
    .hero-title { font-size: 2.8rem; }
    .hero-image { max-width: 420px; }
}

@media (max-width: 920px) {
    .hero-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .hero-text { text-align: center; padding-right: 0; }
    .hero-text .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-features { justify-content: center; }
    .hero-image-wrapper { max-width: 380px; margin: 0 auto; }
    .hero-title { font-size: 2.5rem; }
    .hero-section::before { width: 600px; height: 600px; top: 50%; left: 50%; }
    .download-content { grid-template-columns: 1fr; }
    .section-title { font-size: 2.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .bill-slide { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); }
    .bill-slide img { height: 240px; }
    .bills-stats { gap: 20px; }
    .bills-stat { padding: 15px 20px; }
}

@media (max-width: 768px) {
    .nav-menu { gap: 10px; }
    .lang-toggle { display: flex; padding: 3px; border-radius: 20px; }
    .lang-btn { padding: 7px 12px; font-size: 0.8rem; }
    .hero-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .hero-text { text-align: center; padding-right: 0; }
    .hero-text .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-features { justify-content: center; }
    .hero-image-wrapper { max-width: 320px; margin: 0 auto; }
    .hero-section { padding: 85px 20px 40px; }
    .hero-title { font-size: 2.5rem; }
    .hero-features { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .hero-section::before { width: 600px; height: 600px; top: 50%; left: 50%; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand .logo { justify-content: center; }
    .footer-links a { justify-content: center; display: flex; }
    .card { padding: 20px; }
    .btn { padding: 14px 24px; }
    .modal-content { padding: 30px 20px; }
    .download-guide-content { padding: 24px 16px; }
    .download-guide-title { font-size: 1.35rem; }
    .floating-social { right: 15px; bottom: 15px; gap: 10px; }
    .social-btn { width: 44px; height: 44px; }
    .social-btn::before { display: none; }
}

@media (max-width: 520px) {
    .hero-section { padding: 70px 16px 30px; min-height: auto; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.85rem; margin-bottom: 18px; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .hero-buttons .btn { width: 100%; max-width: 100%; padding: 14px 20px; font-size: 0.9rem; }
    .hero-features { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .hero-feature { font-size: 0.8rem; white-space: nowrap; }
    .hero-feature-icon { width: 28px; height: 28px; font-size: 12px; }
    .hero-image-wrapper { max-width: 200px; }
    .hero-image { border-radius: 14px; }
    .section { padding: 40px 0; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.85rem; }
    .container { padding: 0 12px; }
    .lang-btn { padding: 5px 8px; font-size: 0.7rem; }
    .info-grid { gap: 12px; }
    .info-card { padding: 16px; }
    .info-icon { width: 44px; height: 44px; font-size: 18px; }
    .footer { padding: 40px 0 20px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand .logo { justify-content: center; }
    .footer-links a { justify-content: center; display: flex; }

    /* Download section scaling */
    .download-info h3 { font-size: 1.3rem; }
    .download-features li { font-size: 0.8rem; padding: 10px 0; gap: 8px; }
    .download-features .icon { width: 24px; height: 24px; font-size: 11px; flex-shrink: 0; }
    .system-req { padding: 14px; }
    .system-req h4 { font-size: 0.9rem; }
    .system-req li { font-size: 0.78rem; padding: 6px 0; }
    .download-card { padding: 30px 16px; }
    .download-card h3 { font-size: 1.2rem; }
    .download-card p { font-size: 0.8rem; }
    .download-icon { width: 64px; height: 64px; font-size: 28px; border-radius: 20px; margin-bottom: 16px; }
    .btn-download { font-size: 0.9rem; padding: 14px 20px; }
    .info-card .info-title { font-size: 0.95rem; }
    .info-card .info-desc { font-size: 0.78rem; }
}
