﻿@font-face {
    font-family: 'SkyTechFont';
    src: url('../fonts/main.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'SkyTechFont', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #091023;
    color: #e2e8f0;
    overflow-x: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 12vh;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
    
    background:
            linear-gradient(to bottom, rgba(9, 16, 35, 0) 60%, #091023 100%),
            url('../images/top_image.png') no-repeat center top;
    background-size: cover;
}

.hero h1 {
    font-size: 100px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    z-index: 2;
}

.hero p {
    font-size: 15px;
    color: #ffffff;
    margin-top: -5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    z-index: 2;
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.text-block {
    line-height: 1.8;
    color: #94a3b8;
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
}

.model-inline-wrapper {
    width: 100%;
    margin: 40px auto;
    position: relative;
    text-align: center;
}

.viewer-container {
    width: 100%;
    height: 450px;
    position: relative;
    z-index: 1;
}

.viewer-container::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
    --poster-color: transparent;
}

.viewer-footer {
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
}

.viewer-footer strong {
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-family: inherit;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background-color: #38bdf8;
    color: #091023;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background-color: #7dd3fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.site-footer {
    background-color: #050914;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 24px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav h4 {
    color: #e2e8f0;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #38bdf8;
}

.footer-bottom {
    max-width: 900px;
    margin: 50px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #475569;
    font-size: 13px;
}

.main-content h2 {
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.features-section {
    margin: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: #38bdf8;
}

.feature-card h3 {
    color: #38bdf8;
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.achievements-section {
    margin: 80px 0 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent);
    border-radius: 12px;
    border-left: 3px solid #38bdf8;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-label {
    color: #94a3b8;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.outro-text {
    margin-top: 50px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.store-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    margin: 50px 0;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.store-titles h2 {
    text-align: left !important;
    margin: 0 0 5px 0 !important;
    font-size: 24px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.store-titles p {
    margin: 0;
    color: #38bdf8;
    font-size: 14px;
}

.screenshots-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    
    user-select: none;
    -webkit-user-select: none;
}

.screenshots-gallery:active {
    cursor: grabbing;
}

.screenshots-gallery::-webkit-scrollbar {
    display: none;
}

.screenshots-gallery img {
    height: 250px;
    width: auto;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.screenshots-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshots-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb {
    background: #38bdf8;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb:hover {
    background: #7dd3fc;
}

@media (max-width: 600px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }

    .hero-buttons { flex-direction: column; width: 80%; gap: 15px; }
    .btn { width: 100%; text-align: center; box-sizing: border-box; }

    .viewer-container { height: 350px; }
    .viewer-container::after { width: 250px; height: 250px; }
    .text-block { font-size: 16px; }

    .footer-content { flex-direction: column; text-align: center; gap: 30px; }

    .store-section {
        padding: 20px;
    }

    .store-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-download-btn {
        width: 100%;
        text-align: center;
    }
    
    .screenshots-gallery img {
        height: 180px;
    }
}