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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background-color: #f5f7fa;
    line-height: 1.6;
}

.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #0f2f57, #1f6fb2);
    color: white;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 32px 80px;
    text-align: center;
}

.hero-logo {
    width: 190px;
    height: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    background-color: white;
    color: #0f2f57;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.button:hover {
    background-color: #e8eef5;
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.notice {
    background-color: #fff4d6;
    border-top: 1px solid #f0d78c;
    border-bottom: 1px solid #f0d78c;
    padding: 14px;
    text-align: center;
    font-weight: bold;
    color: #8a6500;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
}

.section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    color: #0f2f57;
}

.highlight {
    background-color: #ffffff;
    max-width: none;
}

.highlight > h2,
.highlight > .cards {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background-color: white;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
    color: #1f6fb2;
    margin-bottom: 12px;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    color: #1f6fb2;
    font-weight: bold;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.center-text,
.contact {
    text-align: center;
}

.contact a {
    color: #1f6fb2;
    font-weight: bold;
}

.subpage-header {
    background: linear-gradient(135deg, #0f2f57, #1f6fb2);
    color: white;
}

.product-intro {
    text-align: center;
}

.product-intro h1 {
    font-size: 3rem;
    color: #0f2f57;
    margin-bottom: 24px;
}

.product-intro p {
    max-width: 850px;
    margin: 0 auto 18px;
    font-size: 1.1rem;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.screenshot-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
}

.screenshot-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 86%;
    max-height: 82%;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: 28px;
    right: 42px;
    color: white;
    font-size: 44px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 44px;
    padding: 18px 24px;
    cursor: pointer;
    border-radius: 10px;
}

.lightbox-arrow:hover {
    background-color: rgba(255, 255, 255, 0.32);
}

.lightbox-arrow.left {
    left: 36px;
}

.lightbox-arrow.right {
    right: 36px;
}

.lightbox-caption {
    color: white;
    margin-top: 18px;
    font-size: 1rem;
}

.small-note {
    font-size: 0.9rem;
    color: #666;
}

.download-cards {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.download-button {
    margin-top: 20px;
}

.legal-page h1 {
    text-align: center;
    font-size: 3rem;
    color: #0f2f57;
    margin-bottom: 36px;
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 42px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.legal-card h2 {
    color: #1f6fb2;
    font-size: 1.35rem;
    margin-top: 28px;
    margin-bottom: 10px;
    text-align: left;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    margin-bottom: 18px;
}

.legal-card a {
    color: #1f6fb2;
    font-weight: bold;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

footer {
    background-color: #0f2f57;
    color: white;
    text-align: center;
    padding: 28px;
    line-height: 1.8;
}

footer a {
    color: #93c5fd;
    text-decoration: none;
}

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

footer i {
    margin-right: 6px;
}

.version {
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.team-title {
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #93c5fd;
}

.team-members {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.95rem;
}

.member {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.member.pm {
    color: #60a5fa;
}

.member.cqo {
    color: #f59e0b;
}

.member.sponsor {
    color: #22c55e;
}

.member.cto {
    color: #a78bfa;
}

.separator {
    color: #64748b;
}

@media (max-width: 900px) {
    .screenshot-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-arrow {
        font-size: 32px;
        padding: 12px 18px;
    }

    .lightbox-arrow.left {
        left: 12px;
    }

    .lightbox-arrow.right {
        right: 12px;
    }
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .navbar ul {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

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

    .download-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .lightbox img {
        max-width: 92%;
        max-height: 76%;
    }
}
