* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

:root {
    --primary-color: #007AFF;
    --primary-dark: #0051D5;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-tertiary: #AEAEB2;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --border-color: #D2D2D7;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

    .navbar .container {
        padding-left: 20px;
        padding-right: 40px;
    }
    
    .nav-content {
        gap: 20px;
    }

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 60px;
    }
    
    .navbar .container {
        padding-left: 20px;
        padding-right: 60px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
        padding: 0 80px;
    }
    
    .navbar .container {
        padding-left: 20px;
        padding-right: 80px;
    }
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon-img {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    font-size: 15px;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.lang-selector {
    position: relative;
    margin-left: auto;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

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

.lang-icon {
    display: inline-block;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.lang-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.lang-selector.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: max-content;
    min-width: 120px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 4px 0;
}

.lang-dropdown.show {
    display: flex;
}

.lang-option {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.15s ease;
    font-weight: 500;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.lang-option:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.lang-option.active {
    background-color: rgba(0, 122, 255, 0.08);
    color: var(--primary-color);
    font-weight: 600;
}

.download-btn-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.download-btn-nav:hover {
    background: var(--primary-dark);
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    background: var(--bg-primary);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    max-width: 100%;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.hero-features-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.hero-feature-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.feature-divider {
    color: var(--border-color);
    font-size: 14px;
    font-weight: 300;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 15px;
    border: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    opacity: 0.9;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #EBEBED;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}

.app-icon-large {
    width: 240px;
    height: 240px;
    border-radius: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background: white;
}

    .app-icon-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 48px;
    }

/* Section Styles */
section {
    padding: 64px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.5;
}

/* Install Section - Card Layout */
.install {
    background: var(--bg-primary);
    padding: 60px 0;
    position: relative;
}

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

.install .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.install .section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Download Banner */
.install-download-banner {
    max-width: 1100px;
    margin: 0 auto 32px;
}

.banner-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.banner-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.1);
    transform: translateY(-4px);
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.banner-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon svg {
    width: 20px;
    height: 20px;
}

.banner-text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.banner-title-row {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    min-height: 40px;
    margin-left: -24px;
    padding-left: 24px;
}

.banner-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.banner-download-buttons {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
    position: absolute;
    left: 550px;
    right: 0;
    top: 0;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
    max-width: calc(100% - 550px);
    box-sizing: border-box;
}

.banner-download-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    flex-shrink: 1;
    width: auto;
    min-width: 120px;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.banner-download-btn svg {
    flex-shrink: 0;
}

.banner-download-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
}

.banner-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.25);
}

.banner-download-btn svg {
    flex-shrink: 0;
}

/* Installation Methods Grid - Vertical Layout */
.install-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.install-method-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.install-method-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.1);
    transform: translateY(-4px);
}

.method-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: nowrap;
}

.method-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
}

.method-info {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.method-title-row {
    display: inline-block;
    width: auto;
    position: relative;
    margin: 0 0 4px 0;
    padding: 0;
    min-height: auto;
}

.method-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    white-space: normal;
    line-height: 1.4;
    display: inline;
}

.method-unavailable {
    color: #ff3b30;
    font-weight: 500;
    font-size: 16px;
    margin-left: 4px;
}

.method-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
}

.method-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0 0;
    padding: 0;
    font-size: 13px;
    color: #ff3b30;
    position: relative;
}

.method-notice svg {
    position: absolute;
    left: -24px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.method-notice span {
    margin: 0;
    padding: 0;
}

.method-download-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    position: absolute;
    left: 555px;
    top: 0;
    height: 100%;
    align-items: center;
}

.btn-method-download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
    letter-spacing: -0.01em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    gap: 6px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.btn-method-download svg {
    flex-shrink: 0;
}

.btn-method-download:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
}

