/* ==========================================================================
   Veg Spoons Mobile App Showcase & Download Component Styles
   ========================================================================== */

:root {
    --vs-green-primary: #27ae60;
    --vs-green-light: #2ecc71;
    --vs-green-dark: #1e8449;
    --vs-navy-dark: #1f2b6c;
    --vs-navy-deep: #141c48;
    --vs-bg-soft: #f4faf6;
    --vs-text-dark: #1f2937;
    --vs-text-muted: #4b5563;
    --vs-border-light: rgba(39, 174, 96, 0.15);
}

/* --------------------------------------------------------------------------
   Primary Showcase Section (Below Hero)
   -------------------------------------------------------------------------- */
.vs-app-showcase-section {
    position: relative;
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, var(--vs-bg-soft) 50%, #ffffff 100%);
    overflow: hidden;
}

.vs-app-showcase-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.vs-app-blob-1 {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.vs-app-blob-2 {
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(31, 43, 108, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
}

.vs-app-showcase-inner {
    position: relative;
    z-index: 2;
}

/* Badge Pill */
.vs-app-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--vs-green-dark);
    border: 1px solid rgba(39, 174, 96, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 18px;
}

.vs-app-pill-badge i {
    color: var(--vs-green-primary);
    font-size: 0.95rem;
}

/* Section Headings */
.vs-app-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--vs-navy-dark);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.vs-app-title .vs-highlight {
    background: linear-gradient(135deg, var(--vs-green-primary) 0%, var(--vs-green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vs-app-subtitle {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--vs-text-muted);
    margin-bottom: 28px;
    max-width: 540px;
}

/* Feature Checkpoints */
.vs-app-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    margin-bottom: 34px;
    padding: 0;
    list-style: none;
}

.vs-app-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vs-text-dark);
}

.vs-app-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.12);
    color: var(--vs-green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   App Store Download Badges (Reusable)
   -------------------------------------------------------------------------- */
.vs-store-badges-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.vs-store-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 52px;
    user-select: none;
}

.vs-store-badge-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    background: #1e293b;
    border-color: rgba(39, 174, 96, 0.4);
}

.vs-store-badge-btn svg,
.vs-store-badge-btn .vs-store-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    fill: currentColor;
}

.vs-store-badge-btn .vs-store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.vs-store-badge-btn .vs-store-subtext {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.vs-store-badge-btn .vs-store-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

/* Compact version for header/menus */
.vs-store-badge-btn.vs-badge-sm {
    padding: 7px 14px;
    border-radius: 10px;
    min-height: 42px;
    gap: 9px;
}

.vs-store-badge-btn.vs-badge-sm svg {
    width: 20px;
    height: 20px;
}

.vs-store-badge-btn.vs-badge-sm .vs-store-subtext {
    font-size: 0.6rem;
}

.vs-store-badge-btn.vs-badge-sm .vs-store-name {
    font-size: 0.88rem;
}

/* QR Code Card */
.vs-app-qr-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--vs-border-light);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    transition: all 0.25s ease;
}

.vs-app-qr-wrapper:hover {
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.12);
    border-color: rgba(39, 174, 96, 0.35);
}

.vs-app-qr-img {
    width: 58px;
    height: 58px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-app-qr-img svg {
    width: 100%;
    height: 100%;
}

.vs-app-qr-text {
    display: flex;
    flex-direction: column;
}

.vs-app-qr-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--vs-navy-dark);
    margin-bottom: 2px;
}

.vs-app-qr-sub {
    font-size: 0.78rem;
    color: var(--vs-text-muted);
}

/* --------------------------------------------------------------------------
   Realistic Mobile Device Mockups (Right Side)
   -------------------------------------------------------------------------- */
.vs-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

/* Main iPhone Mockup Frame */
.vs-phone-frame {
    position: relative;
    width: 280px;
    height: 585px;
    background: #0f172a;
    border-radius: 46px;
    padding: 10px;
    box-shadow: 0 25px 60px -15px rgba(31, 43, 108, 0.38),
                0 0 0 1px rgba(255, 255, 255, 0.15),
                inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 3;
    transition: transform 0.4s ease;
}

