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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #2c2c2c;
    line-height: 1.5;
}

.main-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

/* Nav section */


.nav-section {
    margin-top: 40px;
    width: 100%;
    height: 80px;
}

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

.logo {
    display: flex;
    align-items: center;
    height: 38px;
    width: auto;
}

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

.logo-text {
    font-family: 'Lexend', sans-serif;
    font-size: 35.8px;
    color: #212221;
}

.logo-light {
    font-weight: 400;
}

.logo-bold {
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 14px;
    height: 16px;
    margin-left: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background-color: #0f051d;
    display: block;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
}

.mobile-menu-close {
    position: relative;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-close .close-bar {
    position: absolute;
    top: 17px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #0f051d;
}

.mobile-menu-close .close-bar:first-child {
    transform: rotate(45deg);
}

.mobile-menu-close .close-bar:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    margin-top: 24px;
    gap: 8px;
}

.mobile-menu-link {
    text-align: left;
    padding: 16px 0;
    background: transparent;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0f051d;
    cursor: pointer;
}

body.menu-open {
    overflow: hidden;
}

.nav-link {
    padding: 30px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0f051d;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.8;
}

.hero-section {
    width: 100%;
    position: relative;
    background-color: #ffffff;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 585px;
}

.hero-title {
    font-family: 'Lexend', sans-serif;
    font-size: 90px;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: -3.6px;
    line-height: 120px;
}

.hero-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #7b7583;
    line-height: 36px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 20px 40px 21px;
    background-color: #5800ff;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    width: fit-content;
}

.btn-primary:hover {
    background-color: #4800cc;
}

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

.stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-value {
    font-family: 'Lexend', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #0f051d;
    line-height: 32px;
}

.stat-label {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #7b7583;
    line-height: 21px;
}

.hero-right {
    flex-shrink: 0;
    position: relative;
}

/* New stacked layout for hero cards */
.hero-cards {
    position: relative;
    display: flex;
    gap: 24px;
    align-items: stretch;
    max-height: 519px;
}

.hero-cards .hero-card {
    position: relative;
}

.card-left {
    width: 50%;
    max-width: 251px;
    height: auto;
    background: transparent;
}

.card-left img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0px 14.3px 31.9px 0px #451A021A;
    border-radius: 40px;
    object-fit: cover;
}

.card-left .card-user {
    display: none;
}

.card-right {
    width: 50%;
    max-width: 251px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
}

.card-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px;
    flex: 1;
    object-fit: cover;
    box-shadow: 0px 14.3px 31.9px 0px #451A021A;
}

.card-user {
    position: absolute;
    top: 46px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
}

.user-info {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.card-indicators {
    position: absolute;
    top: 291px;
    left: 12px;
    display: flex;
    gap: 8px;
}

.indicator {
    width: 70px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.33);
}

.indicator.active {
    background-color: #ffffff;
}

.shop-btn {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    padding: 13px 26px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 32px;
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.less-testing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
    padding: 80px 0;
    width: 100%;
}

.section-title {
    font-family: 'Lexend', sans-serif;
    font-size: 64px;
    font-weight: 600;
    color: #0f051d;
    text-align: center;
    letter-spacing: -2.56px;
    line-height: 64px;
}

.card-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 65px;
    background: linear-gradient(90deg, rgba(88, 0, 255, 0.25) 0%, rgba(0, 150, 255, 0.25) 100%);
    border-radius: 12px;
    position: relative;
}

.phone-mockup {
    height: 372px;
    max-width: 522px;
    border-radius: 40px;
    margin-right: 40px;
    flex-shrink: 0;
}

.phone-mockup img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 60%;
}

.card-title {
    font-family: 'Lexend', sans-serif;
    font-size: 37.8px;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: -1px;
    line-height: 48px;
}

.card-text {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 40px;
}

.offers-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 0;
    width: 100%;
    background-color: #f8f5ff;
    position: relative;
    overflow: hidden;
}

