/* Global Styles */
:root {
    --primary-color: #1fb855;
    /* App Green */
    --secondary-color: #00ff22;
    /* Splash Green */
    --background-color: #0c0b0b;
    /* Deep Black */
    --surface-color: #1e1e1e;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #b0b0b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(12, 11, 11, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 184, 85, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.05);
}

.hero-bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(31, 184, 85, 0.3) 0%, rgba(12, 11, 11, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

/* Showcase Section */
.showcase {
    padding: 5rem 5%;
    text-align: center;
    overflow: hidden;
    /* Prevent horizontal scrollbar on body */
}

.gallery-container {
    perspective: 1000px;
    padding: 3rem 0;
}

.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    height: 600px;
    /* Fixed height for the carousel */
    position: relative;
    /* Remove scroll behavior as we control it via JS/transform now */
}

.gallery-item {
    min-width: 250px;
    max-width: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    position: absolute;
    /* Stack them initially, JS will position */
    opacity: 0;
    transform: scale(0.8) translateX(0);
}

.gallery-item.active {
    opacity: 1;
    transform: scale(1.2) translateX(0);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(31, 184, 85, 0.3);
}

.gallery-item.prev {
    opacity: 0.6;
    transform: scale(0.9) translateX(-300px) rotateY(25deg);
    z-index: 5;
}

.gallery-item.next {
    opacity: 0.6;
    transform: scale(0.9) translateX(300px) rotateY(-25deg);
    z-index: 5;
}

/* Download Section */
.download {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(180deg, var(--background-color) 0%, #1a1a1a 100%);
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.download-btn {
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .hero-image img {
        max-height: 400px;
    }

    nav ul {
        display: none;
        /* Simple hide for mobile for now */
    }
}