* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Simple Header with Logo */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.site-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.dev-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bbdefb;
}

.section-name {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-section {
    background: white;
    padding: 3rem 0;
    text-align: center;
}

.intro-section h2 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.intro-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2c5aa0;
}

.info-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card ul {
    list-style: none;
    text-align: left;
}

.info-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-card li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

.models-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.model-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44, 90, 160, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(44, 90, 160, 0.15);
}

.model-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.preview-container {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.preview-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.preview-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.preview-thumbnails {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    max-width: calc(100% - 30px);
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.preview-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    min-width: 50px;
    background: transparent;
}

.thumb:hover {
    background: rgba(44, 90, 160, 0.1);
    opacity: 1;
    transform: translateY(-2px);
}

.thumb.active {
    background: rgba(44, 90, 160, 0.2);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
    transform: translateY(-2px);
}

.thumb span {
    font-size: 9px;
    font-weight: 600;
    color: #2c5aa0;
    margin-top: 3px;
    text-align: center;
    white-space: nowrap;
}

.thumb img {
    width: 40px;
    height: 25px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.5);
}

.thumb.active img {
    border: 2px solid #2c5aa0;
    box-shadow: 0 2px 6px rgba(44, 90, 160, 0.4);
}

.format-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(44, 90, 160, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.model-content {
    padding: 2rem;
}

.model-title {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.model-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.model-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.downloads-section {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.downloads-title {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.download-btn:hover {
    border-color: #2c5aa0;
    background: #f8f9fa;
    transform: translateX(4px);
}

.download-btn.primary {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.download-btn.primary:hover {
    background: #1e4080;
    border-color: #1e4080;
}

.download-info {
    display: flex;
    flex-direction: column;
}

.download-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.download-desc {
    font-size: 0.85rem;
    opacity: 0.7;
}

.download-icon {
    font-size: 1.2rem;
}

.version-info {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #1976d2;
}

/* Company Footer Compact */
.company-footer {
    background: linear-gradient(135deg, #1e4080 0%, #2c5aa0 100%);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.brand-tagline {
    font-style: italic;
    opacity: 0.9;
    margin: 0;
    font-size: 0.9rem;
}

.visit-website {
    color: white;
    text-decoration: none !important;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-size: 0.9rem;
}

.visit-website:hover {
    background: rgba(255,255,255,0.25);
    transform: translateX(4px);
    text-decoration: none !important;
}

/* Office Sections */
.office-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #e3f2fd;
    letter-spacing: 0.5px;
}

.office-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e3f2fd;
}

.office {
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 1rem;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    border-left: 3px solid #e3f2fd;
}

.office strong {
    color: #e3f2fd;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.office a {
    color: #fff !important;
    text-decoration: none !important;
}

.office a:hover {
    text-decoration: underline !important;
}

.company-details {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.8rem;
}

.company-details p {
    margin: 0.2rem 0;
}

/* Social Section */
.social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e3f2fd;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-direction: column;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.social-link.linkedin:hover {
    background: #0a66c2;
}

.social-link.youtube:hover {
    background: #ff0000;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .social-section {
        grid-column: span 2;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .model-card {
        margin: 0 1rem;
    }

    .site-indicator {
        align-items: center;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
    }

    .preview-thumbnails {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        gap: 4px;
        padding: 6px;
    }

    .thumb img {
        width: 35px;
        height: 22px;
    }

    .thumb span {
        font-size: 8px;
    }
}