/* Decorative ellipses in Offers section */
.offers-ellipse {
    position: absolute;
    width: 948px;
    height: 616px;
    border: 2px solid #0096FF;
    border-radius: 50%;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.offers-ellipse-tr {
    top: -300px;
    right: -500px;
}

.offers-ellipse-bl {
    bottom: -300px;
    left: -500px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.section-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #89888b;
    text-align: center;
    letter-spacing: -0.96px;
}

.offers-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-left: calc((100vw - 80rem) / 2);
    padding-left: 1rem;
}

.offers-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #0f051d;
    letter-spacing: -0.96px;
}

.offers-grid {
    display: flex;
    gap: 24px;
    padding-right: 1rem;
}

/* Make the apps grid horizontally scrollable with right overflow */
#app-offers,
#web-campaigns {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (WebKit) */
#app-offers::-webkit-scrollbar,
#web-campaigns::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar (Firefox) */
#app-offers,
#web-campaigns {
    scrollbar-width: none;
}

/* Ensure offer cards stay in a row when scrolling */
#app-offers .offer-card {
    flex: 0 0 auto;
}

.offer-card {
    width: 256px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    background-color: #ffffff;
    border: 1px solid #c7c7c7;
    border-radius: 12px;
}

.offer-image {
    width: 140px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.offer-title {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.24px;
}

.offer-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.offer-price {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #5800ff;
}

.offer-info {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #131217;
}

.offer-btn {
    width: 100%;
    padding: 12px 40px;
    background-color: #5800ff;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    margin-top: auto;
}

.offer-btn img {
    width: 15px;
    height: 15px;
}

.offer-btn:hover {
    background-color: #4800cc;
}

.web-campaigns-grid {
    display: flex;
    gap: 24px;
    padding-right: 1rem;
}

.campaign-card {
    width: 665px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
    background-color: #ffffff;
    border: 1px solid #c7c7c7;
    border-radius: 12px;
}

.campaign-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.campaign-title {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.24px;
    flex: 1;
}

.campaign-cpa {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cpa-label {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #7b7583;
}

.cpa-value {
    padding: 4px 24px;
    background-color: #2c2c2c;
    border-radius: 24px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.campaign-previews {
    display: flex;
    gap: 16px;
}

.campaign-preview {
    flex-grow: 1;
    flex-shrink: 0;
    height: 278px;
    width: 310px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.campaign-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-logo img {
    width: auto;
    height: 54px;
    object-fit: contain;
}

.preview-blue {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(180deg, rgba(0, 0, 255, 1) 0%, rgba(0, 0, 255, 1) 100%);
}

.preview-light {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(0deg, rgba(161, 217, 255, 1) 0%, rgba(161, 217, 255, 1) 100%);
}

.features-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 64px 0;
    width: 100%;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
}

.feature-card {
    width: 245px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px 24px;
    background-color: #ffffff;
}

.feature-card:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
}

.feature-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #000000;
    letter-spacing: -0.24px;
    line-height: 38px;
}

.feature-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(19, 18, 23, 0.5);
    line-height: 28px;
}

.global-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 64px 0;
    width: 100%;
}

.global-image {
    width: 100%;
    max-width: 1240px;
}

.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 64px 0;
    width: 100%;
    background-color: #ebe6f7;
    position: relative;
}

.cta-image {
    height: 100%;
    width: auto;
    max-width: 300px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
    width: 50%;
    margin: 0 auto;
}

.cta-phone {
    width: 156px;
    height: 352px;
    position: absolute;
    right: 200px;
    top: 50%;
    transform: translateY(-50%);
}

.cta-phone-2 {
    width: 156px;
    height: 376px;
    position: absolute;
    right: 30px;
    top: 10%;
    transform: translateY(0);
}

.cta-title {
    font-family: 'Manrope', sans-serif;
    font-size: 64px;
    font-weight: 600;
    color: #0f051d;
    text-align: center;
    letter-spacing: -1.6px;
    line-height: 64px;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0f051d;
    text-align: center;
    letter-spacing: -0.17px;
    line-height: 25.2px;
}

