/* =========================================================
   MOBILE APP SECTION - MODERN LIGHT DESIGN
========================================================= */

.mobile-app-section {
    position: relative;
    overflow: hidden;
    padding:40px 20px;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(144, 51, 28, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(144, 51, 28, 0.06),
            transparent 25%
        ),
        #f8f7f5;
}


/* =========================================================
   CONTAINER
========================================================= */

.mobile-app-container {
    position: relative;
    z-index: 3;

    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 44% 56%;

    align-items: center;
    gap: 35px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.mobile-content {
    position: relative;
    z-index: 5;

    color: #171717;

    animation: appContentIn 0.8s ease both;
}

@keyframes appContentIn {

    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   APP TAG
========================================================= */

.app-tag {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 15px;
    margin-bottom: 20px;

    border-radius: 30px;

    color: #90331c;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;

    background: rgba(144, 51, 28, 0.08);

    border: 1px solid rgba(144, 51, 28, 0.14);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.app-tag::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #90331c;

    box-shadow: 0 0 0 5px rgba(144, 51, 28, 0.08);
}

.app-tag:hover {
    transform: translateY(-3px);

    background: rgba(144, 51, 28, 0.12);

    box-shadow:
        0 8px 20px rgba(144, 51, 28, 0.10);
}


/* =========================================================
   HEADING
========================================================= */

.mobile-content h2 {
    position: relative;

    max-width: 560px;

    margin: 0 0 20px;

    color: #191919;

    font-size: 44px;
    line-height: 1.13;

    font-weight: 750;

    letter-spacing: -1.2px;
}

.mobile-content h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    margin-top: 18px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #90331c,
        #c85b3d
    );
}


/* =========================================================
   PARAGRAPH
========================================================= */

.mobile-content p {
    max-width: 500px;

    margin: 0 0 30px;

    color: #666;

    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   STORE BUTTONS
========================================================= */

.store-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* =========================================================
   GOOGLE PLAY BUTTON
========================================================= */

.store-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    min-width: 190px;
    min-height: 64px;

    padding: 11px 18px;

    color: #fff;
    background: #171717;

    border: 1px solid #171717;
    border-radius: 12px;

    text-decoration: none;

    cursor: pointer;
    overflow: hidden;

    box-sizing: border-box;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}


/* =========================================================
   SHINE EFFECT
========================================================= */

.store-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.20),
        transparent
    );

    transform: skewX(-20deg);

    transition: left 0.65s ease;

    pointer-events: none;
}

.store-btn:hover::before {
    left: 130%;
}


/* =========================================================
   HOVER
========================================================= */

.store-btn:hover {
    transform: translateY(-5px);

    color: #fff;

    background: #90331c;
    border-color: #90331c;

    text-decoration: none;

    box-shadow:
        0 16px 32px rgba(144, 51, 28, 0.22);
}


/* =========================================================
   GOOGLE PLAY ICON
========================================================= */

.store-btn > i {
    position: relative;
    z-index: 2;

    flex-shrink: 0;

    font-size: 29px;

    color: #fff;

    transition:
        transform 0.35s ease;
}

.store-btn:hover > i {
    transform: scale(1.12) rotate(-3deg);
}


/* =========================================================
   BUTTON TEXT
========================================================= */

.store-btn-text {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    text-align: left;
}


/* =========================================================
   SMALL TEXT
========================================================= */

.store-btn-text small {
    display: block;

    margin: 0 0 2px 0;

    color: rgba(255, 255, 255, 0.70);

    font-size: 9px;
    font-weight: 500;

    line-height: 1.2;

    letter-spacing: 0.8px;
}


/* =========================================================
   GOOGLE PLAY TEXT
========================================================= */

.store-btn-text span {
    display: block;

    margin: 0;

    color: #fff;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.2;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .store-buttons {
        width: 100%;

        justify-content: center;
    }

    .store-btn {
        min-width: 180px;
        width: auto;

        min-height: 60px;

        padding: 10px 16px;

        border-radius: 11px;
    }

    .store-btn > i {
        font-size: 26px;
    }

    .store-btn-text span {
        font-size: 16px;
    }

}


/* =========================================================
   RIGHT IMAGE
========================================================= */

.mobile-images {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 390px;

    animation: appImageIn 0.9s ease 0.15s both;
}

@keyframes appImageIn {

    from {
        opacity: 0;
        transform: translateX(40px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}


/* =========================================================
   IMAGE
========================================================= */

.mobile-images img {
    position: relative;
    z-index: 3;

    display: block;

    width: 100%;
    max-width: 650px;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 30px rgba(0, 0, 0, 0.14)
        );

    transform: translateY(0);

    transition:
        transform 0.6s cubic-bezier(.2,.8,.2,1),
        filter 0.6s ease;
}


/* Floating effect */

.mobile-images img {
    animation: phoneFloat 5s ease-in-out infinite;
    -webkit-animation: phoneFloat 5s ease-in-out infinite;
}


/* =========================================================
   IMAGE GLOW
========================================================= */

.mobile-images::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    top: 50%;
    right: 3%;

    transform: translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(144, 51, 28, 0.15) 0%,
            rgba(144, 51, 28, 0.07) 35%,
            transparent 70%
        );

    filter: blur(3px);

    animation: imageGlow 5s ease-in-out infinite;

    pointer-events: none;
}

