:root {
    --font-main: 'Inter', sans-serif;
    --color-text: #ffffff;
    --color-text-dim: #e0e0e0;
    --color-accent: #8A4FFF;
    --color-bg-circle: rgba(20, 20, 20, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-image: url('../images/Background.webp');
    /* Corrected Path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem 4rem;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    margin-left: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-menu-icon {
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 6rem;
    width: 100%;
}

.hero-image img {
    height: 350px;
    /* Reference Value */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(138, 79, 255, 0.5)) drop-shadow(0 0 50px rgba(138, 79, 255, 0.3));
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 15px rgba(138, 79, 255, 0.5)) drop-shadow(0 0 50px rgba(138, 79, 255, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 25px rgba(138, 79, 255, 0.6)) drop-shadow(0 0 70px rgba(138, 79, 255, 0.4));
    }
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-content .tagline {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-content .description {
    font-size: 1rem;
    color: var(--color-text-dim);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #8A4FFF 0%, #B265FF 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(138, 79, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 79, 255, 0.6);
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 100%;
}

.feature-circle {
    width: 200px;
    height: 200px;
    background: #111;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 1) 0%, rgba(10, 10, 10, 1) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.feature-circle:hover {
    transform: translateY(-5px);
}

.circle-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.feature-circle i {
    font-size: 3rem;
    background: linear-gradient(135deg, #ff8a80, #ff5252);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.active-circle {
    border: 2px solid rgba(178, 101, 255, 0.5);
    box-shadow: 0 0 30px rgba(138, 79, 255, 0.2), inset 0 0 20px rgba(138, 79, 255, 0.1);
}

.active-circle i {
    background: linear-gradient(135deg, #d1c4e9, #b39ddb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-circle {
    overflow: hidden;
    /* Reference Style: Contained */
}

.app-mockup {
    width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
    border-radius: 12px;
}

.circle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dim);
}

/* Footer */
footer {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-left img {
    height: 40px;
    width: auto;
}

.footer-left span {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-right a {
    color: var(--color-text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-right a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    nav {
        justify-content: center;
        padding: 1rem;
    }

    footer {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
}

/* Subpage Styles */
.page-container {
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #b39ddb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--color-text-dim);
    font-size: 1.1rem;
}

.glass-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin-bottom: 2rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #ddd;
    font-size: 1.05rem;
}

.text-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

/* --- ADDED: APPS PAGE SPECIFIC STYLES --- */
.app-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.app-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.app-icon-large {
    width: 100px;
    height: 180px;
    /* Rectangular as requested for App List */
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.app-details h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.app-details p {
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Platform Links Container */
.app-platform-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-block;
    transition: transform 0.2s;
}

.store-btn img {
    height: 70px !important;
    /* Forced Large Buttons */
    width: auto;
}

.store-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .app-item {
        flex-direction: column;
        text-align: center;
    }
}