/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    
    /* Colors */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --bg-gray-100: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-gradient);
    min-height: 100vh;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.header-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
}

.hero-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    pointer-events: none;
}

.install-button {
    background: var(--success-gradient);
    color: white;
    border: none;
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

.install-button::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: left 0.5s;
}

.install-button:hover::before {
    left: 100%;
}

.install-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.4);
}

.install-button:active {
    transform: translateY(-1px);
    transition: transform 0.1s;
}

.install-icon {
    font-size: 1.25rem;
}

.install-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Modern UI Components */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.section-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

.credentials-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.credential-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.credential-card:last-of-type {
    margin-bottom: var(--space-lg);
}

.credential-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.credential-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.credential-info {
    flex: 1;
    min-width: 0;
}

.credential-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.credential-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.modern-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
    overflow: hidden;
    min-height: 40px;
}

.modern-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-icon {
    font-size: 1rem;
}

.btn-text {
    font-weight: 600;
}

.btn-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s;
    pointer-events: none;
}

.modern-btn:active .btn-ripple {
    transform: scale(1);
}

.credentials-footer {
    text-align: center;
    margin-top: var(--space-lg);
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    font-weight: 500;
}

/* Install Section & Progress */
.install-section {
    position: relative;
    z-index: 1;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.install-button.loading .button-loader {
    opacity: 1;
}

.install-button.loading .install-icon,
.install-button.loading .install-text {
    opacity: 0;
}

.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.install-progress {
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.install-progress.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--bg-gray-100);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    z-index: 1;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-gray-100);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-gray-100);
}

.progress-step.active .step-indicator {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.progress-step.completed .step-indicator {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.progress-step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-step.completed .step-text {
    color: var(--success-color);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-gray-100);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.progress-fill {
    height: 100%;
    background: var(--success-gradient);
    border-radius: 3px;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Modern Alert Modal */
.modern-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-alert.show {
    opacity: 1;
}

.modern-alert.closing {
    opacity: 0;
}

.alert-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.alert-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: alertSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-header {
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.alert-close:hover {
    background: var(--bg-gray-100);
    color: var(--text-primary);
}

.alert-content {
    padding: var(--space-lg);
}

.alert-message {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.alert-actions {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

.alert-btn {
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

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

.alert-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@keyframes alertSlideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Steps Section */
.steps {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--space-2xl) 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23764ba2" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.steps-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
}

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

.step-indicator-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.step-icon {
    font-size: 2rem;
    padding: var(--space-sm);
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.step-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.action-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.action-item:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
}

.action-item.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-weight: 600;
}

.action-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.action-item span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.important-note {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--warning-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.note-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.step {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.step:hover {
    transform: translateY(-2px);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.step-content {
    margin-left: 56px;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-list li {
    counter-increment: step-counter;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #e3f2fd;
    color: #1976d2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-list li.example {
    background: #fff3cd;
    padding: 0.8rem 1rem 0.8rem 2rem;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
    font-style: italic;
    color: #856404;
}

.step-list li.example::before {
    background: #ffc107;
    color: white;
    content: "!";
}

.step-image {
    margin-top: 1.5rem;
    text-align: center;
}

.screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

.image-caption {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
    padding: 4rem 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6b6b;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-title {
        font-size: 2.2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    /* Улучшения для мобильного блока с данными */
    .login-info h3 {
        font-size: 1.1rem !important;
        text-align: center;
        margin-bottom: 1.5rem !important;
    }
    
    .credentials-container {
        padding: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .credential-item {
        padding: 0.8rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .credential-item > div {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.8rem;
    }
    
    .credential-item label {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .credential-value {
        font-size: 0.9rem !important;
        word-break: break-all;
        margin-bottom: 0.5rem;
    }
    
    .copy-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.9rem !important;
        margin-top: 0.5rem;
    }
    
    /* Улучшения кнопки установки */
    .install-button {
        width: 100%;
        padding: 1.2rem 1rem;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        box-sizing: border-box;
    }
    
    .install-note {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .step-number {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .step-content {
        margin-left: 0;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .header-title {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 1rem 0.8rem !important;
        margin: 0 0.5rem;
    }
    
    /* Еще более компактный дизайн для маленьких экранов */
    .login-info h3 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .credentials-container {
        padding: 0.8rem !important;
        border-radius: 12px !important;
    }
    
    .credential-item {
        padding: 0.6rem !important;
        margin-bottom: 0.6rem !important;
        border-radius: 8px !important;
    }
    
    .credential-value {
        font-size: 0.85rem !important;
        line-height: 1.3;
    }
    
    .copy-btn {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
    }
    
    .install-button {
        padding: 1rem 0.8rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .install-note {
        font-size: 0.85rem;
        padding: 0.8rem !important;
    }
    
    .step {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    /* Улучшения для подсказки */
    .credentials-container > div:last-child p {
        font-size: 0.8rem !important;
        flex-direction: column !important;
        gap: 0.3rem !important;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for install button */
.install-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.install-button.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Улучшения для тач-интерфейса */
@media (hover: none) and (pointer: coarse) {
    /* Стили для устройств с тач-экраном */
    .copy-btn {
        min-height: 44px; /* Минимальный размер для удобного нажатия */
        touch-action: manipulation;
    }
    
    .install-button {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .credential-item {
        touch-action: manipulation;
    }
    
    /* Убираем hover эффекты на тач-устройствах */
    .copy-btn:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .install-button:hover {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3) !important;
    }
    
    .step:hover {
        transform: none !important;
    }
}

/* Дополнительные улучшения для мобильных устройств */
@media (max-width: 768px) {
    /* Увеличиваем отступы для лучшего тач-интерфейса */
    .credential-item {
        margin-bottom: 1rem !important;
    }
    
    .copy-btn {
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    
    /* Улучшаем читаемость на мобильных */
    .credential-value {
        letter-spacing: 0.5px;
        font-weight: 600 !important;
    }
    
    /* Добавляем небольшую анимацию нажатия */
    .copy-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .install-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}
