/* Global Styles */
:root {
    --primary-color: #33BFCC;
    --secondary-color: #008B9B;
    --text-color: #1E1E1E;
    /* #1D355 */
    --light-bg: #F8FDFF;
    --card-bg: #FFFFFF;
    --section-bg: #FFFFFF;
    --box-shadow: 0 8px 32px rgba(0, 187, 212, 0.1);
    --hero-gradient: linear-gradient(180deg, rgba(51, 191, 204, 0.25) 0%, rgba(231, 253, 255, 0.35) 74.04%, #FFF 85%);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow-x: clip) {

    html,
    body {
        overflow-x: clip;
    }
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text-color);
    background-color: var(--section-bg);
    transition: background-color 0.3s ease;
}

p {
    line-height: 24px;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.navbar-logo {
    display: block;
    width: auto;
    height: 60px;
    opacity: 1;
    transition: none;
}

.navbar-logo.footer {
    display: block;
    width: auto;
    height: 80px;
    opacity: 1;
    transition: none;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

.navbar-toggler {
    border: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2333BFCC' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Bootstrap paints :active through these variables, with selectors more specific than a plain .btn-primary:active */
.btn-primary {
    --bs-btn-active-bg: #046A78;
    --bs-btn-active-border-color: #046A78;
    --bs-btn-active-color: white;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hero */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 0;
    overflow: hidden;
    background: var(--hero-gradient);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: var(--section-bg);
    transition: background-color 0.3s ease;
}

.hero-section h1 {
    color: var(--text-color);
    font-size: 60px;
    font-weight: 800;
    line-height: 42px;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 21px;
}

.hero-mockup {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.mystery-text {
    color: #33BFCC;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.hero-image {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 12px;
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero-actions .btn {
    padding: 0.6rem 1rem;
    font-weight: 600;
    border-radius: 4px;
}

.btn-hero-outline {
    /* Bootstrap resets the border to transparent on :active/:focus through these variables */
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-active-border-color: #046A78;
    --bs-btn-color: var(--text-color);
    --bs-btn-active-color: white;
    --bs-btn-active-bg: #046A78;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}

/* only on devices with a real hover, otherwise it stays filled after a tap */
@media (hover: hover) {
    .btn-hero-outline:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }
}

@media (min-width: 992px) {

    .hero-image,
    .benefits-image {
        scale: 1.1;
    }
}

/* Benefits */
.benefits-section {
    padding: 15px 0 130px;
    background: var(--section-bg);
}

.benefits-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
}

.benefits-title {
    color: var(--text-color);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.75rem;
}

.benefits-intro {
    font-size: 17px;
    margin-bottom: 2.5rem;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    background: var(--card-bg);
    border: 1px solid #C9CED6;
    border-radius: 10px;
}

.benefit-card:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-card p {
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .benefits-section {
        padding: 60px 0;
    }

    .benefits-image {
        display: block;
        margin: 0 auto;
    }

    .benefits-title {
        font-size: 2rem;
    }
}

/* Steps */
.steps-section {
    padding: 80px 0px 160px;
    background: var(--section-bg);
}

.steps-header {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.steps-header h2 {
    color: var(--text-color);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.steps-header p {
    font-size: 18px;
    margin: 0;
}

.step-card {
    height: 100%;
    padding: 1.75rem 1.75rem 2rem;
    background: rgba(51, 191, 204, 0.22);
    border-radius: 6px;
}

.step-number {
    display: block;
    color: var(--primary-color);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 15px;
    margin: 0;
}

@media (max-width: 991.98px) {
    .steps-section {
        padding: 60px 0;
    }

    .steps-header h2 {
        font-size: 2rem;
    }
}

/* Business Flexibility */
.business-section {
    position: relative;
    /* same teal as the stats band below, so sub-pixel rounding under the image never shows a white line */
    background: var(--primary-color);
}

.business-image {
    display: block;
    width: 100%;
    height: auto;
}

.business-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-top: 10%;
}

.business-card {
    max-width: 645px;
    padding: 2.5rem 3rem;
    background: var(--card-bg);
    border-radius: 8px;
}

.business-card h2 {
    color: var(--text-color);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.75rem;
}

.business-card p {
    font-size: 17px;
    margin: 0;
}

@media (max-width: 991.98px) {
    .business-section {
        background: var(--section-bg);
    }

    .business-image {
        height: 320px;
        object-fit: cover;
    }

    .business-overlay {
        position: static;
        padding-top: 0;
    }

    .business-card {
        position: relative;
        margin: -80px auto 60px;
        padding: 2rem;
        box-shadow: var(--box-shadow);
    }

    .business-card h2 {
        font-size: 1.75rem;
    }
}

/* Join Steps */
.join-section {
    padding: 100px 0;
    background: rgba(51, 191, 204, 0.3);
}

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

.join-header h2 {
    color: var(--text-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.join-header p {
    margin: 0;
}

.join-steps {
    max-width: 760px;
    margin: 0 auto 1.75rem;
    padding: 0;
    list-style: none;
}

.join-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 0 1.25rem;
    border-bottom: 1px solid rgba(29, 53, 87, 0.08);
}

.join-step-number {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.join-step h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0.2rem 0 0.35rem;
}

.join-step p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.85;
}

.join-cta {
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    border-radius: 6px;
}

@media (max-width: 991.98px) {
    .join-section {
        padding: 70px 0;
    }

    .join-header h2 {
        font-size: 1.75rem;
    }
}

/* Partners */
.partners-section {
    padding: 100px 0px 130px;
    background: var(--section-bg);
}

.partners-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.partners-header h2 {
    color: var(--text-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.partners-header p {
    margin: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 110px);
    justify-content: center;
    gap: 1.75rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-logo {
    width: 88px;
    height: 88px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(51, 191, 204, 0.3);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-name {
    font-size: 14px;
}

.partner-type {
    font-size: 11px;
    opacity: 0.75;
}

@media (max-width: 991.98px) {
    .partners-section {
        padding: 100px 0;
    }

    .partners-header h2 {
        font-size: 1.75rem;
    }

    .partners-grid {
        grid-template-columns: repeat(4, minmax(0, 110px));
    }
}

@media (max-width: 575.98px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partner-logo {
        width: 72px;
        height: 72px;
    }
}

/* Bootstrap caps the container at 720px between 768px and 991px: let these two sections use the width */
@media (min-width: 768px) and (max-width: 991.98px) {

    .partners-section .container,
    .community-section .container {
        max-width: none;
    }

    .partners-grid {
        grid-template-columns: repeat(6, minmax(0, 130px));
    }
}

/* Community */
.community-section {
    padding: 100px 0 160px;
    background: rgba(51, 191, 204, 0.3);
}

.community-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.community-header h2 {
    color: var(--text-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.community-header p {
    margin: 0;
}

/* the column is the size container, so the card height can follow the card width */
.community-section .row>.col-md-4 {
    container-type: inline-size;
}

.video-card {
    --embed-header: 54px;
    --embed-ratio: 1.25;
    height: 560px;
    /* header + video, cutting off Instagram's "View more" bar and the actions below it */
    height: calc(var(--embed-header) + 100cqw * var(--embed-ratio));
    border-radius: 10px;
    background: var(--card-bg);
    overflow: hidden;
}

.video-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.reviews-carousel {
    --reviews-visible: 3;
    --reviews-gap: 1rem;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.reviews-carousel.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.reviews-track {
    display: flex;
    align-items: flex-start;
    gap: var(--reviews-gap);
}

.review-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) / var(--reviews-visible));
    min-height: 195px;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: 8px;
}

.review-stars {
    color: #F5A623;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.review-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 4.5em;
    margin-bottom: 1rem;
    line-height: 1.5;
    overflow: hidden;
}

.review-card.expanded p {
    display: block;
}

.review-toggle {
    align-self: flex-start;
    margin: -0.5rem 0 1rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
}

.review-toggle.is-hidden {
    visibility: hidden;
}

.review-toggle:hover {
    text-decoration: underline;
}

.review-author {
    margin-top: auto;
    font-size: 13px;
    opacity: 0.75;
}

@media (max-width: 991.98px) {
    .community-section {
        padding: 100px 0;
    }

    .community-header h2 {
        font-size: 1.75rem;
    }

    .reviews-carousel {
        --reviews-visible: 2;
    }
}

@media (max-width: 575.98px) {
    .reviews-carousel {
        --reviews-visible: 1;
        /* cancel the container's 1.5rem side padding so the track reaches both screen edges,
           and keep the first card aligned with the rest of the page */
        margin: 0 -1.5rem;
        padding-left: 1.5rem;
    }

    /* narrower than the track, so a slice of the next card shows on the right */
    .review-card {
        flex-basis: calc(100% - 2.5rem);
    }
}

/* FAQ */
.faq-section {
    padding: 90px 0 100px;
    background: var(--primary-color);
    color: white;
}

.faq-section h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    background: url("assets/arrow_down.png") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin: -0.5rem 0 0;
    padding-bottom: 1.4rem;
    padding-right: 10px;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .faq-section h2 {
        font-size: 1.75rem;
    }

    .faq-item summary {
        font-size: 18px;
    }

    .faq-item p {
        font-size: 16px;
    }
}

/* Signup */
.signup-section {
    padding: 140px 0;
    background: var(--section-bg);
}

.signup-card {
    display: flex;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(51, 191, 204, 0.22);
}

.signup-content {
    flex: 1 1 62%;
    padding: 3.5rem 3.5rem 3rem;
}

.signup-content h2 {
    color: var(--text-color);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.signup-intro {
    max-width: 560px;
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.signup-form .form-label {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.signup-form .form-control {
    height: 62px;
    border: 0;
    border-radius: 8px;
}

.signup-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(51, 191, 204, 0.5);
}

.signup-submit {
    width: 100%;
    margin-top: 2.25rem;
    padding: 1.1rem;
    font-size: 21px;
    font-weight: 600;
    border-radius: 4px;
}

.signup-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.signup-status {
    margin: 1.5rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
}

.signup-status.is-success {
    background: #e3f6ea;
    color: #1d6b3a;
}

.signup-status.is-error {
    background: #fde8e8;
    color: #a12525;
}

.signup-note {
    margin: 2rem 0 0;
    font-size: 12px;
    opacity: 0.8;
}

.signup-image {
    flex: 1 1 38%;
    display: flex;
}

.signup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* Signup responsive layout. Ranges do not overlap, so nothing here overrides anything else:
   <768 stacked (picture first) | 768-991 side by side, narrow card | 992-1399 side by side | 1400+ base rules above */
@media (max-width: 767.98px) {
    .signup-section {
        padding: 120px 0;
    }

    .signup-card {
        flex-direction: column-reverse;
    }

    /* natural proportions, so the whole picture shows (including the curve at the bottom left) */
    .signup-image img {
        height: auto;
        object-fit: contain;
    }

    .signup-content {
        padding: 3rem 1.25rem 1.75rem;
    }

    .signup-content h2 {
        font-size: clamp(1.5rem, 7vw, 1.75rem);
        margin-bottom: 0.75rem;
    }

    .signup-intro {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .signup-form .row {
        --bs-gutter-y: 1rem;
    }

    .signup-form .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .signup-form .form-control {
        height: 50px;
        font-size: 1rem;
    }

    .signup-submit {
        margin-top: 1.5rem;
        padding: 0.85rem;
        font-size: 1.05rem;
    }

    .signup-note {
        margin-top: 1rem;
        font-size: 0.8rem;
        line-height: 1.45;
    }
}

/* compact sizes shared by both side-by-side ranges */
@media (min-width: 768px) and (max-width: 1399.98px) {
    .signup-section {
        padding: 90px 0;
    }

    .signup-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .signup-intro {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .signup-form .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1.1rem;
    }

    .signup-form .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .signup-form .form-control {
        height: 52px;
    }

    .signup-submit {
        margin-top: 1.75rem;
        padding: 0.9rem;
        font-size: 1.1rem;
    }

    .signup-note {
        margin-top: 1.25rem;
        font-size: 0.8rem;
    }
}

/* tablets: Bootstrap caps the container at 720px here, so let the card use the width and give the form most of it */
@media (min-width: 768px) and (max-width: 991.98px) {
    .signup-section .container {
        max-width: none;
    }

    .signup-content {
        flex: 1 1 45%;
        padding: 1.75rem 1.5rem;
    }

    /* the picture is 497x840: the shorter the card, the more of its width fits, so everything is kept compact */
    .signup-image {
        flex: 1 1 42%;
    }

    .signup-image img {
        border-radius: 0px 0px 0px 130px;
        object-position: center;
    }

    .signup-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .signup-intro {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* one field per row, so the form is narrower and the picture gets more room */
    .signup-form .row {
        --bs-gutter-y: 0.7rem;
    }

    .signup-form .row>.col-md-6 {
        flex: 0 0 100%;
        width: 100%;
    }

    .signup-form .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .signup-form .form-control {
        height: 42px;
        font-size: 0.95rem;
    }

    .signup-submit {
        margin-top: 1.1rem;
        padding: 0.7rem;
        font-size: 1rem;
    }

    .signup-note {
        margin-top: 0.75rem;
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .signup-content {
        padding: 2.5rem 2.25rem 2.25rem;
    }
}

/* Places */
.features-section {
    padding: 140px 0 150px;
    overflow: hidden;
    background: var(--section-bg);
    transition: background-color 0.3s ease;
}

.places-header {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.places-header p {
    color: #242424;
    font-size: 16px;
    line-height: 1.35;
    max-width: 700px;
    margin: 0 auto;
}

.places-header strong {
    display: block;
    font-weight: 800;
}

.places-showcase {
    position: relative;
    min-height: 520px;
    max-width: 920px;
    margin: 0 auto;
}

.places-box {
    position: absolute;
    left: 50%;
    top: 54%;
    z-index: 2;
    width: min(330px, 42vw);
    transform: translate(-50%, -50%);
}

.places-box img {
    display: block;
    width: 100%;
    height: auto;
}

.place-card {
    position: absolute;
    z-index: 3;
    max-width: 250px;
    min-height: 78px;
    padding: 1rem 1.15rem;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid rgba(29, 53, 87, 0.18);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(29, 53, 87, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    animation: placeCardFloat 6s ease-in-out infinite;

}

.place-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 187, 212, 0.14);
}

.place-card i {
    color: var(--primary-color);
    display: inline-block;
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

.place-card h3 {
    color: #242424;
    display: inline;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.place-card p {
    color: #242424;
    font-size: 0.88rem;
    line-height: 1.25;
    margin: 0.4rem 0 0;
}

.place-card-restaurants {
    left: 0;
    top: 145px;
}

.place-card-sushi {
    right: 0;
    top: 170px;
}

.place-card-cafes {
    left: calc(50% - 110px);
    top: 0;
}

.place-card-sweets {
    left: 15px;
    bottom: 115px;
}

.place-card-markets {
    right: 30px;
    bottom: 80px;
}

.place-card-caterers {
    left: calc(50% - 110px);
    bottom: -60px;
}

/* How It Works */
.how-it-works {
    padding: 0 0 100px;
    background: var(--section-bg);
    transition: background-color 0.3s ease;
}

.how-section-left {
    display: flex;
    justify-content: end;
    background: var(--primary-color);
}

.how-section-text-bold {
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: 29px;
}

.how-section-text {
    font-size: 22px;
    font-style: normal;
    font-weight: 200;
    line-height: 29px;
}

.lifestyle-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lifestyle-image video {
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.homepage-image-section {
    width: 100%;
    overflow: hidden;
}

.homepage-image-section img {
    display: block;
    width: 100%;
    height: auto;
}

/* App Section */
.food-grid {
    margin-top: 40px;
    border-radius: 20px;
    background: linear-gradient(287deg, #33BFCC 0%, #66D4DE 100%);
    color: white;
}

.app-badges {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 2rem;
}

.store-badge {
    display: inline-block;
    padding: 0;
    text-decoration: none;
    background: transparent;
    border: none;
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.store-badge img {
    display: block !important;
    width: auto !important;
    max-width: 100%;
    height: 40px !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    visibility: visible !important;
}

.store-badge img:not([src]),
.store-badge img[src=""],
.store-badge img[src*="error"] {
    display: none;
}

.store-badge:has(img:not([src])),
.store-badge:has(img[src=""]),
.store-badge:has(img[src*="error"]) {
    display: none;
}

/* Statistics */
.title-stats {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

/* Supporting Sections */
.bg-save-dark {
    background: linear-gradient(244deg, #66D4DE 32.51%, #53CCD7 47.22%, #33BFCC 66.51%);
}

/* Footer */
.footer {
    transition: background-color 0.3s ease;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    text-align: center;
}

.footer-links a {
    margin-right: 0 !important;
    padding: 0.35rem 0;
}

/* Phone Slider */
@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

/* place card */
@keyframes placeCardFloat {

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

    50% {
        transform: translateY(-8px);
    }
}


.phone-wrap {
    animation: floatPhone 6s ease-in-out infinite;
}

.scr {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scr.on {
    z-index: 2;
    opacity: 1;
}

.scr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ndot {
    display: block;
    flex: 0 0 8px;
    width: 8px;
    min-width: 8px;
    height: 8px;
    min-height: 8px;
    padding: 0;
    line-height: 0;
    appearance: none;
    background: #ddd;
    border: none;
    border-radius: 50%;
    transition: all 0.4s;
}

.ndot.on {
    background: #33BFCC;
    transform: scale(1.35);
}

/* Dark Mode */
[data-theme="dark"] {
    --text-color: #E0E0E0;
    --light-bg: #121212;
    --card-bg: #1E1E1E;
    --section-bg: #1A1A1A;
    --hero-gradient: linear-gradient(135deg, #121212 0%, #1A1A1A 100%);
    background-color: #121212;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, 0.9) !important;
}

[data-theme="dark"] .navbar-brand,
[data-theme="dark"] .nav-link {
    color: var(--text-color) !important;
}

[data-theme="dark"] .features-section {
    background: var(--section-bg);
}

[data-theme="dark"] .place-card {
    background: #1A1A1A;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .places-header h2,
[data-theme="dark"] .places-header p,
[data-theme="dark"] .place-card h3,
[data-theme="dark"] .place-card p,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] p {
    color: var(--text-color);
}

[data-theme="dark"] .footer {
    background-color: #0A0A0A !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .navbar-nav {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    .homepage-image-section {
        height: clamp(360px, 46vw, 560px);
    }

    .homepage-image-section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

@media (min-width: 992px) {
    #how-it-works>.d-flex>.col-lg-5 {
        display: flex;
    }

}

@media (max-width: 991.98px) {

    .features-section {
        padding: 90px 0;
    }

    .places-header {
        margin-bottom: 2.25rem;
    }

    .places-showcase {
        display: grid;
        grid-template-columns: repeat(2, minmax(220px, 230px));
        justify-content: center;
        gap: 1rem clamp(1rem, 4vw, 2rem);
        max-width: 540px;
        min-height: auto;
    }

    .places-box {
        position: relative;
        left: auto;
        top: auto;
        grid-column: 1 / -1;
        justify-self: center;
        order: 1;
        width: min(340px, 78vw);
        margin-bottom: 0.75rem;
        transform: none;
    }

    .place-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        order: 2;
        width: 100%;
        max-width: none;
        min-height: 0;
    }

    .place-card:hover {
        transform: translateY(-4px);
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        margin-right: auto;
    }

    .d-flex.align-items-center {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    .navbar-toggler {
        margin-left: 0.5rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 89%;
        right: 0;
        left: 0;
        display: none;
        padding: 1rem;
        margin-top: 0.5rem;
        background: var(--card-bg);
        border-radius: 0px 0px 10px 10px;
        box-shadow: var(--box-shadow);
    }

    .navbar-collapse.show {
        display: block;
    }

    .nav-link {
        padding: 0.5rem 0;
    }

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

    .navbar-collapse .d-flex.align-items-center {
        justify-content: center;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    [data-theme="dark"] .navbar-collapse {
        background: var(--card-bg);
    }

    [data-theme="dark"] .navbar-collapse .d-flex.align-items-center {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    #how-it-works>.d-flex>.col-lg-7,
    #how-it-works>.d-flex>.col-lg-5 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .how-section-left {
        justify-content: center;
        padding: 2rem 1.25rem !important;
    }

    .how-section-left>.col-8 {
        width: 100%;
        max-width: 100%;
        margin-top: 0 !important;
        margin-right: 0 !important;
    }

    .lifestyle-image {
        height: auto;
    }

    .lifestyle-image video {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
    }

    .app-section p.fs-4 {
        font-size: 1.2rem !important;
        line-height: 1.55;
    }

    .app-section .food-grid {
        margin-top: 0;
        overflow: hidden;
        border-radius: 16px;
    }

    .app-section .food-grid>.col-6 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .app-section .food-grid>.col-6:first-child {
        justify-content: center !important;
        text-align: center;
    }

    .app-section .food-grid>.col-6:first-child>.col-11 {
        width: 100%;
        max-width: 100%;
        margin-top: 0 !important;
    }
}

@media (max-width: 767.98px) {

    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translate3d(0, 24px, 0) !important;
    }

    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: none !important;
    }

    .hero-image-col[data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-section {
        padding: 80px 0 40px;
    }

    .benefits-section {
        padding: 16px 0 48px;
    }

    .steps-section {
        padding: 50px 0 120px;
    }

    .steps-header {
        margin-bottom: 1.75rem;
    }

    .steps-header h2 {
        font-size: clamp(1.75rem, 8vw, 2rem);
        margin-bottom: 0.75rem;
    }

    .steps-header p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .steps-section .row {
        --bs-gutter-y: 1rem;
    }

    .step-card {
        padding: 1.25rem;
    }

    .step-number {
        font-size: 32px;
        margin-bottom: 0.75rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .step-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .join-section {
        padding: 100px 0;
    }

    .join-header {
        margin-bottom: 1.5rem;
    }

    .join-header h2 {
        font-size: clamp(1.6rem, 7.5vw, 1.75rem);
        margin-bottom: 0.75rem;
    }

    .join-header p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .join-step {
        gap: 0.85rem;
        padding: 0.9rem 0 1rem;
    }

    .join-step-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .join-step h3 {
        font-size: 1.05rem;
        margin: 0.1rem 0 0.25rem;
    }

    .join-step p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .join-cta {
        display: block;
        padding: 0.75rem 1rem;
    }

    .business-image {
        height: 280px;
    }

    .business-card {
        margin: -64px auto 40px;
        padding: 1.5rem 1.25rem;
    }

    .business-card h2 {
        font-size: clamp(1.35rem, 6.2vw, 1.6rem);
        margin-bottom: 1rem;
    }

    .business-card p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .benefits-section .row {
        --bs-gutter-y: 4rem;
    }

    .benefits-title {
        font-size: clamp(1.75rem, 8vw, 2rem);
        margin-bottom: 1rem;
    }

    .benefits-intro {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    .benefit-card {
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .benefit-icon {
        width: 32px;
        height: 32px;
    }

    .benefit-card h3 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .benefit-card p {
        font-size: 0.9rem;
    }

    .hero-section h1 {
        font-size: clamp(2rem, 9vw, 2.5rem);
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .hero-lead {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .hero-checks {
        gap: 0.5rem 1.25rem;
        margin-top: 1.25rem;
        font-size: 0.95rem;
    }

    .hero-checks li img {
        width: 24px;
        height: 24px;
    }

    .hero-actions {
        gap: 0.75rem;
        margin-top: 1.75rem;
    }

    .hero-actions .btn {
        padding: 0.75rem 1rem;
    }

    .hero-mockup {
        margin-top: 2rem;
    }

    .phone-wrap>div {
        width: min(260px, calc(100vw - 64px)) !important;
    }

    .how-it-works {
        padding: 0;
    }

    .app-badges {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .store-badge {
        flex: 0 0 auto;
        width: auto;
    }

    .store-badge img {
        max-width: none;
        height: 45px !important;
    }
}

@media (max-width: 767.98px) {
    .app-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }



    .app-section h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.1;
    }

    .app-section .app-badges {
        justify-content: center;
        margin-top: 1.25rem;
    }

    .app-section .food-grid>.col-6:last-child {
        justify-content: center !important;
        padding: 0 1rem 1.5rem;
    }

    .app-section .food-grid>.col-6:last-child img {
        display: block;
        width: min(78vw, 300px);
        height: auto;
    }

    .title-stats {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .features-section {
        padding: 100px 0;
    }

    .homepage-image-section {
        height: clamp(300px, 95vw, 430px);
    }

    .places-header {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .places-header h2 {
        font-size: 2rem;
    }

    .places-header h2,
    .places-header h3 {
        font-size: clamp(1.75rem, 8vw, 2rem);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .places-header p {
        max-width: 100%;
        font-size: 0.95rem;
        overflow-wrap: break-word;
    }

    .places-showcase {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .places-box {
        width: min(300px, 86vw);
    }

    .place-card {
        width: min(100%, 330px);
        max-width: calc(100vw - 2rem);
        padding: 0.95rem 1rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        gap: 0.25rem;
    }

    .footer-links a {
        display: block;
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 480px) {
    .app-badges {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .store-badge img {
        width: auto !important;
        height: 40px !important;
    }
}