@font-face {
    font-family: 'Outfit';
    src: url('assets/fonts/outfit_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/fonts/outfit_medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/fonts/outfit_semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/fonts/outfit_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary-color: #4ADB5A;
    /* WishfulGreen */
    --secondary-color: #1E1E1E;
    /* SurfacePrimary */
    --accent-color: #3BA649;
    /* WishfulGreenDark */
    --bg-dark: #000000;
    /* BackgroundPrimary */
    --text-light: #FFFFFF;
    /* TextPrimary */
    --text-dim: #B3B3B3;
    /* TextSecondary */
    --glass-bg: rgba(30, 30, 30, 0.6);
    /* SurfacePrimary with opacity */
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    /* Solid color for better readability on complex background, or subtle gradient */
    color: var(--text-light);
}

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

p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: #000000;
    /* Black text on green button for contrast */
    border-radius: 50px;
    font-weight: 600;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(74, 219, 90, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 219, 90, 0.5);
}

.btn-primary.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    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(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: padding var(--transition-speed);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    /* Use app background image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('assets/bg_dark.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax Effect */
}

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

.hero-content p {
    margin-bottom: 2.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Features Section */
.features-section {
    padding: 100px 5%;
    background-color: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.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;
    text-align: center;
    transition: transform var(--transition-speed), background var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(74, 219, 90, 0.1);
    /* Slight green tint on hover */
    border-color: var(--primary-color);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Parallax Section 2 */
.parallax-section {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.parallax-bg-2 {
    /* Reusing the dark bg or a different section of it, or keeping the nature one if it fits. 
       Let's stick to the app theme, so maybe just a solid color or gradient if we don't have another image.
       Or reuse bg_dark.png with different overlay. */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/bg_dark.png');
}

.overlay-content {
    max-width: 800px;
    padding: 2rem;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.overlay-content h2 {
    font-style: italic;
    font-weight: 300;
    color: var(--text-light);
}

/* Download Section */
.download-section {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(to top, #000000, var(--bg-dark));
}

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

.store-badge img {
    height: 60px;
    margin-top: 2rem;
    transition: transform var(--transition-speed);
}

.store-badge img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
    background-color: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo img {
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-dim);
    transition: color var(--transition-speed);
}

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

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

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

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

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        background-attachment: scroll;
    }

    /* Disable fixed bg on mobile for performance */
    .parallax-section {
        background-attachment: scroll;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}