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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Language Switcher */
.lang-switch {
    text-align: right;
    padding: 10px 0;
    font-size: 0.9em;
}

.lang-switch a {
    color: #168a62;
    text-decoration: none;
}

.lang-switch a:hover {
    text-decoration: underline;
}

.lang-switch .active {
    color: #666;
    font-weight: bold;
}

/* Header */
.header-logo {
    display: block;
    max-height: 80px;
    width: auto;
    margin: 0 auto 10px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0 20px;
    border-bottom: 3px solid #168a62;
    margin-bottom: 30px;
}


header h1 {
    font-size: 3em;
    color: #168a62;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    color: #666;
}

/* Navigation Links */
.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.links a {
    display: inline-block;
    padding: 10px 20px;
    background: #168a62;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.links a:hover {
    background: #0D6B4A;
}

/* Sections */
section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 2em;
    color: #168a62;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

section h3 {
    font-size: 1.5em;
    color: #555;
    margin: 20px 0 15px;
}

.intro {
    background: #E8F5F0;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.intro h2 {
    border: none;
    margin-bottom: 15px;
}

/* Features and Lists */
ul,
ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

ul li,
ol li {
    margin-bottom: 12px;
    line-height: 1.8;
}

ul li strong {
    color: #168a62;
}

/* Tech Section */
.tech ul {
    list-style: none;
    margin-left: 0;
}

.tech ul li {
    padding-left: 0;
}

/* Screenshots */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.screenshot-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.screenshot-grid img:hover {
    transform: scale(1.05);
}

/* Usage Steps */
.usage ol {
    background: #f9f9f9;
    padding: 20px 20px 20px 40px;
    border-radius: 8px;
}

/* Code */
code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "Courier New", monospace;
    color: #d32f2f;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 2px solid #e0e0e0;
    color: #666;
}

footer a {
    color: #168a62;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.license {
    margin-top: 10px;
    font-size: 0.9em;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    section h2 {
        font-size: 1.5em;
    }

    .links {
        flex-direction: column;
        gap: 10px;
    }

    .links a {
        display: block;
        text-align: center;
    }
}