.btn-method-download:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.25);
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.method-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.step-content p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.install-warning {
    background: #FFF9E6;
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.install-warning svg {
    color: #FF9800;
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.install-warning p {
    color: #856404;
    line-height: 1.5;
    font-size: 13px;
}


.btn-step-new {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
    margin-top: 2px;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    text-decoration: none;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-step-new svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.btn-step-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-step-new:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}

.step-details {
    background: rgba(0, 122, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.step-details p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.step-details ul {
    margin-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.step-details li {
    margin-bottom: 6px;
    line-height: 1.5;
    font-size: 13px;
}

.install-download {
    text-align: center;
    margin-top: 40px;
}

/* Help Section */
.help {
    background: var(--bg-primary);
}

.help-process {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 6px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.help-process-step {
    flex: 1 1 0;
    min-width: 0;
    background: var(--bg-secondary);
    padding: 24px 12px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 200px;
    box-sizing: border-box;
}

.help-process-step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.help-process-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    flex-shrink: 0;
}

.help-process-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

.help-process-step p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.help-process-arrow {
    flex-shrink: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 300;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(4px);
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .banner-download-buttons {
        position: absolute;
        left: auto;
        right: 0;
        top: 0;
        height: 100%;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .help-process {
        flex-wrap: wrap;
    }
    
    .help-process-step {
        flex: 1 1 calc(50% - 3px);
        min-width: 200px;
    }
    
    .help-process-arrow {
        width: 100%;
        height: 20px;
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .install-download-banner {
        margin-bottom: 24px;
    }
    
    .banner-content {
        flex-direction: column;
        align-items: center;
        padding: 18px 20px;
        gap: 12px;
    }
    
    .banner-left {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        position: relative;
    }
    
    .banner-text {
        flex: 0 1 auto;
        min-width: 0;
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
    }
    
    .banner-title-row {
        position: relative;
    }
    
    .banner-title {
        position: relative;
    }
    
    .banner-icon {
        display: none !important;
    }
    
    .banner-title-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-left: 0;
        padding-left: 0;
        width: 100%;
    }
    
    .banner-title {
        font-size: 14px;
        width: auto;
        line-height: 1.5;
        text-align: center;
        margin: 0;
        padding: 0;
        display: inline-block;
    }
    
    .banner-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .banner-title::first-letter {
        margin-left: 0;
    }
    
    .banner-download-buttons {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        flex-direction: row;
        gap: 10px;
        height: auto;
        justify-content: center;
        align-items: center;
    }
    
    .banner-download-btn {
        flex: 1 1 auto;
        width: auto;
        min-width: 140px;
        max-width: none;
        justify-content: center;
        padding: 10px 16px;
    }
    
    .help-process {
        flex-direction: column;
        gap: 16px;
    }
    
    .help-process-step {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .help-process-arrow {
        width: 100%;
        height: 20px;
        transform: none;
        font-size: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .help-process-arrow::before {
        content: '↓';
        display: block;
        font-size: 28px;
        color: var(--primary-color);
        font-weight: 300;
        animation: arrowPulseVertical 2s ease-in-out infinite;
    }
    
    @keyframes arrowPulseVertical {
        0%, 100% {
            opacity: 0.5;
            transform: translateY(0);
        }
        50% {
            opacity: 1;
            transform: translateY(4px);
        }
    }
}

/* FAQ Section */
.faq {
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.faq-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-q {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.faq-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 24px 0;
    border-top: 0.5px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 22px;
    }
    
    .navbar {
        padding: 12px 0;
        position: relative;
    }
    
    .navbar .container {
        padding-bottom: 0;
    }
    
    .nav-content {
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .logo {
        order: 1;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .logo-icon-img {
        width: 24px;
        height: 24px;
    }
    
    .lang-selector {
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }
    
    .lang-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .lang-btn span {
        display: inline;
    }
    
    .lang-icon {
        font-size: 16px;
    }
    
    .lang-dropdown {
        left: auto;
        right: 0;
        transform: translateX(0);
        width: auto;
        min-width: auto;
        max-width: none;
    }
    
    .lang-option {
        white-space: nowrap;
        padding: 10px 20px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-links {
        order: 3;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        gap: 4px;
        padding: 12px 22px;
        transform: none;
        background: var(--bg-primary);
        flex-wrap: nowrap;
        margin-top: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-bottom: 0.5px solid var(--border-color);
        box-sizing: border-box;
        z-index: 999;
    }
    
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    
    .nav-links.active {
        transform: none;
    }
    
    .nav-links a {
        font-size: 13px;
        font-weight: 600;
        padding: 6px 10px;
        white-space: nowrap;
        flex: 0 0 auto;
        text-align: center;
        min-width: fit-content;
    }
    
    .navbar {
        position: relative;
    }
    
    .hero {
        padding: 40px 0 30px;
        margin-top: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 19px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .hero-features-wrapper {
        margin-bottom: 0;
    }
    
    .hero-features {
        justify-content: center;
        gap: 8px;
        margin-bottom: 0;
    }
    
    .hero-feature-item {
        font-size: 13px;
    }
    
    .feature-divider {
        font-size: 12px;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-right {
        display: none !important;
    }
    
    .app-icon-large {
        display: none !important;
    }

    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .install {
        padding: 20px 0 40px;
    }
    
    .section-header {
        margin-bottom: 24px;
    }

    .install-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .install-method-card {
        padding: 20px;
    }
    
    .method-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 0 !important;
        position: relative;
        width: 100%;
    }
    
    .method-info {
        flex: 0 1 auto;
        min-width: 0;
        text-align: left;
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .method-title-row {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        line-height: 32px;
        height: 32px;
        margin-top: 0;
    }
    
    .method-info h3 {
        position: relative;
        text-align: left;
        line-height: 32px;
        margin: 0;
        padding: 0;
        display: inline-block;
        vertical-align: middle;
        height: 32px;
    }
    
    .method-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        flex-shrink: 0;
        margin-top: 0;
        width: 32px;
        min-width: 32px;
        height: 32px;
        line-height: 32px;
    }
    
    .method-info {
        flex: 0 1 auto;
        min-width: 0;
        text-align: left;
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .method-title-row {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: auto;
        min-height: auto;
    }
    
    .method-info h3 {
        font-size: 16px;
        white-space: normal;
        width: auto;
        text-align: center;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-block;
        line-height: 1.4;
    }
    
    .method-info p {
        text-align: center;
        margin: 0;
    }
    
    .method-notice {
        justify-content: center;
        text-align: center;
        margin-top: 8px;
        position: relative;
        padding-left: 0;
        margin-left: 0;
    }
    
    .method-notice span {
        display: inline-block;
        position: relative;
    }
    
    .method-notice {
        position: relative;
    }
    
    .method-notice span {
        position: relative;
    }
    
    .method-notice svg {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translate(calc(-100% - 2px), -50%);
    }
    
    .method-download-buttons {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-method-download {
        width: 100%;
        min-width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .method-steps {
        gap: 14px;
        font-size: 12px;
    }
    
    .step-content h4 {
        font-size: 14px;
    }
    
    .step-content p {
        font-size: 12px;
    }
    
    .btn-step-new {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: auto;
        max-width: 100%;
    }
    
    .btn-step-new svg {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
    }
    
    .step-right h3 {
        font-size: 16px;
    }
    
    .step-right p {
        font-size: 13px;
    }
    
    .footer-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .footer-copyright {
        width: 100%;
        order: 2;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
        order: 1;
    }
    
    .footer-links a {
        white-space: nowrap;
        flex: 0 0 auto;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }
    
    .faq-card {
        padding: 20px;
    }
    
    .faq-card h3 {
        font-size: 15px;
    }
    
    .faq-card p {
        font-size: 13px;
    }
    
    section {
        padding: 48px 0;
    }
    
    .help {
        padding: 48px 0;
    }
    
    .help-process-step {
        padding: 20px 16px;
        min-height: auto;
    }
    
    .help-process-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .help-process-step h3 {
        font-size: 15px;
    }
    
    .help-process-step p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .nav-content {
        gap: 10px;
    }
    
    .logo {
        font-size: 13px;
    }
    
    .logo-icon-img {
        width: 22px;
        height: 22px;
    }
    
    .lang-btn {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .lang-btn span {
        display: inline;
    }
    
    .lang-icon {
        font-size: 14px;
    }
    
    .nav-links {
        gap: 4px;
        padding: 10px 16px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 5px 8px;
        flex: 0 0 auto;
    }
    
    .hero {
        padding: 32px 0 20px;
        margin-top: 56px;
    }
    
    .hero-content {
        gap: 20px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .hero-right {
        display: none !important;
    }
    
    .app-icon-large {
        display: none !important;
    }
    
    .hero-features {
        gap: 6px;
    }
    
    .hero-feature-item {
        font-size: 12px;
    }
    
    .feature-divider {
        font-size: 11px;
    }

    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .install {
        padding: 16px 0 32px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .install-download-banner {
        margin-bottom: 20px;
    }
    
    .banner-content {
        padding: 16px;
        gap: 10px;
    }
    
    .banner-left {
        gap: 10px;
    }
    
    .banner-icon {
        width: 28px;
        height: 28px;
    }
    
    .banner-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .banner-title {
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
    }
    
    .banner-left {
        gap: 4px;
        align-items: flex-start;
        justify-content: center;
    }
    
    .banner-text {
        max-width: calc(100% - 34px);
    }
    
    .banner-icon {
        display: none !important;
    }
    
    .banner-title-row {
        align-items: center;
    }
    
    .banner-title {
        padding: 0;
        margin: 0;
        text-align: center;
    }
    
    .banner-download-buttons {
        gap: 8px;
        justify-content: center;
        align-items: center;
    }
    
    .banner-download-btn {
        padding: 9px 14px;
        font-size: 13px;
        min-width: 120px;
        max-width: none;
        flex: 1 1 auto;
    }

    .hero-right {
        display: none;
    }
    
    .app-icon-large {
        display: none;
    }
    
    .install-method-card {
        padding: 16px;
    }
    
    .method-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
        gap: 0 !important;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        flex-wrap: nowrap;
        position: relative;
        width: 100%;
    }
    
    .method-header {
        position: relative;
    }
    
    .method-title-row {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        line-height: 28px;
        height: 28px;
        margin-top: 0;
    }
    
    .method-info {
        flex: 0 1 auto;
        min-width: 0;
        text-align: left;
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .method-title-row {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: auto;
        min-height: auto;
        position: relative;
        line-height: 28px;
        height: 28px;
        margin-top: 0;
    }
    
    .method-info h3 {
        font-size: 15px;
        text-align: left;
        width: auto;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-block;
        line-height: 28px;
        position: relative;
        vertical-align: middle;
        height: 28px;
    }
    
    .method-info {
        width: auto;
    }
    
    .method-title-row {
        position: relative;
    }
    
    .method-info h3 {
        position: relative;
    }
    
    .method-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex-shrink: 0;
        margin-top: 0;
        width: 28px;
        min-width: 28px;
        height: 28px;
        line-height: 28px;
    }
    
    .method-info p {
        font-size: 12px;
        text-align: center;
        margin: 0;
    }
    
    .method-notice {
        font-size: 12px;
        margin-top: 6px;
        justify-content: center;
        text-align: center;
        position: relative;
        padding-left: 0;
        margin-left: 0;
    }
    
    .method-notice span {
        display: inline-block;
        position: relative;
    }
    
    .method-notice svg {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translate(calc(-100% - 2px), -50%);
    }
    
    .method-steps {
        gap: 12px;
    }
    
    .step-num {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .step-content h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .step-content p {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .btn-step-new {
        padding: 6px 14px;
        font-size: 11px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        width: auto;
        max-width: 100%;
    }
    
    .btn-step-new svg {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
    }
    
    .help-process-step {
        padding: 16px 12px;
    }
    
    .help-process-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .help-process-step h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .help-process-step p {
        font-size: 11px;
    }
    
    .faq-card {
        padding: 16px;
    }
    
    .faq-q {
        width: 28px;
        height: 28px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .faq-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .faq-card p {
        font-size: 12px;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .footer-copyright {
        width: 100%;
        order: 2;
        text-align: center;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        width: 100%;
        order: 1;
    }
    
    .footer-links a {
        font-size: 12px;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    
    .modal-content {
        width: 98%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 16px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        font-size: 13px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 680px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 24px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

.modal-body p {
    margin: 0 0 12px 0;
}

.modal-body ul {
    margin: 12px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.required {
    color: #ff3b30;
}

.optional {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-modal-cancel,
.btn-modal-submit {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-modal-cancel {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-modal-cancel:hover {
    background: #e5e5e7;
}

.btn-modal-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}

.btn-modal-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
}

.btn-modal-submit:active {
    transform: translateY(0);
}

.telegram-btn:hover {
    background: #0077b5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.telegram-btn:active {
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.back-to-top svg {
    flex-shrink: 0;
    stroke: white;
}

/* Mobile Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 80px;
        right: 24px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}
