/* Base Variables & Reset (Existing) */
:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #34495e;
    --bg-dark: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: #333;
}

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

html, body {
    margin: 0;
    padding: 0;
}

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

body.modal-open {
    overflow: hidden !important; /* Prevent scrolling of the background content when modal is active */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img {
    height: 32px;
    width: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-nav {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s, background 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.badge-pill {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.small-text {
    font-size: 0.8rem;
    color: #666;
}

.small-text a {
    color: #888;
    text-decoration: underline;
}

/* Visual Mockup */
.hero-visual {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    perspective: 1000px;
}

.main-mockup {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: none;
}

.visual-container:hover .main-mockup {
    transform: rotateY(0) rotateX(0);
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Features Grid */
.all-features {
    padding: 4rem 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
}

.mod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.mod-item {
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    transition: transform 0.2s, border-color 0.2s;
}

.mod-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.mod-item i {
    color: var(--primary-color);
}

.tag.wip {
    background: #e67e22;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

.removed-note {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

/* Gallery */
.gallery-section {
    padding: 4rem 10%;
    background: #141414;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Info Section */
.info-section {
    padding: 4rem 10%;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.text-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 4rem 10% 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.logo-text img {
    width: 24px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

.footer-col h4 {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* Beta Banner */
.beta-banner {
    background: #e67e22;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Download Page Specifics */
.download-hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
}

.platform-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.platform-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.platform-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.platform-card:hover {
    transform: translateY(-5px);
}

.platform-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-card.active i {
    color: var(--primary-color);
}

.platform-card.disabled {
    opacity: 0.6;
}

.version-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.req-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
}

.req-list li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    gap: 0.5rem;
}

.req-list li i {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin: 0;
}

.full-width {
    width: 100%;
    justify-content: center;
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    border: none;
    padding: 0.9rem;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    cursor: not-allowed;
}

/* Ad Container Styling */
.ad-container {
    margin: 40px auto;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative; /* Keep this for positioning elements inside the modal if needed */
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 5px;
}

.close-btn:hover {
    color: var(--primary-color);
}

.modal-ad-container {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    border: 1px solid rgba(255,255,255,0.05);
}

.modal-body p {
    color: var(--text-secondary);
}

.hidden {
    display: none !important;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        padding-top: 100px;
    }

    .hero-visual {
        width: 100%;
        margin-top: 3rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .status-bar {
        flex-direction: column;
        gap: 2rem;
    }
}
