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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.8rem;
    color: #666;
    -webkit-text-fill-color: #666;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s;
}

nav a:hover {
    color: #667eea;
}

nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #555;
}

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0 0 50px 50px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-sub {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

.os-detect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

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

.os-hint {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* Version Cards */
.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.version-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.version-header h3 {
    font-size: 1.2rem;
    color: #333;
}

.version-score {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.version-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #888;
}

.version-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.version-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-count {
    font-size: 0.85rem;
    color: #999;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

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

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

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

.review-avatar {
    font-size: 2.5rem;
}

.review-user {
    font-weight: 600;
    color: #333;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    display: block;
}

.review-score {
    margin-left: auto;
}

.review-content {
    color: #555;
    font-style: italic;
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background 0.3s;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item summary::before {
    content: '❓';
    font-size: 1.2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    background: linear-gradient(135deg, #667eea10, #764ba210);
}

.faq-item p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 40px 0 30px;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-copy {
    font-size: 0.9rem;
    color: #888;
}

/* Admin */
.admin-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.login-box, .admin-panel {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.login-box h2, .admin-panel h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.admin-panel {
    max-width: 700px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-form label {
    font-weight: 600;
    color: #555;
}

.admin-form input {
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.admin-info {
    margin-top: 30px;
    padding: 20px;
    background: #f5f7fa;
    border-radius: 15px;
}

.admin-info h3 {
    margin-bottom: 15px;
    color: #333;
}

.admin-info p {
    color: #666;
    margin-bottom: 8px;
}

.error {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
}

.success {
    color: #27ae60;
    text-align: center;
    margin-bottom: 15px;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

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

/* Guide Page */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.guide-step-num {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.guide-step-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.guide-step-content h3 {
    margin-bottom: 8px;
    color: #333;
}

.guide-step-content p {
    color: #666;
}

/* Features Full */
.features-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.feature-full-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.feature-full-card .feature-icon {
    font-size: 3.5rem;
}

.changelog {
    max-width: 800px;
    margin: 40px auto 0;
}

.changelog-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.changelog-item h3 {
    margin-bottom: 15px;
    color: #333;
}

.changelog-item ul {
    list-style: none;
    padding: 0;
}

.changelog-item li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.changelog-item li::before {
    content: '✅';
    font-size: 0.9rem;
}

/* Inner page hero */
.page-hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0 0 50px 50px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 15px;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

    .hero {
        padding: 50px 0 40px;
    }

    section {
        padding: 40px 0;
    }

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

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

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

    .guide-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .os-detect {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 15px;
    }

    .version-card {
        padding: 20px;
    }
}