@keyframes imageGlow {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translateY(-50%) scale(1.08);
        opacity: 1;
    }
}


/* =========================================================
   DECORATIVE RING
========================================================= */

.mobile-images::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    top: 50%;
    right: 10%;

    transform: translateY(-50%);

    border: 1px solid rgba(144, 51, 28, 0.12);

    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(144, 51, 28, 0.025),
        0 0 0 70px rgba(144, 51, 28, 0.018);

    animation: ringRotate 18s linear infinite;

    pointer-events: none;
}

@keyframes ringRotate {

    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}


/* =========================================================
   BACKGROUND GRID
========================================================= */

.mobile-app-section {
    isolation: isolate;
}

.mobile-app-section > .mobile-app-container::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 180px;

    right: -90px;
    top: -40px;

    background-image:
        linear-gradient(
            rgba(144, 51, 28, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(144, 51, 28, 0.08) 1px,
            transparent 1px
        );

    background-size: 28px 28px;

    mask-image:
        linear-gradient(
            to bottom left,
            #000,
            transparent
        );

    opacity: 0.45;

    pointer-events: none;
}


/* =========================================================
   FLOATING BACKGROUND SHAPE
========================================================= */

.mobile-app-section::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: -120px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    border: 1px solid rgba(144, 51, 28, 0.08);

    box-shadow:
        0 0 0 35px rgba(144, 51, 28, 0.025),
        0 0 0 70px rgba(144, 51, 28, 0.018);

    animation: backgroundFloat 8s ease-in-out infinite;
}

@keyframes backgroundFloat {

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

    50% {
        transform: translateY(-56%);
    }
}


/* =========================================================
   SMALL TOP DECORATION
========================================================= */

.mobile-app-section::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: 8%;
    top: 20px;

    border-radius: 24px;

    border: 1px solid rgba(144, 51, 28, 0.08);

    transform: rotate(18deg);

    animation: squareFloat 6s ease-in-out infinite;

    pointer-events: none;
}

@keyframes squareFloat {

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

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


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .mobile-app-section {
        padding: 70px 25px;
    }

    .mobile-app-container {
        grid-template-columns: 46% 54%;
        gap: 20px;
    }

    .mobile-content h2 {
        font-size: 36px;
    }

    .mobile-content p {
        font-size: 15px;
    }

    .mobile-images {
        min-height: 330px;
    }

    .mobile-images img {
        max-width: 530px;
    }

    .mobile-images::before {
        width: 350px;
        height: 350px;
    }

    .mobile-images::after {
        width: 280px;
        height: 280px;
    }

    .store-btn {
        min-width: 175px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .mobile-app-section {
        padding: 60px 18px;
    }

    .mobile-app-container {
        grid-template-columns: 1fr;

        gap: 35px;

        text-align: center;
    }


    /* Content */

    .mobile-content {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .app-tag {
        margin-bottom: 17px;
    }

    .mobile-content h2 {
        max-width: 550px;

        font-size: 32px;

        line-height: 1.18;

        letter-spacing: -0.7px;
    }

    .mobile-content h2::after {
        margin: 16px auto 0;
    }

    .mobile-content p {
        max-width: 520px;

        margin-bottom: 25px;

        font-size: 15px;

        line-height: 1.7;
    }


    /* Store */

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


    /* Image */

    .mobile-images {
        min-height: auto;

        margin-top: 5px;

        justify-content: center;
    }

    .mobile-images img {
        width: 100%;

        max-width: 500px;
    }

    .mobile-images::before {
        width: 330px;
        height: 330px;

        right: 50%;
        top: 50%;

        transform: translate(50%, -50%);
    }

    .mobile-images::after {
        width: 270px;
        height: 270px;

        right: 50%;
        top: 50%;

        transform: translate(50%, -50%);
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .mobile-app-section {
        padding: 48px 15px;
    }

    .mobile-app-container {
        gap: 28px;
    }

    .app-tag {
        padding: 6px 13px;

        font-size: 12px;
    }

    .mobile-content h2 {
        font-size: 28px;

        line-height: 1.2;
    }

    .mobile-content p {
        max-width: 340px;

        font-size: 14px;

        line-height: 1.65;
    }


    /* Store button */

    .store-buttons {
        width: 100%;
    }

    .store-btn {
        width: 100%;

        min-width: 0;

        justify-content: center;

        padding: 11px 15px;
    }

    .store-btn i {
        font-size: 27px;
    }

    .store-btn span {
        font-size: 16px;
    }


    /* Image */

    .mobile-images img {
        max-width: 100%;
    }

    .mobile-images::before {
        width: 260px;
        height: 260px;
    }

    .mobile-images::after {
        width: 215px;
        height: 215px;
    }


    /* Decorations */

    .mobile-app-section::after {
        width: 60px;
        height: 60px;

        right: 5%;
        top: 15px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .mobile-app-section {
        padding: 42px 12px;
    }

    .mobile-content h2 {
        font-size: 25px;
    }

    .mobile-content p {
        font-size: 13px;
    }

    .store-btn {
        padding: 10px 12px;
    }

    .store-btn i {
        font-size: 25px;
    }

    .store-btn span {
        font-size: 15px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mobile-app-section *,
    .mobile-app-section::before,
    .mobile-app-section::after {

        animation: none !important;

        transition: none !important;
    }
}