/* GreenGuest yeni dizayn: rənglər mobil tətbiq ekranlarından götürülüb */
:root {
    --gg-primary: #89af00;
    --gg-primary-dark: #6f8e00;
    --gg-tint: #cfde96;
    --gg-tint-soft: #f4f8e6;
    --gg-ink: #0a0a0a;
    --gg-muted: #505050;
    --gg-border: #e5e5e5;
    --gg-surface: #f9f9f9;
    --gg-radius: 24px;
    --gg-font: 'DM Sans', sans-serif;
}

body {
    font-family: var(--gg-font);
    color: var(--gg-ink);
    background: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: var(--gg-font);
    color: var(--gg-ink);
}

/* Navbar */
.navbar {
    box-shadow: none;
    border-bottom: 1px solid var(--gg-border);
}

    .navbar.scrolled {
        box-shadow: 0 2px 12px rgba(10, 10, 10, 0.06);
    }

.nav-link {
    color: var(--gg-ink) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

    .nav-link:hover {
        color: var(--gg-primary) !important;
    }

.download-btn {
    background: var(--gg-primary);
    border-radius: 999px;
    padding: 12px 28px;
    transition: background-color 0.2s ease;
}

    .download-btn:hover,
    .download-btn:focus {
        background: var(--gg-primary-dark);
        color: #fff;
    }

/* Hero */
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.highlight-text {
    color: var(--gg-primary);
}

.hero-description {
    color: var(--gg-muted);
}

.hero-accent {
    position: relative;
    white-space: nowrap;
}

.doodle-image {
    right: -46px;
    top: -14px;
    width: 40px;
}

/* Lent */
.top-needed {
    background: var(--gg-primary);
    display: block;
    padding: 0;
}

.marquee-track {
    animation: gg-marquee 40s linear infinite;
    display: flex;
    width: max-content;
}

.top-needed:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    flex: none;
}

.top-needed .marquee-group p {
    flex: none;
    font-family: var(--gg-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    margin: 0;
    padding: 18px 32px;
}

@keyframes gg-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* Kateqoriyalar */
.need-section h2,
.all-needed-app .all-needed-app-title h2,
.freq-text h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: center;
}

.need-section .need-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;

    .need-item {
        background: var(--gg-tint-soft);
        border: 1px solid var(--gg-tint);
        border-radius: 20px;
        box-shadow: none;
        color: var(--gg-ink);
        cursor: default;
        font-size: 18px;
        font-weight: 500;
        gap: 14px;
        padding: 16px 20px;
        text-align: left;
        transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

        .need-item:hover {
            background: var(--gg-primary);
            border-color: var(--gg-primary);
            box-shadow: 0 12px 24px rgba(137, 175, 0, 0.3);
            color: #fff;
            transform: translateY(-6px);
        }

            .need-item:hover .need-icon {
                background: #fff;
                transform: scale(1.12) rotate(-8deg);
            }
}

.need-icon {
    align-items: center;
    animation: gg-float 3.2s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.27s);
    background: var(--gg-tint);
    border-radius: 50%;
    display: inline-flex;
    flex: none;
    font-family: 'Noto Color Emoji', sans-serif;
    font-size: 26px;
    height: 56px;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.25s ease, transform 0.25s ease;
    width: 56px;
}

.need-grid.reveal-ready .need-item {
    opacity: 0;
}

.need-grid.is-visible .need-item {
    animation: gg-rise 0.55s ease-out both;
    animation-delay: calc(var(--i) * 60ms);
}