.btn-secondary {
    padding: 14px 40px;
    background-color: #ffffff;
    color: #0f051d;
    border: none;
    border-radius: 34px;
    font-family: 'Inter', sans-serif;
    font-size: 17.2px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.social-posts {
    position: relative;
    width: 100%;
    height: 400px;
}

.social-post {
    position: absolute;
    width: 156px;
    background-color: #ffffff;
    border-radius: 11px;
    overflow: hidden;
    border: 0.67px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0.67px 1.33px rgba(0, 0, 0, 0.05);
}

.footer {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 81px 0;
    width: 100%;
    border-top: 1px solid rgba(131, 131, 131, 0.25);
}

.footer-content {
    display: flex;
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-right: 50px;
}

.footer-column.footer-brand {
    margin-right: auto;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #7b7583;
    line-height: 27px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #0f051d;
}

.social-icon:hover {
    opacity: 0.8;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #5800ff;
    letter-spacing: 0.5px;
    line-height: 26.4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #7b7583;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #5800ff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 34px;
}

.copyright {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #7b7583;
    line-height: 27.2px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-links a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #7b7583;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #5800ff;
}

.scroll-top {
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.scroll-top img {
    width: 22px;
    height: 22px;
}

@media (min-width: 87.5rem) {
    .container {
        max-width: 80rem;
    }

    .cta-phone {
        right: 300px;
    }

    .cta-phone-2 {
        right: 100px;
    }
}

@media (max-width: 1399px) {
    .container {
        max-width: 71.25rem;
    }

    .offers-container {
        margin-left: calc((100vw - 71.25rem) / 2)
    }

    .hero-content {
        gap: 100px;
    }

    .card-gradient {
        padding: 0 24px;
    }

    .card-content {
        max-width: 70%;
    }

    .phone-mockup {
        margin-right: 16px;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 60rem;
    }

    .offers-container {
        margin-left: calc((100vw - 60rem) / 2)
    }

    .hero-content {
        gap: 16px;
    }

    .hero-title {
        font-size: 80px;
        line-height: 100px;
        letter-spacing: -4%;
    }

    .offers-ellipse {
        display: none;
    }

    .cta-phone,
    .cta-phone-2,
    .cta-image {
        display: none;
    }

    .cta-content {
        width: 100%;
    }

}

@media (max-width: 991px) {
    .container {
        max-width: 45rem;
    }

    .offers-container {
        margin-left: calc((100vw - 45rem) / 2)
    }

    .hero-content {
        flex-direction: column-reverse;
        align-items: center;
        gap: 40px;
    }

    .hero-cards {
        height: 350px;
        gap: 12px;
    }

    .hero-card img {
        height: 100%;
    }

    .hero-card {
        max-height: 100%;
    }

    .card-right {
        gap: 12px;
    }

    .hero-left {
        align-items: center;
    }

    .hero-left .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        text-align: center;
    }

    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        align-items: center;
    }

    .section-title {
        font-size: 48px;
        line-height: 64px;
    }

    .phone-mockup {
        display: none;
    }

    .card-content {
        max-width: 100%;
        padding: 24px 0;
    }

    .web-campaigns-grid {
        flex-direction: column;
    }

    .footer-content {
        flex-wrap: wrap;
    }

    .footer-column.footer-brand {
        width: 100%;
        margin-bottom: 80px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 33.75rem;
    }

    .offers-container {
        margin-left: calc((100vw - 33.75rem) / 2)
    }

    .offers-container.campaigns {
        margin-right: calc((100vw - 33.75rem) / 2)
    }

    .hero-title {
        font-size: 48px;
        line-height: 64px;
    }

    .section-title {
        font-size: 40px;
        line-height: 48px;
    }

    .card-gradient {
        flex-direction: column;
        padding: 40px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .campaign-previews {
        flex-direction: column;
    }

    .preview-bg {
        display: none;
    }

    .campaign-preview.preview-logo {
        width: 100%;
    }

    .campaign-card {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 24px;
    }

    .offers-container {
        margin-left: calc((100vw - 100%) / 2);
        padding-left: 24px;
    }

    .offers-container.campaigns {
        margin-right: calc((100vw - 100%) / 2)
    }

    .offers-grid {
        padding-right: 24px;
    }

    .web-campaigns-grid {
        padding-right: 24px;
    }

    .logo {
        height: 25px;
    }

    .features-grid {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
    }

    .feature-card:not(:last-child) {
        border-right: 0;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}