:root {
    --bg-color: #050a15;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-color: #00e5ff;
    --accent-glow: rgba(0, 229, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Blobs for Glassmorphism */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}
.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #4f46e5;
}
.blob-2 {
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: #00e5ff;
}
.blob-3 {
    top: 40%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: #ec4899;
    transform: translate(-50%, -50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-top: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo span {
    color: var(--accent-color);
}

.desktop-nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.desktop-nav a:hover {
    color: var(--accent-color);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 90px; /* Below header */
    left: 20px;
    right: 20px;
    background: rgba(5, 10, 21, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    transition: color 0.3s ease;
    text-align: center;
}
.mobile-link:last-child {
    border-bottom: none;
}
.mobile-link:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.neon-text {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}
.hero p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #00e5ff 0%, #007aff 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Projects */
.projects {
    padding: 60px 0;
}
.projects h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.project-card {
    display: flex;
    flex-direction: column;
}
.project-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.project-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}
.project-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
.project-card p {
    color: var(--text-secondary);
    font-size: 14px;
    flex-grow: 1;
    margin-bottom: 20px;
}
.btn-download {
    display: block;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn-download:hover {
    background: rgba(0, 229, 255, 0.2);
    color: var(--accent-color);
}

/* Contact */
.contact {
    padding: 60px 0 100px;
}
.contact h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.contact-card {
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
}
.contact-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--accent-color);
}
.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.admin-link {
    color: var(--text-secondary);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.admin-link:hover {
    opacity: 1;
}

/* Premium Card (Vertical) */
.vertical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: start;
    gap: 30px;
    width: 100%;
}
.vertical-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    background-color: #12121a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.vertical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}
.premium-card:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.2);
}
.premium-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #00e5ff 0%, #007aff 100%);
    color: white;
    padding: 5px 35px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10;
}
.card-bg-screenshot {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center top;
    z-index: 1;
    transition: transform 0.5s ease;
}
.vertical-card:hover .card-bg-screenshot {
    transform: scale(1.03);
}
.card-screenshot-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(14, 14, 20, 0.4) 0%, rgba(14, 14, 20, 0.8) 50%, rgba(14, 14, 20, 1) 100%);
}
.card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 25px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    height: 100%;
    justify-content: flex-end;
}
.card-title-center {
    text-align: center;
    margin-bottom: 15px;
}
.card-title-center h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}
.umix-blue {
    color: #00e5ff;
}
.card-title-center .platform-tag {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -2px;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
}
.card-features-simple {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    align-items: center;
}
.feature-text {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.6;
    margin: 0;
}
.highlight-text {
    color: #00e5ff;
    font-weight: 600;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.price-tag {
    font-size: 16px;
    font-weight: 800;
    color: #00e5ff;
}
.action-btn {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    transition: background 0.3s;
}
.vertical-card:hover .action-btn {
    background: #00e5ff;
    color: #000;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    margin: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover {
    color: var(--accent-color);
}
.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}
.modal-icon-wrapper {
    margin-bottom: 0 !important;
    width: 50px;
    height: 50px;
}
.modal-header h2 {
    font-size: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.premium-text {
    font-size: 10px;
    color: #00e5ff;
    letter-spacing: 2px;
}
.modal-version {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.instructions {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
}
.instructions h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--accent-color);
}
.instructions ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}
.instructions li {
    margin-bottom: 8px;
}
.modal-download-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* Responsive - Mobile Optimization */
@media (max-width: 768px) {
    .glass-header {
        flex-direction: row; /* keep items in row */
        padding: 15px 20px;
        top: 10px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .blob {
        filter: blur(60px);
    }
}
