* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6a1b9a;
    --primary-dark: #4a148c;
    --primary-light: #8e24aa;
    --secondary: #9c27b0;
    --accent: #ce93d8;
    --bg-dark: #0a0014;
    --bg-secondary: #1a0f2e;
    --bg-card: #2d1b4e;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --border: #4a148c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(26, 15, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.4);
    border-color: var(--accent);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.3);
    border-color: var(--primary-light);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Apps Section */
.apps-section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(106, 27, 154, 0.4);
    border-color: var(--primary-light);
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--primary-dark);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.app-category {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.app-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-button:hover {
    box-shadow: 0 5px 20px rgba(106, 27, 154, 0.4);
    transform: scale(1.05);
}

/* App Detail Page */
.app-detail {
    padding: 80px 0;
}

.app-header {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.app-icon-large {
    width: 160px;
    height: 160px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--primary-dark);
    flex-shrink: 0;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    flex: 1;
}

.app-title {
    font-size: 48px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-meta {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 30px;
}

.download-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.4);
}

.app-content {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.app-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--accent);
}

.app-content h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.app-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.trailer-section {
    margin-top: 60px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 30px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    margin-top: 80px;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .app-header {
        flex-direction: column;
        text-align: center;
    }

    .app-title {
        font-size: 32px;
    }

    .app-content {
        padding: 30px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }
}