:root {
    --forest-deep: #1a3a2f;
    --forest-mid: #2d5a47;
    --forest-light: #4a7c62;
    --meadow: #7cb083;
    --leaf: #a8d5a2;
    --mist: #e8f4e5;
    --cream: #fafdf9;
    --bark: #3d2f24;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--cream);
    color: var(--bark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 600;
}

.blob {
    position: absolute;
    border-radius: 50% 40% 60% 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: -1;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(250, 253, 249, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 71, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--forest-deep);
}

.logo-icon img{
    width: 36px;
    padding-top: 1px;
}

.logo-text {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--forest-mid);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--forest-mid);
    color: white !important;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--forest-deep);
    transform: translateY(-2px);
}

.hero {
    min-height: auto;
    padding: 7rem 2rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero .blob-1 {
    width: 600px;
    height: 600px;
    background: var(--leaf);
    top: -100px;
    right: -200px;
}

.hero .blob-2 {
    width: 400px;
    height: 400px;
    background: #87b8c4;
    bottom: 100px;
    left: -150px;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--mist);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--forest-mid);
    margin-bottom: 1.25rem;
    border: 1px solid var(--leaf);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    color: var(--forest-deep);
    margin-bottom: 1.25rem;
}

.hero h1 span {
    color: var(--forest-light);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--forest-mid);
    margin-bottom: 1.75rem;
    max-width: 460px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--forest-mid);
    color: white;
    box-shadow: 0 4px 20px rgba(45, 90, 71, 0.3);
}

.btn-primary:hover {
    background: var(--forest-deep);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(45, 90, 71, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--forest-mid);
    border: 2px solid var(--meadow);
}

.btn-secondary:hover {
    background: var(--mist);
    border-color: var(--forest-light);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.features {
    padding: 5rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--forest-deep);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--forest-mid);
    font-size: 1.05rem;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--cream);
    padding: 1.75rem;
    border-radius: 20px;
    border: 1px solid var(--mist);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(45, 90, 71, 0.1);
    border-color: var(--leaf);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--forest-mid), var(--meadow));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--forest-deep);
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--forest-mid);
    font-size: 0.92rem;
}

.categories {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--mist) 0%, var(--cream) 100%);
}

.categories-content {
    max-width: 1100px;
    margin: 0 auto;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.category-tag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    padding: 0.9rem 1.4rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--forest-mid);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.category-tag:hover {
    border-color: var(--meadow);
    transform: scale(1.05);
}

.category-tag svg {
    width: 22px;
    height: 22px;
}

.gallery {
    padding: 5rem 2rem;
    background: white;
}

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

.gallery-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: var(--mist);
    border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--meadow);
    border-radius: 10px;
}

.gallery-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.gallery-item img {
    border-radius: 20px;
}

/* Lightbox styles - desktop only */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

@media (min-width: 901px) {
    .gallery-item {
        cursor: pointer;
        transition: transform 0.3s ease;
    }

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

.stats {
    padding: 3.5rem 2rem;
    background: var(--forest-deep);
    color: white;
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.75rem;
    color: var(--leaf);
    margin-bottom: 0.4rem;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cta {
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta .blob {
    width: 500px;
    height: 500px;
    background: var(--leaf);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    color: var(--forest-deep);
    margin-bottom: 0.75rem;
}

.cta p {
    font-size: 1.1rem;
    color: var(--forest-mid);
    margin-bottom: 1.75rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--forest-deep);
    color: white;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: var(--bark);
    transform: translateY(-2px);
}

.store-btn svg {
    width: 26px;
    height: 26px;
}

.store-btn-img {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.store-btn-img:hover {
    background: transparent;
}

.store-btn-img img {
    display: block;
}

.store-btn-disabled {
    pointer-events: none;
}

.store-btn-disabled .disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
}

footer {
    background: var(--forest-deep);
    color: white;
    padding: 2.5rem 2rem 1.25rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 0.85rem;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--meadow), var(--leaf));
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.88rem;
}

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

.footer-links-col h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
}

.footer-links-col a {
    display: block;
    color: white;
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
    transition: opacity 0.2s;
}

.footer-links-col a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    opacity: 0.6;
}

/* Content pages styles (privacy, terms) */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--mist);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.page-header .meta {
    color: var(--forest-mid);
    font-size: 0.95rem;
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--forest-mid);
}

.content-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: var(--forest-light);
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--bark);
}

.content-section ul, .content-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--bark);
}

.content-section a {
    color: var(--forest-mid);
    text-decoration: underline;
}

.content-section a:hover {
    color: var(--forest-deep);
}

.highlight-box {
    background: var(--mist);
    border-left: 4px solid var(--meadow);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Simple footer for content pages */
footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

footer a {
    color: var(--leaf);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    nav {
        padding: 0.75rem 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .gallery-scroll {
        flex-direction: column;
        align-items: center;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .gallery-item img {
        width: 280px !important;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 6rem 1.5rem 3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 5.5rem;
    }
}
