:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #f093fb;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    background-image: url('/assets/images/hero_bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4), var(--bg-dark));
    z-index: -1;
}

/* Background Animation */
.bg-blobs {
    display: none; /* Removed as we use fixed bg image now */
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(25px);
    background: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    border-radius: 12px;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.catalog-top {
    margin-top: 2rem !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    /* Background handled by body now */
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.3);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Features/Apps Preview Section */
.section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(15px);
    border-color: var(--primary);
}

.feature-icon-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 10rem 5%;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.8));
}

.app-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    height: 100%;
}

.app-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 242, 254, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

.app-logo-container {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-content {
    flex-grow: 1;
}

.app-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.4;
}

.contact-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border);
    padding: 5rem;
    border-radius: 40px;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-card h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 900;
}

.contact-email {
    font-size: 2.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    word-break: break-all;
    transition: var(--transition);
}

.contact-email:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

/* Catalog List / Badges */
.badge-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-shrink: 0;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.store-badge {
    height: 35px;
    transition: var(--transition);
    filter: grayscale(0.2) opacity(0.9);
}

.store-badge:hover {
    transform: scale(1.05);
    filter: grayscale(0) opacity(1);
}

.inactive-badge {
    pointer-events: none;
    cursor: default;
}

.inactive-badge .store-badge {
    filter: grayscale(1) opacity(0.4);
}

.inactive-badge .store-badge:hover {
    transform: none;
    filter: grayscale(1) opacity(0.4);
}

/* Footer */
footer {
    padding: 6rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    background: #0f172a;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .nav-logo-img {
        height: 40px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0 10%;
    }

    .section {
        padding: 5rem 5%;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }

    .feature-icon-img {
        width: 80px;
        height: 80px;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }

    .app-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .app-logo-container {
        width: 80px;
        height: 80px;
    }

    .badge-container {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--glass-border);
        padding: 1.5rem 0 0 0;
        width: 100%;
        justify-content: center;
    }

    .contact-card {
        padding: 3rem 1.5rem;
    }

    .contact-card h2 {
        font-size: 2rem;
    }

    .contact-email {
        font-size: 1.2rem;
    }
}

.app-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-column h4 {
    color: var(--text-main);
    margin-bottom: 1rem;
}
.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-column a:hover {
    color: var(--primary);
}
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

@media (max-width: 992px) {
    .app-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .app-list {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