.vs-phone-frame:hover {
    transform: translateY(-6px);
}

/* Side button accents */
.vs-phone-frame::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 110px;
    height: 45px;
    width: 3px;
    background: #374151;
    border-radius: 2px 0 0 2px;
}

.vs-phone-frame::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 130px;
    height: 60px;
    width: 3px;
    background: #374151;
    border-radius: 0 2px 2px 0;
}

/* Inner Screen */
.vs-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vs-phone-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: 36px;
}

/* iPhone Dynamic Island / Notch */
.vs-screen-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #111827;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.vs-notch-cam {
    width: 8px;
    height: 8px;
    background: #1f2937;
    border-radius: 50%;
    border: 1px solid #374151;
}

.vs-notch-sensor {
    width: 4px;
    height: 4px;
    background: #1f2937;
    border-radius: 50%;
}

/* Screen App UI Content */
.vs-app-screen-header {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    padding: 42px 14px 14px;
    color: #ffffff;
}

.vs-app-screen-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vs-app-screen-logo-text {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.vs-app-screen-loc {
    font-size: 0.72rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vs-app-screen-search {
    background: #ffffff;
    border-radius: 25px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.72rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vs-app-screen-body {
    padding: 12px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Category Pills in Mockup */
.vs-screen-cats {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.vs-screen-cat-chip {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    background: #ffffff;
    color: var(--vs-text-dark);
    border: 1px solid #e2e8f0;
}

.vs-screen-cat-chip.active {
    background: var(--vs-green-primary);
    color: #ffffff;
    border-color: var(--vs-green-primary);
}

/* Restaurant Card in Mockup */
.vs-screen-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.vs-screen-card-img {
    height: 85px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-screen-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vs-screen-badge-veg {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(39, 174, 96, 0.9);
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.vs-screen-badge-dist {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
}

.vs-screen-card-info {
    padding: 6px 2px 2px;
}

.vs-screen-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.vs-screen-card-sub {
    font-size: 0.65rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
}

/* Floating App Badges around Mockup */
.vs-floating-card-1 {
    position: absolute;
    top: 60px;
    left: -35px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(39, 174, 96, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
    animation: vsFloat 4s ease-in-out infinite;
}

.vs-floating-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.vs-floating-text-main {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--vs-navy-dark);
}

.vs-floating-text-sub {
    font-size: 0.72rem;
    color: var(--vs-green-primary);
    font-weight: 600;
}

.vs-floating-card-2 {
    position: absolute;
    bottom: 70px;
    right: -25px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(31, 43, 108, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
    animation: vsFloat 4.5s ease-in-out infinite reverse;
}

@keyframes vsFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Secondary Android Preview Mockup (Back-Angled) */
.vs-phone-frame-secondary {
    position: absolute;
    width: 240px;
    height: 502px;
    right: -20px;
    top: 30px;
    background: #1e293b;
    border-radius: 42px;
    padding: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    opacity: 0.78;
    transform: rotate(6deg) scale(0.95);
    z-index: 2;
    transition: all 0.35s ease;
}

.vs-phone-frame-secondary:hover {
    opacity: 0.95;
    transform: rotate(3deg) scale(0.98);
}

/* --------------------------------------------------------------------------
   Secondary App Showcase Section (Near Bottom / Pre-Footer)
   -------------------------------------------------------------------------- */
.vs-app-secondary-section {
    padding: 40px 0 60px;
    position: relative;
    background: transparent;
}

.vs-app-secondary-card {
    position: relative;
    background: linear-gradient(135deg, var(--vs-navy-dark) 0%, var(--vs-navy-deep) 60%, #153e28 100%);
    border-radius: 28px;
    padding: 50px 60px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(31, 43, 108, 0.25);
}

.vs-app-secondary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.vs-app-secondary-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.vs-app-secondary-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    max-width: 580px;
    line-height: 1.6;
}

.vs-app-features-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vs-app-feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.vs-app-feature-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(74, 222, 128, 0.45);
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.vs-app-feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vs-app-feature-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.vs-app-feature-card-text {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Header "Get the App" CTA Styles
   -------------------------------------------------------------------------- */
.vs-header-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(39, 174, 96, 0.12);
    color: var(--vs-green-dark) !important;
    border: 1.5px solid rgba(39, 174, 96, 0.35);
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.vs-header-app-btn:hover {
    background: var(--vs-green-primary);
    color: #ffffff !important;
    border-color: var(--vs-green-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(39, 174, 96, 0.28);
}

.vs-header-app-btn i {
    font-size: 0.95rem;
    color: var(--vs-green-primary);
    transition: color 0.25s ease;
}

.vs-header-app-btn:hover i {
    color: #ffffff;
}

/* Mobile offcanvas menu app card */
.vs-mobile-nav-app-card {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .vs-mobile-nav-app-card {
        display: block !important;
        margin: 20px 16px 10px;
        padding: 16px;
        background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
        border: 1px solid rgba(39, 174, 96, 0.25);
        border-radius: 18px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    }
}

.vs-mobile-app-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--vs-navy-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.vs-mobile-app-card-desc {
    font-size: 0.8rem;
    color: var(--vs-text-muted);
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .vs-app-title {
        font-size: 2.1rem;
    }
    .vs-phone-frame {
        width: 260px;
        height: 545px;
    }
    .vs-phone-frame-secondary {
        display: none;
    }
    .vs-floating-card-1 {
        left: -15px;
    }
    .vs-floating-card-2 {
        right: -10px;
    }
    .vs-app-secondary-card {
        padding: 40px 35px;
    }
}

@media (max-width: 991.98px) {
    .vs-app-showcase-section {
        padding: 50px 0 60px;
        text-align: center;
    }
    .vs-app-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .vs-app-features-list {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    .vs-store-badges-wrap {
        justify-content: center;
    }
    .vs-app-qr-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
    .vs-mockup-container {
        margin-top: 40px;
        min-height: 480px;
    }
    .vs-app-secondary-card {
        text-align: center;
        padding: 40px 25px;
    }
    .vs-app-secondary-sub {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .vs-app-showcase-section {
        padding: 40px 0 50px;
    }
    .vs-app-title {
        font-size: 1.75rem;
    }
    .vs-app-subtitle {
        font-size: 0.98rem;
    }
    .vs-app-features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .vs-store-badges-wrap {
        flex-direction: column;
        width: 100%;
    }
    .vs-store-badge-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .vs-phone-frame {
        width: 240px;
        height: 502px;
        border-radius: 40px;
    }
    .vs-floating-card-1,
    .vs-floating-card-2 {
        display: none;
    }
    .vs-app-secondary-title {
        font-size: 1.6rem;
    }
    .vs-app-secondary-card {
        padding: 30px 18px;
        border-radius: 20px;
    }
}

/* --------------------------------------------------------------------------
   App Download Modal Popup Styles
   -------------------------------------------------------------------------- */
.vs-app-modal .modal-dialog {
    max-width: 820px;
}

.vs-app-modal .modal-content.vs-app-modal-content {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.4);
    background: #ffffff;
    position: relative;
}

.vs-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    z-index: 10;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vs-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.vs-modal-visual-col {
    background: linear-gradient(150deg, #0f172a 0%, #1e293b 50%, #064e3b 100%);
    position: relative;
    border-radius: 24px 0 0 24px;
}

.vs-modal-visual-col::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(39, 174, 96, 0.2), transparent 70%);
    pointer-events: none;
}

.vs-modal-preview-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 16px;
}

.vs-modal-mini-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(39, 174, 96, 0.2);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.vs-modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--vs-navy-dark);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.vs-modal-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
}

.vs-modal-qr-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.vs-modal-qr-code {
    flex-shrink: 0;
    background: #ffffff;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