@keyframes gg-rise {
    from {
        opacity: 0;
        translate: 0 24px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes gg-float {
    50% {
        translate: 0 -4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .need-grid.reveal-ready .need-item {
        opacity: 1;
    }

    .need-grid.is-visible .need-item,
    .need-icon {
        animation: none;
    }
}

/* Tətbiq imkanları */
.all-needed-app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

    .all-needed-app .all-needed-app-title {
        gap: 24px;

        p {
            color: var(--gg-muted);
            font-size: 18px;
            font-weight: 400;
            line-height: 1.6;
            margin-top: 0;
            max-width: 820px;
            padding: 0;
        }
    }

/* Slayder */
.green-slider-section {
    background: var(--gg-tint-soft);
    border: 1px solid var(--gg-tint);
    border-radius: 32px;
    margin: 0 auto !important;
    max-width: 1200px;
    padding: 56px 32px;
    width: calc(100% - 32px) !important;
}

    .green-slider-section .swiper {
        overflow: hidden;
    }

.slide-body {
    flex-wrap: nowrap;
    gap: 40px;
    padding: 0 56px;
    width: 100%;
}

.slide-left {
    color: var(--gg-ink);
    padding-left: 0;

    h2 {
        font-size: 36px;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    p {
        color: var(--gg-muted);
        font-size: 17px;
    }
}

.store-buttons {
    margin-top: 28px;

    img {
        height: 48px;
        width: auto;
    }
}

.slide-right {
    display: flex;
    justify-content: center;
    gap: 16px;
}

    .slide-right img {
        max-width: none;
        width: 100%;
    }

.phone-frame {
    aspect-ratio: 9 / 18;
    background: #fff;
    border: 7px solid var(--gg-ink);
    border-radius: 36px;
    flex: 0 1 230px;
    min-width: 0;
    overflow: hidden;

    img {
        display: block;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--gg-primary) !important;
    top: 50%;
}

/* FAQ */
.faq-section {
    max-width: 900px;
}

.override-faq-font {
    color: var(--gg-ink) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    padding: 24px 40px 24px 0 !important;
    position: relative;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--gg-primary);
}

.faq-section .accordion-body {
    color: var(--gg-muted);
    font-size: 17px;
    line-height: 1.6;
    padding: 0 0 24px;
}

.accordion-item {
    border-bottom: 1px solid var(--gg-border);
}

.accordion-button .icon {
    color: var(--gg-primary);
}

    .accordion-button .icon::before {
        font-size: 28px;
        left: auto;
        margin-top: 0;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
    }

/* Çağırış bloku */
.call-to-action {
    padding: 0 16px 40px;
}

.cta-box {
    background: var(--gg-primary);
    border-radius: 32px;
    max-width: 1200px;
    padding: 64px 32px;

    h2 {
        color: #fff;
        font-size: 36px;
        letter-spacing: -0.02em;
        line-height: 1.25;
    }
}

.cta-stores img {
    height: 52px;
}

/* Footer */
footer h5 {
    color: var(--gg-muted);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 14px;
}

footer a.nav-link {
    font-size: 15px !important;
}

.footer-brand {
    img {
        height: 72px;
        margin-bottom: 12px;
    }

    p {
        color: var(--gg-muted);
        font-size: 15px;
        line-height: 1.5;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }

    .slide-body {
        flex-direction: column;
        padding: 0 16px;
        text-align: center;
    }

    .slide-left {
        flex: unset;
        width: 100%;

        p {
            margin-left: auto;
            margin-right: auto;
        }
    }

    .store-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;

        img {
            width: auto;
        }
    }

    .slide-right {
        flex: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 34px;
    }

    .top-needed .marquee-group p {
        font-size: 18px;
        padding: 14px 24px;
    }

    .need-section h2,
    .all-needed-app .all-needed-app-title h2,
    .freq-text h2 {
        font-size: 30px;
    }

    .need-section h2 {
        padding-top: 16px;
    }

    .need-section .need-grid .need-item {
        font-size: 16px;
    }

    .need-icon {
        font-size: 22px;
        height: 48px;
        width: 48px;
    }

    .all-needed-app .all-needed-app-title p {
        font-size: 16px;
    }

    .green-slider-section {
        border-radius: 24px;
        padding: 32px 8px 56px;
    }

    .slide-left h2 {
        font-size: 24px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: auto;
        bottom: 0;
    }

    .phone-frame {
        border-width: 5px;
        border-radius: 28px;
        flex-basis: 190px;
    }

    .override-faq-font {
        font-size: 17px !important;
    }

    .cta-box {
        border-radius: 24px;
        padding: 40px 20px;

        h2 {
            font-size: 24px;
        }

        br {
            display: none;
        }
    }

    .cta-stores {
        flex-wrap: wrap;
    }

    .cta-stores img {
        height: 44px;
    }
}

/* Səhifə şəbəkəsi: bütün bölmələr eyni kənarlardan başlayır */
:root {
    --gg-page-width: 1200px;
    --gg-gutter: 24px;
}

.navbar {
    padding-left: 0;
    padding-right: 0;
}

    .navbar > .container,
    .hero-container,
    body > .container {
        margin-left: auto;
        margin-right: auto;
        max-width: calc(var(--gg-page-width) + 2 * var(--gg-gutter));
        padding-left: var(--gg-gutter);
        padding-right: var(--gg-gutter);
        width: 100%;
    }

.need-section,
.call-to-action {
    padding-left: var(--gg-gutter);
    padding-right: var(--gg-gutter);
}

.all-needed-app {
    max-width: calc(var(--gg-page-width) + 2 * var(--gg-gutter));
    padding-left: var(--gg-gutter) !important;
    padding-right: var(--gg-gutter) !important;
}

.need-section .need-grid,
.cta-box {
    max-width: var(--gg-page-width);
}

.green-slider-section {
    max-width: var(--gg-page-width);
    width: calc(100% - 2 * var(--gg-gutter)) !important;
}

footer.row {
    margin-left: 0;
    margin-right: 0;
}

    footer.row > .col:first-child {
        padding-left: 0;
    }

    footer.row > .col:last-child {
        padding-right: 0;
    }

/* Hero: şəkil menyudan aralı, yuxarı və aşağı boşluq balanslı */
.hero-section {
    padding: 164px 0 72px;
}

@media (min-width: 993px) {
    .hero-right-side {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    :root {
        --gg-gutter: 16px;
    }

    .hero-section {
        padding: 140px 0 48px;
    }
}
