@font-face {
    font-family: 'General Sans';
    src: url('fonts/GeneralSans-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/GeneralSans-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/GeneralSans-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/GeneralSans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: linear-gradient(135deg, #353535 0%, #252525 100%);
    background-attachment: fixed;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    align-items:first baseline;
    justify-content: space-between;
    padding: 30px 60px;
    max-width: 960px;
    margin: 0 auto;
}

.logo {
    height: 42px;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 1;
}

nav a.active {
    font-weight: 600;
    opacity: 1;
}

.download-button {
    display: block;
    transition: opacity 0.3s ease;
}

.download-button:hover {
    opacity: 1;
}

.download-button img {
    height: 45px;
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    width: 50px;
    min-height: 50px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.10);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.mobile-menu-button:hover {
    opacity: 0.8;
}

.mobile-menu-button img {
    width: 24px;
    height: 24px;
    display: block;
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #353535 0%, #252525 100%);
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-close {
    width: 50px;
    min-height: 50px;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
    opacity: 0.8;
}

.mobile-menu-close img {
    width: 24px;
    height: 24px;
    display: block;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-menu-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    padding: 10px 0;
    text-align: center;
}

.mobile-menu-nav a:hover {
    opacity: 0.8;
}

.mobile-menu-nav a.active {
    font-weight: 600;
    opacity: 1;
}

.mobile-menu-logo {
    height: 42px;
    align-self: center;
    margin-top: 20px;
}

.mobile-menu-download {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.mobile-menu-download:hover {
    opacity: 0.9;
}

.mobile-menu-download img {
    height: 40px;
    display: block;
}

/* Main Content */
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 60px 80px;
}

/* Index page specific styles */
.index-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.index-download-button {
    display: block;
    margin-top: 30px;
}

.index-download-button img {
    display: block;
    height: 45px;
}

h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
    text-align: center;
}

.last-update {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 60px;
    text-align: center;
}

.separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #fff;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #fff;
}

p {
    margin-bottom: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

strong {
    font-weight: 600;
    color: #fff;
}

ul, ol {
    margin-left: 25px;
    margin-bottom: 16px;
}

li {
    margin-bottom: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
}

td {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        padding: 20px;
    }

    .logo {
        height: 32px;
    }

    nav {
        display: none;
    }

    .download-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    main {
        padding: 20px 20px 60px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    p, li {
        font-size: 14px;
    }

    table {
        font-size: 13px;
    }

    th, td {
        padding: 8px 6px;
    }
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    margin-bottom: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

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

.submit-button {
    width: 100%;
    padding: 16px 24px;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.submit-button:active {
    transform: scale(0.98);
}

.contact-info {
    text-align: center;
    padding: 40px 0;
}

.contact-info h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Thank You Page */
.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-content {
    padding: 40px 0;
}

.thank-you-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 32px;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.back-button:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    header {
        padding: 15px;
        gap: 15px;
    }

    .logo {
        height: 28px;
    }

    main {
        padding: 15px 15px 50px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 12px 14px;
    }

    .submit-button {
        font-size: 16px;
        padding: 14px 20px;
    }
}
