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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.2);
}

main {
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.download-section {
    margin: 3rem 0;
    text-align: center;
}

.download-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.download-btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #5568d3;
}

.download-btn-large {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 1rem;
    transition: background 0.3s;
}

.download-btn-large:hover {
    background: #5568d3;
}

.info-section {
    margin: 3rem 0;
}

.info-section h2 {
    color: #667eea;
    margin-bottom: 2rem;
}

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

.steps li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #667eea;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.steps li strong {
    display: block;
    color: #667eea;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-card h2 {
    color: #667eea;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #5568d3;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.auth-link a {
    color: #667eea;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

.download-page {
    max-width: 800px;
    margin: 0 auto;
}

.download-page h2 {
    color: #667eea;
    margin-bottom: 2rem;
    text-align: center;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.download-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.version-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    color: #666;
}

.download-requirements,
.install-guide {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.download-requirements h3,
.install-guide h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.download-requirements ul,
.install-guide ol {
    margin-left: 1.5rem;
    line-height: 2;
}

.update-section {
    margin: 3rem 0;
}

.update-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.version-card {
    text-align: center;
}

.version-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.version-card h4 {
    color: #333;
    margin: 1rem 0 0.5rem 0;
    text-align: left;
}

.version-card ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 2rem;
    line-height: 2;
}

.version-card li {
    margin-bottom: 0.5rem;
}

footer {
    background: #f8f9fa;
    text-align: center;
    padding: 2rem;
    color: #666;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

